Re: MSDN "Walkthrough:De ployimg 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. 3 1188
On Sat, 20 Sep 2003 23:50:04 +0200, Patrick De Ridder
<pa************ ***@hetnet.nl> wrote: Re: MSDN "Walkthrough:De ployimg 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
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.Visua lBasic.Shell("n otepad.exe",Mic rosoft.VisualBa sic.AppWinStyle .
NormalFocus);
Or, you can try the following line:
System.Diagnost ics.Process.Sta rt("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.publi c.dotnet.langua ges.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.ph x.gbl!TK2MSFTNG P08.phx.gbl!new sfeed00.sul.t-online.de!t-onlin
e.de!npeer.de.k pn-eurorings.net!n ews.tele.dk!new s.tele.dk!small .news.tele.dk
!newsgate.cistr on.nl!news.camb rium.nl!news.ca mbrium.nl!news. cambrium.nl!new s
2.euro.net!news feed.wxs.nl!tex tnews.wxs.nl!no t-for-mailXref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1862 86 X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
Re: MSDN "Walkthrough:De ployimg 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.
On Thu, 25 Sep 2003 19:42:42 GMT, da****@online.m icrosoft.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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 complete the
project by building an installer and building the user/group
administration piece of it.
The thought came to me that it would be great if LAMP developers,
whether they used MySQL or PostgreSQL, could just simply write the
project to...
|
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 complaining about a
codec not being registered:
Traceback (most recent call last):
File "<string>", line 222, in ?
File "ivcm\buildivcm\out1.pyz/gettext", line 428, in install
|
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 to run. I thought I had
run this down before as being a file set with AlwaysCreate = true in the
setup project, but the only change I've made is to add a Word DOC file in the
setup (just copying it, not opening it) and I can't find any instances...
|
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 with an interface where they can add their own clients to the database
When the user upgrades to a newer version of my program, I don't want the installer to overwrite the Access database file with my blank one again. How can I tell VB.NET to check...
|
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 thinking the following might help. I
would appreciate if someone could comment on this idea and possibly suggest a
better one:
The environement variable in question is 'Path' in the HKCU registry
folder's Environment key. I want to add some...
| |
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#, which uses one setting from
*.exe.config file with 'user' scope. That is a server address, for example.
I wanted to setup that parameter during installation. So, I included one
additonal step during installation which collects a server address...
|
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 accounts (et al) with my primary administrator access. The users can successfully enter their profiles/workspace via the log-on process, however, when applications like MS WORD and EXPLORER are launched via desktop shortcuts, a windows installer screen pops...
|
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 versions.
The installer makes sure SQL Server 2005 is there, IIS is ready and ASP.NET
is set up properly.
In my installer I am using the following SQL statement to enable ASP.NET to
connect to my database.
CREATE LOGIN FROM WINDOWS
|
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 (C#);
public class MyServiceInstaller : System.Configuration.Install.Installer
{
private System.ServiceProcess.ServiceProcessInstaller
serviceProcessInstaller;
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |