Click here to Skip to main content
15,911,139 members
Home / Discussions / C#
   

C#

 
Questionsql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 18:46
sandhya145-Feb-09 18:46 
AnswerRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd5-Feb-09 20:29
professionalVimalsoft(Pty) Ltd5-Feb-09 20:29 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 22:25
sandhya145-Feb-09 22:25 
GeneralRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd5-Feb-09 23:16
professionalVimalsoft(Pty) Ltd5-Feb-09 23:16 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 23:32
sandhya145-Feb-09 23:32 
GeneralRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd5-Feb-09 23:37
professionalVimalsoft(Pty) Ltd5-Feb-09 23:37 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya145-Feb-09 23:46
sandhya145-Feb-09 23:46 
GeneralRe: sql error while running an exe of a c# windows application Pin
Vimalsoft(Pty) Ltd6-Feb-09 0:09
professionalVimalsoft(Pty) Ltd6-Feb-09 0:09 
Thats was your mistake

Step 1

After you are happy with your application Smile | :)


Step2

Right Click on your Project and Add New Project,Go down to "others Project types" and look for a "SetupProject",
look at the path and make sure that its in the same directory as your Project and give it a name, just give it the same name as your Project but add something like MyProject_Setup.

Step 3:

At the Bottom of your Solution explorer you will see your setup Project and Right click on your setup project and select --> Project Output, You will see that automatically the name of the Project to be outputed will be displayed, just click ok.

Step 4:

In Visual Studio there is a Green Button that you use to run your program with , and next to it , the is an Option that is written "Debug", change it to Release"


Step 5:

Right Click your Application and rebuilt


Step 6:

Right Click your setup project and rebuilt


Step 7:

Go to your Application Folder(NOT in VS) and you will see that there is a Folder that has been created for you and it will have
a name like MyProject_Setup. Open it and Open the "Release" Folder and thats what you must take to the Clients computer and run a setup and your application will work.

Vuyiswa Maseko,

Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za


GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya146-Feb-09 0:28
sandhya146-Feb-09 0:28 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya146-Feb-09 0:39
sandhya146-Feb-09 0:39 
GeneralRe: sql error while running an exe of a c# windows application Pin
sandhya146-Feb-09 19:45
sandhya146-Feb-09 19:45 
Questionhow to create sub tables in sql server Pin
praveenvkumarv5-Feb-09 18:02
praveenvkumarv5-Feb-09 18:02 
AnswerRe: how to create sub tables in sql server Pin
Christian Graus5-Feb-09 20:41
protectorChristian Graus5-Feb-09 20:41 
QuestionServer drives Pin
mrithula85-Feb-09 16:42
mrithula85-Feb-09 16:42 
AnswerRe: Server drives Pin
Dave Kreskowiak5-Feb-09 17:47
mveDave Kreskowiak5-Feb-09 17:47 
Question[Message Deleted] Pin
Michael Halsig5-Feb-09 9:10
Michael Halsig5-Feb-09 9:10 
AnswerRe: ShowDialog keeps loading the form. Pin
N a v a n e e t h5-Feb-09 15:39
N a v a n e e t h5-Feb-09 15:39 
AnswerRe: ShowDialog keeps loading the form. Pin
_Maxxx_5-Feb-09 15:45
professional_Maxxx_5-Feb-09 15:45 
GeneralRe: ShowDialog keeps loading the form. Pin
Michael Halsig6-Feb-09 3:41
Michael Halsig6-Feb-09 3:41 
GeneralRe: ShowDialog keeps loading the form. Pin
Michael Halsig6-Feb-09 6:35
Michael Halsig6-Feb-09 6:35 
GeneralRe: ShowDialog keeps loading the form. Pin
_Maxxx_8-Feb-09 12:53
professional_Maxxx_8-Feb-09 12:53 
GeneralRe: ShowDialog keeps loading the form. Pin
Michael Halsig9-Feb-09 7:00
Michael Halsig9-Feb-09 7:00 
GeneralRe: ShowDialog keeps loading the form. Pin
_Maxxx_9-Feb-09 11:18
professional_Maxxx_9-Feb-09 11:18 
QuestionConvert PDF to text or html Pin
Johan Martensson5-Feb-09 7:12
Johan Martensson5-Feb-09 7:12 
AnswerRe: Convert PDF to text or html Pin
vaghelabhavesh5-Feb-09 8:05
vaghelabhavesh5-Feb-09 8:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.