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

How to set the location of a .TTX file at runtime in VB6 1

Status
Not open for further replies.

hbaake

Programmer
Jun 25, 2001
19
NL
Does anybody out there know how to set the physical location of a .TTX file for a CR report at runtime (Visual Basic 6) ?

Thanks,
Hugo.
 
It can't be done because you probably don't need to do it. You don't need any VB code to change the location. Once you connect your report to a ttx file, the ttx file becomes part of your report. You could delete the ttx file, and it wouldn't make any difference, your report would still run.
 
The problem is that when my app is published on a Citrix server (in a different directory), the reports are created correctly but won't print :-(.
Only after manually setting the position of the .TTX file they'll print...
 
I don't know how you can get around that. A few months ago, I've asked Seagate if it was possible to set the location of a ttx file at runtime, and their answer was no...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top