tags:

views:

59

answers:

1

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.swf>Open

Application Folder will get Animation.swf file

Application Folder>Add>FileWindowsApplication1>bin>Debug>CrystalReport1 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

Users Programs Menu>Create Folder(Use programs name as folder`s name)

Application Folder> Create another shortcut & bring it to Users Programs Menu>Folder(programs name as folder`s name)

Build>Build Solution

Build>Build Setup

A: 

I see mention of Crystal Reports files but no mention of the Crystal Reports prerequisite package included in the installation. That would be my guess without seeing the error message.

CodeByMoonlight
New programmer
Error signature EventType : clr20r3 P1 : windowsapplication1.exe P2 : 1.0.0.0P3 : 4ca21bfa P4 : system.windows.forms P5 : 2.0.0.0 P6 : 471ebf68P7 : 3dad P8: 97 P9 : systemio.filenotfoundexceptionReporting details :This error report includes : information regarding the condition of WindowsApplication1 when the problem occurred the operating system version and computer hardware is use; your Digital Product ID, which could be used to identify your license; and the Internet Protocol(IP) anddress of your computer.
New programmer
I have read it that to get rid of crystal report`s problem I have to add merge module. I have tried to find it out but I didnt get it. As I result I have installed here in my windows CRRedist2005_x86 (crystal report msi file to solve this problem) but I cant run my program because of that error so I cant tell it that it works or not.
New programmer
I see "systemio.filenotfoundexception" in there, where is that being thrown?
asawyer
I have used "Imports System" and "Imports System.IO" there in my first form. Is it making problem? Do you want me to remove those lines from my code?
New programmer