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

[RESOLVED] DrawTextW & TextWidth problem with UniCode text

Hello, I just spotted a problem with DrawTextW & TextWidth. I have my Custom uniLabel control. It all works fine, until I tested a few greek & bulgarian alphabets. Basically the text gets CUT...

View Article


[RESOLVED] Implementation of CRC32 from a string input

Hi all, i need to perform a CRC32 calculation from an input field. I'm programming on excel 2007 (VB 6). For example, =checkCRC32("HELLOWORLD") => should return "f2743d92"...

View Article


Image may be NSFW.
Clik here to view.

[Help] Multidimensional array

Q:Write a program to add x and y using multidimensional array and display the result. what does it actually mean? i know how to do if it doesnt use multidimensional array. :confused:

View Article

Image may be NSFW.
Clik here to view.

Alertable Msg Loop, Async I/O

In order to use the async callbacks (completion routines) with many forms of Windows I/O it is necessary for your program to enter an "alertable wait state." Raymond Chen's The alertable wait is the...

View Article

How to toggle 1 and 2

Without using If..Then how do I switch back and forth between 1 and 2 If the value in a 1 I want to make it 2 on exit from sub and if the value is 2 I want to make it a 1 on exit from sub Actually I do...

View Article


??? I guess that this is a Visual Basic 6.00 problem, or not???

Hello, me again. I guess that this is a Visual Basic problem or error that I'm having, right about now. So then I will begin with my problem... Problem #1: I have a front end loading console that works...

View Article

Passing recordset to a function - VB6

I want to have a datagrid printed. I have used the following code. Private Declare Function GetDefaultPrinter Lib "winspool.drv" Alias "GetDefaultPrinterA" (ByVal sPrinterName As String,...

View Article

click html button

I have this webpage with a buttons for submission and I did not assign them with id or name. I applied this code For Each BTN In HTML.documentElement.getAttribute("BUTTON") but I get object required...

View Article


What is the VB statement that does.......

I think there is a VB statement (seems like I remember from the days of PC Basic) that selects an argument from a series of arguments based on the value of the expression For example: If the expression...

View Article


IIF not doing what I think it should

In a game I'm working on a player selects a ball (either a white ball or a black ball) and that ball is then highlighted. Now in a sub later on in the game I want to turn off the highlighted ball and...

View Article

API - GetProcessDEPPolicy within VB&

Hello, quick question - how could i implement the function GetProcessDEPPolicy within VB6 / VBA ? http://msdn.microsoft.com/en-us/library/bb736297.aspx i struggle a bit with the vartypes - the goal is...

View Article

[RESOLVED] coding problem

I have this webpage with a buttons for submission and I did not assign them with id or name. I applied this code For Each BTN In HTML.documentElement.getAttribute("BUTTON") but I get object required...

View Article

[RESOLVED] IIF not doing what I think it should

In a game I'm working on a player selects a ball (either a white ball or a black ball) and that ball is then highlighted. Now in a sub later on in the game I want to turn off the highlighted ball and...

View Article


Get Access table record count using criteria

Need some help please. Running Excel VBA, I want to get the number of records in an Access table where the records have a certain value in a field and return that count to Excel. Thanks for any help.

View Article

[RESOLVED] Question: How to make graphical buttons disabled

I'm making a game that uses images for the buttons. I can make the pressed and unpressed image but I do not know how to make the disabled image. Seems like I saw an app or a Windows feature that can...

View Article


The future?

This is a request for info and opinions (I'm sure there are many of the latter). Hearing that vb6 'support' (which I imagine means no vb6 runtime included with the o/s) will be available after Windows...

View Article

copy and rename the multiple files

there are number of files in a folder the folder may be in any drive. and i want to copy that files + rename that files to next folder in next drive. How it is possible? Any suggestions? regards cjan

View Article


How many users logged on to windows7 machine?

Due to windows 7 remote desktop behavior, many users can be logged on to a system. They wont log off the machine and simply they will disconnect. This leads to problem when next user log in. So how to...

View Article

PrintForm- runtime error: VB6

The following pertains to the code which I wrote for printing a form. Being a very basic application, I used the PrintForm function. ---------- Private Sub cmdprint_Click() If MsgBox("This will print...

View Article

[RESOLVED] How To: Know if Combo1 was clicked on

I have a combo box which has several list items in it. User selects from combo box to process certain things. There are times, however, I need the combo box disabled. OK, no problem here. Problem is I...

View Article
Browsing all 21090 articles
Browse latest View live


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