Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Storing WAV Data In EXE File


Hello,

does anyone know how to store the WAV data a program needs into the compiled EXE file ?

Is there any control similar to the imagelist control (in which image data is stored and placed IN the EXE file, after compilation) for sound ??

Thanks




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Storing Data In A File
Hi everyone, I need to store values in a file and then be able to transfer those values to print off an invoice, e.g. product description, quantity, price etc.

I am using combo boxes to select relevant products which pulls up prices automatically. Can I then transfer this data into a Word doc or something similar?

Thanks

Help With Storing Data In A File
Hi again,

first thanks so much to those who helped me in the past, i just write code for a few hobby projects each year and its very generous for you all to be so helpful.

i am wanting to write data that i have retrieved and processed into a file that uses a format that i have no experience or understanding of. i DO have a code snippet provided by the programmer of the device that uses the file. which i posted in the C++ forum but got no responses. further the note i recieved says:

"We use C++ serialization to store data and pull it out of the user data files."

so does anyone know if its possible to store compatible data using VB6? any pointers to an example would be great.

thanks
jerry

Storing Data In An Exe File
I need to store some data in an executable file and i need to know how.

Is there any???

Thanks for any help

Storing Data From A Html File
Hello,

Here's what I want to do... or at least what I've been trying for the last days...
I have several html files. They all have the same layout with some standard titles. Behind those titles there is some data that I need to get in a database. This data is different (from different length) in each html file.

example:
Let's say the standard title is "title:" and behind that we have 123456. So I need the 123456 in a string (or database).
Untill now I did it like this.

Open "C: est.html" For Input As #1
Do While EOF(1) <> True
Input #1, RawData
... and so on ...

Then I search for the word "title:" in the string RawData. When I found it, I open a loop and take every character in a string until I reach the character "<" beacuse then I know that the html code is starting again and my title is in the string.

Well, this is my explanation... but I can't figure it out how to let it work... Can somebody help me?

Thnx in advance!

Greetz!

HELP !!! - Storing Data To A Text File
Hi,

I need to get help. I have managed to send data from a vbform in to a text file which is on my local hard disk and the code is as follows:

Open "C:ClassTest ".txt" for Ourput as #fNos

and its working fine with just one form. BUT I have 3 other forms which all have a value that I need to send them to the same text file. Also I want them to be in the same row as form1 is sending the values, that is concatinating all values separated by a comma.

Pls give me some help cos I'm lost and I have been going round in circles.
Thanks

Storing Data To The Program File Itself !!!
hi,

i know other methods for storing information. like storing to the registry or to a txt file or to a database..
but i think storing an encrypted information in the program file itself will be safer..

i need it to store a flag value to check if the user have a registered version or not, but how can i store data to the program .exe file itself???

any code?



thank u..

Storing/Restoring Data From A File
Hi, i'm a little stuck with a small project.

I am trying to create a multi-function tool for an online game. The problem is, I would like to be able to store IP addresses (which are typed into a total of 5 boxes incl. Port) into a file, which can later be restored.

As the file would contain a list of IP's the file would need to be loaded into a listbox or a combo box to select which IP address to restore.

Thanks in advance for any help and please remember I am very new to VB so be gentle :P

If there is something you feel I missed out or need more details, just ask and I will try my best to tell you.

btw, im using VB6.

Storing Data In Text File
Hi, I am a very very beginner
 I need to store the input details (book details) from the form fields into the text file and then retrieve how many books are stored.

I made a form with the tabs and I know how to create a text file in location but then I am stuck

I have the following 4 text fields



Dim ID As Integer

Dim Name As String

Dim Author As String

Dim Price As Integer



help!!!

Storing Text And Picture Data In The Same File.
Hey,

I'm trying to figure out how I could create a single file that would be able to contain both picture and text dat (as much as I needed), almost something along the lines of:

Open "C: est.bin" For Binary As #1
Put #1, Text1.Text, Picture1.Picture
Close #1

