How to program to open PSR file

Hi,

I have a composite report datawindow. The SaveAs function limits the file
type to PSR only.

How can I program so that this saved PSR report can be opened for viewing? I
tried using the dw.Create() function but it gives me error.

FYI, I'm using PB 7.

TIA
cheng wah


0
cw
8/25/2003 1:41:56 AM
sybase.powerbuilder.datawindow 28057 articles. 4 followers. Follow

1 Replies
346 Views

Similar Articles

[PageSpeed] 38

string docpath, docname[]
integer i, li_cnt, li_rtn, li_filenum
li_rtn = GetFileOpenName("Select File", docpath, docname[], "PSR", "Text
Files (*.PSR),*.PSR")
IF li_rtn >= 1 then
 dw_1.dataobject = docpath
 dw_1.setredraw( true)
end if


"cw" <chan_cheng_wah@hotmail.com> д���ʼ� news:3f49698b$1@forums-2-dub...
> Hi,
>
> I have a composite report datawindow. The SaveAs function limits the file
> type to PSR only.
>
> How can I program so that this saved PSR report can be opened for viewing?
I
> tried using the dw.Create() function but it gives me error.
>
> FYI, I'm using PB 7.
>
> TIA
> cheng wah
>
>


0
handi
8/25/2003 9:35:48 AM
Reply:

Similar Artilces:

how can i open a file without having the opening program?
I have a web application that uploads and downloads files in different formats. My question is: Is there a way for the user to download and open a file in specific format (i.e. PDF format), without dealing with the installation of the program that opens that format (i.e. the user doesn't have the acrobat reader program)? Is it possible that the downloading process of the file will also download and install the appropriate opening program? Browsers can't go around installing things on people's computers without their permission, so no, this isn't possible. I would suggest ...

superreview granted: [Bug 363654] .url files opened via File:Open don't open/don't open properly on the 1.8.0 branch : [Attachment 248458] disables .url in file:open
Stuart Morgan <stuart.morgan@alumni.case.edu> has granted Smokey Ardisson (unreliable; no bugmail) <alqahira@ardisson.org>'s request for superreview: Bug 363654: .url files opened via File:Open don't open/don't open properly on the 1.8.0 branch https://bugzilla.mozilla.org/show_bug.cgi?id=363654 Attachment 248458: disables .url in file:open https://bugzilla.mozilla.org/attachment.cgi?id=248458&action=edit ------- Additional Comments from Stuart Morgan <stuart.morgan@alumni.case.edu> Well, that kinda sucks. ...

superreview requested: [Bug 363654] .url files opened via File:Open don't open/don't open properly on the 1.8.0 branch : [Attachment 248458] disables .url in file:open
Smokey Ardisson (unreliable; no bugmail) <alqahira@ardisson.org> has asked Stuart Morgan <stuart.morgan@alumni.case.edu> for superreview: Bug 363654: .url files opened via File:Open don't open/don't open properly on the 1.8.0 branch https://bugzilla.mozilla.org/show_bug.cgi?id=363654 Attachment 248458: disables .url in file:open https://bugzilla.mozilla.org/attachment.cgi?id=248458&action=edit ------- Additional Comments from Smokey Ardisson (unreliable; no bugmail) <alqahira@ardisson.org> Asking for sr on this 7-char patch in case we need to take it ...

PowerBuilder down on opening a datawindow.
I'm using PowerBuilder 9.0.1 on Windows XP and Oracle9i. Suddenly I cannot open any datawindow. Each time I tried to open datawindow with datawindow painter, PowerBulider gets down. Someone told me that changing default printer might help. But it didn't help. Please help me. Thanks. Several suggestions: First make a backup of the datawindow to another .pbl (you may even want to create a new .pbl just to hold the backup). 1) Try regenerating just the datawindow. 2) Try optimizing your .pbls then a full regeneration (back up all the .pbls first, again just as a ...

opening a file in a datawindow
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> I want to display a text file in a rich text datawindow. I can get it to display the file but the data in the file changes and the datawindow does not show the new data. Is there a function to use to load this information into the datawindow? <p>TIA <br>William Pratt <br>&nbsp;</html> <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> I don't know if I made this clear enough so I will try to explain better. I have a ...

[ilink64 Error] Fatal: Unable to open file 'PROGRAM FILES (X86)\FASTREPORT [Edit]
Hello, i managed to compile all source-code files of a larger project with bcc64 (C++Builder4Update1). After fixing a lot of code producing bbc64 and ilink64 errors I get now: [ilink64 Error] Fatal: Unable to open file 'PROGRAM FILES (X86)\FASTREPORTS\LIBD18X64;C:\USERS\PUBLIC\DOCUMENTS\RAD STUDIO\11.0\DCP\WIN64' I don't use FastReports! The whole project can be build with bcc32 and ilink32 without problem. (beside ) The output of ilink64 in the IDE is attached. Can someone give me a hint? The path "C:\Program Files (x86)\FastReports\LibD18x64" is adde...

Cannot open items in .pbl file using File
Hello, I am using InfoMaker version 8.0.3 and I cannot open items in a .pbl file using the File - Open routine. I can open them using the Library Painter window and the .pbl file is set as my current working library. I have switched the object type to see if the display was limiting my list of reports. The entire list is blank. Am I missing a setting somewhere? Thanks! I have no idea. My guess is that you have duplicate pbXXX80.dll's on your system. -- Terry Dykstra (TeamSybase) http://powerbuilder.codeXchange.sybase.com/ http://www.pb9books.com product enhancem...

Merge two PSR files into one PSR file
Hi, Is there anyways to merge two PSR files into one PSR files ? Any idea is welcome... Thanks Jean ...

Open program from my program
Hi. I would just like to call the Notepad.exe program from within my program. Im not to sure what to use. System.?? is it along these lines? are we talking about asp.net? or a windows form?Kay LeeMySpace.com - http://www.myspace.com/kragieInfrastructure GroupMySpace.com- Code to live, but Live to code. sorry, a Windows Form its ok, i worked it out... Process p = new Process(); p.StartInfo.Arguments = "C:\\logs\\log.txt"; p.StartInfo.FileName = "notepad.exe"; p.Start(); www.windowsforms.com/forumsKay LeeMySpace.com - http://www.myspace.com...

File open dialog box opens when I click on aspx files
Hi allI have all my aspx files on a server. But, when I click on them, the File open dialog box opens instead. FYI, I have deleted the debug=true line from the config file.Can someone help me with this? You can't click on ASPX files and have them processed, they have to be requested by URL through a server configured to process ASP.NET. JeffPlease: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue....

Opening a .psr file in XP
I am trying to open a psr file at a customer location that creates custom rollouts of WindowsXP. When selecting to run a psr file, the IM6 application opens but the psr will not display. I am wondering if this is a limitation between IM6 and XP or if it is a result of the installation here. I guess I would like to know if anyone can open a psr in XP and actually see the report to execute it. Thank you, Thom Boles What version/build of IM was used to create the PSR? Some builds broke PSRs that contain nested reports. BTW, IM6 is no longer a supported product. IM803 is t...

Open file in its associated program
There is a hyperlink to files. If the link is clicked the file should be opened in associated program. For example if the link is a doc file then MS word should be open and doc file should be displayed. Any help..? Thanks Jijo http://www.microsoft.com/office/000/viewers.aspAnswering a question increases your knowledge asking a question shows your Intelligence! As long as your clients have the proper applications installed with the proper file associations it should work. I have links to files and they all open up properly in their respective apps. I want to Open MS word app...

Open a file with its default program
Hi All, Is there any way to open a file using its default program registered under windows. For-example for jpg, it may open ACDsee, for mpg it opens Windows Media player and so fort. I have used Run function, but the problem is that you have to specify/embed the program extension which will not work in above case as the user can open file of any type. Is there any way i can achieve this. Thanks in advance, Haroon On Jul 30, 4:11=A0pm, hkhokhar <haroonkhok...@gmail.com> wrote: > Hi All, > > Is there any way to open a file using its default program registere...

HOW DO I
I want to open a file in reponse to a button click. The file might be a Word document or a PDF file, etc. I want the appropriate application to open the file based on the file type. Is there an easy way to do this in PB? If so, I can't find it. Thanks for any help! YEs, it's easy. You have to use ShellExecute external API function with "Open" keyword. It will open for you any file that it's extension is registered in the system. "Jim Steil" <jim.steil@customcall.com> wrote in message news:zUNpFyYPCHA.77@forums.sybase.com... > I want...

Web resources about - How to program to open PSR file - sybase.powerbuilder.datawindow

Program - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Steel sculptures called Hybycozo to shed light in Rundle Mall — and on next year’s Fringe program - AdelaideNow ...
MULTI-faceted steel sculptures called Hybycozo will shed some light in Rundle Mall — and on next year’s Fringe program as part of its new Illuminations ...

Safety home signs stripped from streets as program ends
PARENTS have been warned that thousands of Safety Assist signs are being removed from the state’s streets as the child protection system is disbanded. ...

Women Entrepreneurs Finding Mentors Through Global Ambassador Programs
... that cater specifically to women business owners. One of those organizations is Mogul, which recently launched its own mentorship program for ...

Radical Islamists Deliberately Sabotaged Prevent Program to Further Islamist Aims, Committee Heard
The Muslim boycott of the government’s anti-radicalisation Prevent program is being masterminded by Islamists who see any counter-radicalisation ...

20 top MBA programs whose grads land jobs right out of school
Our sixth annual ranking of the 50 best business schools in the world evaluated MBA programs based on reputation, average starting salary after ...

Christmas tree recycling program launches Monday - CBS News 8 - San Diego, CA News Station - KFMB Channel ...
The city of San Diego's 42nd annual Christmas tree recycling program will be launched Monday in an effort to keep trees out of landfills and ...

Target begins gift card trade-in program
The trade-in program is a convenience play, as consumers could likely get more for their old gift cards at online marketplaces.

Switzerland Wraps Up Stripper Visa Program
Switzerland Wraps Up Stripper Visa Program

A Weight-Loss Program Just for You
Within the next five years, the perfect diet will be available to anyone, and all you need to do to get started is spit.

Resources last updated: 12/30/2015 10:34:33 PM