Quantcast
Channel: VBForums
Browsing all 15067 articles
Browse latest View live

[RESOLVED] ComboBox ItemData, only zeros ?

Hi, A ComboBox on a Form. The list : Pic Poc Pouet But the ItemData has only zeros : 0 0 0 Even if I change for 0 1 2 The zeros still there :( Or perhaps I didn't understood the ItemData function ?...

View Article


Opinions On How To Deal With This "Subscript Out Of Range" Error

Hello, I'm looking for opinions on the best way to deal with the "Subscript out of range" Error generated by the following procedure. I'm sure I can fix it a number of ways, but I have approximately...

View Article


Image may be NSFW.
Clik here to view.

Is there anyone who have been used a Control in vb6 like DataGridview which...

it can add columns as checkbox,button,combobox,textbox,image,etc.. Attached Images  

View Article

How To Cange Array Type ?

Hi ALL ~ How To Cange Array Type ? Private Declare Sub CopyMemory Lib "kernel32.dll" Alias "RtlMoveMemory" (Destination As Any, ByRef Source As Long, ByVal Length As Long) Private Type VariantAPI vt As...

View Article

Image may be NSFW.
Clik here to view.

Windows 8.1 scaling causing display problem

I have no problem to use default windows scaling. But I receive feedback someone cannot view it properly. He used this application because he claim this can make the application run clearer at 125%...

View Article


[RESOLVED] Getting data

During execution I want to enter data into a text box and use this data . How do I get the program to stop at the required point and wait for data, enter it and continue? Thanks

View Article

Several questions about RC6

I encountered several problems while using RC6: (1) RC6 provides DynObj to implement dynamic properties and dynamic functions. Is there an example to demonstrate how to implement dynamic functions? (2)...

View Article

Save contents of a Multiline Textbox to an Access Database table

Hello everyone, I need your help, I have a multiline textbox and I need to save the contents to an Access database table (in a list format and not in a text format). I'm using an ADO recordset...

View Article


Getting hWnd from VBIDE.Window

Hi folks... I'm in the process of writing (well, playing around, more like) an IDE addin, and I'd like to know if there's an easy way of getting the hWnd of a VBIDE.Window object. Anybody know how to...

View Article


[RESOLVED] Several questions about RC6

I encountered several problems while using RC6: (1) RC6 provides DynObj to implement dynamic properties and dynamic functions. Is there an example to demonstrate how to implement dynamic functions? (2)...

View Article

Matching Local (javascript client) timezone name to a TimeZoneInfo...

First, I should mention that this is about interacting between client side javascript and server side asp.net. I'm able to find some information about the client timezone in javascript. I have an...

View Article

Image may be NSFW.
Clik here to view.

Is there any Controls like this ?

hi, everyone; I would to design some Dababase project, just want to find a control like Access tableview can anybody help me? thx very much Attached Images  

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Balderdash Game Problem

Finishing up a new game, Balderdash. I have all the scoring correct except one... If a player (see the right most list of players) selects his own response (In this picture SamOscarBrown selected #3...

View Article


VS 2017 Else If variable argument question...

Hello: I would like to pass a string variable into my ElseIf argument. This works! Code: ElseIf StateName <> "Released" And StateName <> "Standard Part" And StateName <> "Under...

View Article

What's Included in Runtime using Conditional Compile Alternatives

I'm pretty sure the following code included in a procedure is excluded from the runtime file including the string "Begin DoLayer1". Code:   #If kDEBUGON Then       Debug.Print "Begin DoLayer1"   #End...

View Article


VS 2019 Save text file to disk?

In order to save a text tile to disk in VB.net do I have to use the "SaveFileDialog"? I've been searching the web for information and can't find anything that works. What I want to do is something like...

View Article

What's the modern Debug.print() ?

Output window? Is there a new command? Or same old debug.print() ? Console.WriteLine() ?

View Article


Best way to read a random line from a text file ?

I read all, and then picked a random number. Is there a better way? How would you do it? Code:     Public Function getRandomWord2() As String         Dim objStreamReader As StreamReader         Const...

View Article

RC5 - duplicate key error when adding German file names to collection

I'm adding files to a vbRichClient5 collection and using the file names as keys. Two German file names are causing an error when added to the collection. The error is a duplicate key error (457). The...

View Article

[RESOLVED] What's Included in Runtime using Conditional Compile Alternatives

I'm pretty sure the following code included in a procedure is excluded from the runtime file including the string "Begin DoLayer1". Code:   #If kDEBUGON Then       Debug.Print "Begin DoLayer1"   #End...

View Article
Browsing all 15067 articles
Browse latest View live