but obviously that doesn't work. Is it necessary to use databases to accomplish this? Is there a good tutorial I can find on it?

Thanks!

Read An Excel File Using Vb And Storing That Data
i want to read an excel file using vb and storing that data
in database
can anyone provide me with the solution

thanks
paresh

Storing Plain Text Data In Its Own File
Hi all i am just starting to get back into VB and i need a little help.

I am writing a program that asks a user to type in a set of numbers/letters
(in this case shipping containers).

Once the data is entered i have my 4 letters and i want to be able to call
up data relating to the 4 letters.

Basically i want it to show who the container belongs to and any other data
i wish to put in there relating to the container.

Rather than hard code everything i want it in a seperate file(s).

Thanks
Steve

Storing And Retriving Data In Binary File
Hai,
    i want to store and retrive data in binary format i am having a nested structure like this
  Structure struct1
        Dim a As Integer
        Dim b As Boolean
        Dim c As Boolean
        Dim d As Integer
        Dim e As Integer
        Dim obj() As struct2
    End Structure
    Structure struct2
        Dim a1 As Integer
        Dim b1 As Boolean
        Dim c1 As Boolean
    End Structure

    the size of the obj for struct2 will depend upon the value e in struct1.
the size of struct1 at the maximum will be 10.

    I need help on this.

Thanks
Antony

Storing Data From A Text File In Arrays, I Need Help!
I have to take the text file bellow and break it into an array,
"Name","ID","Score"
"Daisy","5","98"
"Pluto","2","65"
"Kermit","1","78"
"Duke","3","87"
"Cooter","6","93"
"BossHog","8","74"
"RoscoePcoltrane","7","94"
"UncleJessie","9","86"
"LukeDuke","10","89"
"BoDuke","4","71"
"Festus","12","99"
"MissKitty","11","94"

I declared my the main array as udtList and the arrays as strName, intID and intScore

I have been tring to use bolth:

Input #1 udtList(i).strname, udtList(i).intID, udtList(i).intScore
and Get #1 "", "", ""

Nothing I try seems to work and im about to take a crowbar to my computer, if you could offer any assistance I would be forever gratefull.

Storing Data Form Text File Into Database
Hi...
I am doing project in visual basic for character recognition.
I have a problem for reading data from text file character by character and convert it into excel file and storing into various tables in database.Can anyone help me. Thanks..... in advance. Plz reply.

Storing Images In SQL Vs. Storing Path To Image File
I'm writing a document management application whereby users will be able to scan documents into the application. Then from within the applicaiton the users will be able to access the scanned documents.

So the debate is whether I should store the image directly in SQL Server (7.0) or simply store the path to the image and put the image on a network folder.

I have heard people recommend storing only the path and not the image itself but I don't know the reasons.

Obviously the database would be quite large but can't SQL server handle it? Backups would have to be performed either way so... I suppose if the database was corrupted then all images would be lost as opposed to single image files being corrupted on the harddrive.

I guess I'd like to hear what others have done in the past, their opinions, etc.

Thanks in advance.

Storing Data In And Recalling The Data From A Single Database Record
hi guys...
I am still working on the same system but on another part of it.

I need to know how I can have some numbers in text boxes or other controls, so that when the app is closed, the numbers get stored in a database record, or some other data sheet, and then get called back up wheb the program is reopened

I actually have access to some code that was writting for another part of this system, but I don't understand a lot of it

Anyway... I need to know how to have these numbers stored automatically when the app is clsed, and then recalled automatically next time the app is opened.

Thank you so much

Happieman

Storing Data
I poseted this on a diffrent post however I think I was supposed to post it here. Here is what I posted:
Hi,
I am curently writing a program that will keep track of classes that people take. So far all I made was the GUI. You can look at it by going here [NO DIRECT LINKS TO EXES PLEASE] . I don't know how to store data. If you look at the program pretty much people will be able to add a class that they took, the date they took it, the course number and how many CEU's (aka points) the class is wotrh. I want to figure out a way to take the data from the text store it on the computer in a file or in the reg. and when the program is turned back on it is placed into the lavels on the form. I am still a newbie. I do not know how to use data grids. As of now I will be placing 20 labels for each section (i.e. class name, date taken etc.) And when it pulls the info it will see how many classes are taken and fill the appropiate amount of labels. The rest of the labels will be set to be hidden. I know a little bit on how to work with a .db file. The problem is that all the code needs to be in one exe. I need step by step directions. Can anyone help.
Thanks.

AND

Ok. I now realize why people wouldnt want to download an EXE. Here is a screen shot of the program. Http://www.emstalk.com/downloads/ceutracker.jpg.
Here is the form
Http://www.emstalk.com/downloads/MainForm.frm
There is no "real" code in it since I did not know how I would store and retrieve the data.
Here is the source code


Code:
Private Sub IDontWork()
MsgBox "I Don't work yet"
End Sub

Private Sub Command1_Click()
Call IDontWork
End Sub

Private Sub Command2_Click()
Call IDontWork
End Sub

Private Sub Command3_Click()
Call IDontWork
End Sub

Private Sub Form_Load()
CMonth.AddItem "01"
CMonth.AddItem "02"
CMonth.AddItem "03"
CMonth.AddItem "04"
CMonth.AddItem "05"
CMonth.AddItem "06"
CMonth.AddItem "07"
CMonth.AddItem "08"
CMonth.AddItem "09"
CMonth.AddItem "10"
CMonth.AddItem "11"
CMonth.AddItem "12"
CDay.AddItem "00"
CDay.AddItem "01"
CDay.AddItem "02"
CDay.AddItem "03"
CDay.AddItem "04"
CDay.AddItem "05"
CDay.AddItem "06"
CDay.AddItem "07"
CDay.AddItem "08"
CDay.AddItem "09"
CDay.AddItem "10"
CDay.AddItem "11"
CDay.AddItem "12"
CDay.AddItem "13"
CDay.AddItem "14"
CDay.AddItem "15"
CDay.AddItem "16"
CDay.AddItem "17"
CDay.AddItem "18"
CDay.AddItem "19"
CDay.AddItem "20"
CDay.AddItem "21"
CDay.AddItem "22"
CDay.AddItem "23"
CDay.AddItem "24"
CDay.AddItem "25"
CDay.AddItem "26"
CDay.AddItem "27"
CDay.AddItem "28"
CDay.AddItem "29"
CDay.AddItem "30"
CDay.AddItem "31"
CYear.AddItem "00"
CYear.AddItem "01"
CYear.AddItem "02"
CYear.AddItem "03"
CYear.AddItem "04"
CYear.AddItem "05"
CYear.AddItem "06"
CYear.AddItem "07"
CYear.AddItem "08"
CYear.AddItem "09"
CYear.AddItem "10"
CYear.AddItem "11"
CYear.AddItem "12"
CYear.AddItem "13"
CYear.AddItem "14"
CYear.AddItem "15"
CYear.AddItem "16"
CYear.AddItem "17"
CYear.AddItem "18"
CYear.AddItem "19"
CYear.AddItem "20"
CYear.AddItem "21"
CYear.AddItem "22"
CYear.AddItem "23"
CYear.AddItem "24"
CYear.AddItem "125"
End Sub

