Operating System - HP-UX
1820754 Members
3389 Online
109627 Solutions
New Discussion юеВ

Re: Is there a function like SaveAs dialog as on Windows?

 
Deanna Helie
Advisor

Is there a function like SaveAs dialog as on Windows?

Is there a function similar to the SaveAs function on Windows to retreive the main directory and sub-directories. My system is cross-platform, so the user's frontend is on their workstations but the executing of the programs are on the UNIX system. I want to have the same functionality of the Windows SaveAs function. So I thought that I will need to create a directory tree listing file, ftp the file to the workstation and display it using the Windows SaveAs.

Does anyone have a better way?

thanks
Expanding the world with Knowledge
12 REPLIES 12
Rita C Workman
Honored Contributor

Re: Is there a function like SaveAs dialog as on Windows?

Huh............

If your PC's are the end user station for accessing the application that is running on HPUX, then wouldn't their activity via the application (i.e. API) permit read/write activity to the system's data files from the end user workstation. In other words all updates would come thru the application via application program interfaces to maintain data integrity.

I'm not sure what your trying to do. Because if the appl is running on HPUX, then why would you take a file and save it out on some PC? Opens data security issues; and obviously you could not have everyone taking a file on their PC; modifying it' and writing (ftp) it back to the HPUX host.

Now if the output of the application writes files on the HPUX box (i.e. it's disk storage) and you want to be able to pull those output files up from your PC for viewing or printing purposes only - then setting up a CIFS/SAMBA connection from your HPUX box that the PC's could then map to would be an avenue to consider.

Hope that helps,
Rgrds,
Rita
Torsten.
Acclaimed Contributor

Re: Is there a function like SaveAs dialog as on Windows?

I'm not sure if I understand what you want to do, but if you do some graphical programming I'm sure your framework (toolkit) has appropriate predefined functions for this.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven Schweda
Honored Contributor

Re: Is there a function like SaveAs dialog as on Windows?

If you're expecting any serious help from
non-psychics, you may need to provide a more
detailed description of "My system" than "is
cross-platform". To do that, you may need to
understand it better than you seem to.
Deanna Helie
Advisor

Re: Is there a function like SaveAs dialog as on Windows?

Hi;

The front-end is on the workstation and is a graphical interface. We are using Powerbuilder as our front-end. I have an api that transmits the request to the HP-UNIX for processing and then received the results back, so Powerbuilder can parsed the data stream and display the results. This system has two flavors: Windows platform and UNIX platforms. The windows platform executes on the workstation so PB can call a function to execute the MSwindows SaveAs file function. I want to know if there is a function that created the directory tree, so I can pass the tree back to the frontend and display the directory that same way as the MSwindows platform. So the question is there a tool (ie. MKtools ) that will do most of the work for me?

Expanding the world with Knowledge
Dennis Handly
Acclaimed Contributor

Re: Is there a function like SaveAs dialog as on Windows?

>I have an API that transmits the request to the HP-UX for processing

Are you saying you are running on windows and want to select some file on the HP-UX system using a windows like GUI?

I know firefox has such a dialog box but I don't think you can reuse this code.
Deanna Helie
Advisor

Re: Is there a function like SaveAs dialog as on Windows?

hi;

I can create a file that contains the directory tree ftp it over and then write a c program to parsed it to the rules of the SaveAs function on windows, but I hoping that there is a program out there that would do the work for me!


Expanding the world with Knowledge
OldSchool
Honored Contributor

Re: Is there a function like SaveAs dialog as on Windows?

ok, I'll admit that I don't program windows, so I don't really understand what you are trying to do, but can't you share (samba / cifs / nfs) the unix filesystem to the windows client? and, at that point, the issue disappears?
Steven Schweda
Honored Contributor

Re: Is there a function like SaveAs dialog as on Windows?

> I'm not sure what your trying to do.

> I'm not sure if I understand what you want
> to do

> Are you saying [...]

> [...] I don't really understand what you
> are trying to do, [...]

Have you noticed that no one here has been
able to make heads or tails of your
explanation of your problem? We could all be
morons, but you might wish to look into the
possibility that your explanation is
unintelligible.
Deanna Helie
Advisor

Re: Is there a function like SaveAs dialog as on Windows?

I have noticed that there are not alot of knowledge of two-tier connectivity on this forum.

thanks for your reply but I was able to solve this issue.
Expanding the world with Knowledge
Steven Schweda
Honored Contributor

Re: Is there a function like SaveAs dialog as on Windows?

> [...] I was able to solve this issue.

And your description of the solution was
about as enlightening as your description of
the problem. (Or "issue", if you prefer.)
OldSchool
Honored Contributor

Re: Is there a function like SaveAs dialog as on Windows?

Lets see...
you described the problem only in terms of some API in a windows environment,
never defined what behaviour you were looking for,
state what environment the actual data store resides on,
failed to provide clear answers or problem description,
when suggestions were offered, you never stated why they didn't meet your requirements....

in the words of Strother Martin "What we have here is a failure to communicate".

And yet you post this: "I have noticed that there are not alot of knowledge of two-tier connectivity on this forum."
I submit that we aren't clairvoyants. Reasonable questions get reasonable answers.

and better yet:
"thanks for your reply but I was able to solve this issue."

Thanks for sharing.....it would have been nice if you had explained how, simply as a matter of beneift for others that may at some time later need to resolve a similar issue.
Torsten.
Acclaimed Contributor

Re: Is there a function like SaveAs dialog as on Windows?

Totally agree to Steven and OldSchool - without some psychics forces probably no one can give an exact advise/solution/whatever.

"I have noticed that there are not alot of knowledge of two-tier connectivity on this forum."

I have noticed that there are a lot of unclear vague questions are being asked in this forum - exactly knowledge and understanding about someones requirements/environment/thoughts is many times simply assumed, without to tell about!

Have fun!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!