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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Associate ".rpt" files to a custom application. 1

Status
Not open for further replies.

deetee2k

Programmer
Nov 25, 2000
90
IE
Hi,

I'm trying to launch my application whenever a user double-clicks a Crystal ".rpt" file.

I associated the .rpt extension to my application and it launches OK but the report doesn't load.

What extra lines do I have to add to my app to get this to work?

Thanks,
D.
 
There is soem code for waht you want in thread222-1927

What you need to do is read the command line arguments using the command function

This will give you the name of the file that was double clicked.

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
Thanks Matt!

I was going in this direction anyway!

What's even more annoying is that I searched through tek-tips for over an hour and didn't get anywhere! :-(

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top