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

[RESOLVED] Choosing a Server-less Database for a Desktop Application

I'm about to start coding a Windows Form application using Visual Studio 2019. The application will provide hobby collection management and a few other hobby related functions. Since it will be used...

View Article


Image may be NSFW.
Clik here to view.

How to Copy & Get binary data from Clipboard

Hi, I need to store binary data in the clipboard, and retrieve it later. Copy data work OK, but I cannot get it due to IDataObject::GetData returns DV_E_FORMATETC (Invalid FORMATETC structure) error....

View Article


Get and set - VS2022

is there an easier / simpler way to do get & set than :- Code:   Private _title As Label     Public Property Title() As Label         Get             Return _title         End Get         Set(ByVal...

View Article

VS 2019 ReportViewer and Microsoft PDF printing

I'm having trouble with margins when using the "Microsoft Print to PDF" printer to create a PDF document via the Microsoft ReportViewer. Even though I am setting the margins for my reports (see below),...

View Article

Get Audio Type: Get Image Type

Here are a couple of routines for finding the Audio and Image type. I don't claim they are exhaustive as they were written for my needs. I hope someone finds them useful. Code: Private Function...

View Article


translation from c#

I'm transalting a demo MVVM app from c# to vb.net, but I've an iusse at this line: c# Code: container = CompositionHost.Initialize(                 new AggregateCatalog(...

View Article

Modal forms

Hi, not asking for help coding here, just help with the train-of-thought that i am not grasping at the moment. In my app i have a form which is opening modally (.showdialog) However, i want certain...

View Article

Simple way for Crystal Report Code in Vb6

Dear All, I have a problem with Crystal Report 8.0 Code on VB6, please help me how to simple my code, this is my code : Quote: Private Sub cmdPrint_Click() If Text1.Text = "" Then MsgBox ("PO Number...

View Article


VS 2015 Connection of VB with Access

When I connect VB with MS Access, got this error: 'Microsoft.ACE.OLEDB.12.0' provider is not registered in the local machine. kindly guide new to here

View Article


VS 2017 Ballistic Chronograph using impact sound from microphone

Hello there. As the title tells you i‘m triying to make an application where i use the microphone input and use the peaks of the volume and calculate the time between the shot fired and the impact...

View Article

Image may be NSFW.
Clik here to view.

Publishing an application to use it in an other computer

hello guys, i'm trying to publish an application so i can use it in an other computer and i'm following the steps in this link: https://docs.microsoft.com/en-us/dot...ots=dotnet-5-0 The problem is that...

View Article

[RESOLVED] Error connecting to Jet database

Using this code: Public Class Form1 Private Sub cmdOpenDatabase_Click(sender As Object, e As EventArgs) Handles cmdOpenDatabase.Click Dim cn As New...

View Article

Why does this not work ?

Hi, I don't understand why this... Code: If txt > Nothing And Not txt.Contains("omit") Then ...produces a runtime error 'txt was Nothing'. I get around it by... Code:             If txt > Nothing...

View Article


VS 2019 small question , scrollbar

small question: how come in order to make when scr give me 0 at minimum and max 100, I have to put as minimum value-1 and as max value 99? why doesn't it accept the negative value of scr? if i want to...

View Article

VS 2008 Convert program from single socket connect to multi socket

Hi everyone, I have a small application that allows my main systems to talk to a web service I am having issues with the service running on windows XP (I keep getting a message saying it can not...

View Article


VS 2019 [RESOLVED] small question , scrollbar

small question: how come in order to make when scr give me 0 at minimum and max 100, I have to put as minimum value-1 and as max value 99? why doesn't it accept the negative value of scr? if i want to...

View Article

VS 2008 Convert program from single client connection to multi client connection

Hi everyone, I have a small application that allows my main systems to talk to a web service I am having issues with the service running on windows XP (I keep getting a message saying it can not...

View Article


VB6 to ThingSpeak

Has anyone written code to communicate with a ThingSpeak channel via VB6?

View Article

how to get play index about WindowsMediaPlayer Playlist

add 3 mp4 files to playlist,how to get current index,and when play 3 mp4 file done,how to play from file 1 first?

View Article

Image may be NSFW.
Clik here to view.

ListBox.ListIndex = -1 doesn't clear current item highlight if app uses...

I have a VB6 app with a form containing a ListBox control. The ListBox's Style property is set to 1, i.e. 'checkbox'. I add several items in the form's Load event and make them checked with a code like...

View Article
Browsing all 15536 articles
Browse latest View live


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