Storing Data
I never understood how to do this, but I now require it.
I need to be able to save several stats into a file and call them all up upon login. It is not over the internet (although in the future it'll probably have to be saved over a network). The stats include a username, password, and a set of 6 stats (administrative and program access powers) dependent on the first stat (I called it level).
I read the microsoft help file and now I'm not sure whether I am coming or going.

Help?

Storing Data In Exe
I've got a body of data that I want to use in a dll. The body of data is created by a small computer program which is an add-in to VB. I'm wondering what the best way to store this data is. I'd rather package the data into the dll than have it in a separate file that I would have to distribute in addition to the dll. I just think that's neater and more robust. Anyway I've thought of the following options:

1. Keeping each item of data as a string in a resource file. The problem is that I don't think you can add to a resource file with a VB add-in. So that doesn't seem viable.

2. Making a text file, and adding that as a custom resource to a text file. I don't like the fact that you have to extract the whole text file each time you want to examine it - I think this could be slow. Plus, I don't think I can look at the text file without running the dll.

3. Adding a form to the dll with a combo box which lists all the records. The form would never be shown, so this seems a bit of an odd thing to do. But it certainly works, and the add-in can handle it.

I'm coming down in favour of No. 3. Anyone have any thoughts? Is there a more professional way to handle this?

Thanks for your help.

Storing Data In An Exe
Hi' Firstly an apology for not knowing the proper section to post this in as my BV knowledge is minimal.

Here's my problem.

I have a small program that once executed reads a file on my hard drive and then stores the contents in a string variable. The program works fine but it really annoys me that there are two files when I would much prefer the data to be compiled in the exe instead of having to read it from a file.

To date the best I have managed is to put the data file into an OLE as a Package but I cannot find any way to transfer the contents of the OLE Package to a string variable.

Any help with this would be most appreciated.

Thanks in advance.

Storing Data
Hi,
I am curently writing a program that will keep track of classes that people take. So far all I made was the GUI. You can look at it by going here [NO DIRECT LINKS TO EXES PLEASE] . I don't know how to store data. If you look at the program pretty much people will be able to add a class that they took, the date they took it, the course number and how many CEU's (aka points) the class is wotrh. I want to figure out a way to take the data from the text store it on the computer in a file or in the reg. and when the program is turned back on it is placed into the lavels on the form. I am still a newbie. I do not know how to use data grids. As of now I will be placing 20 labels for each section (i.e. class name, date taken etc.) And when it pulls the info it will see how many classes are taken and fill the appropiate amount of labels. The rest of the labels will be set to be hidden. I know a little bit on how to work with a .db file. The problem is that all the code needs to be in one exe. I need step by step directions. Can anyone help.
Thanks.
Dovid
Dovid@Dovid.net

Storing Data
Id like to create a program that allows me to enter names into a list, then save it so i can close the program. but when i open it again i would like to load the list up again. i wouldnt mind having to hit a button to load or save as long as it works. ive got everythign figured out except how to save the list entries. and not save to a network or a database. i want to save to the computer only. ANY ONE WHO CAN HELP, PLEASE DO....

Storing Data
Can someone please tell me why my data from a form with InkEdit text box controls are being stored as Rich Text Format in the database. I would like to convert it to plain text.

I thank you all in advance for all your help.

Gil

Storing Data In VB
I work with Access a lot and I know that we can store data in tables. However, I am transitioning into VB and I do not know how VB stores the data.

Does VB have table like MS Access? if not, how if data stored if you do not want to connect to database or server?

Storing Data
What would be the best way to store around 8-10k of data ?

Dim ?

Storing Data Within VB
Hi All

First post here

Im am new to VB but familiar with VBA, what i want to know is is it possible to store data in something like an excel spreadsheet within VB?

I then need to access this from a useform ( a very basic database!!!).

I need to keep my data embedded within the program somehow so i need to be able to save my changes as well,

For my project I cannot have an external database and have to embed my data within the program, is that even possible in VB?

Thanks for taking the time to look

Gibbo

Storing Data
Hello!

I was wondering if this is the best way to store multiple properties of multiple items:


Code:
Private Type ItemData
strLargeImageURL As String
strMediumImageURL As String
strSmallImageURL As String
strArtist As String
strTitle As String
strASIN As String
End Type

Private udtItemData() As ItemData

If I want to access the title property of the sixth item, I would query udtItemData(5).strTitle.

Is the above method the most efficient?

Regards,
Sebastian

Storing Data
I've got data coming in through RS232 serial comms and MSComm deals with this. This data will be coming in every second for about 2 hours (it's a data logging device). What I need to do in my software is store this data in a table so that the user can scroll through the results. The reason for the table is so that the user can select and copy the data into Excel or an alternative to produce graphs. Being a beginner with VB I haven't a clue how to go about this. Apparently it's something to do with arrays??? I need to store the data, then increment to the next cell in the table and repeat till tests are complete. Any ideas anyone?

