VS 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 TextFieldParser.ReadFields Method
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 ArticleModerators please delete
G'day folks, I have made many apps using RichTextBox but they all fail when installed on Windows 10. I create the apps on Windows 7 and they work fine for others using Win 7 & XP but cause all...
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 - 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 ArticleVS 2017 Issue with JSON POST using WebClient
I'm messing around with an API that uses JSON, but can't seem to make it POST properly. This particular API authenticates my account using three pieces of information which must be passed in the...
View ArticleProblem with combo box with its Style property set to "0 - Dropdown combo"
I have a combo box with its Style property set to "0 - Dropdown combo". Storing its value to the database poses a strange problem. Let's say I have a combo box with its Style property set to "0 -...
View Article32bit and 64bit Property Handlers?
My ShellBrowse project allows reading/writing the properties of anything with a registered property handler shell extension that can be loaded. I've noticed that the vast majority of them work in both...
View Article