|
-
November 11th, 2008, 09:10 PM
#1
How to register .NET COM server without opening command prompt window
hi. all.
i regist my DLL COM server with 'regasm /codebase my.dll' in a command prompt window.
but, i want to regist my.dll after finish my setup program automatically and silently.
'silently' means not openning command prompt windows.
help me... plz..
-
November 12th, 2008, 07:26 AM
#2
Re: How to register .NET COM server without opening command prompt window
Here assuming that your are registering the DLL through code and not manually.
Following is the code.
Code:
Process p = new Process();
p.StartInfo.FileName = "path of CMD";
p.StartInfo.Arguments = "regasm /codebase my.dll";
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
Hope this is what you are looking for.
MMH
Last edited by MMH; November 12th, 2008 at 07:29 AM.
-
November 12th, 2008, 07:49 PM
#3
Re: How to register .NET COM server without opening command prompt window
MMH, I appreciate your help so so so much..
thank you..
Tags for this Thread
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
|
Click Here to Expand Forum to Full Width
|