[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 ArticleInitialization 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 ArticleVb6: 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 Articlefile 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 Articledeploying 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 ArticleShut 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 ArticleVB6 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 ArticleVS 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 ArticleGDI 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 ArticleOUT 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 ArticleVB6 - 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 ArticleVS 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 ArticleWeird 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 Articlevs 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 ArticleVS 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 ArticleDir$ 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 ArticleDataGridViewCheckBoxColumn 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 ArticleVb6: 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