How 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 ArticleFetch Azure Time Series Insight Gen2 Data
Hi Guys, So right now I am using ReactJs + Redux, and Azure TSI is serving as my database. I would like to know, does anyone know how I can get the data from Azure TSI, something like just get the data...
View ArticleLAST blank cell
I need to retun in ULTIMA (Dim as Long), the last blank cell in column B of FOGLiO1... i use: Code: Sub latebinding(NOMEFILE) Set XLAPP = CreateObject("Excel.Application") Set XLWB =...
View ArticleVS 2019 Printing form on 8 1/2 x 11 paper
I found this code somewhere in my google search and it works very nicely. Code: Private Sub btnPrintForm_Click(sender As Object, e As EventArgs) Handles btnPrintForm.Click 'Print Form Fit to...
View ArticleWhat's wrong with this oop program.
Hi guys, I wanted to write a class about integers but I can't seem to get to think in oop. I think I'm just writing procedural code but the only difference is that I drop the functions in a class. The...
View ArticleQuerying an image control for the IPicture Interface
Hi, Can anybody tell me what I am doing wrong , The following code is supposed to give me pointer to the IPicture interface from an Image control in my userform but fails ... BTW, i am using the low...
View ArticleVS 2017 [RESOLVED] Sorting Numbers in Textbox
how can i sort the numbers by acending Attached Images
View ArticleBind Cdecl Api To vb6 Function(stdcall),support run in IDE
'bind cdecl api to vb6 function FixCdecl AddressOf VB_Add, CdeclApi, 2 c = VB_Add(a, b) FORM1 CODE: Code: Dim h As Long Dim CdeclApi_Add As Long Private Sub Command1_Click() If CdeclApi_Add = 0 Then...
View Article[RESOLVED] Watch recursive folders for changes
Hey all my effort went into using shell32 to notify me of changes to a folder and it's sub directories and though I can say it works it also seem that it picks up other events on the shell. How can I...
View ArticleFuel Consumption Meter via Serial Port
Hi, I am trying to create a program in Visual Basic wherein the data is coming from Arduino via Serial port. A program for a fuel consumption meter (gravimetric method) that I am doing. The idea of the...
View ArticleUsing HTML how can I make a Modal Form Visible and also fill current Browser...
Dear VBFormers, I wish to pick your brains for something i require??? Hello I am writing this Thread to be able to use the HTML document to run an EXE and make it in a Modal Form in the Browser Window....
View ArticleHow to overcome exception handling in Java ?
How to overcome exception handling in Java ?
View ArticleSQL - Selecting non-null value of a column when sequence number is max
Hi I have a challenge where I need to know the value of a column but only when there is a non-null value in it and also the nun-null record is the latest sequentially for that specific column. So, I...
View ArticleHow to handle two or more sub routines at a time
Hello there, I am having some problems to handle/run two Subfunctions at a time. Any help would be highly appreciated. This is my PictureBox click event: Code: Sub PbFSGClick(sender As Object, e As...
View Article