Computing.Net > Forums > Programming > creating a temp file in user profil

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

creating a temp file in user profil

Reply to Message Icon

Name: yaduraj
Date: June 12, 2004 at 02:53:09 Pacific
OS: WINXP
CPU/Ram: 512 MB DDR-SDRAM
Comment:

Hello All,

I have an application in vb where the form has many list boxes, I write the all the selected items by a user in a text file in the app.path, using "Open App.path & filename for output As #1" This file is later used to load the settings saved by a user. However some users are not the administrators on the machines and get an error, when trying to save the settongs, which is why we decided to write the text file to the server using winhttp request service., but the problems are that vb program can not list the files saved on the server. The file list box does not have the property to set its path to the server side which is a url like "http://server.com" & userdir. Is there a method to list the files on the server using vb? So my questions are:

1) Can I create a text file temporarily in the user profile and send it to the server by winhttp request,if so where can I create the file, eg how do i write to "Temporary Internet Files"?

2) How can I list the files on the server using winhttp in vb and be able to delete them from the form, because at one time the user will want to delete the files that he/she saved?

Thanks in advance...

Yaduraj



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: creating a temp file in user profil

deleting files in temp folder www.computing.net/answers/programming/deleting-files-in-temp-folder/19053.html

create a batch file www.computing.net/answers/programming/create-a-batch-file-/18104.html

Problem when trying to creat a CSS file www.computing.net/answers/programming/problem-when-trying-to-creat-a-css-file-/1804.html