Quantcast
Channel: VBForums
Browsing all 15661 articles
Browse latest View live

vb6: how use an user type parameter on a class function\sub?

Code: Private Type POINTL     X As Long     Y As Long End Type Friend Sub DrawImage(DestinationHDC As Long, ByRef Position As POINTL)     GdipDrawImage hGraphics, hBitmap, Position.X, Position.Y End...

View Article


VB6: GDIPLUS - how change pixels colors on a faster way

using GDIPLUS, how can i change the pixel colors(or swap colors) on a faster way?

View Article


[RESOLVED] Help with passing argument to function

I have a function that needs to be run for three different array of controls. Can I pass the control name to the function for each array? If so how? Thanks

View Article

VS 2017 Combo Box Number from Query

So i have a database with 2 rows code,name lets say its like code / name 1 / john 2 / george i use this query to bring them in my combo box . Code: strConnection = String.Format("Provider=SQLOLEDB;Data...

View Article

Recreating VB6 Dll

Our company creates new technologies for some very old equipment. I have been tasked with recreating a VB6 .exe dll. I have managed to get the entry points identified and I can call the new dll from...

View Article


Image may be NSFW.
Clik here to view.

Containers Not Growing in AutoSize

I have a GroupBox that has a TableLayoutPanel docked to fill in it. In the TableLayoutPanel I have several panels docked to fill that contain a Label and one other control. The GroupBox,...

View Article

Image may be NSFW.
Clik here to view.

VS 2017 [RESOLVED] How do I get rid of Transparent Textboxes

One of my students ran into a problem. All his textboxes are transparent. It is not showing the form, but rather what is underneath the form (either the desktop, or any open application). Everything I...

View Article

Is it possible to connect SQLServer via internet without opening port like...

Is it possible to connect SQL Server via internet without opening port like teamview software ? When installing the software to connect SQL database over the internet, I have to declare to open the...

View Article


[RESOLVED] Var access in anonymous functions

can someone explain to me how access to vars in anonymous functions is handled? having the following: Code:     Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load         Dim btn...

View Article


Image may be NSFW.
Clik here to view.

How do i change this using an external visual basic app that i wrote

Hello here I am again, now I need to know how to change the XHTML property which is called: swFrame to being set using a VB Button in an App that using my HTML Document as a Resource. Then for instance...

View Article

VS 2019 [RESOLVED] Concurrency violation: the DeleteCommand affected 0 of the...

Hi, I've searched over tens of threads about this common error but I can't find out where the error is in my code. I have a datagridview with a bindingsource and the data are stored in an access...

View Article

i have an excel file with table of values. I need to find all cells with name...

i have an excel file with table of values. I need to find all cells with name and lower marks in row and other rows with the same name and higher marks must be removed. Can i use bulid in excel vba or...

View Article

VS 2013 Modification de compression d'un JPEG affiché en PictureBox

Bonjour, J'ai un petit problème "pratique" que je n'arrive pas à résoudre (malgré mes recherches sur le net). Pour simplifier: J'affiche une image dans une PictureBox et cherche à modifier son taux de...

View Article


conditional formatting of textbox font on a form

Hi, Hope you are safe and well :) I have a form which contains number of textboxes, among which 32 are populated by data grid values, which is turn is populated by a sql query. All this works fine,...

View Article

[RESOLVED] Overload error

Getting an overload resolution failed Quote: Overload resolution failed because no accessible 'Fill' can be called with these arguments: 'Public Overrides Function Fill(dataSet As DataSet) As Integer':...

View Article


VS 2010 2 diff blob format reading error

Dear All., I want to read a column which has 2 blob format in the below code Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         If...

View Article

VS 2010 Visual Studio Express 2010 ISO download, archived on the Wayback Machine

Just posting this link to the Wayback Machine's copy of Visual Studio Express 2010's ISO from the Microsoft download page which has been deleted years ago. It's just for those who can only run this...

View Article


ACCESS - PK=DateTime - Query Fails With Dates Starting 1897

Please Ignore this thread. Error was a result of typo in field name. My apologizes.

View Article

Here's how to play an Integer array as sound.

This code should be added to a module, and then called from wherever you need it. It plays 16bit audio from any one-dimensional Integer array with an LBound of 0. Code: Private Declare Function...

View Article

[RESOLVED] ACCESS - PK=DateTime - Query Fails With Dates Starting 1897

Please Ignore this thread. Error was a result of typo in field name. My apologizes.

View Article
Browsing all 15661 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>