Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 18th, 2006, 11:16 AM
Authorized User
 
Join Date: Feb 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default .exe Deployment

Hi

I am new to .NET and this may be a stupid question.

Using VS2003 and VB.net I have created a small application in a single project containing windows forms, user defined components and classes. The .exe is created in the bin folder.

On my machine the application runs both in the DE and directly from the .exe.

If I copy the .exe to a different machine it will not run and gives an error that it cannot initialise the executable.

What am I missing.

Thanks in advance

Daz


 
Old September 19th, 2006, 02:24 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Darren,

Did you install the .NET Framework on the target system as well?? The .NET Framework is a requirement for .NET apps to run...

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old September 19th, 2006, 05:13 AM
Authorized User
 
Join Date: Feb 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I downloaded it from Microsoft although I think its the latest version (2.0) rather than 1.1. Does this matter?

The other thing I was wondering was do I need to create individual ocx files for my created components? If so how do I do it?

Cheers

Daz

 
Old September 19th, 2006, 05:25 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It depends. You should be able to run 1.1 apps on 2.0.

You can try to download and install the 1.1. version and see if that makes a difference. Search Google for "side by side" .NET framework to get more info about running multiple versions of .NET

Don't know what components and / or ocx files you are referring to so I can't help much with that.
Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old October 1st, 2006, 09:42 PM
ZC ZC is offline
Registered User
 
Join Date: Sep 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

usually, that can be run in the machine,maybe you application using or make differ drive
such as you put command shell(C:".....") with APPACTIVATE....
that can't run in drive D:....:)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Membership: aspnet_sql.exe -> aspnet_regsql.exe ricpue BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 August 9th, 2006 11:40 PM
problem creating .exe from MFC AppWizard(exe) c++ method Visual C++ 0 July 7th, 2006 03:28 AM
including .chm in deployment setup.exe nutrino VB.NET 1 March 27th, 2006 11:55 AM
Including .chm file in deployment Setup.exe nutrino VB How-To 1 March 23rd, 2006 09:50 AM
PHP5 and php.exe php-cgi.exe php-win.exe freddo Beginning PHP 1 August 16th, 2004 09:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.