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 ArticleGetting 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 ArticleVB6 - 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 ArticleVB6 - 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 ArticlePrint 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 ArticleStopping 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[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 ArticleTextbox 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[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 ArticleGet 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 ArticleHow 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 ArticleTrouble 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 ArticleDetect Operating System
Hello reader I want to detect if a PC has WinXP or Win7 or Vista running Thanks
View ArticleCopyMemory doesn't work with destination as Array of Fixed Length Strings?
I have a byte array called mybytearray with the ascii (1 byte per character) characters "ABCD1234" and would like to split it into 2 equal parts of 4 characters each so I have an array of fixed length...
View ArticleGmail / Google Voice SMS API?
Does anyone know how to access the Google API to send out text messages? Here's my story.. I wote a nifty little VB program to send an Email to all the major SMS gateways in Canada. My customer can...
View Articleisometric tile recognition
Hi, im attempting to create an isomertic game in vb using the glorious BitBlt. my problem is a math one, i hope you can help. i have a series or isometric tiles in the game area, the problem is at the...
View Article.exe Won't Run If Made On Wrong Computer
I am working with three computers. A netbook, Desktop A and Desktop B. I have a VB5 program I wrote that, if I do the Make project.exe on Desktop A, the .exe runs fine on the netbook. If I Make the...
View ArticleHTML Help
Hi I have managed to add HTML Help Files to my project from a command button works fine no errors. What I would also like to do is let the user have a Joice and use the F1 key is there a blow by blow...
View Article[RESOLVED] select list1 item then delete that item from friends.text in appath
in project i have list1 ' holds as friends usernames what i want to archive is when i remove selected item from list1 then appath freinds.text selected name to be deleted. current code Code: Private...
View ArticlePlaySound API + SND_MEMORY + VB6 don't work well together?
Ok, so I've loaded the entire contents of a WAV file (headers and EVERYTHING) into a byte array and am now trying to get the PlaySound API calle to play it, and I'm using the SND_MEMORY flag as I...
View Article