|
Home > Archive > MS Access data conversion > August 2005 > Manifest constant for SysCmd 603?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Manifest constant for SysCmd 603?
|
|
|
| Accessories:
This VB code writes an MDE file if an MDB file passes all tests:
If aTestRunner.FailCount = 0 Then
ax. CloseCurrentDatabase
' TODO constant for 603
ax.SysCmd 603, getDatabaseName(), getMDEName()
ax.OpenCurrentDatabase getDatabaseName()
AssertNotEqual "", Dir(getMDEName()), "see if the MDE file
showed up"
End If
Note the TODO. A magic number like 603 is icky, and declaring a constant for
this number myself is hardly less magic.
Where's a good list of the _real_ constants for Access 2003's SysCmd? Is
there a good web page, or an ActiveX Enumeration?
This page...
http://msdn.microsoft.com/library/e....asp?frame=true
....only lists the same constants as ActiveX supports in AcSysCmdAction ,
which are all < 20.
This makes me wonder what other useful goodies are hiding inside SysCmd...
--
Phlip
http://www.c2.com/cgi/wiki?ZeekLand
| |
| Paul Overway 2005-07-23, 1:23 pm |
| SysCmd 603 is an undocumented feature. For some others, see
http://www.everythingaccess.com/tut...ysCmd-Functions
--
Paul Overway
Logico Solutions, LLC
www.logico-solutions.com
"Phlip" <phlip_cpp@yahoo.com> wrote in message
news:eD7f6j6jFHA.576@tk2msftngp13.phx.gbl...
> Accessories:
>
> This VB code writes an MDE file if an MDB file passes all tests:
>
> If aTestRunner.FailCount = 0 Then
> ax. CloseCurrentDatabase
>
> ' TODO constant for 603
> ax.SysCmd 603, getDatabaseName(), getMDEName()
>
> ax.OpenCurrentDatabase getDatabaseName()
> AssertNotEqual "", Dir(getMDEName()), "see if the MDE file
> showed up"
> End If
>
> Note the TODO. A magic number like 603 is icky, and declaring a constant
> for
> this number myself is hardly less magic.
>
> Where's a good list of the _real_ constants for Access 2003's SysCmd? Is
> there a good web page, or an ActiveX Enumeration?
>
> This page...
>
>
> http://msdn.microsoft.com/library/e....asp?frame=true
>
> ...only lists the same constants as ActiveX supports in AcSysCmdAction ,
> which are all < 20.
>
> This makes me wonder what other useful goodies are hiding inside SysCmd...
>
> --
> Phlip
> http://www.c2.com/cgi/wiki?ZeekLand
>
>
| |
| ade diaz 2005-07-26, 7:24 am |
|
"Phlip" <phlip_cpp@yahoo.com> escribió en el mensaje
news:eD7f6j6jFHA.576@tk2msftngp13.phx.gbl...
> Accessories:
>
> This VB code writes an MDE file if an MDB file passes all tests:
>
> If aTestRunner.FailCount = 0 Then
> ax. CloseCurrentDatabase
>
> ' TODO constant for 603
> ax.SysCmd 603, getDatabaseName(), getMDEName()
>
> ax.OpenCurrentDatabase getDatabaseName()
> AssertNotEqual "", Dir(getMDEName()), "see if the MDE file
> showed up"
> End If
>
> Note the TODO. A magic number like 603 is icky, and declaring a constant
for
> this number myself is hardly less magic.
>
> Where's a good list of the _real_ constants for Access 2003's SysCmd? Is
> there a good web page, or an ActiveX Enumeration?
>
> This page...
>
>
>
http://msdn.microsoft.com/library/e...51863
85.
asp? frame=true
>
> ...only lists the same constants as ActiveX supports in AcSysCmdAction ,
> which are all < 20.
>
> This makes me wonder what other useful goodies are hiding inside SysCmd...
>
> --
> Phlip
> http://www.c2.com/cgi/wiki?ZeekLand
>
>
| |
| kreuzer armin 2005-08-12, 8:25 pm |
|
"Phlip" <phlip_cpp@yahoo.com> schrieb im Newsbeitrag
news:eD7f6j6jFHA.576@tk2msftngp13.phx.gbl...
> Accessories:
>
> This VB code writes an MDE file if an MDB file passes all tests:
>
> If aTestRunner.FailCount = 0 Then
> ax. CloseCurrentDatabase
>
> ' TODO constant for 603
> ax.SysCmd 603, getDatabaseName(), getMDEName()
>
> ax.OpenCurrentDatabase getDatabaseName()
> AssertNotEqual "", Dir(getMDEName()), "see if the MDE file
> showed up"
> End If
>
> Note the TODO. A magic number like 603 is icky, and declaring a constant
for
> this number myself is hardly less magic.
>
> Where's a good list of the _real_ constants for Access 2003's SysCmd? Is
> there a good web page, or an ActiveX Enumeration?
>
> This page...
>
>
>
http://msdn.microsoft.com/library/e...51863
85.
asp? frame=true
>
> ...only lists the same constants as ActiveX supports in AcSysCmdAction ,
> which are all < 20.
>
> This makes me wonder what other useful goodies are hiding inside SysCmd...
>
> --
> Phlip
> http://www.c2.com/cgi/wiki?ZeekLand
>
>
|
|
|
|
|