Finished with project
Finished with project
Finished with project
Finished with project
Finished with project
Finished with project Finished with project Finished with project Finished with project Finished with project Finished with project Finished with project Finished with project
Finished with project Finished with project
Finished with project
Go Back  Xtreme Visual Basic Talk > > > Finished with project


Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2005, 11:47 PM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Talking Finished with project


I'm done with a project, but clicking on the icon only opens Visual Basic. How do I make it so when I open it, it only shows the finished product without opening Visual Basic?
Reply With Quote
  #2  
Old 08-09-2005, 01:09 AM
sgt_pinky's Avatar
sgt_pinky sgt_pinky is offline
Contributor
 
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 633
Default

You have to create a Windows Installer project in your application solution. There are good examples in the MSDN.
Reply With Quote
  #3  
Old 08-09-2005, 10:44 AM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Default

Sadly, I am not in my home. I am away from home, and I THOUGHT I took everything for .NET with me. I didn't. Disc 1 for MSDN is still at my house! So, I don't have any way to look this up. Can you tell me how to create this Windows Installer Project?
Reply With Quote
  #4  
Old 08-09-2005, 01:24 PM
mrjeffy321 mrjeffy321 is offline
Ultimate Contributor
 
Join Date: Apr 2003
Location: Texas, USA
Posts: 1,623
Default

MSDN is also online too (http://msdn.microsoft.com/).

You can add the installer project by going to,
File > Add Project > New Project > Setup and Development Projects > Setup Project
Reply With Quote
  #5  
Old 08-09-2005, 08:41 PM
MemoryLeak MemoryLeak is offline
Newcomer
 
Join Date: Aug 2005
Posts: 15
Default

Congrats on finishing. The first thing that you have to do is find the output of your project and run that rather than the solution files that you have been running until now. By default, this would be in the bin directory within your project folder. You will have to create a setup project when you want to deploy your application to another computer.
Reply With Quote
  #6  
Old 08-10-2005, 11:56 AM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Default

How do I use the Setup Project? Where do I create it, and how does it work? (I have found the Setup Project in File > Add Project > New Project > Setup and Development Projects > Setup Project)
Reply With Quote
  #7  
Old 08-10-2005, 12:53 PM
reboot's Avatar
rebootFinished with project reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

We are not a substitute for MSDN.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #8  
Old 08-10-2005, 07:11 PM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Default

Quote:
We are not a substitute for MSDN.
No, but in some ways, you guys are better. You put it in terms I can understand. I will look up the setup files on MSDN. But, If I scratch my head, and say, "Idongetit..." I WILL be back.
Reply With Quote
  #9  
Old 08-10-2005, 07:16 PM
sgt_pinky's Avatar
sgt_pinky sgt_pinky is offline
Contributor
 
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 633
Default

"The trick to being a strong Windows programmer is one's ability to use MSDN efficiently." - Pinky, 2005

That should go in the Oxford Book of Quotations.

In all seriousness though, there is 4GB+ of material in the MSDN, covering everything. Granted, some sections are poorly documented still, such as DirectX for managed languages - but only because it is still so new!
Reply With Quote
  #10  
Old 08-10-2005, 07:53 PM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Default

Okay, I tried it with a small Windows Application. Here's what I did,

1) I made a setup file project in the BIN folder.
2) I added the Content Files and Primary Output to the Application Folder
3) I specified the folder to install to in the DefaultLocation Property.
4) I told the computer to "Build Setup".

I got the following messages:

Unable to build assembly named 'ScientificCalculator.exe', HRESULT == '8007064F'
Unable to build folder named 'Application Folder'

So, What did I do wrong?
Reply With Quote
  #11  
Old 08-19-2005, 11:49 PM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Default

Just a 'bump' so I can remine everyone. I have been stuck for a while now, and I still haven't figured it out. What did I do wrong in my deployment project?
Reply With Quote
  #12  
Old 08-20-2005, 02:59 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

From the provided errors I can't tell what's wrong, but if you are just looking to get the "finished prduct" you don't even need to make a setup. If you are just making a simple program you should only need one .exe file. To get that file go to the "Build" menu and click "Build Solution" then go the the folder where your applications files are, go into the "bin" folder, and inside you will see a nice .exe file...your program. Note that you can use the configuration manager to set it to a debug or release build...pretty self explanatory no?
__________________
170 10101010 410 J31^170
Reply With Quote
  #13  
Old 08-20-2005, 07:44 PM
Dilbert0014 Dilbert0014 is offline
Freshman
 
Join Date: Aug 2005
Posts: 27
Default

What I want is to make it available on other computers. It isn't very complicated, but It requires multiple forms. Does that make a difference?
Reply With Quote
  #14  
Old 08-20-2005, 08:54 PM
by_m's Avatar
by_m by_m is offline
Contributor
 
Join Date: Jul 2004
Location: Texas
Posts: 661
Default

It should be fine, I don't know what your situation is, but in short...
If you want to provide a proper looking install, maybe put it in the start menu and add a help file and maybe some other files, then you should probably see if you can put out some more information so that we can help you see what's wrong with your installation.
If you just want it to be able to run on several users computer, don't have a bunch of outside files such a databases, help files, etc. then you should be just fine with compiling a simple executable file and giving it to users. It can just be a matter of preference. Your call.
__________________
170 10101010 410 J31^170
Reply With Quote
Reply


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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Finished with project
Finished with project
Finished with project Finished with project
Finished with project
Finished with project
Finished with project Finished with project Finished with project Finished with project Finished with project Finished with project Finished with project
Finished with project
Finished with project
 
Finished with project
Finished with project
 
-->