Windows 11
Are any Vb6 users on here also using Windows 11? What is the experience? Will W11 run a) the IDE and b) VB6 apps?
View ArticleSunRise SunSet and Moon Phases
Let me first state: I did not write this code. I simply made two usercontrols with the code and later combined them together . So there is a little duplication here and there (messy I know) , but...
View ArticleVS 2019 Changing excel cell color using vb.net
hello guys i asked this question before but i just don't seem to find an answer can someone please tell me what i'm doing wrong in my code because even while i tried every methode on the internet no...
View Article[Resolved] Problem Initiating Parameterized Class in VBA - Syntax Problem?
Hey, guys. I am using classes for the first time in VBA and I can't initialize my classes properly. I have two classes as follows: (1) TestMonth Code: Private b_Included As Boolean Private db_Hours As...
View ArticleError Accessing system registry
Hi When i open Visual Basic Project i get Error Accessing System Registry. I am using Windows 10 Thanks
View ArticleExternal table is not in the expected format error ?
Dear All I am working on vb.net application and I have a code which does a certain job and it is working but sometimes it gives me this error with some excel files and it is working with other files,...
View ArticleSelect Statement/ Save Method
Hi, I have the following Save function, that works but the logic is not correct: Code: Private Sub Save() Dim conn As SqlConnection = GetDbConnection() Dim query As String Dim...
View ArticleVS 2019 Check and Set exe's to run as administrator
Is it possible to check and set an exe's "run as administrator" value (not my app exe, another exe) and if so, what should I be looking into. Get me started, please. I've Googled for a while but can...
View Article[RESOLVED] Select Case True
Is Select Case True considered an acceptable construct? Or should it be avoided?
View ArticleHow do I resize an image?
I have been looking all over and cannot find a way to resize and save an image from a picturebox the open file code is this Code: private void open1_Click(object sender, EventArgs e) {...
View ArticleASP and Hard Wired Cable Modems
DO cable modems process ASP internally, or do they first make a call to the server, and the server is the one actually responding? For example: 1) when I enter 192.168.100.1 when the modem is UP, I am...
View ArticleCan someone tell me about undocumented sections in VBP files?
These are sections (and lines within those sections) in VBP files that VB6 will act upon when loading a VBP file, but that VB6 will never actually generate from any possible conditions in the VB6 IDE...
View ArticleHow to change label based on day?
Hey guys. Sorry for my English. I'm new to VB.Net (and programming in general) and I'm making a simple program where I work with the help of the internet. I have a prominent Label at the top of this...
View ArticleHow to prevent the taskbar from changing color?
welcome How to prevent the taskbar from changing color?:confused: Attached Images
View ArticleDo we all have a Magnus Opus inside us?
I have a project that I once was inspired to create, it was the equivalent of an early version of World of Tanks and I started coding it back in the late 1980s. I created the backbone and structures...
View ArticleDataGrid Refresh
Afternoon, I have 2 data grid views that have info read from a SQL DB What I am trying to achieve is that records added to the SQL DB show in the data grid view when updated. I am trying to do this by...
View Articlefind the elements that are not in both objects vb.net
Hello guys, im trying to loop over two collumns in two worksheets if an element is in both columns i sort it in a datagrid otherwise, if it's only in one (in the worksheet ws1) and it doesn't existe in...
View ArticleDistrition of a vb 2019 applicazione
In VB 2019 i created a little application using Add Windows Form. To read an external text file I had to say the path where it was, for example "c:\users\myname\desktop\text.txt". So far no problem. It...
View ArticleCommand buttons from upgrade and newly added in Visual Studio 2019 are different
There is a difference in appearance of the new command buttons that have been added in Visual Studio from the upgraded ones from VB6. What is the best way to make all of them look similar?
View ArticleVS 2019 Need help converting VBA to VB.Net
I need some help to convert some VBA code to VB.Net code. Here is the VBA code... Code: Function DescribeIndexField(tdf As DAO.TableDef, strField As String) As String 'Purpose: Indicate if the field...
View Article