473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Data entry - indexed

Hi, I am a relative VB novice trying to talk to a microcontroller devlopment kit from VB express.

I am using serialcommchat - a simple serial port RS232 program that works very well. It can be found on the Devx website should anyone else need such a program. I can send and received data just fine over the RS232 link.

Now what I want to do is send useful data. I can use ASCII as the target board can resolve this into HEX data to use. No problem there, but the format has to be: Address (2 charachters in HEX) Sub Address (2 charachters in HEX) followed by data also 2 Ascii chars but up to ten data blocks.

I have a simple text box input for the first two and if Sub Address is "" (null) then I ignore it as the target board may or may not use subaddresses.

What is the best way to offer the VB user a box to enter data that becomes tabulated or is this even possible in VB?

I hoped to use an empty combo box, but I cannot progress beyond the first line.
I have set its properties to drop down true and max five entries but the box remains one line only. At runtime I can change this data but the next entry just overwrites it.

I need to be able to implement a recursive send loop (for-next) until all data has been sent, so I think that I need some kind of indexed entry that can also tell me how many entries have been inserted. Sometimes there will only be 1 byte, sometimes as many as ten, depending on the target device.

Is there a better alternative to a combo box? Typically I want to limit the entries to no more than 10 as the uC has not much storage.

Any help would be appreciated
Jan 7 '07 #1
0 1237

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Meyer1228 | last post by:
VB6 - We have three data combo boxes with identical properties, each pointing to a different data file. We're using an odbc driver with a 4th gl indexed database. All that is working beautifully. ...
10
by: heromull | last post by:
We have an asp.net app with about 200 data entry forms. Customers may enter data into any number of forms. Each form's data is persisted in a corresponding sql table. When data entry is...
4
by: Doslil | last post by:
I have a form which has a subform.In the main form I have only one field (this is a drop down list and has a query attached to it) which selects empno,Name from the EmployeeInformation table. ...
6
by: routeslip | last post by:
I'm refering to an entry in an array by it's string key, as in foo. Is there a way to get the numeric index of that array without iterating through the entire array? What I need to do is find...
1
by: Dave | last post by:
I am currently inputting codes from a product list, some codes every so often are the same, is there a way ms access can flag up if i've inputted the same code in? I don't want to be inputting the...
20
by: hippomedon | last post by:
Hello everyone, I'm looking for some advice on whether I should break the normalization rule. Normally, I would not consider it, but this seems to be a special case. I have created an...
3
by: OzNet | last post by:
I have inherited a database for placing job seekers into jobs. The original table has 3 fields which contain job preferences using codes which had to be looked up in a book. There are around 5000...
8
by: Francisco | last post by:
Hello, Is there any code faster than this array position manipulation (some code omitted for brevity)?: internal struct TreeNodeTableItem { public int a; public int b; public int c; public...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.