How to put result of SQL in textbox - VB
How can i put the result of an SQL query in to a text box. So far i have Code: Dim SetTextBox as Recordset Dim sSQL as String sSQL= "Select animal_no from animal where owner= ' " Set prsSetTextBox =...
View ArticleCopy directory from hard disk to textbox
I am creating 1 textbox and 1 button. A button is open a file contain database (.mdb) and textbox is shown the directory. Example : C:\ TEST.mdb I want to copy the directory in the first time and when...
View ArticleTraditional Timer VS Class Timer
What's your choice? What's the best ? I never even tryed the Class timer... Is it better ? ive heard only good comment about it Does it use less ... erm..... *thanks to my poor english -_-* Cpu speed ?...
View ArticleHow to get contents ajax div?
Hi, How to get contents for Code: <div id="ajax_div"></div> because didn't show codes in page source. Thanks. Code: <html> <head></head> <body> <div...
View ArticleWhen load the program received to add code error softbttn.ocx could not be...
When loading receipt of the draft to add code i have error softbttn.ocx could not be loaded crystl32.ocx coul not be loaded - Continue Loading Project? And click OK when the message goes - Object...
View ArticlePrinting across the Page
Hi I am printing a page of 21 addresses across the page in 3 columns this would be OK if all the addresses had the same amount of lines, but this is not true in my case the max number of lines is 7 (0...
View ArticleWorking with Word
I have a Word document which I would like my VB application to fill out with data entered. The Word document contains 4 tables of varying row/column sizes. I never used VB to manipulate a Word document...
View ArticleMenus Not Always Dropping
I am experiencing a problem with the menu bar on the application I am developing. This application's menu structure is defined completely through the database. The menu bar and sub-menus are created...
View ArticleProblem with For/Loop, need help
Hello all. I used the code below to get the values from the memory address of a program. It supported multiple instances of the program. However, since the program updated the last time, the values are...
View ArticleMust declare the scalar variable
Hi folks. Total newbie here. Trying to use VB6 with SQL 2008 to execute a stored procedute. Net end result it to pass procedure 1 input parm (a tablename) and have the procedure return me 1 output parm...
View ArticleHow to add label caption to listview
Hello i am newbie in vb6 i have a problem kindly solve my problem i have a listview and a label 3rd column of listview have numeric data i use label to show the sum of values from listview 3rd column....
View ArticleMscomm
Hi I am reading Data from weighing scale using rs232 . Baud Rate = 9600 , DataBits = 8 MScomm1.inputlen = 11 When weight is 30 on weighing scale & its AScii Values are...
View ArticleError Index out of bound
Hello friends i am using this code to show the sum of 3rd column of a listview in last row.code works fine but i got an error Run Time error 35600 Index out of bound here is my code plz help Code: Dim...
View ArticleHelp Needed on reading Text file lines
Hi All What i am trying to do is read lines 4 to 16 in a text file sample below for exsample line 5 has as a 0 then put this in chk(5) list box if line 5 is a 1 then put this in lst(5) listbox and so...
View ArticleRS232 Communication
Hi When i am connecting to Weighing scale data is correctly shown on Hyperterminal (Windows Xp) , but through MSComm it is not showing correctly . I have done the same settings . Baud rate is 9600 ,...
View Articlehow can I install MSDE 2000 Release with my Custom DB VB 6.0 Application (IS...
Hello, I'm using vb6.0 and Sql server 2000. I have a question, how to package my VB 6.0 Application with MSDE 2000 using Installshield and also I want to include my Custom Database so that my clients...
View ArticleUsing DriveListBox
I added a DriveListBox to my program so a user can select a drive to export data files to. The problem is, when the program is run, it only show the C:\ drive. I thought all physical drives would be...
View ArticleVB6 vs Web Services
I have a problem with my application using MSXML2.XMLHTTP40 for comunicate with a Web Service. I have a string with xml format inside and when there are special characters like &, <, > .........
View ArticleToo many timer ?
Too many timer can affect the program , im right ? Cuz i added one time to my program, and now another timer is dead, doing only 5% of what its suposed to do and when i deleted him , things came back...
View Article[RESOLVED] Problems with Cancel and No buttons
Hi there, I have a bit of code here that I can't seem to fix. There's gotta be something very simple that I'm doing wrong. Essentially what's happening is that when I click on Cancel or No on my input...
View Article