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",Microsof t.VisualBasic.AppWinStyle.
NormalFocus);
Or, you can try the following line:
System.Diagnostics.Process.Start("notepad.exe");
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: Patrick De Ridder <pa***************@hetnet.nl>
Newsgroups: microsoft.public.dotnet.languages.csharp
Subject: User installer for an application
Date: Sat, 20 Sep 2003 23:50:04 +0200
Organization: Planet Internet
Lines: 13
Message-ID: <uc********************************@4ax.com>
NNTP-Posting-Host: ipc379b7ad.dial.hetnet.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: reader08.wxs.nl 1064094930 10000 195.121.183.173 (20 Sep 2003
21:55:30 GMT)X-Complaints-To: ab***@planet.nl
NNTP-Posting-Date: 20 Sep 2003 21:55:30 GMT
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!npeer.de.kpn-eurorings.net!news.tele.dk!news.tele.dk!small.news .tele.dk
!newsgate.cistron.nl!news.cambrium.nl!news.cambriu m.nl!news.cambrium.nl!news
2.euro.net!newsfeed.wxs.nl!textnews.wxs.nl!not-for-mailXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:186286
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
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?
--
Regards,
Patrick.