Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Posts
    1

    Insert program variables

    Hi, New person here.

    I have used setup factory to successfully package my program in the past but I now have a need to take the installation to another level.

    Is is possible for the user to give me variables to insert into a module in my VB program?

    What I need is for the the user to enter information to be used as a string in my module...for example the user to input info such as:

    IP Address
    Database name
    Username
    Password

    Its just that for every install i now do I have to manually input this into the program then re-package it with SF.

    Any help would be greatly appreciated.

    thanks

    em.

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    I’m not a VB programmer yet, so I can’t say for sure, but if your VB program can read variables from either a text file, an .INI file, or a registry key, then you should be able to do it. SUF can write to all of those.

    You can also use Shell.Execute and pass arguments to your VB app on start, or dynamically write out a .bat file, and execute it.

    Hopefully at least one of those ways will work for what you need.

  3. #3
    Join Date
    Jan 2000
    Posts
    2,002
    Jim is right on. Basically just write the values out somewhere that your appcan pick them up.

Similar Threads

  1. SQLite INSERT with variables
    By Derek in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 07-11-2004, 11:47 AM
  2. Strange behaviour of the Close Program action
    By Elp in forum Setup Factory 6.0
    Replies: 2
    Last Post: 05-17-2004, 10:38 AM
  3. INFO: Setting Environment Variables
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 12:07 PM
  4. HOWTO: Make a Program Run Every Time the System Starts
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-01-2002, 09:44 AM
  5. Monitoring Variables in ini files?
    By Lazerpower in forum AutoPlay Menu Studio 3.0
    Replies: 8
    Last Post: 02-28-2002, 09:53 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