|
-
Jul 17th, 2008, 12:25 PM
#1
Thread Starter
New Member
Placing data
Hey I'm pretty new to this and was just wondering what the easiest way of placing data into an edit box at runtime is. The program that I am running is retreiving data on a CAN line and I need to display the data line by line in a edit box to view the messages being recievd at runtime. any help would be appreciated.
-
Jul 17th, 2008, 12:49 PM
#2
Re: Placing data
Welcome to the forums. 
Two questions:
What is an Edit Box?
What is a CAN line?
-
Jul 17th, 2008, 01:00 PM
#3
Thread Starter
New Member
Re: Placing data
ok...
maybe I'm confuse by the terms I'm trying to use. When i say edit box i guess i just mean a white field that the program can put data into durring runtime.
Can line dose not matter for the point of this thread but it is a controler area network. I am getting information, retrieving it with my program and now i need to spit it out in a pretty format.
-
Jul 17th, 2008, 01:26 PM
#4
Re: Placing data
So, if I'm reading your correctly, the program you have is already retrieving the data
 Originally Posted by talltubatom
The program that I am running is retreiving data on a CAN line
So, all you need to do is redirect the data from where ever it is going now into a textbox. Is that what is needed here?
How does your program retreive the data?
-
Jul 17th, 2008, 11:25 PM
#5
Re: Placing data
Use the below code:
Text1.Text=Text1.Text & vbNewLine & CANlineText
You better use the code Text1.Locked=True at runtime(place it in the form's load event), so that the messages in the textbox couldnot be editted by anyone... 
Here in the above code, CANlineText is the data retreived using your CAN.... (I uses it as a string variable, because I don't know about CAN)
I think the above one will help you....
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
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
|