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

Trying to keep X and Y of moving Form relative to mouse pointer

Here's what I am doing I have a Form with a Picture1 on it. The picture in Picture1 is a chess board pattern I am using Forms to represent the chess pieces. So I have Form1 which is the main Form (the...

View Article


[RESOLVED] customers history dosnt display in datareport

im trying to display the history of each customer in a data report when i make 2 appointments for a customer and hit the history button i see nothing dont know why this is my code Code: Private Sub...

View Article


Help with Making A Report Making Module in vb6

I need to make a report with print preview and page setup buttons. More like a form which can be printed. I know there are tools out there but this is my project. It can be any class/module. No...

View Article

[RESOLVED] Moving a Form using API Problem

I can move a Form (or an object such as a Picturebox) using the following Code: Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _  (ByVal hwnd As Long, _   ByVal wMsg As Long, _...

View Article

How to determine if a printer is connected and available

I wish to determine whether a particular named USB printer is connected and available and to use this fact as a conditional element of my program. Using the control panel in windows XP (looking at...

View Article


PC Rebuild and new VB 6.0 started errors in my project

Hi all Need your help, I have built my PC recently and have installed Windows XP and VB 6.0. Now when I open one of my project which was working fine before the rebuilding I am getting many error...

View Article

Moving a User Control Problem

When the User Control is a child of the main Form I can move it around the Form and it will follow the mouse pointer using the following code: ReleaseCapture SendMessage UCimg1.hWnd, WM_NCLBUTTONDOWN,...

View Article

[RESOLVED] How to check if a Folder exists on a remote internet server???

Hello I am looking to check if a folder exists on a remote internet server. For example: http://www.theimp.zxq.net/username/& Country & "/" & Gateway

View Article


[RESOLVED] VB6+MySQL Row cannot be located for updating

I've searching for hours and never get solution for this problem, and i've fix it myself. Error: -2147217864 : Row cannot be located for updating. Some values may have been changed since it was last...

View Article


Image may be NSFW.
Clik here to view.

MAP Address finder

Hello guys, I have a MAP of this Small Island ( Please click here to see ) and i have a list of House Name in a listbox. i want to Load the Image of the MAP to My Application and when i type The name...

View Article

Error when opening connection string

i have a program with MS SQL server 2000 as the database, when i run my program in my PC it works fine, but when it's running in CLient PC it always error when opening connection string.. The err msg...

View Article

Convert Word Doc to PDF using VB6

Hi guys ! This is my first post, hope it's on the right place hehe... Here is the code I'm using to make the conversion: Code: Word_App.ActiveDocument.ExportAsFixedFormat...

View Article

Hiding MS Word GUI using WebBrowser (ieframe.dll) control

I'm working on an application where we need to display read-only MS Office documents in a window much like the preview pane in Windows Explorer. Currently, my solution is to use the WebBrowser ActiveX...

View Article


Need help with an old vb project, bas file is in assembly.

Hello, the company my brothers works for has an old program written in visual basic that won't work due to a lost password from a few years ago. He retrieved the source code from the original developer...

View Article

How do I change ownership of an object

For example, App1 has a Picturebox control. App1 owns the picturebox so it would be correct to say the App1 is both the Parent and the Owner of Picture1. Now I change Parent's. I make App1's Picture1 a...

View Article


Directory/file navigation in VB6

I am using VB6 on a Windows 7 (64bit) PC and want to modify a program written in Windows XP. The original program used CommonDialog and worked exactly how I wanted it. But CommonDialog does not work on...

View Article

Randomly pick list of names

I wonder if anybody could help with a little program that i am trying to do i have a list of 34 international Football (soccer) teams and i want to randomly pick them to go in to groups a bit like the...

View Article


Webbrowser and SendData

Hey all, I have a piece of header data for a website and now i want to send this data via the webbrowser. But i am not sure what to send and where to put it This is what i get from Live HTTP Header in...

View Article

MSAgent Using "Create Object" Error "The callee is not available and...

Here is my code: strAgentName = "Merlin" strAgentPath = "C:\WINDOWS\msagent\chars\" & strAgentName & ".acs" Set objAgent = CreateObject("Agent.Control.2") objAgent.Connected = True...

View Article

how to count each value in the database using progress bar

i have a progressbar that loads drom the db is there a way that the progressbar will count each value in each table? this is the code that i use Code: Set rs = New ADODB.Recordset     rs.Open "SELECT *...

View Article
Browsing all 21873 articles
Browse latest View live


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