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

Having multiple memory databases using vbRichClient5 Sqlite

I use vbRichClient5 for Sqlite. Let's say we have multiple memory databases. For example three memory databases in one Sub, another memory database in another Sub and a global memory database declared...

View Article


VS 2017 Application Freezing Randomly

I have an application that is freezing periodically and randomly in the same process with one particular deployment. There is no exception thrown. The application simply freezes and becomes...

View Article


How to fill empty datagridview cells (bound) with a text vb.net

Hello, I have a specific column in a bound datagridview that I need to check if there are blank cells and if there are, these blank cells will be filled with the text "EMPTY". Any ideas?

View Article

Bound Datagridview To Accept Multiple Data Types in a single column

Hello, is there a way to make a single column in a bound datagridview accept multiple data types? I have a "MValue" column that can have either integers or text or both. My source file is an Excel...

View Article

Drag & Drop uwp app to winforms for AUIMD

I am trying to "Drag & Drop" icons from the Start Menu in windows 10 to get it's Target; Naturally this works with .lnk but when dealing with a UWP . FileName, FileNameW and FileDrop is always...

View Article


VB6 to VBA

Do people mind if I have a discussion here about the LongPtr stuff? I'm converting a few procedures from VB6 to VBA, and a few of them make API calls. I need for this stuff to run on both VBA 32-bit...

View Article

Identifying last word displayed in fixed label

Hello, Let say I have a variable called TempText, containing a text of 300 words. I have two labels, Label1 and Label2, fixed size (Autosize = False). Let say I do Label1.Text = TempText. The label...

View Article

VS 2017 Load Multiline Text File Into DataGridView

if I have text to load into a datagridview control, how would I load something like this into it from a text file? Entry1: Entry 1 Data Entry2: Entry 2 Data Entry3: Entry 3 Data Entry4: Entry 4 Data...

View Article


VS 2017 [RESOLVED] Textbox To Display 10 Digit Phone Number Questions

I need to Check a Textbox that is used for the users Phone Number and I need to check 2 things: 1: That is is 10 Digits 2: That is is Numerical Characters Only also how can I make the textbox display...

View Article


VS 2017 [RESOLVED] How To Place Cursor At The Begining Of A Masked Text Box...

when using a masked text box how can I make it so that when a user initially clicks on the empty text control that it automatically places the cursor at the beginning of the empty text box?

View Article

VS 2017 Check If Masked TextBox is Empty

I was using this code below with a regular textbox to check if it was empty and was working fine but now I have updated the regular textbox to a maskedtextbox since it was the better choice for this...

View Article

VS 2013 Averaging serial data: how to do it properly?

Hi guys, I've been trying to produce a smoother graph from my COM port serial data, but I am probably not doing it right. Here's the code: Code: If Me.InvokeRequired Then             Me.Invoke(New...

View Article

How to diagnose a crash - apparent incorrect asynchronous behavior?

Hi ... this may be a bit general, I'm afraid, but I'm struggling to work out how best to describe what the problem is! We have an app which from time to time hangs. We are tabbing into a text box and...

View Article


how to get webpage data without IE8

i not clearly, still use (windows7) vb6(sp6) + ie8 (webbrowser control), to get that webpage data. but if that website not support ie8 and root cert, only accept Firefox, is it possible to get webpage...

View Article

[RESOLVED] SQL Select and resolve bitmask values

I have a column in my table called MonitoredBy and it's a bitmask of 3 possible values. This is how I am working with it in C#: Code:         enum SystemDataMonitoredBy         {             None = 0,...

View Article


Image may be NSFW.
Clik here to view.

Vb6 compiler an OCX

Hi people, When we are compiling an OCX created in visual basic, what is the diferrence between ThreadModel Single Threaded and Apartment Threaded? What is the recommended option when there are several...

View Article

Why not use VarChar(8000) always?

I know this is likely to be an answered question, but I can't figure out the reason why. It seems like I should always determine the maximum possible length encountered, add a small safety margin, and...

View Article


print listbox item in multiple pages

hi to everybody, i have to listboxes with different data. i need to print them but they can have one o several items inside.i dont' know in advance.. i use this code Code: Private Sub...

View Article

Using String.Split to convert syntax? - Poker Related

Hello! I'm using 2 programs to solve poker hands: PIO and GTO+. In order to solve specific problems, I need to attribute a range of hands to hypothetical players. The problem is that the syntax in...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Vb6 compiler an OCX

Hi people, When we are compiling an OCX created in visual basic, what is the diferrence between ThreadModel Single Threaded and Apartment Threaded? What is the recommended option when there are several...

View Article
Browsing all 14956 articles
Browse latest View live


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