Results 1 to 3 of 3

Thread: Excel and VB DLLs

  1. #1

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Excel and VB DLLs

    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?
    Don't pay attention to this signature, it's contradictory.

  2. #2
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    Re: Excel and VB DLLs

    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 .

  3. #3

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Re: Excel and VB DLLs

    Quote Originally Posted by ZeBula8
    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
    Don't pay attention to this signature, it's contradictory.

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