|
-
Mar 28th, 2005, 10:36 AM
#1
Thread Starter
New Member
execute a .dll file?
Hello, i was just browsing by, and thought this would be the best spot to ask this question.
What i would like to do is, in my project, i need to launch a form that will be monitored by my project until it closes. such as, clicking a button, and having a form open, and while that form is open, the other form is still free to move, and respond to user action, but will know when that form is closed. Now, i know this can be accomplished by using a simple...
Dim i as new fclsMyForm
i.ShowDialog()
but again, i would like to be able to interact with my main form while this other form "fclsMyForm" is open. Now... I have created a separate executable project, that is using an entrance of Sub Main... and checks command line paramaters with a select case, and based apon the "/whatever" it will execute certain code. and my main form will monitor this without locking up do to starting my other executable in a process, and .WaitForExit, in a separate sub procedure, and launching that from a separate thread. so now on to my main question, this is fine with the separate executable, but i dont really want more than 1 executable, I know it can be done, but i want to have like a dll or a data folder with my program, and launch like this:
procNewForm.StartInfo.FileName = _
Application.StartupPath & "\data\module.dll /dothis"
where "module.dll" is my other project, and "/dothis" will be one of the things it will execute.
I know how all of the "/blahblah" arguments work, my only question is, how to execute a .dll that i have compiles, so that it will execute, kinda like RegServ32.dll or something like that.
or even like ebay's "eBayISAPI.dll" please please help
Please Help......
-Mr Mike.
Last edited by shmickz; Mar 28th, 2005 at 11:07 AM.
-
Mar 29th, 2005, 11:54 AM
#2
Re: execute a .dll file?
eBayISAPI.dll does not get executed the way you think it does. It is just an extension of IIS.
RegServ32.dll? What is this? You mean the "rundll32.exe"?
.DLLs do not execute. Only .COM and .EXEs can get loaded and executed by the kernel.
Nobody knows what software they want until after you've delivered what they originally asked for.
Don't solve problems which don't exist.
"If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)
2 idiots don't make a genius.
-
Mar 29th, 2005, 11:04 PM
#3
Thread Starter
New Member
Re: execute a .dll file?
haha, yah sorry, i was extremely tired when i wrote that, and soon after i realized that the statements you made were true...
thanks anywho...
-Mike
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
|