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

Connect to a remote MS Access database in vb6

Hi I have below connection to save data on Local Computer .How to Connect to a remote MS Access database in vb6 cnn1.Provider = "Microsoft.Jet.OLEDB.4.0;" cnn1.Properties("Jet OLEDB:Database Password")...

View Article


Separate data coming from Serial Port

Hi, what is the best way wherein I can separate the incoming data from the Serial port? The serial port (from Arduino) will throw data to VB in a form something like this: 2.00 26.7 67.8 If I just put...

View Article


Error 76 Path not found : which path ?

Hello, on this code I have an error 76 on line 15360 Code: Private Sub Form_Load() 14590    On Error GoTo Form_Load_Error ... 15360 If Myver <> G_TempVer Then DownloadTemplates <== Error 76...

View Article

Image may be NSFW.
Clik here to view.

VBA in Excel 2016 - Update graphs then copy sheets

Just wondering if anyone can help need to automate an excel sheet which will run a macro to update then copy the sheet to end have manually done but don't even know where to start automating it...

View Article

How to use highlight code VB6 and diff

How to get VB6 code or a diff to have proper colors (highlight) in this forum? [HIGHLIGHT=vb] doesn't seem to work. vb Code: Private Sub Form_Load()     Dim foo As bar     Dim arr() As Long     ReDim...

View Article


Image may be NSFW.
Clik here to view.

RC5 convert demo 6 Spline-Interaction to reg-free

Hey I am trying to learn how to code and deploy a project using RC5 reg-free, and to do this I am converting CairoTutorial > 6 Spline-Interaction. I read through this post from 2014:...

View Article

VS 2019 Zero value problem in datagridview

I've gat a datagridview bound to a datatable and I want to show Max and Min values. The code I have is working and showing the proper decimal Max and Min value in a textbox. The problem I have is when...

View Article

Drag and Drop sub directory to a Listview. Root folder is included with the drop

When I try to copy a folder to a list view, all other root folders are included in thet drop. I only want the sub-folder I dragged, not all the other folders in the path. Here's my code... Code:...

View Article


Image may be NSFW.
Clik here to view.

Need help to create this control (some sort of 'node' cell)

Hello everyone! I am not new to this forum, but I have lost my old account ... So: Greetings to all again !! My current problem is the following: I'm trying to create some sort of control that I can...

View Article


Image may be NSFW.
Clik here to view.

Freehand drawing with GDI+

Illustrates how to perform freehand drawing within a GDI+ path. I needed this capability in an application some time ago but was only able to find one example which used GDI+, but it was done there by...

View Article

Image may be NSFW.
Clik here to view.

Path Rotation with GDI+

Illustrates how to rotate a GDI+ path around a center axis. Uses a simple transformation matrix. Useful for certain drawing applications. I originally wrote this for use with certain elements of a...

View Article

What color is a table Header?

Given a table in Excel, how do I determine what the color of the header is? What I'm trying to do is if a row in table2 = a row in table1, color table2's row the color of table1's header.

View Article

Image may be NSFW.
Clik here to view.

(VB6) Compare two controls interfaces

And tell the differences. This project is related to the other one: Replicate control interface or encapsulate control into UserControl. Attached Images    Attached Files...

View Article


VS 2017 Lining up columns to print

I'm trying to create a string that lines up the tab that I can sent to PrintDialog1.Document = PrintDocument1. Sample of my string Description Price Abzorb Vitamin & Nutrient Optimizer - 150...

View Article

Image may be NSFW.
Clik here to view.

Updating Excel Spreadsheet Issue

tl;dr: I'm trying to export data from certain Label.Captions into a spreadsheet by finding the next blank row/column and inputting the data automatically. Hello all! I'm new to the forum and super...

View Article


[RESOLVED] Request 64 bits NorthWind.mdb

Is there 64 bits NorthWind.mdb available? I don't have 64 bits Access installed.

View Article

Text from dll

Hi all. It is possible, to read text (label text maybe) from dll. So i have a Main program, what is read "texts" from .dll. I tryed so: dll file: Code: Public Class dll_text     Public x_user As New...

View Article


open excel and add values to cells

Hi This is my first time posting. I'm new to VB. Been using VBA for a while quite successfully. Done some programming in Java 10 years ago. Thought I'd have ago at VB using the latest Visual Studio...

View Article

Time Slicing

Time Slicing in operating system is defined as the period of time for which a process is allowed to run in a preemptive multi-tasking system. The scheduler is run once every time slice to choose the...

View Article

VBscript save PDF-file

Hello, I'm looking for some kind of script that automatically saves a PDF-file when printing. Example: I open a PDF-file in my browser. I print this file and then automatically the script saves the...

View Article
Browsing all 15543 articles
Browse latest View live


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