how to make button enabled only if all txtboxes and combobox are chosen
hey im trying to make a my button save enabled only if all txtboxes are filed and comboxes are choosen i tried something like this only form the txt but its not working Code: Dim x As Integer Dim a...
View ArticleVB6-Problem with User-Defined Type
I have a User-Defined type that is declared as Public in a module: Code: Public Type T_DATA bdata(1 to 276) as Byte End Type When I define a variable (PublicKey) as Public in a Class module, I...
View ArticleHow To Receive Tray Icon Callback Messages with NOTIFYICON_VERSION_4
According to this thread, and I quote: Quote: Originally Posted by LaVolpe 1. Vista offers users option to display a popup window instead of a tooltip. In Vista, hover over your Sound icon and the new...
View Article[RESOLVED] How to add program to the Windows Firewall exception list...
At the moment I use this code to add my program to the Windows Firewall exception list: Code: Option Explicit Public Function AddToFirewallExceptions(ProgramAddress As String, ProgramName As String)...
View Article[RESOLVED] how to make button enabled only if all txtboxes and combobox are...
hey im trying to make a my button save enabled only if all txtboxes are filed and comboxes are choosen i tried something like this only form the txt but its not working Code: Dim x As Integer Dim a...
View Article[RESOLVED] VB6-Problem with User-Defined Type
I have a User-Defined type that is declared as Public in a module: Code: Public Type T_DATA bdata(1 to 276) as Byte End Type When I define a variable (PublicKey) as Public in a Class module, I...
View ArticleDeployable ...\Office14\msacc.olb Reference File for VB6?
I have found copies of msacc.olb for Access 2010, but when I copy them into my VB6 project folder and specify them in the References form, they are not recognized. I have not been able to find enough...
View Articlevb6 (Crystal Report 9 Print Status)
I am using VB6 + CR9. How to know if the printer is : 1. Running out of Paper 2. Document Sent to printer 3. No Printer Installed is there any code for this?
View ArticleDecimal to binary converter
Hey! For a school project i have to code a decimal to binary converter and a program to add two binary values together, im really bad at this stuff and i was wondering if anyone had any ideas? Thanks!...
View Article[RESOLVED] Second call to PaintPicture fails
I'm trying to copy the image from Picture2 to Picture1 using PaintPicture method. I call PaintPicture several times to copy from Picture2 which changes it's picture each time I make the call. The 1st...
View Articlevb6 query problem
I have this query to get record Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset Dim sSQL As String sSQL = "SELECT * FROM customer where (custid = '' or custid = '" & Text1.Text & "') and...
View Article[RESOLVED] adodb update muliple records (need help)
Is it possible to update record using 'between' in adodb? for example update record from '13001' to '13005' i am using listview. i have a code but its not working. dim first,last as string for each itm...
View Articlealign listview listsubitems image
is it possible to align listview listsubitems image to center?
View Article[RESOLVED] Accessing URL
I am trying to access a URL that I have authorization for to access. I have a User Name and a Password. I tried the following code using the inet control: Inet1.UserName = "xxxxxxx" Inet1.Password =...
View ArticleInet and WebBrowser control problems
Hello! My operating system is Windows XP/SP3 with IE8. This link: http://adfoc.us/679079050323 works perfectly in Chrome, Opera and Internet Explorer 10. Internet Explorer 8 does not load anything. I...
View Article[RESOLVED] removing spaces from random words in a paragraph...
hi guys, i'm trying to achieve a kinda string function in which when a paragraph is entered by the user...it randomly removes the spaces between a few words each time giving different results( thats...
View ArticleHow can i check if my local network connection is fine ?
Hi guys! I've a problem with my program... i need to connect with a network printer, but... before i need to check if i'm connect in a local network and if i can use this connection. It's possible? i...
View ArticleJoinDomainOrWorkGroup fails on Windows 8
Does anyone know why the following line of code would fail in Windows 8? ReturnValue = objComputer.JoinDomainOrWorkGroup(strDomain, strPassword, strDomain & "\" & strUser, strOU, JOIN_DOMAIN +...
View ArticleAny way to use a more modern browser in a VB 6 program?
My program uses the Internet Explorer control which is getting out of date and modern websites don't appear properly in it. Is there anyway of using a more modern version of IE inside a VB 6...
View Article[RESOLVED] Function for Non-decimal Percentage?
Hi, can anyone please shed me some light: I'm doing random values in arrays, but I need to get a 100 sharp as the total value: Code: Private Sub Command1_Click() Dim Num(1 To 10) As Single, total...
View Article