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

Image may be NSFW.
Clik here to view.

MsOf13 Copy the Data one by one till the cell is empty

Hello Everyone, I have an Workbook with some data. in that i need to copy some data by manually to another sheet to run another VBA. now i'm looking for if i get the data from sheet 2 by automatically,...

View Article


Syntaxe sql - multi table

Hi all, I'm searching the SQL syntax en VB.BET to add data in 3 different tables. I'm using a MySQL data base Someone can help me to find an example? All i' find it's just to add in one table. Thanks

View Article


[RESOLVED] VB6 IDE crash when opening a project - either new or existing

Help! I went away for a couple of weeks for Thanksgiving vacation. Computer was off that whole time. Today is my first day running VB6 since then. When I try to open a project - either new or existing...

View Article

Syste,io.FileInfo on netwrok PC's work only when logged in.

Hello. I'm using FileInfo to determine if a file exists on a network PC and then delete it. I'm running the app from the desktop of the main server that has full permissions. The FileInfo only works...

View Article

ADODB Recordset not populating

Ok, this is driving me crazy because it works elsewhere! rs.count not even happening and prefsuppliername returning nothing. Code:     Private Function M1_LookupPrefSupplierName(_pn As String) As...

View Article


GDIPlus: how create a memory DC for Graphics?

how can i create a memory DC for Graphics? Code: Public Sub Class_Initialize()     GDIsi.GdiplusVersion = 1&     GdiplusStartup gToken, GDIsi     'hDC = CreateCompatibleDC(GetDC(0))...

View Article

Image may be NSFW.
Clik here to view.

How do i copy the contents of 1 textbox in 1 frm to another textbox in a...

Sorry about the title, couldn't fit it all in. The user will log in to their account, and whatever is in 'Enw Defnyddwyr', I want to then be automatically added to the form 'Dewis Dyddiad' in the text...

View Article

VB6 IDE crashing when placing a UserControl on a form

Hi, Bit of a strange one. Recently installed VB6 + SP6 onto my Windows 10 box. No problems launching IDE, navigating, compiling and running simple projects. However, I found that as soon as I try to...

View Article


Over 600 viewing VB6 Forum

I keep one eye on the number of members viewing the VB6 forum vs the VB.NET forum (Trust me, it is not because of me loving VB.NET) Usually there is say a 160'ish for VB.NET and a bit less for VB6...

View Article


[RESOLVED] Syste,io.FileInfo on netwrok PC's work only when logged in.

Hello. I'm using FileInfo to determine if a file exists on a network PC and then delete it. I'm running the app from the desktop of the main server that has full permissions. The FileInfo only works...

View Article

how to remove cell value in the cell offset if the cell repeated again?

I want to make a loop in range to zero the offset cell if the cell data is repeated next As Below: Col A Col B T10 - 5 T20 - 10 T10 - 15 You see I have T10 Repeated maybe after one or many rows, What I...

View Article

Image may be NSFW.
Clik here to view.

Property Bag alternative - Data Bag

Property Bag alternative - Data Bag Class This is an alternative to Property Bag class. It supports all variable types except vbObject, vbDataObject and vbUserDefinedType. (For the vbVariant , it now...

View Article

Visual Basic StreamReader - Importing a csv file into an array

Hi all I have a set of data in csv format, numbers only. It is 2 columns x 111 (varying length) array. It will always be 2 columns. I am struggling to get the data into an array to manipulate it...

View Article


ASP.NET MVC Bind Or Populate jsTree From SQL Server Database

Hello, This ASP.NET MVC article demonstrates on how to populate the jsTree.js from SQL Server database using employee supervisor/manager hierarchy concept. The database used for the app is...

View Article

Sql Fails when trying to view tablessin 2019 version

Hi. I'm on MSSQL 2012 and I'm trying to view an mssql database with this version :Microsoft SQL Server 2019 (RTM-GDR) (KB4517790) - 15.0.2070.41 (X64) The problem I have is that when I try to edit rows...

View Article


Image may be NSFW.
Clik here to view.

sqlite3 Cannot compile statement. File is not a database

Hello I'm using SQLite3 and VbrichClient platform. I'm using a password for the database. There are about 200 users who are using my application for about two years. So far 3 users have reported this...

View Article

Image may be NSFW.
Clik here to view.

Strange Chart Printing

Hello All, Found this in the forum as a way to print a chart (MSChart) by copying the image to the clipboard and then printing the image. Code:     MSChart1.EditCopy        Printer.PaintPicture...

View Article


Atualizar tabela com loop em grid com cálculos

Vamos lá.. Tenho um projeto de aluguel de equipamento, ontem possuo todos os equipamentos que tenho na empresa e tambem o que tenho alugado Exemplo: (tabela: Aluguel_Cadastro_Equipamento) Descrição...

View Article

Image may be NSFW.
Clik here to view.

Constructing SELECT statement based on user selected options

I'm having trouble constructing some SELECT statements based on options selected by user at runtime. More to the point how the AND's and OR's must work. The search criteria will be based on the...

View Article

Calling SignalHound dll

Hi All, I'm trying to call the Signal Hound DLL (bb_api.dll) from Excel VBA to control a USB spectrum analyser. https://signalhound.com/software/sig...pment-kit-sdk/ I have read many webpages but not...

View Article
Browsing all 15038 articles
Browse latest View live