Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am really confused! My program doesnt work if I dont have visual studio here in my pc. To test it I have uninstalled visual studio. But my program doesnt work though flash player is present there(I have used flash animation in first form). To be more sure about it I have installed Flash. But its not working! That means flash animation file(.swf) is not making problem! It needs support from visual studio to start. Doesnt it mean that some files are not attached with setup file as a result it needs visual studio to run? Let me tell you how do I create setup file of my program.

Project>WindowsApplication1 properties>Compile>Advance compile

option>Target CPU : AnyCPU Target framework(all

configurations): .NET Framework 3.5>OK

File>Add>New Project>Other Project Types>Setup and

Deployment>Setup Project>OK

Setup>Properties>Prerequisites>Select Create setup program to

install prerequisite components & Windows Installer 3.1 & .NET

Framework 3.5 & Download prerequisites from the same location as my

application>OK>Apply>OK

Setup>View>File system> Select Application folder of File

System on Target Machine>Add>Project output>Primary

output>Configuration>Active>OK>Message will be shown

"Microsoft Visual Studio> "The following files may have

dependencies that cannot be determined automatically. Please confirm

that all dependencies have been added to the project.

d:\windows\speech\vtext.dll d:\windows\system32

\macromed\flash\flash10i.ocx d:\windows\system32msadodc.ocx

d:\windows\system32mshflxgd.ocx>OK

Application Folder will get files

Application

Folder>Add>FileWindowsApplication1>bin>Debug>Animation.sw

f>Open

Application Folder will get Animation.swf file

Application

Folder>Add>FileWindowsApplication1>bin>Debug>CrystalRepor

t1 CrystalReport2 CrystalReport3 CrystalReport4 CrystalReport5

CrystalReport6>Open

Application Folder will get CrystalReport1 2 3 4 5 & 6 files

Application Folder>Select Primary output from SUIMT(Active)

>Create shortcut to Primary output from SUIMT (Active)

Application Folder> Select that shortcut file & bring it to

User`s desktop Folder

User`s Programs Menu>Create Folder(Use program`s name as folder`s name)

Application Folder> Create another shortcut & bring it to User`s

Programs Menu>Folder(program`s name as folder`s name)

Build>Build Solution

Build>Build Setup

Is it wrong way? If not then why does my program need visual studio to run? Please help me.
Posted

1 solution

Looks like you need to have .NET framework 3.5 installed on your machine to run your program. When you install Visual Studio, it gets installed automatically and it looks to me that you are uninstalling .NET Framework 3.5 as well when you uninstall Visual Studio.

So, on a fresh machine, install .NET Framework 3.5 and then try to run the program and see how it goes. You can download it here.[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900