Now, let me see if I got this straight: in slide. I don't need the For each loop since I know I'm passing only one argument in the initial app, right? I think I didn't understand very well your last one.. I just have 2 or 3 txt files, containing strings in different languages. I would like to use the appropriate txt file to display the informations in the choosen language.
I'd like to pass the arguments from the initial app mostly for improve my understanding on how this is done , or as an alternative, by using the CurrentUICulture method directly in the slide. I didn't understand the last method of regionalisation you mentioned. Is it the way I'm approaching to this project, or another one you suggest?
I tried as you suggested the CultureInfo. Name method and store the value in a variable depending on that. On the other hand I would like to ask you if there is a way to get the "family" of the language, without the actual country distinction?
Is there another property of the CultureInfo. CurrentCulture for that? The only option I came up with is to extract only the first 2 letters from Left part of the string.
Finally, just to be strict to the thread I started, how would you do to pass the variable as I asked? Am I supposed to do the following? How can I retrieve that variable passed in the Splash screen app, so that I can use it in the triggered app?
And thanks to Adam hint too, even though my poor understanding of this matter doesn't allow me to get the gist of it :. You have to applications. The first one is a VB. Net Application that is starting the slide.
What kind of application is slide. Is it also a VB. Net Application? Net Application, then there is no need to pass the language to it. In slide. In VB. Net you can access all arguments through My. You can do so always, preventive. Anyway, problem solved. Bye, Olaf. Red Flag This Post Please let us know here why this post is inappropriate.
Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. Close Box.
Log In Come Join Us! Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden. RE: passing variables with values into vb.
I've never done VB. I have done C , which might be similar. As far as I remember, to receive command-lime parameters in C , you add this line to your main program: static void Main string[], args Maybe someone else here can give you a more helpful answer.
Alternatively, you could ask in a VB. NET forum. If you do that, just ask how to receive command-line parameters. Project-specific information is listed for each option. This section describes valid command-line parameters for Setup. The parameters are organized into the following categories:.
Silent Installations. If you configured the password-related settings for your release on the Setup. A typical command is as follows:. Basic MSI projects do not create or use a response file for silent installations. Response files are created by running Setup. The command Setup. To run a Basic MSI installation silently, use the following command line:. To specify the values of public properties for a silent Basic MSI installation, you can use a command such as the following one:.
Note: Using this command-line parameter to launch an installation that includes an InstallShield prerequisite does not automatically run the prerequisite installation silently. You may also need to specify a valid silent command-line parameter for the InstallShield prerequisite in the Specify the command line for the application when the setup is running in silent mode setting on the Application to Run tab in the InstallShield Prerequisite Editor.
Specify an absolute path; using a relative path gives unpredictable results. Special Installation Modes. An administrative installation copies and uncompresses your data files to a directory that is specified by the user, but it does not create shortcuts, register COM servers, or create an uninstallation log. Tip: If an installation contains InstallShield prerequisites and you want to extract them from Setup. A sample command is Setup.
An advertised installation creates shortcuts, registers COM servers, and registers file types, but does not install your product's files until the user invokes one of these "entry points.
Whenever you use this option and include a valid InstanceId value, the installation suppresses the instance selection dialog. For example, the following sample command line installs the instance that has 2 as the value of the InstanceId property:. Use default to identify the instance that is installed by the base installation package, as in the following example:.
Passing Data to the Installation. If you want to pass more than one argument to Msiexec. Asked 9 years, 3 months ago. Active 8 years, 3 months ago. Viewed 38k times. Improve this question. You should look at the System. Add a comment. Active Oldest Votes. Start pHelp I hope this helps Improve this answer.
0コメント