Click to See Complete Forum and Search --> : Runnig a DLL


nils86
August 3rd, 2001, 03:03 PM
Does anyone knows if the Run Button on VB does anything when creating an activex dll

thanks
jorge

Cakkie
August 5th, 2001, 06:18 AM
Well, it does.
When you press the run button, you will be promped (the first time) to select what you want to do. You have 3 options.

1) Wait until component is created.
This can be used when you need to monitor the dll during execution. You can add break points in your code, and when some program calls the dll, it will call the version you have open in your VB IDE. This way you can follow the code executed in the dll even if the dll isn't called from your program.

2) Start program.
This will start the program you specified. Same as above, you can place breakpoints. Most likely, you will specify a program that uses your dll, to see what happens.

3) Start browser with url.
This does what it says it does, very usefull when you are calling the dll from an internet page, via an axtivex control, or asp for instance.

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook