[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 ArticleVS 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 ArticleVS 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 ArticleChange 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 ArticleVS 2017 How To Use TCP To Count The Number Of Files In Server Folder?
Hello, I am looking to use TCP to return the value in this case number, of files in a specific directory on a server. Hoping someone can help me. Thanks
View ArticleVS 2019 Reading only one field from CSV file using TextFieldParser.ReadFields...
I am trying to read a particular field of a CSV file using ReadFields Method of TextFieldParser class. I will use the example at Microsoft to to show what I want to do....
View Article5.0 Pass type as the parameter to a method
i need to pass the Type as the parameter of the function and use it. the Extension method is providing a short cut to extract the cell value of the datatable. c# Code: /// <summary>Â Â Â Â ///...
View ArticleVS 2017 How To Access Folders On Remote File Host?
I need to access folders on my file host, but I am not sure how to do this, I am assuming TCP is going to be what I would be using but not sure what variant of it I require to do this. I need to...
View Articlefiltering datagridview
Hi all i'm trying to filter a datagridview I'm getting an error unable to cast system.data.dataview to type system.data.datatable Code: Dim dv As DataView = DirectCast(DataGridView1.DataSource,...
View ArticleADO on Lan
I need a good Tips to speed the ADO conection over Lan, naturally tips to speed also a recordset operation. Note: Access database or Sql Server
View ArticleWhat good is a command button's Value property?
I had never noticed the existence of a Value property in command buttons. I just happened to notice that today. I googled it and came up with this: Quote: The only relevant CommandButton's run-time...
View ArticleMouse move API problem.
A long time ago, I created a small program to move the mouse pointer at fixed intervals of time. The goal was to move the pointer just slightly to prevent a screen saver from loading or an auto-monitor...
View Article[RESOLVED] Click event
I am using VB6 on WIN10. My program used the MSFlexGrid control. When processing to get new data I cover the grid and show the WIN10 version on the hourglass. I tried to use a label control, but I...
View ArticleOnly read unread emails, set to read and move to deleted folder in Web Services
I am using Microsoft.Exchange.WebServices nuget package in VB.Net. I have the following code to read data in an email, but I cannot figure out 3 things: 1. Read only unread emails 2. Set email to read...
View ArticleWhat does this mean frmAddMovies.vb* and frmAddMovies.vb [Design]*
Hi, I am having trouble with database programs that I wrote to control my Books and Movies. The first program was the Books Database and I started running into trouble when I began adding forms, such...
View ArticleVS 2017 Strange Characters in POST WebRequest Response
I'm posting a JSON web request and the everything seems to go through properly, but part of the response contains strange characters. I've tried a few different things, like changing the ContentType,...
View ArticleVB.NET (UNION) sql query
I have the following query, when execute the following error out: Error: 'A field or property with the name 'sta' was not found on the selected data source.' Code: Dim dt As DataTable = New DataTable()...
View ArticleVS 2017 Check If Server is Online
Hello hope everyone is well today. Alright I am making a Server/Client Program and I want to take it one step at a time. For now I would like to make 1 form for the server and 1 form for the client. My...
View Article[VBA] Lambda Syntax - No script control or cheats! Happy for ports to VB6
Lambda Expressions I've already posted this library elsewhere but figured that people on VBForums would find it useful too! This is currently only written to work in VBA but I believe a port to VB6...
View ArticleRunning code against Sqlserver worked fine first time but now 'Access denied'
I am trying to backup my DB using this code First time I got it to run it worked well and My DB was backed up Since then I am getting 'Access Denied' errors at the executeNonQuery line . I deleted the...
View Article