CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Please Help

  1. #1
    Join Date
    Jun 1999
    Location
    Georgia
    Posts
    24

    Please Help

    I have created a VB.exe that will get the local users IP, SubnetMask, Default Gateway.

    I want to call my VB exe in Installshield. Is there a way that I can return the IP, Sub, Gateway and pass it back into a variable so that I can use it in my IS???

    Please help I need to know tonight

    thanks


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Please Help

    My only suggestion would be to write that info to a temp file, somewhere static (like c:\networkinfo.ini" or something), and then in your InstallShield script, (if you can do this is IS) open that file and read out the information. I don't know if you can access files with InstallShield scripting, but it's my suggestion. If not, how about the registry?

    Hope this applies/helps,
    John

    John Pirkey
    MCSD
    www.ShallowWaterSystems.com
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  3. #3
    Join Date
    Jun 1999
    Location
    Georgia
    Posts
    24

    Re: Please Help

    Thats what I decieded to do (Write it to the registry)

    I wasnt sure if there was a way to do that...
    This works just as good. :-)

    Thanks
    tcompe


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

Featured