How to display DirectSound Return Values in a Message Box
I have tried statements like: Buffers.Add DSBuffer, strKey MsgBox "Return code for Buffers.Add: " & Err.Description However, these statements never return anything but a blank for Err.Description....
View ArticleSave Multiple data from listview to MSaccess
Hello Guys,, I need Your Help I want to save my data in listview to my DB and This is My code to save data in listview Code: Private Sub save() ListView1.ListItems.Add , , lblrp.Caption...
View Article[RESOLVED] Save Multiple data from listview to MSaccess
Hello Guys,, I need Your Help I want to save my data in listview to my DB and This is My code to save data in listview Code: Private Sub save() ListView1.ListItems.Add , , lblrp.Caption...
View ArticleUpdate DB Using VB 6.0
Hello Guys I need Your Help I have DB and in my database theres a table called Product and Dailyrecord and this is the fields of my table name Product.. (BarCode,ProductName,Quantity,Price) and this is...
View Article[RESOLVED] Change Password Error
Hello Sir, I am Create login form then change password form.. Heres my code i dont get it what is the problem of my code, VB 6 Say: Syntax Error Upadate Statement Code: Private Sub cmdOk_Click() Dim rs...
View ArticleDatareport Error
Hello Guys I am using DataReport for my Receipt but i dont use DataEnvirontment And This is My Code.. Code: Private Sub receipt() Dim rsReport As New ADODB.Recordset rsReport.Open "Select Receipt,...
View ArticleSorting an ASCII File
Hello: Many may have seen the struggle I am having with sorting a TREEVIEW. After many, many hours I am trying to think of another way of accomplishing this. I thought perhaps I could write the TV to...
View ArticleFind Maximum Repeated text in Single Array
Hi, I want to find the maximum repeted text in a single array Example Array (0) = A Array (1) = B Array (2) = C Array (3) = A Array (4) = A Array (5) =B From the above array : "A" is the maximum text....
View ArticleRetrieve data sent on network to a specific IP Address
I am trying to retrieve information sent to an IP address which is in my case an IP Phone. I would like to know if there is any free code or API calls that can let me read what's going to a specific IP...
View ArticleRun time-error 30006
When I try to create a flexGrid with 15 thousand rows, 28 fields. It failed with error above, cannot allocate memory, but I tried with 12 thousand record, it works, I am sure I have enough virtual...
View ArticleDisplay the whole caption into a Label
Goodmorning :) I've this trouble: a Label must display a string of 40 characters and can fill at most a space of 4100x615 twips. But, if I set the AutoSize or WordWrap properties, the text exceeeds...
View ArticleDatareport Without Using DataEnvirontment
Hello Guys.. I am Using Data Report an not using Data Environtment This is My Code Code: Sub receipt() Dim rsReport As New ADODB.Recordset rsReport.Open "Select Receipt, ProductName, Quantity,...
View ArticleUpdate DB Using VB 6.0
Hello Guys, I need Your help.. Because my Code not Working,, VB 6.0 Says: Type Mismatch. Code: Private Sub Command3_Click() Dim update As Integer update = "UPDATE [ProductInfo] SET Price = '" &...
View ArticleVB6 Application(.exe) is missing controls!!! Help!
Hi, guys. I have packaged my VB6 application which I designed from a Windows 7 computer. After I install the program on other computers and run it, I noticed all label controls, shape controls and...
View ArticlePlace value of date time picker on Excel cell
Hello everyone: I am very new (emphasis on new) to programming in Visual Basic for use in Excel. I always used VBA, but I am trying to switch to VB. I have a basic question, I am trying to place the...
View ArticleData variable, constant and data types
I always find it hard to understand data variables, constants and data types
View ArticleHow to Remove ListView Item in VB 6.0
Hello Guys,, I am Trying Remove Item in ListView But my Code Does not Work.. heres my Code Code: Private Sub Command4_Click() Dim choice As Integer Dim str As String Dim i As Integer choice =...
View ArticleHow to Update Item in ListView in Vb 6.0
Hello Guys,, I need Your help.. I Have A Code to Adding Item in Listview but I dont know how to update the Date.. Heres My Code Code: ListView1.ListItems.Add , , lblrp.Caption...
View ArticleInsert an Item into a Collection
Hi folks :) I've this trouble: I've several names grouped into an array of strings. The dimension of this array isn't fixed, because the user can add and remove an item from it. The array must be...
View Article