473,574 Members | 2,233 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic 4 / 5 / 6 Forum

Visual Basic programming language and IDE - Ask questions about rapid applicatoin development, GUI, database access, DAO, RDO, ADO, Active X Controls, objects, Microsoft Visual Basic 4/5/6.
11
2,335
thread by: jqtimbang | last post Nov 16 '06 by: jqtimbang
Hello! I'm a newbie in VB. Can someone please help me how to format my input date in mm/dd/yyyy? Example when I enter 11/16/2006 in the text box 11/16/020 will appear. Thank you.
11
2,267
thread by: Deluxe flame | last post Nov 27 '06 by: Skulldragger
I created a program where the user can click a button that will add a button into the table layout. I was wondering if there was a way/code that can enable me to give the new button functions for when the user clicks on it?
11
2,609
thread by: Blckbx | last post Nov 22 '06 by: albertw
hey guys, just a quickie that's probably been asked a million times, but i couldn't find it when searching so here goes: i need to copy the contents of a word document and paste it to an external file (.txt) using VBA how do i go about doing this? cheers Black Box
11
14,642
thread by: Budiman | last post Jun 8 '07 by: DeMan
Hello friends, i need help for my assignment. For example i give input for a, b, c, d in matrix mode example like |a b| |c d| and i want to convert it to invers from that matrix, i hope you give the answer(if possible with the explanation). Thx so much for your help
11
1,505
thread by: nkechifesie | last post Jan 4 '07 by: nkechifesie
When I run this code to update my database Set AdVehDecp = New ADODB.Connection Set RsVehDecp = New ADODB.Recordset AdVehDecp.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & "\VEHICLE_TRACKER.mdb;" AdVehDecp.Open AdVehDecp.CursorLocation = adUseClient RsVehDecp.Open "SELECT * FROM qryVehSearch;",...
11
9,981
thread by: JimN1 | last post Jan 10 '07 by: Killer42
Hi, I am looking for an example to convert a flat text file with variable length records to a flat file with fixed length records. Does anyone have an example?
11
11,160
thread by: 313 Games | last post Jan 2 '07 by: 313 Games
hi, ive got a question. im making an chat program with server and client using vb 6. but now my problem is, i want to set a topic in each server. i want to send the data from the server to all the clients connected, and the client can see: ow, a topic, then /topic Bla bla bla This is my code, maybe its less complicated.
11
2,682
thread by: pradeepss | last post Jan 5 '07 by: NeoPa
I am developing an application which grab a comma delimited file and inserts them into a database. but while inserting it gives me an error. the code is below. Do While Not EOF(iDrop) Line Input #iDrop, iLine iArray = Split(iLine, ";") iArray(5) = Round(iArray(5) / 21.21, 0) With rs .AddNew ...
11
2,077
yoda
thread by: yoda | last post Jan 19 '07 by: yoda
The code is: Option Explicit Public LoginSucceeded As Boolean Private Sub cmdCancel_Click() 'set the global var to false 'to denote a failed login LoginSucceeded = False
11
1,693
Dököll
thread by: Dököll | last post Jan 14 '07 by: Dököll
Don't you just love debugginh! Sent a note to Steve, and my professor on this one. Smile, Killer, you hinted the code may not work as flawlessly as stated. Again, make no mistake about it, Steve's help has made a lot of sense, and yours, and still intend to engrave all names responsible (credits due and given). Going forward, I wanted to...
11
19,737
thread by: sirsnorklingtayo | last post Nov 10 '12 by: check2000
What is the Difference between Global and Public, Dim and Private variables? in Visual Basic 6.0. Because I am always using Public and Dim but using Global and Private is doing the same thing, is there any differences between these types of declaration scopes??????? Example: What is the difference: ' In bas Module Option...
11
1,612
thread by: sreekandan | last post Feb 6 '07 by: sreekandan
Hi everybody, I want to retrieve the details from the database by the date from (MM/DD/YYYY) to (MM/DD/YYYY). For that I have to change the following code as follows rs.Open "select * from Table where empid='" & Text1.Text & "'", conSo kindly anyone reply me.
11
1,451
thread by: aceaceace | last post Apr 12 '07 by: aceaceace
Someone please help me and I can't get an answer anywhere. I don't know what I'm doing wrong. When I make a change to the datagrid and click the button that has the following code it doesn't update for some reason. DataGrid1.Update() SqlDataAdapter1.Update(DataSet11)
11
10,226
thread by: IraqiAli | last post Feb 28 '07 by: willakawill
Ok i have 6 textboxes, and the user is required to fill in each of them. so i want to do a check to make sure none are left blank, but im having a little trouble. i tried doing If txtChoice1.text = "" Then MsgBox ("You have missed out a preference.") Else If txtChoice2.text = "" Then but that never seemed to work.
11
4,278
thread by: corwood | last post Mar 23 '07 by: Killer42
I am in a VB .NET class, and one of the assignments is to use loops to generate a list of all the pythagorean triples where legA and legB <100 and hypotenuse < 200, and then put this list into a listbox. I have done this so far: 'Allocate some local variables Dim LegA As Integer Dim LegB As Integer Dim Hyp As...
11
1,311
thread by: softwaregeek | last post Mar 20 '07 by: computerenigma13
hi all, I have made a s/w in vb 6 and i want that it should not be pirated.For sake of this what i am thinking to do, once s/w is installed ok, than at first run (.exe) it will generate a unique username and client will tell me that username and i give a password dependent on that user name.Once the correct password is entered s/w will...
11
4,736
thread by: Shailja | last post Mar 29 '07 by: vijaydiwakar
Hi, Can anyone tell me how to enter data into VSFlexGrid at runtime? Kindly send me coding of that.
11
5,824
DUNXALEARE
thread by: DUNXALEARE | last post Apr 11 '07 by: Dököll
Hello everyone! I have a new assignment. I just dont know how to create a data report using ms excell. I need to search particular group of data/records using Visual basic 6. in MS Access and transfered this selected data in MS Excel. to generate a report. Please can anyone give me a tip or I'd rather say the syntax on how to...
11
4,040
thread by: anj755 | last post May 10 '07 by: Killer42
I need to open a word doc and copy each line into a variable lets say dim Sline as string
11
7,025
thread by: dyc | last post Jun 8 '07 by: Killer42
how do i make use of substring method in order to extract the specified data from a a long string? I also need to do some checking b4 extracting the data, for instance: it only will extract the data when the first 8bits are 10101010,then it ll extract the following...for example: 10101010111000111 here is my code: Dim dataE As String ...
11
10,309
thread by: Poudda | last post Jul 13 '07 by: Killer42
Hi there, I'm trying to set up a "find / next / replace" input box, but I have no clue how to make vb do this. Currently my code has a three step process. I have an input box that asks for a variable to find. Then when it's found, it puts it all the information on a given row into a spreadsheet. This would work just fine if there was only...
11
6,236
thread by: questionit | last post Jul 9 '07 by: Killer42
I have a Tab control on my form. Can anyone guide me how to wirte a little code to switch from one page to another. We can easily click on Page 1, Page, and so on but i need to create a button on each page to move to the next page. Can anyone help Thanks
11
1,704
thread by: questionit | last post Jul 19 '07 by: Killer42
I have a List Box with multi-select option = "Extended". how can i retrieve all the selected values into a variable/array variable i have tried but cant do like List4.Value(1) .. help please Thanks
11
1,554
thread by: alexcole | last post Jul 20 '07 by: Killer42
I can't find where to download visual studio 6.0
11
1,388
kirubagari
thread by: kirubagari | last post Jul 24 '07 by: Killer42
Public Sub ReWrite_Open_File(ByVal FileNo As Long) Dim FileSize As Long, Buffer() As Byte ' PART 1: Read the file. FileSize = LOF(FileNo) ' Determine how large the file is (in bytes). ReDim Buffer(1 To FileSize) ' Set our buffer to that length. Get #FileNo, 1, Buffer() ' Grab the entire file's data into the array ' PART 2 ' If...

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.