About Storing Data...
Hello,
i wish to konw how u use to store data in a field of db:
i'm refering in particular to CheckBox, i use to build a control array, in order to store in the table field the index of the one is checked, if none is checked then i save -1 or null.
Up to here i hope it is the standard way, if there's a better way tell me

Now my question is:
it happens that the checkboxes are not exclusive... so i can store in the same fieldsnull value, or -1an integer (the index i've checked)N integer (the indexes i've checked)What i've thought is to store the integers between bracket.
first i try to use a separetor like ; but when i go into the field lookin for 1 ... i find 1, 11,12,21... and so on....
using bracket if i look for (1) i'll find only 1!

What do u think about it? there are better way for doing the same?

Storing Data
I have an Access 2000 database that is populated from a Web Front end application. The database usually stores about 100 records and doesnt have alot of concurrent users. I have a field called Status that stores about 10 to 20 sentences of Status information that is entered once a week. Each time someone updates a Status field it copies the old status to History1 field and History1 is copied to History2 field and History2 field is copied to History3 field.

Everything works well but now I need to know how I would store the old data that is eliminated in the History3 field. I could put it in one big field called Archive but I think Access limit on a memo field is 65,000 characters?

Please provide suggestions how I should store this information because status is updated once a week and I will sometimes need to store up to 52 weeks of data. I assume it is not a good idea to create 52 fields to store each week of data in one table so I am hoping for someone to suggest the best way of doing this.

My current table fields:
project_id
status
history1
history2
history3

Storing Data
Hi, I'm using a Listview in my app and I need to store extra data for each Listview item, but it's too much data to put in the Listview as well. I think I need to use a class, but I'm not sure how to do it properly.

The extra data I need to store looks like this (maximum of 999 items):


Code:
f9fs987sf983hjb4hjb534jhb43b.local
sd7f6sd7dfg7f5g76dfg576g57g6.local
e54efwefw86yh3h43u5ih34uih4.local
9w76e76w7986ewe78w6ew7e76w.local
31jkn44890fjn546hj6g.local
sfsf765ewrk453io54389u7568945.local


Each Listview item has a 'key': ListView.ListItems.Add , "Key1", Item Text

Somehow I need to store the data and link it to the Listview Item key. I also need to 'tag' the extra data with "free" or "busy" or "done".

StoreData "Key1", "f9fs987sf983hjb4hjb534jhb43b.local", "free"
StoreData "Key1", "sd7f6sd7dfg7f5g76dfg576g57g6.local", "free"
StoreData "Key1", "e54efwefw86yh3h43u5ih34uih4.local", "free"
etc

Later I need to be able to loop through it and based on the 'tag' do something with the data.

I've done some very basic storing in classes like the code below, but I'm not sure how to do this.


vb Code:
Private StoreData(1 To 999) As String Public Sub AddItem(sData As String, lIndex As Long)    StoreData(lIndex) = sDataEnd Sub Public Function GetItem(lIndex As Long) As String    GetItem = StoreData(lIndex)End Function

Storing Data?
Well, for the second time today, I've had to resort to coming here for help.
I'm creating an archive program with the options to add new information.

So far there are three factors: The User - The Type - And The Username/Password.
The Users are stored in a combo-box. The Type is stored in a list box, and the Username and password are stored in two seperate text boxes.

What I need is a way to add information that will fill these forms.. and have it actually save.

