I am running VB6 on a Windows 10 64-bit computer without any problems - yet.
Fixed that for you.
You actually sound quite proud that you are still coding in an obsolete language that is no longer supported, that has to be run on an artificial platform within a platform, and cannot utilise modern architectures and tools. Not sure that I would want that noted on my CV
We can use API to communicate two different applications.
I have one major doubt, that I am having my VB6.0 application need to integrate with third party webbased application.
Is this possible to use API keys through vb6.0 code to link with third party API?
This has nothing to do with the language being used. Yes, you can use the API keys, but it's your code and/or library that communicates with the API that's going to use the keys.
But, WHY ON EARTH ARE YOU USING VB6? It's been dead for 20 years now. New development in VB6 is a complete waste of time. You're going to end up rewriting this app sooner than you think. VB6 runtime support will end with the end of support for Windows 11. Support for the 22H2 version of Windows 11 will end in October 2025, just under 3 years from now.
Don't worry too much about people telling you that VB6 is outdated, dead, or both. There are millions and millions and millions lines of VB6 code out there, keeping companies running and being profitable. And if you have VB6 skills, you definitely have employment and earnings opportunities for many years to come. I should know: I am quickly approaching my 70th birthday, I am retired, and still bring home quite a bit of bacon by free-lancing, carefully selecting what I want from a ridiculous number of offers/requests.
Oh... when someone tells you that VB6 is outdated, dead, or both... just remind them of COBOL...
And to come back to your question: yes, VB6 can be used to interact with many API. Depending on the API, you will use different tools and/or techniques. Sometimes it will be more difficult than using other, more modern languages. In other cases, strangely, it will be easier. Go figure.
This just goes to prove the point that VB6 applications should be retired and rewritten into a more modern language. You have a limited future as a viable developer and you are able to be very picky about which jobs you take on. While there may be millions of productive lines of code out there finding a young developer to support it is a challenge.
Encouraging anyone to continue with VB6 is doing them a disservice.
Never underestimate the power of human stupidity -
I'm old. I know stuff - JSOP
The useful life of a "typical" program is 5 years; obviously, you (and I) don't believe in typical.
(I'm not one of the respected ones).
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
Hello good people. Please I'm using Vb.net 2019 and I have a setup project in the solution explorer which I have packaged and installed on other machines and it works fine.
About some fews weeks later, I realised the setup project was mysteriously unavailable and I tried to repackage using Add new Project. In the add a new Project window, I searched for setup in the template but nothing was found. I came to the main project and clicked on Extensions and found that Microsoft Visual Studio Installer Projects was still installed and ticked. I'm stuck and don't know what to do now. Please I need your urgent help. Thanks
Option Explicit On
Imports Excel = Microsoft.Office.Interop.Excel
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim xlApp As Application
Dim xlWorkBook As Excel.WorkBook
Dim xlSheet As Excel.WorkSheet
xlApp = CreateObject("Application Excel")
xlWorkBook = xlApp.xlWorkSheets
xlSheet = xlWorkBook.Sheets("Données principales")