VB.Net WebBrowser an Ajax
Hi there, i am pretty new to VB and have the following problem: My Application (.net framework 4.7.2) displays a form which displays a Webbrowser Component, displaying a Website without error. Problem...
View ArticleVisual Studio 2017 How to create a individual setup grouping 3 applications .net
Hello, How is it possible to create only one setup.exe file which regroups 3 applications vbnet? I know how to do this for a separate application, via publish. Here I have an application AppA which...
View ArticleVB2019 Need help : MIDIOUTGETDEVCAPS API returns 0 error but does not work.
Hello. I have been a long time without programming for Midi instruments. And now I can't find what is wrong in my code. The API MidiOutGetDevCaps returns no error but do not fill the structure which...
View ArticleTwo deployment issues
Hello, I am using Inno Setup to deploy my application and I am facing two problems with VB.Net application 1. My app in using Access and System.Data.OleDb to deal with the data. Many users are...
View ArticleVS 2017 VB .NET BC30002 VB.NET Type is not defined
I had this working in the past but something must have changed. This could be related to a circular dependency, but I resolved that by pointing to the built DLL. Visual Studio 2017 Error I am getting:...
View ArticleVS 2015 [RESOLVED] Dock panel above menustrip
Hello all, I want to create a borderless form (FormBorderStyle - None) and add a Panel (title bar)and a MenuStrip. But I want to have the Panel above the MenuStrip. Reason is that I want to be able to...
View ArticleSuggestions on WMI
Hi. I'm using WMI to get remote processes on computers. No, I can't use process class, search yesterday posts if you have questions. So What I do is create the management class and then get the...
View ArticleVS 2019 Unable to cast COM object, MSWord
Just trying to sort an early binding issue with MSWord, created from a Winform. Code works as expected on Client machine but not on dev machine. It works fine if late binding Error: Code: An unhandled...
View ArticleCall Cdecl by VB Function why Stack was trashed by 4 bytes?
Call Cdecl by VB Function why Stack was trashed by 4 bytes? Code: Function VB_CdeclAPI_Sum(ByVal a As Long, ByVal b As Long) As Long MsgBox 1 MsgBox 2 MsgBox 2 MsgBox 2 MsgBox 2 End Function Sub...
View ArticleHow can I create an executable app within an app
I'm not even sure where to start, and I've searched all over but cannot find anything regarding this. I can easily create a .bat file but I would like to create a exe file with attributes that someone...
View ArticleToo much records
Hello, I am doing an program that read from a table in a database. That table has 25 rows and when i execute the program prints to display thousands of rows. Why i caught this error and how i solve it?...
View ArticleQuery db
How i select the sum of each row by quantity and group by cod? id cod quantity 1 pinco 4 2 panco 3 3 panco 9 i want from that query: pinco sum is 4 panco sum is 13
View ArticleHow i insert rows in a table
This insert not insert nothing why? Set rdoQry.ActiveConnection = cnMySql Set rdoRS = rdoQry.OpenResultset(rdOpenKeyset, rdConcurRowVer) Do Until rdoRS.EOF insertQry.SQL = "INSERT INTO magazzino_media...
View ArticleProgram .exe wont run
the program above run on ide but not when it is exe, how i solve this? the code: Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) Private Sub Form_Load() Dim cnMySql As New...
View ArticleStrange character set in vb6 program
In a program of mine I use labels with Greek words, to describe various things. The charecter set I 'm using is Arial. Strangely these have been changed to @Malgun Gothic. I don't know how. Maybe...
View ArticleConnector ODBC Wizard
why when i lunch the program it required me the user and the password, that i already set i n the code above: Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) Private Sub...
View ArticleRowHeight in MsFlexGrid
How can you adjust the height (rowheight) of a MSFLEXGRID cell based on the size or length of a text? In all the ways I've tried some of the text sometimes doesn't appear.
View ArticleCreate a Database Programmatically and
I am learning VB2019 Student edition and it is the very first time that I interact with the VB2019 code. The project to do is to Create a Database and a table programmatically separately. One program...
View ArticleMaintainScrollPositionOnPostback problem
VB.net newbie here. I have an older .NET 2.0 application that I am upgrading to .NET 4.0. The application has a few drop-down lists with AutoPostBack = true. Now, in the 4.0 version, when you select an...
View Article