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

Trying to get the .HWnd of the Current Form's .Caption and then...

Hello, I'm posting again. I need to have the current Form's .Caption and then place only the current Window that has the Focus, then place it into the Label1.Caption, like so... Code: Rem If the...

View Article


Getting the position of the caret

I want to stop the typing or insertion of text into a textbox or any control that the user can type in when the text area has reached a certain point. Counting characters or figuring character widths...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Drag Capability

Hi, I have downloaded the attached User Control and using it in my project. Its a Form Title Bar Replacement. I want to add Drag or Move capability in it. Please help me in this matter. Attached Files...

View Article

VB6 - Faster than Timer control?

I'm coding a program where I need really fast time control. I'm trying to send digital data throught the serial port to a radio that produces some electrical pulses. Those pulses are used to send data....

View Article

VB6 - Fast Inverse Sqrt

a=1/Sqr(b) is an high time consuming operation. This function is intensively used in vector operation, such normalization: eg: D=sqr(dx*dx+dy*dy) , dx=dx/d , dy=dy/d In C and other languages there's a...

View Article


Print Form Alternative?

Hi there! I have a form that puts bingo cards on it. There are 6 cards on it, which take up a fair bit of the screen. The last 2 cards unfortunately make the form too big to fit on the screen height...

View Article

Stopping User Input in a ComboBox

I have a ComBox and I want to stop users inputting anything ie they MUST just choose from a list. So, I follow the advice given to dozens of people asking this question on the web and set it to Style =...

View Article

How can I view only my Threads ?

Hallo, Can I view the list of my threads only. Time ago I posted Thread, but I don't remeber the exact days i posted it. Can I show my threads only ? Thank you.

View Article


Textbox Count Lines & do Maths problem based on content

I have a Text box containing below in "code" i want to be able to do the following with a button & display to the user: ( or on the fly Inside a label would be nice!) 1. Add up amount of Lines...

View Article


Missing reference

when i load my project, i get the following missing reference Microsoft SQL Server DTS OLEDB Source Adapter 1.0 Type Library When i checked in System 32, i cudn't find one with that name. i'm using sql...

View Article

Get text out of outputdebugstring

Hi, I am curious whether you guys have tried to get text out of outputdebugstring api? Meaning, when you run the vb6 exe and call outputdebugstring, it actually traces out into the DebugView...

View Article

[RESOLVED] How can I view only my Threads ?

Hallo, Can I view the list of my threads only. Time ago I posted Thread, but I don't remeber the exact days i posted it. Can I show my threads only ? Thank you.

View Article

[RESOLVED] OleDbSrc.dll Missing reference

when i load my project, i get the following missing reference Microsoft SQL Server DTS OLEDB Source Adapter 1.0 Type Library below it shows a path like this : c:\windows\system32\OleDbSrc.dll When i...

View Article


How to use localhost

Below code..... Winsock1.Connect localhost, 1234 localhost is empty. I thought localhost was available with the address of your local machine. EDIT: Never mind. It's not localhost; it's "localhost"

View Article

Trouble parsing JPEG tags

I'm working on a project to be able to automatically detect JPEG files embedded in other files (such as game resources). In the absence of knowledge of the resource file format, but with knowledge that...

View Article


vb6 to mysql

guys, i am new in visual basic i need you to help me.. i want to display data from mysql table in my combobox.. i have dbms2 data base and students table in it. all i want is to display idnumber field...

View Article

File access block to read file as binary access read from COM server and...

I need help. I spent many hours to research my problem but I could not figure out. My application is client-Server. It installs on COM server (Application Server with all dlls), Window Server 2008...

View Article


How to Shell from a directory with spaces in path?

I can Shell from C:\App.exe without a problem but how do I shell from C:\My Programs\My VB Apps\App.exe? I tried using quotes around the path like this: Shell Chr(34) & App.Path & Chr(34) &...

View Article

3D code

I put a project for anyone interested on monoboom.co (not .com). All the code should be there and should work with the reference files. I'd like to know if someone has any ideas for deploying a final...

View Article

[RESOLVED] Randomizing, yet omitting certain numbers

My issue is simple...my attempts at solution have failed. I am developing a replica of an old game show, Tic Tac Dough. On the program, initially nine categories are shown in a tic-tic-toe type...

View Article
Browsing all 21293 articles
Browse latest View live


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