Why is this not permitted ?
Hi, I can't discover why this subroutine: - Code: For i = 3 To 7 bx = "TextBox" & i.ToString txA(i) = CType(Me.Controls(bx), TextBox) txA(i).Text =...
View ArticleExcel Add-In - Not allowing shareable file in Access Database
We have a handful of users that are having issues with the Add-In tool. This tool has been in place for over 10 years and we never had issues until this year. The Excel Add-IN tool pulls multiple...
View ArticleWatch window not refreshed correctly when running on W7/W10
Running VB6 on Windows 10. Sure I know it is not supported, but ever since I started using Windows 7 (or perhaps even Vista), it has been cumbersome to debug because part of the watch window simply...
View ArticleVS 2019 CopyFile over VPN failing
Hi there, I have an application that copies files from our in office server to our in office client machines using: vb Code: My.Computer.FileSystem.CopyFile() This has been working fine, due to COVID...
View ArticleExcel2019 rounds/truncates Data from macro
Hi Folks, something weird: Excel2019-64Bit on Win10Pro-64Bit Via macro i pull data from a database and transfer it to a worksheet. This macro has worked for years in production. Since i've been...
View ArticleVB6 - DIB's: how get and change alpha color element?
these tutorial is for learn using DIB's: https://tannerhelland.com/2008/06/18...ramming-3.html heres the others sequencial links for the Graphics: https://tannerhelland.com/2008/06/18...ramming-1.html...
View ArticleMulti Touch to Mouse Down/Key Down event...
Hi There! I am in the process of updating a VB6 application I wrote many years ago to support touch-screen use. I need to allow a user to "touch/press/hold" a "PTT" (Push To Talk") talk-back button on...
View Articleadditional tab
Hi I have the below code which copies a tab called Mainstay Master. Creates a xls then sends to a particular mail group with an attachment. Where do I add the code if I want to copy another tab called...
View Articlexml encoding
I have written a program that creates an xml using the following code Code: Dim writer As New XmlTextWriter(SaveFile, System.Text.Encoding.UTF8) writer.WriteStartDocument(True)...
View Article[RESOLVED] Excel copy after probem
I have some code which opens a source workbook and assigns it to a wbSource object and opens a destination workbook and assigns it to a wbDest object. My aim is then to copy some of the sheets from the...
View ArticleCTD using CommonDialog
Hi All, I have a really strange problem occuring from code that used to work but will now only work in the IDE. Compiles fine but when I run the exe it will CTD before anything is displayed. No error...
View ArticleVS 2019 Help. Need to clear an array without removing it.
Long story short: I need to clear an array. Using "Erase" removes the entire variable as if it never existed. And redefining it after the "Erase" isn't an option b/c it's defined in a separate Module....
View ArticleCreate a variable number of folders
Hi everybody, Im trying to code the following: In a listbox I compile strings of text (Ive got this part covered), the number of strings created at a time may vary. I wish to use these various...
View ArticleVS 2017 Add ID# To Each New Entry in DataGridView
I have a datagridview and when I add a new member in this case, I would like to assign an incremental number to each assigned cell for the member ID# number per new member entry. so if cell number one...
View ArticleVS 2019 Failure to Update DataTables to Access Database with Primary Key
I read in an access database and populate data tables and adapters Code: PBcon.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data...
View ArticleLogging Errors In Realtime
I have my standard Error Log routine in almost all procedures. Depending on how the log call is set in a procedure it will generate: 1) Msg Only 2) Log Only 3) Msg and Log What I've found in realtime,...
View ArticleGitHub Project Issue
I pulled a collaborative project off of GitLab (essentially GitHub, but not as well known). The project is a ASP.NET project using Web Forms, but that may not be relevant to the question. The problem...
View ArticleVS 2019 StartupNextInstance not always firing
My app processes files and is called from the right-click context menu from Windows Explorer. The user selects one or more files, right-clicks on the selection, then picks my app from the context menu....
View ArticleMake Pallette from Picture
Makes a 16 x 16 color palette from a picture you load. DISCLAIMER: it may not catch all colors because of the way I take the samples. Maybe someone can come up with a better way . Otherwise it seems to...
View Article