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

pls help me....

i want to use a link label in vb6 but i don't know the name of .ocx for link label pls help me tnx

View Article


how to getmaxid on multi user environment

previously I was given this code for getting max id on multi user environment, but I think this is for mssql. I am using mysql and I am getting error. Code: Public loggeduserid As Integer Public...

View Article


how to move between lines when writing to a text file

i am using the following code to write to a text file Code: dim A1 as string A1= "......." On Error GoTo l1 Open App.Path & "\Textfile.txt" For Append As #1 l1: On Error GoTo l2 Print #1, A1 Close...

View Article

[RESOLVED] Format numbers and letters confusion

I'm trying to use the following to format a string of numbers and letters Code:   OutPutStr = Format$(InPutStr, "0-000-000-00") It works ok if the string is all numbers like 1-123-123-12 but doesn't...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Can you change the colour of the textbox border?

I have a form with lines drawn on it to form a grid for the timetable. At the left of the grid there are textboxes to hold the names of the teachers. For aesthetics' sake, I changed .Appearance to Flat...

View Article


Outputting an Array

I have this array: Names(1).FirstName = "Mark" Names(1).MiddleInit = "J" Names(1).LastName = "Henry" And then I write it out to a file: Open App.Path & "\Names.txt" For Binary As #1 Put #1, 1,...

View Article

Vb6 Exe Taskmgr list SYSTEM Help?

exe file in the list of taskmsgr.exe want to open as SYSTEM. Help? Visual Basic 6

View Article

VB6 - GMFVBPreview cannot capture Audio

Hi, I am trying to capture video and audio using Directshow GMVBPreview. During streaming, I can get both audio and video, but when I capture, I only get the video, not the audio. Anyone familiar with...

View Article


pass variable to form?

Hello, I am using VB 6 to create a program that will allow a user to create and manage groups of assets. FormA instantiates multiple instances of FormB, one per user menu click. FormB is used to create...

View Article


Simple Subtraction Code Misbehaves!

I have 4 forms. the first form accepts data from the user. The next of the three forms opens accordng to the type of info provided by the user. It collects the data given by the user and sifts it to...

View Article

Image may be NSFW.
Clik here to view.

Another simple renaming program (diff. purpose) (with screenshots)

Just in case you can't read my writing: "Concatenate" "Use .DLL from Acrobat Reader???" "Code sorted thanks to MarkT" "From -> To (down arrow)" "NOT batch process, file by file renaming" I'll be...

View Article

Set some transparency on filled geometrical figures

With the following code: Code: Private Type POINTAPI         x As Long         y As Long End Type Private Declare Function Polygon Lib "gdi32" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As...

View Article

Font Confusion over API Return Info

I have a textbox where the Font is set at: Font Name: Tahoma Font Size: 8.25. I am now trying to get this information (using API not VB) from the textbox during routine. I have two different routines...

View Article


Simple Subtraction Code Misbehaves.

I ran this code extensively and checked for several values entered in txtsu, txmo, txtma, txtme, txtve, txtju and txtst. I have found a consistant pattern in the error. When the entered combination is...

View Article

Image may be NSFW.
Clik here to view.

Error installing an vb6-Application on Windows 7

By installing an Application using DAO-Components on a Windows 7 Machine an Error occurs by registering the DAO3032.DLL. Manually registering these Module by using regsvr32.exe is also failed....

View Article


Image may be NSFW.
Clik here to view.

Tree structured data question

I want to implement a tree structure similar to the picture: Attachment 90299 which is not binary. EDIT: previously unnoticed error => the last generation nodes should be 8, 9 and 10 (actually the...

View Article

Comms Problem

Hi All I am sending 13 characters to my vb6 prog via comms which works most of the time but then for some reason the 13th character becomes the first character and it does this all the time until i...

View Article


Screen Print when using windows 7, 64-bit operating system?

Hi, The sub below works fine in XP pro but fires an error when running on a ‘windows 7, 64-bit operating system’ Does anybody know why? Is the code for screen print different when using a windows 7,...

View Article

Msconfig hide add to startup

add to startup proje msconfig hide help Visual Basic 6

View Article

Can't send mail with multiple attachments - Visual Basic (Outlook Object)

Hi, I am trying to automate an email which can have more than ONE attachments in the MAIL. I am using CommonDialog control to Browse the Files to attach in mail, however the moment I attach more than...

View Article
Browsing all 21869 articles
Browse latest View live


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