|
-
Jul 7th, 2009, 02:34 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Writing data to a file presented in some other machine in network.
Hi All,
I would like to writ one application in VB 6.0, which will write some data to a text file that is presented in some other machine (That other machine is in network).
Can any one just tell me whether it is possible or not?
Please suggest me how it can be done, in case it is feasible.
Thanks in Advance....
-
Jul 7th, 2009, 04:53 AM
#2
Fanatic Member
Re: Writing data to a file presented in some other machine in network.
could you offer an example of this data?
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Jul 7th, 2009, 11:19 AM
#3
Thread Starter
Addicted Member
Re: Writing data to a file presented in some other machine in network.
I will try to explain my requirement.
Five to six users need to access(Read/Write) some data (about two are three words) from a particular machine. For this, I need to write an application.
I can do it by using any data base (Client- server application). But here the application is very simple, and the data is very very less.
So, my idea is why don't i use a text file which is located in a mchine in network ( if it is possible)?
But i am not sure, whether i can do read/write operations in a text file that is in remote machine.
Can any one just suggest me, whether it is feasible or not?
Thanks....
Last edited by raghunadhs; Jul 7th, 2009 at 03:07 PM.
Reason: for better clarity
-
Jul 7th, 2009, 05:32 PM
#4
Fanatic Member
Re: Writing data to a file presented in some other machine in network.
create a common file on one pc using 'Administrative Tools'--> ODBC ...a text file.
and open this link...to the file..
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Jul 8th, 2009, 12:51 PM
#5
Hyperactive Member
Re: Writing data to a file presented in some other machine in network.
I have used something like this.
Code:
Open "\\computer01\sharedfolder\xyz.txt" for append as 1
Print #1, "abcdef"
close 1
Here computer01 is the name of the computer having the textfile,
sharedfolder is the name of the sharedfolder containing the text file and xyz.txt is the name of the text file.
The users must have proper access rights for the folder.
-
Jul 9th, 2009, 07:13 AM
#6
Thread Starter
Addicted Member
Re: Writing data to a file presented in some other machine in network.
Thanks SVG3414 & sessi4ml.
I will try this, and let you know the feed back.
Thanks once again...
-
Jul 22nd, 2009, 11:46 AM
#7
Thread Starter
Addicted Member
Re: Writing data to a file presented in some other machine in network.
Hi SVG3414 & sessi4ml
It is working fine. I used machineName\Sharedfolder\TextFile.txt, like what svg3414 suggested.
Thank alot. Sorry for the late reply..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|