Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing a variable into a VB2005 .exe form

Status
Not open for further replies.

jpowe60

Programmer
Mar 4, 2009
35
US
I am a new VB2005 programmer...learning this ojt. i use a VFP application that passes a report file name to crystal, version 8.5 and 10. The statement that I used was
do form rptin_report with "report file name". I have created a vb2005 form to display a cr2008 report. when I hard code the reportname in the reportsoource field, the report get displayed no problem. What I need to do is to have this form accept any cr2008 report name based upon the report selection user is currently running. I have th following statement in VFP is run /N display_reports.exe I can't figure out two items though they are probably staring at me..the first is how do i include the reprot name after the .exe and 2)on the Vb side, where/how do I tell VB where to picked up the variable and process the report..

any comments/suggestions/pointing me to any documentation greatly appreciated

thank you in advance
 
Allow me to point in in the direction of the more relevant forum796
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top