473,503 Members | 13,028 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User installer for an application

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.
Nov 15 '05 #1
3 1180
On Sat, 20 Sep 2003 23:50:04 +0200, Patrick De Ridder
<pa***************@hetnet.nl> wrote:
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 pa***************@hetnet.nl
Many thanks.
--
Regards,
Patrick.
pa***************@hetnet.nl
Nov 15 '05 #2
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.


Nov 15 '05 #3
On Thu, 25 Sep 2003 19:42:42 GMT, da****@online.microsoft.com (David
Guyer [MS]) wrote:
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?
--
Regards,
Patrick.
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
2774
by: Google Mike | last post by:
You know, while working on my moonlight corporation's LAMP project at home this weekend, I couldn't help but wonder if people writing similar projects are solving similar problems with having to...
1
2627
by: Pierre Rouleau | last post by:
Hi all, When building a exe for a Python application under Windows XP with The McMillan installer, the insttaltion succeeds but when I run the resulting executable the application tracebacks...
2
407
by: Byron | last post by:
I have a Windows form application developed in VS 2003 C# I am using Installshield to install it. After running Setup, each time a new user runs the application for the first time Setup attempts...
6
3656
by: Juggler | last post by:
Hi all I've written a program in VB.NET that allows the user to build quotes for installing shower enclosures. As part of the program, I've included a blank Access database. I've provided them...
4
6417
by: Shiraz | last post by:
Hi I'm using Visual Studio Installer to make my installer, and have not as yet figured out a straightforward way to use it to set environmental variables. Amongst the various things I tried, I'm...
0
1209
by: Nenad Dobrilovic | last post by:
Hi all, I have a really strange situation, but I believe that there is someone else who has already experinced the same, and is willing to help me! I made an application using VS 2005 in C#,...
3
2227
by: garyvale | last post by:
Hi, I am experiencing a recurrent bug with my secondary user profiles. I am using WIN XP Pro with SP2 and all current critical upgrades/patches. I am able to create secondary and tertiary...
0
1191
by: =?Utf-8?B?VmlsaGVsbQ==?= | last post by:
I am making a ASP.NET application that connects to a database. I want to distribute this to my customers that may have different Windows OS, so my installer must handle different windows...
1
20329
by: =?Utf-8?B?Qi5BaGxzdGVkdA==?= | last post by:
Hi all, This is something that I have been toying with for about a week now. What I want to achieve is Install a Service with Customised parameters (using InstallUtil.exe) for User Name. Example...
0
7212
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7296
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1524
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
405
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.