Click here to Skip to main content
15,901,205 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionFast Printing in VB dot NET (DOS mode) Pin
tonyveedon31-Dec-05 2:45
tonyveedon31-Dec-05 2:45 
AnswerRe: Fast Printing in VB dot NET (DOS mode) Pin
vertig073031-Dec-05 4:41
vertig073031-Dec-05 4:41 
GeneralRe: Fast Printing in VB dot NET (DOS mode) Pin
tonyveedon31-Dec-05 6:19
tonyveedon31-Dec-05 6:19 
AnswerRe: Fast Printing in VB dot NET (DOS mode) Pin
Dave Kreskowiak31-Dec-05 4:50
mveDave Kreskowiak31-Dec-05 4:50 
GeneralRe: Fast Printing in VB dot NET (DOS mode) Pin
tonyveedon31-Dec-05 6:20
tonyveedon31-Dec-05 6:20 
GeneralRe: Fast Printing in VB dot NET (DOS mode) Pin
Dave Kreskowiak1-Jan-06 6:23
mveDave Kreskowiak1-Jan-06 6:23 
QuestionCrystal Report Error (Urgent) Pin
ajay bharti30-Dec-05 23:31
ajay bharti30-Dec-05 23:31 
AnswerRe: Crystal Report Error (Urgent) Pin
vertig073031-Dec-05 1:58
vertig073031-Dec-05 1:58 
from google search: vb.net crystal report installer

http://www.vbcity.com/forums/faq.asp?fid=54&cat=Crystal%20Reports

The Solution:

Some basic info first; I was using VB.Net (Visual Studio.net 2003) in a Windows Form. The version of Crystal Reports used was that which came bundled with Visual Studio (this appears to be 9.1.5000.0 according to the reference within VB Studio). The reports used are embedded within the project. Here’s what I did. Apologies in advance if much of this is common knowledge –but it’s usually the simplest point that if overlooked causes the whole thing to go pear shaped and fail to work.

Producing the Deployment Project:

Open Solution Explorer, right click on the “Solution Name” at the top and Add a New Project. On the window that appears, move to Setup and Deployment Projects. Click on Setup Project (not the wizard), put a name for your deployment project (make a note of the location where the folder that the deployment project will be created in) and then click OK. A File System dialog will appear – solution explorer should be displayed on the left of screen. Within solution explorer – right click over your deployment project and select Add – Project Output. Another window will appear – select Primary Output (make sure configuration is showing Active) and click OK. This will result in the detected dependencies being updated & a primary output icon appearing in the deployment project. Right click on the deployment project name again and Add – Merge Modules. Add the following modules.

Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
VC_User_CRT71_RTL_X86_---.msm
VC_User_STL71_RTL_X86_---.msm

These were the appropriate modules for my application given that I am using VS 2003. You can check your specific needs by going to this site

click here

And finding the environment appropriate to you i.e. VB.net 2003, Full versions of Crystal Reports etc…

Right click on Crystal_regwiz2003.msm and go to its properties. Enlarge the MergeModuleProperties tree and enter the product licence key. This can be found by opening the Help menu on Visual Studio and then opening About Microsoft Development Environment. You will see the 19 character licence code for Crystal Reports in the Installed Products List.

Go onto Build – Configuration Manager . Check that the Project & Deployment Project which appear are set to “Release” and the Build check box for each is checked. Build the Project. If all is well the build should show no errors.

If this has gone according to plan you should now have (in the folder specified in the “location” window given when you added your deployment project) a debug and release folder. The release folder will contain

setup (application)
setup (config file)
an installer package.

The release folder is all that is needed to deploy the application on another machine.





1. Out of clutter, find simplicity.
2. From discord, find harmony.
3. In the middle of difficulty lies opportunity.

Albert Einstein
three rules of work
AnswerRe: Crystal Report Error (Urgent) Pin
karim ben romdhane2-Jan-06 21:07
karim ben romdhane2-Jan-06 21:07 
Questionproperty and fucntion Pin
Jeeva Jose30-Dec-05 21:40
Jeeva Jose30-Dec-05 21:40 
AnswerRe: property and fucntion Pin
Gerben Jongerius30-Dec-05 23:41
Gerben Jongerius30-Dec-05 23:41 
GeneralRe: property and fucntion Pin
Iftikhar Ali4-Jan-06 5:38
Iftikhar Ali4-Jan-06 5:38 
QuestionHow to delete exe/dll file from itself? Pin
Iftikhar Ali30-Dec-05 19:10
Iftikhar Ali30-Dec-05 19:10 
AnswerRe: How to delete exe/dll file from itself? Pin
Jeeva Jose30-Dec-05 22:01
Jeeva Jose30-Dec-05 22:01 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:04
Iftikhar Ali2-Jan-06 3:04 
GeneralRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak2-Jan-06 11:50
mveDave Kreskowiak2-Jan-06 11:50 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:12
Iftikhar Ali2-Jan-06 19:12 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:21
Iftikhar Ali2-Jan-06 19:21 
AnswerRe: How to delete exe/dll file from itself? Pin
Steve Pullan30-Dec-05 23:56
Steve Pullan30-Dec-05 23:56 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:08
Iftikhar Ali2-Jan-06 3:08 
GeneralRe: How to delete exe/dll file from itself? Pin
Steve Pullan2-Jan-06 3:37
Steve Pullan2-Jan-06 3:37 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 3:44
Iftikhar Ali2-Jan-06 3:44 
GeneralRe: How to delete exe/dll file from itself? Pin
Steve Pullan2-Jan-06 11:29
Steve Pullan2-Jan-06 11:29 
GeneralRe: How to delete exe/dll file from itself? Pin
Iftikhar Ali2-Jan-06 19:16
Iftikhar Ali2-Jan-06 19:16 
AnswerRe: How to delete exe/dll file from itself? Pin
Dave Kreskowiak31-Dec-05 5:03
mveDave Kreskowiak31-Dec-05 5:03 

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.