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

Program responds multiple times to a key

I have a search form where the user can enter a name in an InkEdit textbox and click on the "Search" commandbutton to search. To make it easier for the user, I need to make it possible to type the name...

View Article


Image may be NSFW.
Clik here to view.

MySQL Default/Expression Help

I am new to using default expressions in MySQL and was wondering if someone could help with the right syntax procedure. I have two columns timeLaunched and timeTerminiated. I have another column called...

View Article


[RESOLVED] Restore ListBox scroll position

Hi, I need to set the client's area of ListBox to a particular scroll position. I'm using SetScrollInfo. But it is only set the scrollbar's thumb (without redraw). It doesn't move (scroll) the client's...

View Article

[RESOLVED] VBA to VB6

In Excel I have a spreadsheet with 2 tabs. The first tab, named “Activity”, contains data added every day. The second tab, named “Charts”, displays a line graph of the daily data. I have written VBA...

View Article

Image may be NSFW.
Clik here to view.

AES_128_GCM question

This question is an extension of https://www.vbforums.com/showthread....ED-Vb6-aes-gcm In that post I learned how to encrypt/decrypt using TLS_AES_128_GCM_SHA256. However, at that time I did not make...

View Article


Creating tables from an .sql file

My Web Hosting allows me one MySQL database. I can't rename it, delete it, or overwrite it. At the moment, it has no tables. I have 2 .sql files each containing CREATE TABLE statements. My Web Hosting...

View Article

VS 2010 Get and read JSON data

hi i am using asp.net 2010 i have a url from where i would be getting the json data i tried a lot of options but all are using Imports Newtonsoft.Json Imports Newtonsoft.Json.Linq but the prob. is when...

View Article

Enable network discovery

Hi! How to enable network discovery by vb6? I tried https://www.activexperts.com/admin/v...l/#EFPSTWF.htm But do not works! Regards!

View Article


Data report

I have developed application with vb6. At present I am using excel to generate report. I wish to shift to datareport for generation and printing data reports. I have written simple code to begin with....

View Article


Want to Validate Code for placing 253 columns in alternate manner from diff....

I have been using below macros for placing 253 columns in alternate manner from two different sheets but this code works for very less range of data and as soon as data is more than lacs it doesn't...

View Article

If user computer only NET Framework 3.0, which VS(VB) version is better?

I have trouble, I'm use VS2008. If guest, user computer only NET Framework 3.0, which version(VB) is better? Visual Studio (2002,2003,2005,2008,2010,2012,2013,2015,2017,2019) And a lot of (year)...

View Article

Image may be NSFW.
Clik here to view.

[VB6] Another "magnifier"

The topic of writing screen magnifiers came up the other day, and I thought I might trot out this old approach. Basically it shows simple use of a GDI Region object with StretchBlt. I had another...

View Article

Is there any way to listen to WebSockets in Visual Basic .NET

Hello, I am using VB to develop a software which needs to listen to WebSocket for Binance API at wss://fstream.binance.com/ws/btcusdt@klike. I have seen several tutorials online how to do it in NodeJS....

View Article


Can't Select Module to Load Project

As Roseann Rosannadanna says, "It's always something." I have two issues but I will deal with them in different posts. In the Project Properties box where you choose the startup procedure the form name...

View Article

Can't Display Properties of Forms

I use VB rarely rarely. I used it very little about 6 months ago and before that it had been 3 years. It use to be a form's properties were listed below the form name in the column on the right. Now...

View Article


[RESOLVED] If user computer only NET Framework 3.0, which VS(VB) version is...

I have trouble, I'm use VS2008. If guest, user computer only NET Framework 3.0, which version(VB) is better? Visual Studio (2002,2003,2005,2008,2010,2012,2013,2015,2017,2019) And a lot of (year)...

View Article

Class library project not the same as windows form project for string functions

' This works fine in a windows form project PHP Code:  Dim numStr As String = Trim(Str(theNumber))  ' However, if I use the same line of code in a class library project it doesn't work. Instead I get...

View Article


Simple adding and subtracting of Cell Values

Hello all, I got this little bit of code I am trying to get to work in my Excel 365 spreadsheet. Code: ' Put remainder in HZ27 Remainder = Range("F20").Value - (Range("B32").Value + Range("B35").Value...

View Article

GetMenu returns 0

Even though there are menus and sub menus I get 0 Code: Dim AppHwnd As Long   AppHwnd = FindWindow(vbNullString, "Project1 - Microsoft Visual Basic [run]") hMenubar = GetMenu(AppHwnd)   '   ' but when...

View Article

Good programming practices for VB6

I know that there are several good practice models for programming. Trusting your experience, which model fits the VB6. I ask this because in my country it was proposed by a user about this and he was...

View Article
Browsing all 15711 articles
Browse latest View live


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