User installer for an application

  • Thread starter Thread starter Patrick De Ridder
  • Start date Start date
P

Patrick De Ridder

Re: MSDN "Walkthrough:Deployimg a Windows Application"

Attempting to generate an installer for my application I ran into two
error messages executing instruction 5 of paragraph one, namely:

The name 'Shell' does not exist in the class or namespace '<my app.>'
The type or namespace 'AppWinStyle' could not be found

Am I to understand that the installer is bugged?
 
Re: MSDN "Walkthrough:Deployimg a Windows Application"

Attempting to generate an installer for my application I ran into two
error messages executing instruction 5 of paragraph one, namely:

The name 'Shell' does not exist in the class or namespace '<my app.>'
The type or namespace 'AppWinStyle' could not be found

Am I to understand that the installer is bugged?
In view of the time elapsed since my posting I am not expecting a
response any more. Should you read this query and have a suggestion I
would be very pleased to hear about it at (e-mail address removed)
Many thanks.
 
The sample code is for VB, so my guess is that there are a couple of
namespaces that you are not importing (using) in your app that are defaults
in a VB program. The fully qualified line would be:

Microsoft.VisualBasic.Shell("notepad.exe",Microsoft.VisualBasic.AppWinStyle.
NormalFocus);

Or, you can try the following line:

System.Diagnostics.Process.Start("notepad.exe");
 
The sample code is for VB, so my guess is that there are a couple of
namespaces that you are not importing (using) in your app that are defaults
in a VB program. <snipped>
Would there be a walk through for C# that you know of?
 
Back
Top