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

What Datagrid control supports DAO objects?

Code: Public db As Database Public rs As Recordset Private Sub Form_Load()       Set db = OpenDatabase(App.Path & "\DB1.mdb")     Set rs = db.OpenRecordset(" select * from [UserList]")...

View Article


HOW TO change MSFlexGrid,datagrid Control BackColorBkg by vb6?not cell backcolor

I use the datagrid control to browse the query content, but the gray background of the datagrid is not very good. Can you change the color to other colors? Do you need to use the api function?...

View Article


Refresh record on datagridview

Hi, I have a datagridview called - DgTenantsDetails On form load it is populated with data from a bindingsource, Cells include Code: Firstname Lastname NationalID Now, when a user clicks one of the...

View Article

NFC RFID Reader problem

Hi, I'm trying to get a NFC RFID Reader working, but I can't seem to get any information on it. The device itself is just a little black box with a white circle in the middle with the letters NFC and...

View Article

Image may be NSFW.
Clik here to view.

VB6 Capture Pixel from Screen

Gets the pixel color from desktop. Can keep up to 5 colors per session. I find it very helpful when creating graphics for my apps. Give it a try. Enjoy. (please no comments on this or the world will...

View Article


SQL - Basic math issue

The numbers are what are in the table columns. I cannot figure out why it is returning zero. SQL Server 2014 select convert(decimal(16,6), (6250 - 3104820) / 3104820) * (53 / 100 )

View Article

VS 2015 Convert text box to integer

I am trying to compare 2 text fields that contain only numbers. When the try to compare the bypass the code. I tried the convert.toint32 but it gave me an error. I tried the CInt but it also gave me an...

View Article

VS 2019 textfileparser not working as expected - vb.net 4.6 - vs 2019 - mysql

Everything was working fine - now I am getting a SQL Syntax error. The textfileparser is passing the entire line, but not in double quotes, in single quotes which causes a problem as the Customer...

View Article


webbrowser youtube UPGRADE YOUR BROWSER WHEN I TRY LOGIN

So is there a way now since youtube updated there platform. any webbrowser control that is working i can add in vb.net to login to youtube ?

View Article


[RESOLVED] DateTime or 10 digits timestamp to 18 digits timestamp

Hello guys sorry I cannot find a solution to get DateTime and convert it to 18 digits timestamp or convert 10 digits to 18 digits timestamp.

View Article

1 billion times for test Mod, a variety of programming languages running speed

Don't publish topics that are not related to the test. It is just used to simply test the algorithm of different programming languages for the remainder function, and compare the performance. Not for...

View Article

Image may be NSFW.
Clik here to view.

Nested Classed

Hi Guys, I'm currently working on a media database used to store information about my music collection. I've prototyped the database in Access and have upsized it to SQL Server. I'm currently in the...

View Article

VS 2017 copy a specific item from listbox a textbox

Hello! I have a Real problem! I would like do this:(retrieve the text) Textbox4.text= listbox1.items(1) But it dont work ?!! I looked for in the web a way but i failed every time! So i Ask here some...

View Article


[RESOLVED] Datagridview Header

Hi, On my datagridview cellmouseclick event I have this code: Code: Index = e.RowIndex         Dim selectedRow As DataGridViewRow         selectedRow = DgTenantDetails.Rows(index) Now, at runtime when...

View Article

datetimepicker value is always true

Hi, I've made a datetimepicker with a checkbox in it. Datetimepicker is intended as a filter - the user enters the date and gets filtered the data for that date. dtp is without binding. The problem is...

View Article


Image may be NSFW.
Clik here to view.

VB6 Project Folder Creator

This will create and add a project folder with selected sub folders(Usercontrol,Classes,Modules,etc). Attached Images   Attached Files Project Folder Maker.zip (3.1 KB)

View Article

vb script to open file and execute query in excel

In the below open file.xlsx, let the odbc query execute, save, and close. The code does execute but there will always only be one file.xlsx and a loop is currently running on a directory, that I can...

View Article


How soon may I have to give up VB.net (and VB6)?

Sorry if this is not a relevant question, but a serious issue for me. I would like some advice from people who have worked with programming for a long time. 1, I have a fair amount of engineering...

View Article

Image Empty

Hi, I have the following code that works fine, but ONLY fails when no image is uploaded to PictureBox1 Code: Dim command As New SqlCommand("INSERT INTO dbo.tbllandlords (firstName, lastName,...

View Article

Copy Protection Ideas

Hello, I'm looking for ideas as to how to implement a copy-protect scheme for a VB6 app. My only experience so far, is having to enter some multi-digit activation codes when I install new software...

View Article
Browsing all 15067 articles
Browse latest View live


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