Quantcast
Browsing all 15744 articles
Browse latest View live

CHECK if in dir are present 2 files, else msgobox

pseudo code CHECK if in dir are present 2 files, else msgobox ="ALLERT!".... then unload me the dir is mydir, the file are: test.xls prov.txt naturally if one of this file exists, alert only for not...

View Article


centralized file reading and writing

Hey guys, hope everyone is staying covid safe :) I have been looking around for examples but have yet to come across anything close to what I am trying to do. As my application grows I'm finding myself...

View Article


VS 2019 [RESOLVED] Tell Form1 that Form2 is closed

I have a complicated question about two forms. Form1 contains a Listview with document names. I click a button which opens Form2. In Form2 I show duplicate documents. When I click OK these duplicates...

View Article

VS 2019 Serialport error

Hello guys maybe a little problem for you guys. I want to communicate with the a usb to serial device. But I get when I type Imports System.IO. no ports with intellisense when I type it after IO. I...

View Article

VS 2019 unable to change date format

I am trying to convert a date into another format. Code:           FixDate = "17 JULI 2018"             Dim newDate As Date = DateTime.ParseExact(FixDate, "YYYYMMDD",...

View Article


Message-Only Windows (HWND_MESSAGE)

Message Only Windows Does anybody know of a good practical usage of "message only windows" ? Other than intercepting and handling WM_TIMER and other broadcast windows messages, I don't really see any...

View Article

This forum is why VB6 is still usable today

I just wanted to put it into words and say this - that this forum is one of the reasons why VB6 is still usable today. Twenty or more years of explained code, resources of all kinds, the code bank and...

View Article

VS 2019 Changing from V2013 Automatic Formatting

I have just bought a new laptop (Dell XPS 17 at huge expense - no quicker than my 7 year old HP Envy which sadly is losing its mind) and decided to change from V2013 to V2019. After the initial 189...

View Article


VS 2019 Datatable row doesn't get updated

I have a Datatable that uses an MS Access database table. In my program I select a row in the datatable, perform some procedures checking the name of the field and changing the text. Then in the end I...

View Article


How to draw a straight line on an image control?

Any ideas on how to draw a line on a transparent image control, then how to remove it? TIA, Bob.

View Article

Direct2D

Hello I have two questions regarding Direct2D, the answers are probably a resounding no but I must ask. it is possible to draw something and preserve the background as we do with GDI, for example if in...

View Article

Input a password to dialog box after launching app through VB script

I have written a script that launches an application from my desktop. I have no knowledge in scripting, but was able to google around and have it done. However I am stuck at a point where I am not able...

View Article

VS 2019 Making a 'Word wrap' button in VB

I'm looking to make a word wrap button on my Windows Form Application, much (exactly) like the Word wrap button on Notepad. I basically want a button to 'wrap' (automatically start a new line of text...

View Article


VS 2019 Listview tooltip not showing

I want to show a tooltip on my listview. I implemented the code. Its called correctly however no Tooltip is shown. Code: ListView1.ShowItemToolTips = True Private Sub ListView1_MouseMove(ByVal sender...

View Article

Visual Studio 2022 moving to 64 bit

https://www.zdnet.com/article/micros...ing-to-64-bit/

View Article


How to execute shell command which uses a pipe

Hey I'm trying to pipe output from mysqldump to mysql using a pipe. It works just fine in a dos prompt, but fails when I use it in ShellExecute. The simplified command is: Code:     r = ShellExecute(0,...

View Article

Image may be NSFW.
Clik here to view.

Read Registry Dword Value

Hello; i have a code.For Read Dword registry Value.. If lDataTypeValue = REG_DWORD Then td = Asc(Mid$(sValue, 1, 1)) + &H100& * Asc(Mid$(sValue, 2, 1)) + &H10000 * Asc(Mid$(sValue, 3, 1)) +...

View Article


Image may be NSFW.
Clik here to view.

VS 2017 VB 2017 Ex execution error & dll registration problem

I have a VB 2017 Express solution consisting of a main application project, and a setup project. I can do a build or publish without error if I specify "Any CPU". However, trying to run the exe...

View Article

Chauvin murder trial verdict / consequences

First off, I will note that, if the distance from where I live to where there was rioting, looting, and arson last summer in response to the George Floyd video was put into golf terms, I'm about a long...

View Article

Looking for some direction with this simple program

VB newbie here. I have a CSV file with data that I need to manipulate. For instance, there are columns and data that are not needed in the csv file. Within the csv file there are data elements that...

View Article
Browsing all 15744 articles
Browse latest View live


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