|
|
|
Question about 'Use Quick View with Any File'
Showing all messages in thread #1129030922 Windows 98 Annoyances Discussion Forum
The following are all of the messages in this thread (5 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
|
Question about 'Use Quick View with Any File'
Tuesday, October 11, 2005 at 4:42 am Posted by Vernon
(2 messages posted)
I have a question about Use
Quick View with Any File:
I would like to call Quick view from a program to read the data in a file. I am
new to programming and do not know how all interfaces work.
This is what I would like to do (I hope it is correct and can be done):
1. Open a file in MY Documents using QuickView.
2. Read that file for processing
3. Later on I would like to access that file directly from another web site without
having to do it manually.
Could someone help me with this. I am using JavaScript and any sample code would
be greatly appreciated.
Thanks for your help in advance,
Vernon
[Reply or follow-up to this message]
|
re: Question about 'Use Quick View with Any File'
Tuesday, October 11, 2005 at 1:16 pm Posted by KeithT
(2636 messages posted)
What you are trying to achieve is not clear.......to me anyway.
[Reply or follow-up to this message]
|
re: Question about 'Use Quick View with Any File'
Tuesday, October 11, 2005 at 1:21 pm Posted by Vernon
(2 messages posted)
I have developed a program for handicapping. However, rather than input the data
manually, I have subscribed to a service which has the data in raw format which,
if I can open the file (I was given the layout), then I can automatically retrieve
just the data that I need for my calculations. Using Quick View, I am able to view
the raw data, but when I try to open same I fail. I have tried C:\...\...\filename
in the address bar, but get a message that access is denied.
I have spoken with their tech people and they stated that I must open it using my
program, but that is where I am lost.
I hope this helps you, and you can give me a command that I can use in my code to
open the file.
Thanks,
Vernon
On Tuesday, October 11, 2005 at 1:16 pm, KeithT wrote:
>What you are trying to achieve is not clear.......to me anyway.
>
>
[Reply or follow-up to this message]
|
re: Question about 'Use Quick View with Any File'
Tuesday, October 11, 2005 at 2:41 pm Posted by KeithT
(2636 messages posted)
I think this is something only you & the tech people can thrash out between you,
I doubt Quick View is of any use to you.
[Reply or follow-up to this message]
|
re: Question about 'Use Quick View with Any File'
Tuesday, October 11, 2005 at 5:37 pm Posted by normanw
(798 messages posted)
Quickview will only read local files. Javascript will not help
since for security reasons it cannot read or write to files.
You should be able to copy and paste the data from the
screen into a text file, from which you could then
manually extract them, though any formatting, tabular or
otherwise, would be lost.
Unless the independent data items contain no spaces
it would be difficult to parse the file automatically to
extact each item as a separate entity.
From what you say, it appears you retrieve the data in
the form of a Web page. It seems likely, therefore that
they are displayed as a table. If so, it is theoretically
possible to save the HTML code from your Web browser
as a text file and then write a program to parse the
file to extract the rows and cells of the HTML table.
However it seems pretty clear you do not have the
programming skills necessary to do this.
All in all, you would be better off following the first
suggestion and simply copy-paste the data block from
the browser into a text file (Notepad should be adeqate
for this unless the volume of data exceeds 64KB) and
then processing it by hand.
Without more detailed information on how you retrieve
the raw data if in fact it is not as a Web page, it is not
possible to give you any further advice. For example, do
you actually download the data as a file, such as Excel,
CSV delimited text, or what?
(Incidentally, this is not really a topic for this forum,
which is specifically for Win98-related matters. You
would probably be better off consulting a programming
forum.)
On Tuesday, October 11, 2005 at 1:21 pm, Vernon wrote:
>I have developed a program for handicapping. However, rather than input the data
>manually, I have subscribed to a service which has the data in raw format which,
>if I can open the file (I was given the layout), then I can automatically retrieve
>just the data that I need for my calculations. Using Quick View, I am able to view
>the raw data, but when I try to open same I fail. I have tried C:\...\...\filename
>in the address bar, but get a message that access is denied.
>
>I have spoken with their tech people and they stated that I must open it using my
>program, but that is where I am lost.
>
>I hope this helps you, and you can give me a command that I can use in my code to
>open the file.
>
>Thanks,
>Vernon
>
>
>
>
>
[Reply or follow-up to this message]
| |
Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
| |
Return to the Windows 98 Discussion Forum
|
|
|
|