-
Help: Executing MS-Dos Prompt command by code
I'm using MS Access, so the clients doesn't has the COM. But i have the files on my server, so what i want to make is, every time the program start it will check does the clients has registered the COM if no errors then continues, else the program will execute the code that execute the string variable:
"RegSvr32 \\server\****.ocx" to the Command Prompt.
How can i make code that like executing MS-Dos Prompt. Thanks for any kind of help.
-
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
Do you mean i activate CMD and then use SendKeys method to the CMD apps???
-
No. You can run:
Shell "RegSvr32 \\server\filename.ocx"
to register the component from within your app.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
Replies: 246
Last Post: 10-26-2002, 12:30 AM
-
By Rob Teixeira in forum .NET
Replies: 5
Last Post: 11-27-2001, 06:12 PM
-
By Danny Bowman in forum .NET
Replies: 152
Last Post: 09-13-2001, 07:23 AM
-
By michael s in forum XML
Replies: 0
Last Post: 04-03-2001, 04:32 PM
-
Replies: 1
Last Post: 11-20-2000, 10:53 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks