[RESOLVED] I have a problem with PerformanceCounter
Hi, I have a project which currently consists of Form1, Button1, Label1 and Timer1. vb.net Code: Imports Microsoft.Win32 Imports System.IO Public Class Form1 Private Sub Form1_Load() Handles...
View ArticleVS 2019 Process CPU Usage
Hello. How can i get each running process's CPU usage percentage? Thank you in advance.
View ArticleContest 14 - DnD Dice Roller
Programming Contest DnD Dice Roller For all those who haven't participated in the contest please read the FAQ Overview Given an input of dungeons and dragons dice commands, have the program execute...
View ArticleVS 2019 Create Bullet Points in Word with Formatting
I was not sure if this should go under Office Development, but that seemed to be VBA and not .net. If this is in the wrong place I apologize ahead of time. I have also posted this question to another...
View ArticleEditing a disconnected datagrid content.
Hi, I have connected my DataGrid to a disconnected ADO Recodset. Now I need to edit some columns just for population purposes and never update the database. What is the best way to do that? Thanks
View Article[RESOLVED] Case comEvEOF not working
Hi VB Forum: I am programming in VB6.0. The code is: Private Sub MSComm1_OnComm() Select Case MSComm1.CommEvent Case comEvReceive dat1 = MSComm1.InBufferCount lbldat.Caption = dat1 Case comEvEOF dat2 =...
View ArticleThink I'm over connected
My ATT gateway went down yesterday. All the people in India could say is they'll send me a new one. I actually could hear chickens in the back ground. lol So I was completely screwed up today. My house...
View ArticleCode Syntax Conversion From VBA To VB.Net
Dear All I have a vba code which I am trying to convert to vb.net and all is done except one Array Word which is missing something, the Line of code is as below: Code: ws.Range("I2").Resize(.count, 2)...
View Article[RESOLVED] Programmatically Raise MouseUp event for a command button array
I have some actions that occur when a user clicks on a command button (it is an array of cmd buttons---ex: cmd1(1), cmd1(2), cmd1(3), etc). I want to CALL that event (or Raise it, I guess is the...
View ArticleMistakenly removed Form1 and want to re-add it to the project
I've been porting a VBA app to VB.net using Visual Studio (Win10 Home 64bit). Slow going, but it was getting there until my fat fingers hit "Project / Exclude from Project" on my main form. The files...
View ArticleHDD Read/Write speed
Hi, I'm going to use hard drive read/write speed in my project. I have two label objects named Label1 and Label2, and a timer named Timer1, and a combobox. I want to use combo box for selecting HDD and...
View ArticleVS 2019 Return value is not necessary in MsgBox? How?
How can a VB function that requires a return value work without a return value? For example, the the MsgBox function in the example in the Microsoft documentation can be used without requiring a return...
View ArticleAuthenticating a Keybase session in VB6
I am trying to use https://keybase.io/docs/api/1.0/call/login but am unsure how to generate Code: pdpka5 and Code: pdpka4 Keybase has provided examples for NodeJS bots, but I prefer VB classic. Stumped...
View ArticleVS 2019 [RESOLVED] Login to App and then Connect to Facebook
I'm working on a new project that requires integration with Facebook, which is something I've never done before. The old app that is being replaced originally had functionality to create a local user...
View ArticleIncluding all applicable Unicode characters, what's first/last for...
It's obvious to figure out what's first and last for a standard ASCI character set, but does anyone know what the StrCmpLogicalW API would consider the first and last characters in the entire set that...
View Articlecopying single sheet to a new workbook vb.net
Dear All I am working on a code to copy specific sheet to a new work book in excel but the code copies all the sheets although I define the sheet by name, My code is as below: Code: Private Sub...
View Article[SOLVED] Skip Certain File Extension .GetFiles evaluation
Hi All, Wondering if someone could help me exclude files with a certain file extension? I currently have this evaluation, but I'd like to exclude a particular file extension, e.g. .txt files from the...
View Article[RESOLVED] This may be a tough question for the gurus
Is there a way - code wise (VB6)- that can turn off a USB device remotely Jeff Stay safe
View Article