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

Find And Replace in File (Hex)

Hello Professionals . i want read/save a file in hex mode to find and replace this 01 00 26 02 to 01 00 32 02 also files are not in same size . actualy i want some thing like replace all in hex mode. BR

View Article


Image may be NSFW.
Clik here to view.

Jet SQL: Insert Null FK?

I have a main table Pies and a lookup table Fillings. The main table has a foreign key, but some rows can have no entry, i.e. Null. I want to be able to insert new Pies rows after populating Fillings,...

View Article


Etsy API programming in VB?

Hi: I'm looking for some Etsy API programming in VB ... it can be either VB6 or .net. Does anyone have some code they could share? A sample project? Thanks!

View Article

Send Commands To CMD Window (without sendkeys)?

Is there any way to send keystrokes to a CMD window without using SendKeys or even giving the CMD window focus?

View Article

Image may be NSFW.
Clik here to view.

VB6 QUESTION: How to direct GDI+ output onto second monitor?

Chaps, I have a VB6 graphical app using GDI+ that needs the option to output the graphics on a second display. I currently can't make it do this as it only displays on the primary monitor. By default...

View Article


SHChangeNotify messages causing weird asych behavior

My code is set up to respond to messages from the shell. I'm receiving a duplicate message immediately after the other, and it's causing bizarre asynchronous behavior. I've got a sub that handles...

View Article

[RESOLVED] how to catch msgbox popup event ?

Hi ~ ALL My App use many msgbox in many place ( in vb class ) when msgbox popup , Form maybe minimize in windows taskbar I can not see the popup of msgbox how to auto let Form maximize when msgbox...

View Article

eliminate multiple zeros

Hi. Code: select Collected_WorkstationCode,  sum(gross2) as V, CASE WHEN  gross < 0 THEN sum(gross) ELSE sum(0) END AS C from [dbo].[EAI_SourceData] where cinema = 01 and COLLECTED_DATE = '20200913'...

View Article


VLookup of date and time

wondering if any one can help the best way to do this 23.09.2020 24.09.2020 JR 16484 24.09.2020 14:08:26 25.09.2021 24.09.2020 14:08:26 so formula for number is =VLOOKUP(A385&"...

View Article


Image may be NSFW.
Clik here to view.

VS 2017 Graphics help in Visual Basic

Hello all, I have a Windows Form App that shows a laser scan in a picture box. The Picture box is 442 wide by 451 tall. The scale of the box is -138 to 138 on the "X" axis and 100 to 500 on the "Z"...

View Article

rows in incorrect order when inserting into SQL database

Hi, I have a piece of software that helps us rapidly change entries in our sql compact database. The issue we are having is when we insert many rows after deleting rows, the inserted rows are not in...

View Article

Image may be NSFW.
Clik here to view.

GROUPING SETS Problem

Hi Guys, Please refer to my query below: Code:       SELECT A.WorkPeriod,                   A.EmployeeName,                   A.EmployeeCode,                   A.DepartmentDesc                 (SELECT...

View Article

Why does my screen blank ?

Hi, I have a tool which I programmed several years ago to produce a text file of coordinates to draw a regular polygon. The tool draws these Points around the horizontal centre of the form in order...

View Article


[RESOLVED] VideoSoft Flex Grid Documentation

I am still work on a VB6 conversion to angular (front-end) and C# (back-end). One of the controls that is used frequently is named vsFlexGrid. If I inspect the object in the object browser window and...

View Article

[RESOLVED] Deprecated Join Syntax

I am in the process of converting a legacy VB6 (started as VB3) application to Angular (front-end) and C# (back-end). The code makes use of deprecated join syntax everywhere. The one that most commonly...

View Article


Update Csv file

Hi all I’m trying to update a single value in a csv file I wish to change the value of one column from a 1 to 2 I can find the correct row using Code: dim lines() as string =...

View Article

[vb.net] How to use a progress bar while downloading through HttpClient

Hi everybody, I want to use an async progress bar that show the download progress. I'm trying to do it using Progress <T> class. I've been trying a lots of codes but none of them is really async...

View Article


[RESOLVED] Runtime error 424 when referring to class method

I have created a simple class, cTimeUp. I want to call a function in the class every n seconds using a timer, TimerTimeUp on the form. When I call the class methods from the form they work, when they...

View Article

Image may be NSFW.
Clik here to view.

UpdateLayeredWindow() Drove Me Crazy

I never played with UpdateLayeredWindow() before. So I took a look and didn't find many concise examples in VB6. Examples here and there, but not clear enough to get through my thick skull. I kept...

View Article

SetThreadPreferredUILanguages not working as advertised.

SetThreadPreferredUILanguages should change the language displayed in captions and buttons of shell dialogs in the current thread (in Windows Vista and later versions). In the code example below, the...

View Article
Browsing all 15762 articles
Browse latest View live


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