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

CodeShine available somewhere for refactoring

I was wondering if anyone here still has a working version of the CodeShine add-in that makes refactoring possible. Im cleaning up my own coding and have tried to use RubberDuck's refactor method, but...

View Article


Image may be NSFW.
Clik here to view.

Making 'cut' menu items for specific places in a text box - Windows Form...

So basically I'm wanting to make a 'cut' menu item for each specific area of a textbox, for example: 'cut left' (numbers on image) 'cut right' (symbols on image) 'cut middle' (letters on image). I'm...

View Article


SHChangeNotify for adding and removing disks

Hi VB-nerds, I hope you can help: I have an application connecting to an ftp-site and adding that connection as local disk. I use rclone for that. As the disk not shows up automatically in Windows...

View Article

Image may be NSFW.
Clik here to view.

VS 2019 DataRowState.Detached

I have a form that is bound to a datatable. This form is used to add, delete, and modify rows in the datatable and also to perform some other housekeeping functions. These functions need the autonumber...

View Article

adding the shortcut CTRL+P in order to print a form

Hi there Hope you are fine. I have looked into the web and the forum without success. Please, I’d need your help for following topic. In a VB6 application I have created a form that appears once a...

View Article


Image may be NSFW.
Clik here to view.

(VB6) Turn multiline text into String constant

This is an auxiliary code that takes a text from the clipboard and generates code for a constant declaration, then copies it back to the clipboard converted. Code: Option Explicit Private Function...

View Article

How you write multi-lang solutions (mixed VB.NET, C#) and multi-platform...

This thread is what you do with solutions where some projects are written in VB.NET, others in C#. It started from discussion about avoiding Microsoft.VisualBasic namespace. Also what you do to...

View Article

MsOf13 How do we remake the program to copy not one value value but with...

How do we remake the program to copy not one value value but with range in column age? We need copy all values from age.xlsm age column to another age column in shchool.xlsm file school.xlsm A B name...

View Article


Image may be NSFW.
Clik here to view.

mimic Windows 1.0 graphical interface with VB6

hello everyone i'm new here, well i tried to imitate the graphical interface of nostalgic windows 1.0 well the top part was very easy like the menus and everything but i'm having trouble imitating the...

View Article


VS 2019 VB Net Excel conditional formatting

I am trying to build excel sheets with conditional formatting. I have everything working but on condition. I need it to detect an "OK" in the cell. That works with the following code but it also works...

View Article

Maskedbox.Mask

Hi I am really stumped I want to use a MaskedBox on a form so I can sort for different Masks Code: VB6 Private Sub Form_Load() frmTopFront.adoBanking.Recordset.MoveFirst mebPCode.Mask =...

View Article

Image may be NSFW.
Clik here to view.

Start VB with code window maximized

Quote: Originally Posted by Bonnie West From 101 TECH TIPS For VB Developers: Yes, the window is maximized. This is good! Is there any registration value to open vb in full screen? Regards!

View Article

GetFileSize - What is the best code?

Hi, What is the best code? Code: Public Function GetFileSizeEz(ByVal xFile As String) As Currency     On Error Resume Next     Dim xFSO As FileSystemObject, xDetails As Scripting.File     Set xFSO =...

View Article


Arrays- Sorting and initialization

Howdy people, .Net Arrays are slightly confusing to me and these two issues came up. 1) I have a 2 dimensional array of integers representing 2D coordinates (X,Y) what would be the best way to sort it...

View Article

Update Active Suggestion

Hello. Does anyone know what kind of active X , for example, for my app can I use to put a "link" that check if there is a new release version? Just like the most programs that everyone use... in the...

View Article


Image may be NSFW.
Clik here to view.

[VB6, Vista+] Core Audio - Peak Meter

Core Audio - Peak Meter This demo is in a response to a question by Peterd51, asking if there was a way to detect if audio was playing. CoreAudio provides an easy way to watch peaks for a peak meter,...

View Article

VS 2019 DataAdapter.Update command for junction table w/o an AutoNumber field

I need to update a junction table (many-to-many relationship) in a MS Access database. The junction table does not have an Autonumber (Primary Key) field. It only has 2 fields: VendorTypeID VendorID I...

View Article


run js on Webbrowser1 by vb6,webBrowser1.Document.InvokeScript

webBrowser1.Document.InvokeScript? can it run? dim a a=webBrowser1.Document.InvokeScript("test",123) how to return js value from webbrowser

View Article

[RESOLVED] How to remove internet marks on a project item

Dear VBFormers, i have a bit a pitfall, that i fell into day while coding my project in Visual Studio.NET 2019, which is the IDE i am using here, like so now even. The error when i try to Build my...

View Article

VS 2012 How to add a unique index (client id) for a combo box in VB 2012

I'm loading a client list into a combo box and ordering by client name, this means that the client ID field is not in order. I can add the names into the list no problem, but can't set the index...

View Article
Browsing all 15454 articles
Browse latest View live