I used the naive approach. I thought maybe if I coded it to AddItem to the listbox/combobox that it would save. But even as a VB noobie I should have known better.

Should I go with a database? Or text files? Keep in mind that I'm pretty new, and will certainly need some code and detailed explanation.

Thanks guys!

Storing Data
This might be a stupid question, but I must ask. Is there a way to store small amounts of data for later use w/o the use of an external file (ex. txt, bin, mdb)?

Also if I had to use an external file (mdb), what is the best practice for storing on the users PC. I would like to have it as transparent as possible.

Thanks in Advance, this forum rocks!

Storing Data, In Mdb?
Hi all,

I am new to programming w/ Visual Basic and have a few probably noob questions. I am creating a program that will store restaurant names in a file. Then later randomly pick one. What would be my best be for storing this data? I would prefer storing the data in a mdb then access it with queries and DAO, because I am familiar with this. The only thing that worries me is, what if my users don’t have access installed, will this affect them? I also heard of using the ‘Scripting Runtime’ File system objects.

Thanks in Advance

Storing Data
hi, if i have a form and i want to save setting ie. a user click on the check box to make the background blue, how can this be saved so next time they are back it's blue again and not the default black for example

Best Way For Storing Data
Whats the best way for storing data to the disk?

I don't really want to use the "put" method as most of my fields (about 10,000) are about 2 chars long, then I need one of about 20...so theres a wide range.
I'd rather store some raw text and code it etc myself.

I was using the richtextbox control, is this the best method? Its a rather sizeable ocx...

Storing Data
Hi
Im developing a application that will acquire data from a equipment at each 2 seconds belong 10 minutes. I need to plot a grafic (line shape), print a report from values and save a file in disk with these values.

I was thinking in use a database like access, but store a lot of data in a short period like this is not cool.

Someone can help me with a sugestion? What is the best solution to this case?

thanks
Daniel

Storing Data Somewhere
I need to Storing Data Somewhere, on a program i am creating.
The data i need to store is a username and the persons Ip address, that is placed in two text boxs. One text boxs is called Dname and the other one is called ClientIP.
These two pieces of data need to be keep together or linked in some way. So the data can be recalled.

I was thinking something on the line of

- A database
- A Text doc
- Maybe a Multline Text box.

I need some input

Thanks.

Storing Data
I am writing a program in VB, it is sort of a log book for truck drivers. There is different information that needs to be stored. When the driver is about to embark on his journey, he fills in info for the START of his journey, then while on the road, everytime he stops for a PITSTOP, he has to write down his info, location etc., then when the journey ends he has to write his END information. I have gotten the START and END, storing of info finished. When i need help on is the PITSTOP, how do i keep track of the pitstops, there can be only 1 pitstop and there can me many pitstops, how do i keep track of them all, in the order entered. For start and end i put a check in a checkbox in my DB, how would i do that for the PITSTOP.

Any ideas are greatly appreciated.

Storing Data
Got a question about storing data. A bit trivial but still . I've got a simple file with a couple of columns of text and numbers. It's currently in Excel but is this the best way to handle it? I really don't wan't to use a simple text file although I could. With Excel the manipulation of the file is a bit more difficult (at least for me)...

t.

