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

Connecting to SQL Server problems

Hi everyone. I am trying to connect using ADODB to an SQL server database which is located on a network at work. The connection string has 2 paramaters: Server_name and database_name. Is Server_name...

View Article


Building a bitmap in memory and assign it to VBA-Userform

Hi. I know this issue isn't VB6, but as VBA is close to VB6 I thought of giving it a try. I'm trying to create a bitmap in Excel-VBA. Right now I'm working with shapes created on a worksheet, copy a...

View Article


Show the file open dialog non-modally

I have a small application I wrote that is essentially just a tight loop monitoring a communications port and sending responses when required. I have utilized DoEvents inside the scanning loop so that...

View Article

Image may be NSFW.
Clik here to view.

Using 3 or 4 State Custom Button in VB6

How to use 3 or 4 state Custom buttons (Normal State , Mouse Up State & Mouse Down State) in VB-6, Attached is an example, it is a single PNG file Attached Images  

View Article

[RESOLVED] How can I make a program that will point to a folder and show file ?

Hi, VBForum, I need a code that will show files or images in a form, that my project is in, way I'm doing this for is because I made a like explorer to show files and program's, but I want it to just...

View Article


How do I disable mouse and enable mouse?

How do I disable mouse and enable mouse? I want to disable mouse on one form and enable mouse on the next form, Thanks :D

View Article

Read a binary by blocks using regex

Hello to all in forum, My first post here :), I hope somebody could help me out with my question. I have a binary file from which I want to extract some patterns. The data is divided by blocks and each...

View Article

Enumerating Properties of Controls

I've been playing with Typelib Information (TBLINF32.DLL) to enumerate the Properties of all the Controls on a Form and determine whether specific ones are Read only. Basic code is Code:     Dim...

View Article


auto install my exe if user reinstall windows

hi i m making sms software in vb6 wich work as windows service.my sms system is install more than 30 pcs in different locations.everything works fine but my problem is if user reinstall windows my sms...

View Article


Searching for dates in SQL 2005

Hi everyone. I am trying to write a macro in vb6 where I find records between 2 specific dates. The database I am using is SQL server 2005. The field that will contain the dates uses a datetime data...

View Article

vb6 Need Help (vbalListview Control)

I need help about vbalListview Control. I am having a problem on creating group in listview. My Codes : Dim colX As cColumn Dim lstX As cListItems Dim grpX As cItemGroups Dim itm As cListItem With lv...

View Article

How can I set focus on a MSHflexGrid ?

Hi I have a form with a 2-tab control and a separate MSHFlexGrid control on each tab. On Load_Form event, I fill the FlexGrids with specific data. After that, I want to set focus on the first row on...

View Article

Run time error 2147217904

Hi Guys, Need your help on below, I am getting an error message of No Value given for one or more required parameters Code: Private Sub MFGTrailer_Click()     With frmTrailerDetails...

View Article


Sound - Dell 780 - Not working in VB6

I've created a lot of 'party games' (Wheel of Fortune, Jeopardy, Who Wants To Be A Millionaire, etc) using different VB tools. One is like this: Code: gbResults = PlaySound(App.Path + "\buzz.wav", 0,...

View Article

Endless Scrolling

I need to scroll continuously in any direction in a Picturebox. The picturebox will contain a picture of some subject. Maybe a map of the world, maybe the constellations, a cross country road, or...

View Article


[RESOLVED] Form Drag

Attempting to trigger an event when one mdi child form is dragged onto another mdi child form. Help?

View Article

Problem with DD7 method GetSurfaceFromDC

I'm trying to use Direct Draw 7 with a picture box in VB6. So I've tried to set the surface it's going to be drawing to to be a picture box with the name Picture1. To do that you are supposed to be...

View Article


OLEDragDrop Question concerning Forms

Why do Forms have a OLEStartDrag event and a Me.OLEDrag? I can't OLE drag a Form and do a OLEDragOver on another Form even though the Form has a OLEDragOver event nor drop it on another Form even...

View Article

VB6 app getting lot of networking errors

I have vb6 application installed one on notebook with XP OS and one on windows 7 but on XP mode. But my app gives many errors like "communication link failure", "Time our error",...

View Article

MDIForm unicode font for Tile ?

MDIForm Tile bar not display unicode font ? Is everybody this example ? share with me

View Article
Browsing all 21237 articles
Browse latest View live


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