Quantcast
Channel: VBForums
Browsing all 15621 articles
Browse latest View live
↧

[RESOLVED] DataGridViewCheckBoxColumn from SQL bit type

I am looking for a method to convert a SQL bit column (0, 1, NULL) queried into a DataGridViewCheckBoxColumn without using a loop. I tried: VB.NET Code: Dim cell As DataGridViewCell = New...

View Article


Initialization of data object structure

I have a class in a dll that I would like to initialize some variables. To assign a value with single data fields is not a problem but how can I assign a value to an array within a class? No problem...

View Article


Vb6: Get cookies with Inet control

i am using Inet control to login to a site and then i want to grab cookies to textbox Private Sub Form_Load() Inet1.Execute " https://bbhyip.ru", "POST", "login=user&password=pass&submit=",...

View Article

file locked

Hi all im trying to check if a file is locked. so we have a network excel file that many people edit im using closed xml to read this file in vb. this already works perfectly in a try catch statement...

View Article

deploying after using P&D wizard

Hi All my computers use windows 10 I compiled my program on my desktop using P & D wizard. I moved the compiled files to my laptop to install the program there. I run setup.exe but it freeses with...

View Article


Image may be NSFW.
Clik here to view.

Shut The Door(an old sailors game)

This is just a simple example of writing a game to pass the time. See what you think of it. Attached Images  

View Article

VB6 ToolTipText

This is a pretty basic question that's always puzzled me. I often code a MouseMove event to display a description of an object in a tooltip. And that always works just fine...except when the shift or...

View Article

VS 2015 Word search

My program is going through each word in a story looking for names. I am using the following function to check against a string full of names (aaron, adam, ...) to see if the word is a name, but it is...

View Article


Image may be NSFW.
Clik here to view.

GDI Scaling, ImageLists, ListView

I've found some pretty awful image quality using ImageLists with GDI Scaling, the so-called "System (Enhanced)" appcompat option. I tried fiddling around rebuilding ImageList contents in the Paint...

View Article


Image may be NSFW.
Clik here to view.

OUT of memory in VB&

Code: 'i call with Call FileLoadToArray(asFileContents, sFileName) Function FileLoadToArray(ByRef asLines() As String, ByVal sFileName As String) As String         Dim iFileNum As Long, lFileLen As...

View Article

Image may be NSFW.
Clik here to view.

VB6 - Viewer

I used dilettante's Gossamer Web Server control to make an image viewer. The viewer is actually your browser, so in theory it will deliver anything that your browser will support; pictures, HTML,...

View Article

VS 2019 Visual Basic Net, Printing Form

I am creating a report by dynamically adding populated datagridview's of various lengths to a Form. I would like to print the output and fit it to 8-1/2 X 11 pages Among the challenges is detecting...

View Article

Weird behavior of focus

Simple ... Does anyone had a similar problem with vb6.... When i open .exe application originally made with VB6, load some dll made with .NET under certain circumstances ( unknown ) form lose focus and...

View Article


vs 2019 vb.net .vb How can I clone my project under a new name ?

Hello & Thanks ; My code is getting messy from testing alternatives . vs 2019 vb.net .vb How can I clone my project under a new name ? Thanks for your Help...

View Article

VS 2017 Advice On Storing Member Data in Text Files

Hello I am making a Client/Server Program where Members Register An Account but instead of using a database I am opting to use text files instead. I may utilize a database at a later time but for now I...

View Article


Dir$ function acts strange with long extensions

Hi, I just ran into something strange. I'm using a simple Dir function within a loop to fill a combo box with filenames that match a pattern. E.g. *.lng. However, much to my surprise, the list also...

View Article

DataGridViewCheckBoxColumn solid filled black boxes

I just did a recent thread to fill a DataGridViewCheckBoxColumn from a SQL bit by replacing the column by index then pointing it to the same DataPropertyName: Here is the code: VB.NET Code: 'after the...

View Article


Vb6: Winsock grab full data on arrival

i have this code but it can grab only a part of the page source code, how can i make it grab the whole page source code? Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) Dim strData As String...

View Article

[RESOLVED] Dir$ function acts strange with long extensions

Hi, I just ran into something strange. I'm using a simple Dir function within a loop to fill a combo box with filenames that match a pattern. E.g. *.lng. However, much to my surprise, the list also...

View Article

[RESOLVED] DataGridView - Header Sort - Object not set to Instance (null)

I have data that I am loading from an SQLite DB. If I click on the header to sort, I get an Object not set to instance error. I used the below code to try and catch the null error, but it still keeps...

View Article
Browsing all 15621 articles
Browse latest View live


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