Storing Data
anyone know how i can store a lot of data qickly & easily? Something like an array, but can hold more info.
(btw i've tried an array, it runs out of memory when i add all my data)

Storing Data
Iam contantly updating a few text box with data, but I would like to store the previous data in a table or grid. The data is not gonna be hugh and I would like to avoid using database storage method using acess or similar.

Can I store these data in flexigrid (or similar table) form and possibly save it as a file so I could read it if I open the project later....
please help!!!!

Storing Data In VB.....
This is pretty simple toa nswer I'm sure but...

Is it possible to store the data typed into a text box in the exe so that every time it is started you can view the data? I didn't want to use databases etc.... just store a few lines of text which will be password protected on the front end...

any ideas?

Thanks...

Storing Data
Quick question. I'm still new to VB and am writing an application that will store a good amount of data and have many forms. My question is what is the best way to store the data? Is it best to use an access database and use ADO to read and write from it? Or is it best to store the data in Random Access files or Sequential Access files? The data that I will be storing is a lot so I'm just wondering the best way to do this or is there any good books on this subject. Any help would be greatly appreciated.

Thanks
Scott

Storing Data Into Access Using VB
hI GUYS,

Normally i use this command to store data into database

adodc.Recordset.AddNew


It basically adds all the records into one particular table..

I was just wondering how do i add data into multiple tables

For and example, lets say i have 3 fields (Name, age and Gender)

I want Name and age to go into Personal table
I want Name and Gender to go into Personal1 table

How do i do that...i know how to write the sql command

For example

insert into Personal('Name','Age');

But how do i do using Visual Basic...The connection statements and all...

Is there any tutorial or anyone who can guide me through this

thankx in advance for any help

Storing Data In Variables
Hi,

I have been using Visual basic.net and VB6 and am used to running sql queries to return data in a dataset which enabled me to set VB variable values to values of the query results.

I have also been using Microsoft Access VBA (which I find restricting!) to controll data, but have not found a way to set variable values.

In VB.net I would set variable values by doing something like this:


Code:
Dim MyVariableValue as String 'where I want to strore a value
Dim oCmd As OleDb.OleDbCommand
Dim oDR As OleDb.OleDbDataReader
Dim strConn As String
Dim strSQL As String


strConn = (My connection details here)
strSQL = (Some Select statement)

oCmd = New OleDb.OleDbCommand()
With oCmd
.Connection = New OleDb.OleDbConnection(strConn)
.Connection.Open()
.CommandText = strSQL
oDR = .ExecuteReader
End With

While oDR.Read()
With oDR
MyVariableValue = _
.Item("VariableFromSqlStatement")
End With
End While

Is there something similar I can do in Access VBA?

Storing Data In Variables?
Hi all

Im making a multi-form program and i want to store values for later use in the program.

On one form i have check boxes and i would like to be able to store whatever checkboxes are checked in memory so that i can use the data on another form later on in the program.

how would i do this?

i have a label next to each checkbox and when the checkbox is checked i want the labels' caption to be stored in memory and displayed on another form later in the program.

Storing Data In An Array
Hi all, I have been searching for this but have not found anything like what I need to do.


I need to store ticket numbers (6 to 10 charactors in length) and
weights of the ticket number (i.e. 26.69)

There can be as many as 20 to 60 tickets per catagory that I need to save to a database or the like, then save to a weekly file (report) and also a daily file (report) for all the catagories.

I thought of an array of sorts but not sure how and/or the best way to do this.

NOTE; These reports will display the catagory name, ticket numbers and the weight that was acciated with that ticket number.

Any Ideas?

Storing + Manipulating Data In Hex
Hi.

I am currently writing a program to communicate with a pan/tilt unit over a serial port. Basically, it takes two coordinates from the user in text boxes and then moves the instrument to the specified location. I get the data from the user just fine, and know the exact format that I need to transmit it in. Basically, the coordinates must be output on the serial port as a 2 byte hexidecimal number, ie 64 00 or C8 00. I am currently having troubling converting the data input from the user in decimal form (stored as a single) and converting it to hexadecimal. I know that I can use the hex function and this yields the proper numbers when I display them, but then when I output this to the serial port, they are incorrect since hex returns them in a string format.

Is there any function that will convert the number to hex format directly? I was also thinking about just writing a function since the numbers will always be two bytes long that would go through character by character, and use the chr function to create new strings with the proper format, but am unsure if this is the best choice.

I'm sorry if this kind of question has already been asked, but I didn't find anything helpful when I searched for it.

Thank you!

Copyright © 2005-08 www.BigResource.com, All rights reserved