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

VB6 - Sub Or Function Not Delcared

Hello All, I have been coding in VB6 for over a month now without issue as everything is pretty straightforward. However lately I keep getting this error when I try to seperate out a snippet of code...

View Article


Image may be NSFW.
Clik here to view.

Can someone Modify this to support UNICODE?

Here is a Remote File Transfer which for a very long time i am trying to change it to support unicode but failed :( Anyone with the balls to change it? Gurus please accept the challenge. Attached Files...

View Article


How to detect sound card volume levels or if muted?

Hi all, I am trying to detect from VB6 what the audio level is of a particular channel of the sound card or ideally, if a particular channel is muted? Can anyone point me in the right direction of some...

View Article

VB 6.0 Executing SQL with Inter Join

Hello, I am new to VB, but I am trying to add an inter join in the below sqlBO statement. The inter join is from a table in an access database where I opened a new connection called distConn. The below...

View Article

Add Subrow to an MSHFlexGrid

I have a heirarchial flex grid which I've added a bunch of data to using some custom functions. It works fine as a grid, but now I want to get it to expand a subrow for some of the rows to display...

View Article


Question About Strings of Words

If I had a long phrase, like say, "the thrill of victory and the agony of defeat", and such phrase has to take up four rows, with the top and bottom rows having a maximum available capacity of 12...

View Article

Help with syntax

Hi all Would anyone know the proper syntax in vba for the following: Set IVIEW = "C:\Program Files\IrfanView\i_view32.exe" " & Topazout & "/crop=(67,200,326,236) /convert="C:\InsigArch\" &...

View Article

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

Simple Subtraction Code Misbehaves!

My apologies for using large font. At 73 years, I need to look at big fonts. That said, I am now posting full code. This code works only for MOON-STRN. All other combinations, i.e MOON-MERC, MOON-VENS,...

View Article

Database Repair

So I've got a program that uses an MS Access 2000 database. If I have a program crash or system reboot sometimes the database gets damaged. When I open the DB with VB6 and get a message "Unrecognized...

View Article

VB6 Custom Hardware Interfacing HELP

Hi All, This is a complex one so let me try and explain. I have a machine linked to a custom piece of hardware (PCI card) Cyberview GMHW2301, which connects to an array of equiptment including an LED...

View Article


Stuck With Visual Basic 6.0

I am a newbie, what I want to do is open a word document and do some find actions from Text1, but when I click the commandButton in second time, there is no action with the commandButton here is my...

View Article

embed javascript in page

Embed a javascript code to the web browser page - I have a web page that I created, and testing with vb6 to use the IE object. I want to insert this piece of code to the page, and let it alert, but it...

View Article


Loading PDF files into my project as images...

I know that in the "Insertable Objects" tab on the Components window, that there is "Adobe Acrobat Document," but that isn't really what I'm looking for. I'm not sure what the "Adobe Acrobat 7.0...

View Article

[RESOLVED] Inconsistent Rich Text Scroll

I'm in the process of writing a control to add line numbers in a picture box into a RTB. So far so good. The only problem I cannot crack is the inconsistent scrolling when dragging the VScroll with the...

View Article


moving vb6 application to windows 7 machine

I have an old vb6 application (windows XP) that I am moving to a windows 7 machine. In the frontend I have a connection to an old SQL Server 2000 database. I need to recreate the connection from the...

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
Browsing all 21835 articles
Browse latest View live


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