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

[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

MS Access Replace in query Update

There is a usefull internal Replace in MS Access to be used in queries : Update Table1 Update Field1=Replace (Field1, 'Test', 'New') But of course this can't be called from ADO (or DAO) from VB6 I...

View Article


Question about Windows 10 e-mail notifications and Outlook->

Whenever I get an e-mail in my Hotmail account a notification appears in Windows 10. When I click on the e-mail some kind of e-mail program that apparently came pre-packaged with Windows 10 running...

View Article

[RESOLVED] SQLite equivalent for OleDb.OleDbRowUpdatedEventArgs

I have used the following to retrieve the AUTONUMBER value when adding rows (MS Access database): Code: Sub Row_Updated(ByVal sender As Object, ByVal e As OleDb.OleDbRowUpdatedEventArgs)     Dim...

View Article


Welcome to Amazon Sidewalk

I just heard about this for the first time yesterday... Welcome to Amazon Sidewalk https://www.amazon.com/gp/help/custo...NXWQKZEG9MDRAM Amazon's Sidewalk Network Is Turned On by Default. Here's How to...

View Article

Happy Birthday, Visual Basic

Visual Basic is 30 years old ! https://twitter.com/WindowsDocs/stat...88853519802370 Happy Birthday :wave::wave::wave: :D

View Article


WPF CRUD Example Using Entity Framework, MVVM Pattern and DataGrid Control In C#

Hello, This blog post WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET walks you through on how to build a WPF CRUD (Create/Update/Delete) project using the DataGrid...

View Article

Looking inside a textbox if nothing

Hello everybody, I have a program that check for different "code" inside a textbox, if the user enter a know code, well a checkbox on the form become true. Also, if the user make a error and enter a...

View Article

VS 2012 Help with Registry at startup

Hi! Quick question, I'm trying to set a reg key for Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run but i keep getting an error message saying access is denied. I read...

View Article
Browsing all 15578 articles
Browse latest View live


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