Home > Visual Basic Programming
Visual Basic Programming
Visual Basic Programming forum discussing coding strategies, development and techniques. Go from prototype to product quickly using this robust platform.
Os
How can i retrive the OS from a VB6 application?
answer(1) view(10) status(

)
visual studio 6
Not sure if this is the correct place to ask this question.
How much does MS visual studio enterprise 6 differ from visual studio 7?
answer(2) view(616) status(

)
extract character
hi there..
could anybody please help me do this?
how to extract only some character from the text? i'm using VB6.0
for example i want to extract the char "ni" from the word "good morning" or "nine" or &q...
answer(2) view(845) status(

)
Adding data to multiple tables (VB)
Does anybody know how to add data to multiple access tables through a vb form. I need to pass the UniqueID from my identification table to all my other related tables in the database, so when my users enter the data into the master table th...
answer(3) view(12) status(

)
read excel file with vb6
I need to search an excel worksheet for a specific number which is generated in my program, and find the corresponding name in the excel sheet for that number. I really don't know how to go about doing this, so any and all help is greatly ...
answer(1) view(960) status(

)
scraping web pages
i would like to be able to extract data automaticly from a web page i.e. EBay im want to be able to extrace the date , item ,number, price, number of bids
how can this be done
thanks
doug
answer(1) view(401) status(

)
Help with Inserting data into a database
I have a vb form with various text boxes and I wan't to be able to Insert the data within these text boxes into my table. The code below will insert constant values. However, I need to replace these values with variable names..Does anybody...
answer(2) view(105) status(

)
IP Address
I'm fairly new to VB outside of Access, and I was wondering if there is a way to find out the IP Address of the current machine the VB code is run from? If so, how would it be done?
Thanks!
David Somers
answer(1) view(72) status(

)
sql query select
I want to select an item from a listbox, this query works fine and all fields of CLASS are present in the listbox. My problem is that I want to select a CLASS and get all the students from the selected class into another listbox. I get an e...
answer(6) view(660) status(

)
Os
How can i retrive the OS version from VB6 project, but i need to know the diference bettwen version 5 (if it is windows 2000 or windows XP) ?
answer(0) view(315) status(

)
Report refreshing problem
hi i have CR8.5, vb6 and using sqlserver7 as backend .i want to display report through form in project.first time it shows report but after that it is not refreshed.for any new query. i had used refresh command of CR but no success
pls hel...
answer(0) view(715) status(

)
VB6 compile error concerning random
I am tring to create a program that will generate 4 random numbers between 1 and 20 adding the highest three and adding 35 to the final value.
For some reason when I try to compile the program I get the following warning: Sub or Function...
answer(2) view(679) status(

)
Don't get all columns with DataGridCommandEventArgs
Hello,
I have generatet a Web-Datagrid by using a SqlDataadapter and a dataset. I generate the dataadapter and dataset dynamically and read with a sql data from 2 tables. I also added 2 columns with the property generator in the datagrid f...
answer(0) view(739) status(

)
where to paste vb code
I have a vb code i need to paste to the On Activate Event procedure in my access database and i do not know how to go about it. Please help.
Private Sub Form_Activate()
'When the database is opened display welcome user message.
'W...
answer(0) view(880) status(

)
Cannot Use database located on a web server in VB
hello!
i am trying to use an external database (located on a web server) using the code below, but i am getting an Error "Not a valid filename".
What is wrong?
Public Function ExecuteSQL(ByVal SQL _
As String, MsgStr...
answer(1) view(89) status(

)
polygon area
hello there,
could anyone help me calculate the area within a polygon, and hav a small Vb application to show this. after a user entrs in the reqired input values ?
answer(0) view(172) status(

)
MS Access query with VB
Hi there!
I am trying to write a VB app in which the user should enter some search strings, which will search the database for matches, and the result will then be retuned to the user (via the app of course)
(ie. string=orange juice a...
answer(4) view(206) status(

)
Errors
Hi just wondering if someone could tell me how i do this.
I want to display a Message Box with an error if when a command button is clicked and a text box has not had any data entered into it.
so for each text box i need a message box...
answer(5) view(859) status(

)
Keeping Array Contents alive accross Functions
Hi,
I have ran into a problem which is most likely a simple solution but none I have found myself yet.
Problem is as follows,
I have comboboxes which apply filters similar to the excel filter techniques to a listview which contains...
answer(2) view(54) status(

)
posting a form
Help please... I am working with a form that has a selection box and when the value of the select box changes I would like it to submit the form to a page in a variable set by the on_change sub of the select box... any ideas...
answer(4) view(88) status(

)
answer(0) view(279) status(

)
answer(1) view(995) status(

)
Form problem
I wanna use items from the first form into the second form for an SQL statement, how do I do that?
answer(2) view(28) status(

)
list view
does anyone know how to highlight a row in visual basic forms list viewl??
thanks
answer(1) view(34) status(

)
listbox remove item vb 6.0
why does when adding items to a list box all items are added according to index increment, but when items are removed only even items are removed????
thanks for your help
dave ...this is the code
Private Sub Command1_Click()
Dim...
answer(1) view(356) status(

)
Error Messages
OK, this page is recieving data from a form... Just one piece and that is the serial number for a cable box. This is just a small program to trck cable boxes. I have tried to write this page several ways and keep getting errors. ANY HEL...
answer(2) view(986) status(

)
Ado recordset
Hello,
I have connected two datagrids in one form using adodc1 and adodc2 where Adodc2.recordsource = " select from meat(My 1st table) where Adodc1.recordset!meatId(primary key) = " & Adodc2.recordset!MeatId (on the other t...
answer(0) view(386) status(

)
Modular Structure/Modularization?
I need an explanation of how this is done.
I need to make structure diagrams but im unsure on what information needs to be included.
So if anyone could explain or give me a link that'd be great
Cheers
(Unsure if this is the ...
answer(1) view(907) status(

)
looking for code new and save and open button
hello and thankyou for this site
I'm a new in working visual basic
and I have been working A PROJECT TEXT
so I need to make open button and save and new bottun
and I dont know the code
what is the code for open and save and new b...
answer(1) view(579) status(

)
DataGrid Last Row Add New Record Problem
Hi,
I am getting a problem. When I try to add a new record in Microsoft DataGrid control, It
adds without any trouble,but do not insert a space for new record entry. Is there any possible
solution someone can tell me?
answer(1) view(991) status(

)