Quantcast
Browsing all 15648 articles
Browse latest View live

ClsComDlg.cls【VB6 api for comdlg32.dll without COMDLG32.OCX】

Code: 'in form1 Private Sub Command1_Click() Dim A As ClsComDlg Set A = New ClsComDlg A.ShowColorFlags = cdlCCFullOpen Or cdlCCRGBInit A.Color = vbYellow A.ShowColor (Me.hWnd) Me.BackColor = A.Color...

View Article


VS 2019 Faster Bitmap SetPixel & Memory Management

Howdy people, I have recently been experimenting with the Bitmap.SetPixel function. While it does work fine it's incredibly slow and I was interested in faster methods to edit Bitmaps pixel by pixel. I...

View Article


VS 2010 Check if F7 key is pressed

Is there are way to check if a key like F7 is pressed? I don't mean something like check to see when F7 is pressed then do something. F7 itself will do nothing when pressed. What I am looking for is...

View Article

VS 2010 [RESOLVED] Check if F7 key is pressed

Is there are way to check if a key like F7 is pressed? I don't mean something like check to see when F7 is pressed then do something. F7 itself will do nothing when pressed. What I am looking for is...

View Article

Image may be NSFW.
Clik here to view.

VS security warning for WinForms component (dll downloaded from a network...

Our customers have a legal copy of a WinForms component compiled for .NET Framework 4. Recently they surprised us - they can no longer add it to the Toolbox in Visual Studio 2019 and use it in VB.NET...

View Article


Image may be NSFW.
Clik here to view.

VS 2019 Printing Arrays in Listbox

Button 1 prompts users to populate an array while button 2 should print that array into a list box. When I run it, button 1 seems to function properly, but clicking button 2 doesnt print anything. What...

View Article

Check if Pointer is valid ?

Hi, Is there a way of figuring out if an object pointer is valid ? (ie:- points to a valid instanciated object) Thanks.

View Article

Late binding CUIAutomation

I have the following code which uses IAUtomation to get me the bounding rects of the tabs in a MultiPage control... The code works fine because it uses early binding. I can't seem to make this work...

View Article


Getting Internet IP Address

I've been using the code snippet from the Codebank [here] to get the remote IP address from my app. This is a great bit of code and has always worked very well to get the IP address of any connection....

View Article


Image may be NSFW.
Clik here to view.

Problem with VB6 ComboBox with style "DropDown List"

I have tested my application developed with VB6 on Windows 11 for which we use a manifest to improve the presentation. VB6 ComboBox with style "DropDown List" visually display nothing when they have...

View Article

Image may be NSFW.
Clik here to view.

[Tutorial] how to run vb3\vb4 on your msdos

Right here we have a simple tutorial, it may sound silly, but it is very useful for many people come on this topic is authentic and exclusive to Liwis James who decided to help the community with the...

View Article

vb.net remove first char from text

i'm make a textbox print another char with keydown event using this: on keydown event: HTML Code: if e.keycode = keys.A then  My.Computer.Keyboard.SendKeys("B") end if i need know how i can remove the...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] sum listbox items

Iam adding a elemnet from a xml file into listbox Code: Option Strict On Option Explicit On Option Infer Off Imports System.IO Imports System.Xml Imports System.Net Imports...

View Article


Compiler bug

Greetings, Yes I made a mistake but I got bitten hard by this in production yesterday. Create an empty project In the form load: dim someObject as object set someObject =...

View Article

[RESOLVED] vb.net remove first char from text

i'm make a textbox print another char with keydown event using this: on keydown event: HTML Code: if e.keycode = keys.A then  My.Computer.Keyboard.SendKeys("B") end if i need know how i can remove the...

View Article


Image may be NSFW.
Clik here to view.

VB6: Question - Databases, where do I start?

OK, it is a very broad question and I know that. I have an older VB6 application concerning the weapons, vehicles used in Normandy 1944. It was where I cut my teeth in VB6 and was converted from a...

View Article

[RESOLVED] How to find control by tag property

Hi, Is there a way to find a control by tag text without looping through the controls of the container? I usually fidn controls by ID/name by: Code: Dim Thiscontrol As Control...

View Article


VS 2019 Access DB and Timer not running tasks when its time - Conversion from...

All, I have a problem with my reminder app that will NOT run as scheduled when the program is open. It appears to only run once when started up and will not run when its time for a reminder. Can...

View Article

Retrieve selectedvalue from listbox/xml file

Hello, I haven't been working on visual basic very long but I'm running into a problem in my code. I have a button that reads part of an xml file into a listbox. In addition, I want to build a function...

View Article

Deleting a row from the data source (datatable) of a datagridview

Hi, I am struggling to delete a row from a datatable that I have bound to my DGV (datagridview). The DGV is not full row selection thing and users can click only on one cell at time. I can delete the...

View Article
Browsing all 15648 articles
Browse latest View live


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