Data type conversion for a progress bar
I have a variant – varDuration. It looks like 00:03:21. (Don’t get hung up on the particular value. I can display this as 03:21, or maybe as 3:21. And yes, it does represent minutes and seconds. I need...
View ArticleDatagridview Column 0 keeps reappearing
This is for a winforms application within Visual Studio Is there a knack to keeping the ID column of a gridview hidden? I seem to have an issue whereby the first column (always the ID column) seems to...
View ArticlePayroll System Help
I'm hoping someone can help. I work with VS 2019 in VB, I'm making a simple payroll system and in stuck on the PAYE the calculations are as follow (it is calculated from your Monthly Salary * 12) 1 –...
View ArticleMsOf13 [Word] Excluding punctuation from tracked changes counts
Hi all, I have been working with the below macro for some time. The macro calculates the number of words inserted and deleted when using tracked changes. However, I've noticed that the count statistics...
View Article[RESOLVED] FilgraphManager
I am using the Filgraph Manager to .mp3 files. I can easily execute .run, .stop. However when I execute .pause, the pause works fine. When I try to resume, I get the resume overlaid with the start from...
View ArticleVS 2017 [Solved CODING BEGINNER] How can I show a images from listbox ?
Hello , i have a emergency! i look for a way to execute a image from a listbox taken randomly. i tried this: textbox1.test = random_number ' i managed to generate a random number picture1.image =...
View ArticleMath formulas from Excel VBA to VB6
I'm learning VB6.0. I know Excel VBA. This formula is what works in VBA. Can someone help get me started as to how to write this formula is VB6. =IF(N10 = "","",N9). Something simple to start with....
View ArticleSet excelApp = CreateObject("Excel.Application) no longer works!
As title. It used to work. Now the program hangs. I suspect a W10 update to block off a virus route might be to blame. Is there a workaround because I have been using quite a complex Vb6 app to copy...
View ArticleHow does VB6 indicate that a number is infinite or infinitesimal?
Many languages (such as C#, JS) have numerical infinity, for example: Code: 5.0 /0.0 = Infinity 0.0 / 0.0 = NaN (Not a Number) I'd like to know how VB6 indicates that a value(number) is infinity or...
View ArticleIDE behaving oddly. Last lines of code on one app not visible
The last few lines of one of my apps will not show, however I scroll, but printing the form code shows them up, and the app works. Any ideas :sick:?
View Article[RESOLVED] How does VB6 indicate that a number is infinite or infinitesimal?
Many languages (such as C#, JS) have numerical infinity, for example: Code: 5.0 /0.0 = Infinity 0.0 / 0.0 = NaN (Not a Number) I'd like to know how VB6 indicates that a value(number) is infinity or...
View ArticleEnumerate All Installed Fonts Using GDI+
I'm trying to convert this Microsoft Sample code to VB6 Not having much luck. Anyone done this? Code: FontFamily fontFamily(L"Arial"); Font    font(&fontFamily, 8, FontStyleRegular,...
View ArticleTrying to break out the contents of a Variant with no luck.
I am trying to debug some old VB6 code and in the process I would like to see what is being sent from one of the dll's via a variant that contains an array. Hope I am describing that correctly. I have...
View ArticleHourglass - again
Is there an issue running the following Code: Me.MousePointer = vbHourglass or Code: Me.MosePointer = vbDefault on Windows 10. I tried in a test program, when it didn't work in my real program. The...
View ArticleReinstalling GitHub Desktop
Hello, I had to reinstall Windows and all the programs. Anyone knows how to configure GitHub Desktop without having to add all the repositories that I have in a "GitHub" folder one by one? Or is there...
View ArticleVS 2015 cannot choose items in vs2015 after installing power packs 10
I have upgraded from an older version of visual studio after my pc crashed. I originally attempted vs2017 but could not get that to install properly and I need Power Packs 10. I stepped back to VS2015....
View Article[RESOLVED] Making a labelbox visible
On Win 10. I have a label box set to visible = false. In code, I set the labelbox visible to true Code: Me.lblBP.Visible = True If I step thru the program, the label becomes visible. Later in the code,...
View ArticleRefresh Form
Is there a way to Refresh your Form without using a Commandbutton? What I'd like to do if anything changes on my Form, I'd like for it to update automatically while I'm on that form. I've tried the...
View ArticleVS 2017 .NET Framework Backward Compatibility
I have an application that targets .NET Framework 4.5.2. Which versions of .NET Framework will be compatible? Is each subsequent version backward compatible?
View ArticleMove Multiple Items in McListbox V3.3 Methods not found
Hi Folks. I have been working with McListBox Version 3.3 (a fast custom Listbox made by Jim Jose many years ago from the old VB Planet Source Code Site). It has some nice features but unfortunately I...
View Article