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

'Too many fields defined.' Error

System.Data.OleDb.OleDbException: 'Too many fields defined.' I am getting this error when calling the Updateall method on my TableAdapter : Code: Me.Validate()...

View Article


Listing database names in a SQL Server instance

How would I list all or some (with a search string) of the database names in a specific SQL Server instance on my PC from VB6. Thanks PK

View Article


Ansi/Unicoding Encoding Issue

I've got a bit of an issue with reading a file correctly on NON English PC's. I've just changed my Regional settings to CHINESE. Viewing the file in HEX seems to be replacing some characters, as the...

View Article

VS 2008 Wait for x amount of time then play the next line.

Hello, I am using visual basic 2008 Express Edition, and I do not have access to any async code. I am also quite new to VB and I'm not that good. I was wondering if it was possible to create a slight...

View Article

Converting application from MS Access to SQLite database

I am working on converting one of my applications that uses an MS Access back-end database to an SQLite database. I have installed the “System.Data.SQLite” NuGet package and have successfully built a...

View Article


SELECT record from to dates

TIPO DAL AL MM AAAA NRGG 1-SINGOLA 23/08/2021 23/08/2021 8 2021 1 31-SUITE 20/02/2021 28/02/2021 2 2021 9 6-SINGOLA 03/05/2021 10/05/2021 5 2021 7 8-SINGOLA 20/02/2021 28/02/2021 2 2021 8 8-SINGOLA...

View Article

Security Question: MS SQL direct access using windows authentication

Note: My background is in web based solutions. This question is about the highest possible security for a user directly running an app with direct postgreSQL/MSSQL access. Lets say you have a windows...

View Article

[RESOLVED] Crystal Reports XI - not breaking to next report where it should

There's a lot of hits in google about CR and multiple parameters but I am having a specific issue I can't find help on. When we receive boxes of items from a vendor, we want to scan each item's serial...

View Article


[RESOLVED] PetaPoco: Operation could destabilize the runtime

At work, we use PetaPoco as our ORM and it works great when using strongly typed objects. However, I have a requirement to allow users (specifically just one user) enter their own queries to return an...

View Article


[RESOLVED] Forum is acting up again->

This may or may not have been reported already, but the forum is acting up. It's complaining about duplicate posts. (And I have decided it's my turn to complain over here.)

View Article

Starting a vb6 project from a class

Hi I found some code sometime ago and created a class to open a project and load a datagrid I am trying to create a new project with a similar startup but I cannot get it to work here is my original...

View Article

Could someone explain this reflective programming example?

On Wikipedia, I found this code in a long article concerning a type of programming called reflective programming: Code: // Without reflection Foo foo = new Foo(); foo.PrintHello(); // With reflection...

View Article

vbrichclient and Gif

Hello Olaf Hello everyone I have seen this post from Olaf where he could load gif files from a folder in App.Path. https://www.vbforums.com/showthread....=1#post5269997 I wonder if it is possible to...

View Article


VS 2012 Need help rewriting a jpg save

My code, very simpleminded, looks like this: Code: Dim bmp As Bitmap Dim bmpSave As Bitmap bmp = drawImage() ' function than returns a bitmap If something Then   bmpSave = ' type bitmap Else   bmpSave...

View Article

VS 2019 How to trace implicit method calls

I would like to better understand the event sequences behind the BindingSource buttons (Add New, Cancel, etc.). For example, when I click the "Add New" button, I would like to see the method calls that...

View Article


VS 2019 End Process Tree in vb.net?

Hi, I am poking around another app (opening it and manipulating it) I want to force kill the process in my app, but do not want to use Process.Kill on it as it appears to ask the app to terminated...

View Article

Visual Basic has stopped working. Why?

Recently, it is very often that when I am developing into one of my VB6 projects, and then run it to test the new changes, I suddenly get this error: https://i.imgur.com/6yd98aP.jpeg which shows for...

View Article


VS 2019 [VB.NET] Compare words in sound files by the vocal wave.

I found a video on youtube that detects the graphic of an audio so I thought of creating a comparison program and not recognition where I have two audios with the same word but with two sizes 0:03 and...

View Article

4.0 Generate QR code in Devexpress can't use lowercase ?

Can't use lowercase letters in Devexpress to generate QR codes? Or is there a library called that can generate lowercase uppercase QR codes with less error ?

View Article

How do I properly implement the C struct FILE in ASM?

My situation is as follows. My software is to be written in VB6, but it will need to load images with LibPNG. The problem with LibPNG is it uses CDECL calling convention, so that means I will need to...

View Article
Browsing all 15196 articles
Browse latest View live


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