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

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

[RESOLVED] Date Format

I am using VB6 on WIN10. I don't know if this post belongs in an Excel forum or here! I connect to an Excel spreadsheet and try to format a field. I use the command "Range("D1").value = Format(Now,...

View Article


VS 2017 Trying to restart service in VB.NET console app

Is there a way to specify the other privileges that may be required in code? Or does something need to be changed on the server? My goal is to allow certain users to stop and start a particular service...

View Article

VS 2017 Download Text Files From Server and Then String Split The Data Into...

I am working on something where I have multiple text files on a file server and need the program to download all text files in this directory, then process this data into the proper datagridview cells....

View Article

Image may be NSFW.
Clik here to view.

Change the text of the Common Dialog button

Is it possible to change the button text of the common save/open dialog box to another text? Attached Images  

View Article
Browsing all 15240 articles
Browse latest View live


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