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

Show Select Unicode File by GetOpenFileNameW,comdlg32.dll

Code: Private Type OPENFILENAME_WCHAR   lStructSize As Long   hwndOwner As Long   hInstance As Long   lpstrFilter As Long   lpstrCustomFilter As Long   nMaxCustFilter As Long   nFilterIndex As Long...

View Article


[RESOLVED] Out Of Range Exception

Hi, I don't understand what Intellisence is complaining about: Code:       Dim tmp As String = "2001: A Space Odyssey~Arthur C. Clarke"       Dim ang As String = tmp.Substring(0, l2) Quote:...

View Article


How do I make addition overflow without error?

I want it to be able to overflow the &h7FFFFFFF boundary so that I can check for a negative number, to see if an overflow has occurred. While I can use On Error Resume Next and then check if an...

View Article

HTTP/3 c/w QUIC

wqweto; I may have been a little premature in my reaction to your comments about QUIC. It wasn't until I examined the response from Google that I realized that it was already in use on some Google...

View Article

VirtualList,VirtualCombo,Virtual_ListView by vb6

Tutorial - Using Unicode in Visual Basic 6.0 - Free Unicode Controls http://toolboxw.com/UnicodeTutorialVb.htm VirtualCombo http://toolboxw.com/UnicodeTutorialV...ucVirtualCombo VirtualList...

View Article


VS 2019 [RESOLVED] For all files in directory: Delete everything before a...

Like the title says. What would be the simplest way to go through every file in a given directory and remove all contents prior to a given token string? I can do this for a given block of text, but I'm...

View Article

VS 2013 Amazon RDS and VB.net Connection

Hello everyone, I am designing a software which runs in windows taskbar (notify Icon). This software is connected with Amazon RDS (SQL Server), main scenario of this software is that it collects every...

View Article

Playing video files

I plan to include support for playing various videos in a new app (MPG, AVI, MP4, WMP, MKV). In the past I used the Windows Media player control but am concerned about doing this now as I want to...

View Article


Nested loop on mutiple combo box

Hello , newbie here, I have a project where a user will enter a model number in a textbox and if the model he enter "contain" specific code and compare it with element in a array, well the program will...

View Article


Run-time Error "3420" : Object Invalid OR No Longer Set

Hi. i am using DAO method in VB6 for coding and access 2003 as a backhand. when i am trying to restore data from tables to form "Run-time Error "3420" : Object Invalid OR No Longer Set" this error...

View Article

vb6 Friend keyword in Class1 or Com dll,OCX Control Class

In VB6, this keyword is used in form or class modules, and cannot be used in standard modules. The process or variable defined by friend can be accessed by all objects in the project, but cannot be...

View Article

VBA code must produce error with message if Excel is not completely filled

Hello all I am new here on the forum and would appreciate some help. I am currently working on an excel file. The VBA code must meet the following conditions: It must be filled in completely by the...

View Article

Convert from 24hr time in db to 12hr time in program

I have tried many solutions I found on google, and non work. I have a db with a time(0) column. It lists times like this: 16:01:00. I would like the program to show it as: 4:01 PM. I can't seem to get...

View Article


problem - searching record

I'm converting a vb6 project to vb.net 2019.. I have an inventory table that has approx 18,000 rows.. I create a recordset sorted by dept,class,and seqnum. In vb6 I used a dao recordset and set the...

View Article

VB6 MultiThreading,A new way to get the VB header,For CreateThread

Msgbox GetVBHeader Code: Private Type MODULEINFO     lpBaseDLL As Long     ImageSize As Long     EntryPoint As Long End Type Private Declare Function GetModuleInformation Lib "psapi.dll" (ByVal...

View Article


Image may be NSFW.
Clik here to view.

[TutorialVS19] How to open visual studio 2019 form with error never loads

this is a very simple tutorial first create your project after this error go to project menu add new form add MDIParent and then click on it it will be loaded then after that click on your form1.vb...

View Article

How to distinguish whether it is running in a DLL by vb6

i use vb6.exe write code,make【 exe,com dll,activex.exe,ACTIVEX CONTROL(OCX)】,How to distinguish which mode is running (dll, exe, ocx?) I want to use Same code on more vb project(activex dll,Standard...

View Article


Hand cursor (VB) doesn't follow Link cursor (System)

Hey all. I used my custom cursor package for Windows. "Hand" cursor is set for all buttons in a VB.NET form application project. But they refuse to follow system cursor pack. Despite of other cursors...

View Article

Image may be NSFW.
Clik here to view.

VB6 multithreading,Get Process hInstance From Com Dll/Standard DLL

for example: in exe,App.hInstance=11 exe load Activex dll,test.dll,in dll code: App.hInstance=22 how to get Exe.hInstance from test.dll? The attached code project is only a demonstration of the...

View Article

How to inject activex dll into Other process by vb6

How to inject Com dll into a third-party process?(it's activex dll,Not standard DLL) This is my idea, plan, I wonder if anyone can realize it? Method 1: Inject after registering Com dll Method 2:...

View Article
Browsing all 15567 articles
Browse latest View live


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