PDA

Click to See Complete Forum and Search --> : Excel and VB DLLs


alkatran
Jan 5th, 2005, 12:01 PM
For fun, I took one of my vb games, compiled it as a DLL, and ran it from excel.

It worked fine, except for a few things:
Using a msgbox or inputbox caused an error
If I restarted the game, I would start at the level I was at when I quit

So my questions are:
Can I use a msgbox somehow?
Do DLLs store the value of variables?? Or do they reset everytime I reference it?

ZeBula8
Jan 7th, 2005, 01:35 PM
using the dll i would replace all msgbox's with a custom form - you can build a form inside the dll

in this way you can save the values to a ini file that the dll can later read .

alkatran
Jan 7th, 2005, 04:37 PM
using the dll i would replace all msgbox's with a custom form - you can build a form inside the dll

in this way you can save the values to a ini file that the dll can later read .

Good Idea on the file