Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,458 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,873 people online right now. Registration is fast and FREE... Join Now!




need help

 
Reply to this topicStart new topic

need help, need help in code on how to retrieve data from text file

Trebuntou
31 Jul, 2008 - 12:54 AM
Post #1

New D.I.C Head
*

Joined: 4 Sep, 2007
Posts: 12


My Contributions
i am making a program right nowthen i have a plan to save all my data to a text file format using vb6.0....
ican save my data in a text file format but I dont know how to view iin my form in time of data searching
this is the code i use
CODE
open "..\SIS\INFORMATION.txt" For Append As #1
Print#1, "First Name :    " & txtFname.text
Print#1, "Middle Name :    " & txtMname.text
print#1, " "
msgbox " New record  had been save" , vbinformation
Close#1


that is my code do you have any code that code desplay the txt fille into my forms. thaks
i hope this you can help me more power ...

** Edit ** fixed code tags
User is offlineProfile CardPM
+Quote Post

AmitTheInfinity
RE: Need Help
31 Jul, 2008 - 01:40 AM
Post #2

C Surfing ∞
Group Icon

Joined: 25 Jan, 2007
Posts: 1,025



Thanked: 35 times
Dream Kudos: 125
My Contributions
I never ever thought that I will write something like this...

But Please don't put so many code tags in your posts. smile.gif

This post has been edited by AmitTheInfinity: 31 Jul, 2008 - 01:40 AM
User is offlineProfile CardPM
+Quote Post

sam_benne
RE: Need Help
31 Jul, 2008 - 01:42 PM
Post #3

D.I.C Regular
Group Icon

Joined: 16 Jan, 2008
Posts: 298



Thanked: 1 times
Dream Kudos: 400
My Contributions
My god that was annoying to read but anyway have you checked the snippets area lately.
User is offlineProfile CardPM
+Quote Post

Trebuntou
RE: Need Help
31 Jul, 2008 - 04:56 PM
Post #4

New D.I.C Head
*

Joined: 4 Sep, 2007
Posts: 12


My Contributions
will I post my codes like that just to view my code clearly sori if you dont like the way I post thaks for your comments

** Edit ** Removed code tags
User is offlineProfile CardPM
+Quote Post

sam_benne
RE: Need Help
1 Aug, 2008 - 12:43 AM
Post #5

D.I.C Regular
Group Icon

Joined: 16 Jan, 2008
Posts: 298



Thanked: 1 times
Dream Kudos: 400
My Contributions
Type you text like this and do your code like this:

CODE

code here


writing everything in the code tags ain't going to help you fast.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Need Help
1 Aug, 2008 - 12:49 AM
Post #6

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,462



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
Trebuntou : Welcome to Dream In Code.

The code tags are designed to make source code compact & easier to read. Please refrain from wrapping all of your text in code tags.

Thank you.
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 03:49PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month