Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21961 articles
Browse latest View live

request sample of printing on passbook

As you can see, when printing on passbook, it is printing per transaction basis. i dont know how to continue printing after the last transaction.

View Article


[RESOLVED] I have a dream...about RICHTX32.OCX

Hi guys! I know that I have to register richtx32.ocx and riched32.dll if I am using a ActieX RichTextBox..bla..bla..bla... And it is only possible with a form wizard which is like a setup..bla..bla......

View Article


[RESOLVED] Get values from a string

i am trying to get values from long strings of different lengths in a listbox; Win Runs: 7329 high dollar amount 41.25 low credit $12.47 Result $41.48 Loss Runs: 6856 high dollar amount 25.80 low...

View Article

VB6. Listview vista style doesnt work help pls

Private Declare Function SetWindowTheme Lib "uxtheme.dll" (ByVal hwnd As Long, ByVal pszSubAppName As Long, ByVal pszSubIdList As Long) As Long Private Sub Form_Load() Call...

View Article

Check the value of a Variable then take some action

How can i check the value of a Variable then take some Action without using IF THEN or Select Case Typically ; Lets say X = 5 IF X = 5 Then Exit Sub however, how can i know value of X then take some...

View Article


Better grids for vb6.

Hallo, I use DataGrid and MSHFlexGrid for my VB6 Application, but this types of grid are very poor of functionality. Can you suggest me a better grid to use in my VB6 application, that has a lot of...

View Article

SendData and GetData SECURITY

Hi guys how's life? Well, I am creating a client-server connection, sending and receiving data. Code: Private Sub RequestAuth_DataArrival(ByVal bytesTotal As Long)     Dim Authorization As String...

View Article

[RESOLVED] calculate age

I have patient information being pulled as an 8 character string like 06-26-86 how can i get vb to calcualte the patient age?

View Article


How to find where form was called from

Hi, I have 3 forms, form1, form2, form3 form 3 can be called from forms 1 and 2 but it loads different information depending on the form it was called from. I need to do something like this in the form...

View Article


Win32 API Sleep

The Win32 API function "Sleep" suspends the operation of a thread for a specified time. If used in VB6; does this also suspend all events? If yes, are the events that occur during thread suspension...

View Article

combo1 help using large if statement's

i had issue before using large if statments for combo1 , when wring large if and else over 50+ it gives error i need a way to write this please help example project combo1 contains Code: india:1 usa:1...

View Article

how to place the image of an object in the form?

I have this picturebox cotrol and this another control lets say button2. I would like to click on button1 and capture the image of button2 and place that on the picturebox control? All of this controls...

View Article

just a bit more age work

in the following code I am able to get the age of a person based on the year but not on the month... for example a person born june 26 1986 is written as being 27 but they shuld be 26 untill its past...

View Article


[RESOLVED] WebBrowser Question

I'm using WebBrowser to send a request to my website via HTML. In the following HTML code I have to click on the Submit button to send the request. How can I change this to do the same thing without...

View Article

Image may be NSFW.
Clik here to view.

array function - > Redim preserve and array copy --variable used as...

I wanted to write some function in vb6 for 1D array like "linespace" that creat a 1D array and fill with values starting from x to y with increment n 2) and a 2D array function "zeros" that creat a 2D...

View Article


Clear Rich Edit content

Hi Guys! Code:     SendMessage hWndRichEd, EM_SETSEL, -1, -1     SendMessage hWndRichEd, EM_GETSEL, VarPtr(lngSelStart), 0     strLine = ""     SendMessage hWndRichEd, EM_REPLACESEL, 0, StrPtr(strLine)...

View Article

[RESOLVED] is it a issue with winsock

im making a program which will send sms with the api provided by the company to all the numbers present in my excel file.. im loading the excel file in msflexgrid.. the logic is to send sms to all the...

View Article


[RESOLVED] .frx/.frm to .bmp - urgent and stuck!

I am basically screwed at the moment... I was previously working on my VB6 project at work, and the company closed down 3 weeks ago. I thought I had backed up everything I needed, but it seems I missed...

View Article

Click on a textbox and clear it's contents.

Hi everyone. I am working on a student program, and basically I have a textbox called Text1 that says CLICK HERE TO ENTER ANSWER, but when the student clicks on it, I would like to clear the contents...

View Article

WebBrowser control in VB6 -shdocvw.dll not working in Windows 8

I am using WebBrowser control in VB6. when i develop this in a Windows XP machine and when i add Microsoft Internet Controls reference , shdocvw.dll gets added. And my application works fine in XP. If...

View Article
Browsing all 21961 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>