Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Browsing all 21131 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

Let's Build A Game

Here's a link to the project and all the files. Please only attach your updated project files here, not everything else you get with this file: http://www.udontknowtech.com/game.zip Add to, do not...

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

help with inet control logic

i want to ask, how you would manage if you have to send 1000+ requests to a http url using post method of inet microsoft internet transfer control so app does not crash or anything

View Article


[RESOLVED] PopUp Menu for a Borderless Form

Can I have a Menu Popup like you can have for a regular Form on a Borderless Form?

View Article

[RESOLVED] No Titlebar

Can I have a Fixed Single Form without a Titlebar?

View Article


vb6 dlls, convert to 64 bit dlls for windows 2008 - options?

Hi, I have a classic asp website running under windows 2003. the website uses 3 dlls to connect to the db and maintain session. the dlls where written in VB6 and i know enough to compile them in VS...

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


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