Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 17th, 2008, 6:20 AM   #1
praveensamra
Newbie
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0 praveensamra is on a distinguished road
Unhappy Deploy VB Application

I need to deploy a visual basic application that has been created in Visual Studio 2005.

I need to deploy the application so it will automatically create a short cut on the users desktop.

Please can you help
praveensamra is offline   Reply With Quote
Old Jan 17th, 2008, 6:38 AM   #2
hollystyles
Omlette du fromage
 
hollystyles's Avatar
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 hollystyles is on a distinguished road
Re: Deploy VB Application

Right click the solution in solution explorer, choose add -> New Project... choose a setup project. Build the set-up project it will output a setup.exe and an msi file.

Google for tutorials on setup projects for more information, there's quite a lot you can do with them.
hollystyles is offline   Reply With Quote
Old Jan 17th, 2008, 6:48 AM   #3
praveensamra
Newbie
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0 praveensamra is on a distinguished road
Re: Deploy VB Application

Thanks for your reply, 

I have tried to follow you directions but still have problems, i right click on solutions explorer and i select 'add' but there no New Project there is a 'new ideas'  


I create a application using visual studios 2005 - Microsoft Visual Basic 2008 Express Edition. 

I have been using the click once to deploy the application but found that i when the users install the application, it doesn't create a short cut onto there desktop.
praveensamra is offline   Reply With Quote
Old Jan 17th, 2008, 2:48 PM   #4
hollystyles
Omlette du fromage
 
hollystyles's Avatar
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 hollystyles is on a distinguished road
Re: Deploy VB Application

Quote:
I create a application using visual studios 2005 - Microsoft Visual Basic 2008 Express Edition.
Are you using 2005 Express Edition or 2008 ?

Quote:
I have tried to follow you directions but still have problems, i right click on solutions explorer and i select 'add' but there no New Project there is a 'new ideas'
You must right click on the actual Solution node at the top of the project tree, not just any where in solution explorer.
hollystyles is offline   Reply With Quote
Old Jan 18th, 2008, 3:55 AM   #5
praveensamra
Newbie
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0 praveensamra is on a distinguished road
Re: Deploy VB Application

Im using 2005 Express Edition.

Quote:
You must right click on the actual Solution node at the top of the project tree, not just any where in solution explorer.
I did a right click on the project name in the Solution tree.
praveensamra is offline   Reply With Quote
Old Jan 18th, 2008, 4:16 AM   #6
hollystyles
Omlette du fromage
 
hollystyles's Avatar
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 hollystyles is on a distinguished road
Re: Deploy VB Application

Ok it seems the Express editions of Visual Studio don't include setup projects. Only the click once deployment technology which you can see how to use here:

http://msdn2.microsoft.com/en-gb/vstudio/aa718413.aspx

It states that this method will add a shortcut to the users program menu.
hollystyles is offline   Reply With Quote
Old Jan 18th, 2008, 6:01 AM   #7
praveensamra
Newbie
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0 praveensamra is on a distinguished road
Re: Deploy VB Application

Quote:
Originally Posted by hollystyles View Post
It states that this method will add a shortcut to the users program menu.
Is there a way of doing it so it will also add a shortcut to the users desktop
praveensamra is offline   Reply With Quote
Old Jan 18th, 2008, 6:07 AM   #8
hollystyles
Omlette du fromage
 
hollystyles's Avatar
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 hollystyles is on a distinguished road
Re: Deploy VB Application

It doesn't say and I don't know without trying it for myself which I might do one evening soon. If there isn't a way to do it using 'Click once' you could do it in your code. Keep a setting in the app.config file, when the app first starts you can read the setting, if it's false you could use a dialog box to ask the user if they want to make a desktop shortcut or not. Do the necessary according to their choice and set the config setting to true so the dialog doesn't show anymore.
hollystyles is offline   Reply With Quote
Old Jan 18th, 2008, 6:10 AM   #9
hollystyles
Omlette du fromage
 
hollystyles's Avatar
 
Join Date: Oct 2007
Posts: 29
Rep Power: 0 hollystyles is on a distinguished road
Re: Deploy VB Application

There are third party installer tools you can get and use to make set-up programs too. Like Inno which is perhaps the most well known.
hollystyles is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
application failed to initialize properly 0xc0000005 ronaldr C++ 3 Dec 27th, 2007 8:24 PM
VB 2002 -> VB 2008 conversion pal Visual Basic .NET 1 Sep 15th, 2007 3:43 AM
Help deploying my Application bigguy Visual Basic .NET 1 Nov 21st, 2006 7:36 PM
creating an application that stands between the browser and the serve ronias Visual Basic 5 Oct 30th, 2005 4:22 PM
"Not Responding" Message in Windows Form Application G_Zola C# 1 Apr 29th, 2005 10:15 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:46 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC