Results 1 to 3 of 3

Thread: execute a .dll file?

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2005
    Posts
    4

    Exclamation 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width