The attached program demonstrates how to extract strings containing only specific characters from a binary file. The project contains a class called TextBinClass and a form TextBinDemoModule.
The...
Type: Posts; User: Peter Swinkels
The attached program demonstrates how to extract strings containing only specific characters from a binary file. The project contains a class called TextBinClass and a form TextBinDemoModule.
The...
Window Scanner.NET displays all active application windows and any child windows (controls) on the desktop. The user can modify these windows and view information such as which process owns the...
The attached program demonstrates how to access HTML documents being displayed by other processes.
The attached program demonstrates how to extract strings containing only specific characters from a binary file. The project contains a class called TextBinClass and a form TextBinDemoWindow.
The...
I don't know anything about Active Setup, however when I tried to run your script normally (WScript), it didn't work. Even after creating an Excel addin called "testing.xla" in the same directory as...
This is the API forum for Visual Basic and I see that your code appears to be written in C. Now I don't know much about C, but I know a little about API programming, so here are some ideas/questions:...
Does this do what you want?
Option Compare Binary
Option Explicit On
Option Infer Off
Option Strict On
Imports System
The attached program demonstrates how to gather detailed module, subsystem and thread information of all active processes. This information is then written to a file.
Take a look at this:
http://www.vbforums.com/showthread.php?699769-Reading-the-memory-of-another-process
When calling the Shell_NotifyIcon function with the NIM_ADD message the function succeeds, but I still get error code 1008 (ERROR_NO_TOKEN).
With TrayIconData
.cbSize = Len(TrayIconData)...
Menu Explorer displays a list of menus found in any active windows, and displays the items found these menus. The user can disable/enable these items. Note: there appear to be several types of menus...
SetForegroundWindow works now. Must have overlooked something. I did do a search and found other sites where SetForegroundWindow was recommended. Thanks.
WaitMessage works. SetForegroundWindow doesn't work (returns a zero value). Probably because the window it is used on is invisible.
The File Upload Manager displays attachments that have been deleted along with attachments that haven't been deleted. Only about half of the files displayed are actually really present.
93863
Thank you for the comments, to answer your questions:
I fixed the NOTIFYICONDATA structure. It should now be correctly defined.
I decided to ignore the version setting and only set a timeout...
Image Monitor is a program that captures any image copied to the clipboard and saves it in a directory specified by the user. It's also a demonstration of how to write vb6 programs that display a...
Client/Server is a program that demonstrates how to use winsock to make raw TCP connections to a server and how to accept connections from a client. The program allows the user to send and receive...
I assume you're already aware of the "Visible" property for Visual Basic controls. Here is some code that hides windows without using the ShowWindow API function:
Option Explicit
Private...
There are two ways I think of:
1. Set the selection to "none" as soon as something is selected:
Private Sub List1_Click()
List1.ListIndex = -1
End Sub
2. Disable the listbox by setting...
I'm having speed issues as well. Whatever I do on the forums, it often takes several seconds before a page loads. Almost none of the other sites I visit are as slow as Vbforums is right now.
The attached program demonstrates how to read the memory of another process. The user can either launch a new process or specify the process id of a running process. The result is saved in a file.
The attached program demonstrates how to create a console and write to/read from it. Also demonstrated is how to get/set properties such as the window title.
When compiled, Visual Basic 5/6...
Desktop Explorer demonstrates get a list of active window stations and any desktops attached to them. The program also allows the user to create a new desktop and launch programs on it. Depending on...
Thanks for the reply. I fixed the hbrBackground property assignment (See my first post in this thread for the code.) I can't find anything wrong with the code that sets the new window title. What...
The attached code (Create Window.zip) demonstrates how to use the CreateWindowEx API function to create a window and controls inside it.
Uploaded a major update. Attachment: Console Shell.zip.
Window Scanner displays all active application windows on the desktop. Child windows (controls) are also displayed. The user can modify these windows and view information such as which process owns...
Option Explicit
Public Const WM_GETTEXT As Long = &HD&
Public Const WM_GETTEXTLENGTH As Long = &HE&
Public Declare Function EnumChildWindows Lib "User32.dll" (ByVal hWndParent As Long, ByVal...
I will have a look. Thank you.
I'm going to continue this on my own.
Labels pointed to by the ON ERROR statement should not be inside a procedure (SUB/FUNCTION), but globally available.
I'm not sure whether this properly answers your question, but:
To get the...
Let's see,
If you want to do the following things in Qbasic:
-Check whether a file exists:
OPEN path FOR INPUT AS #n: CLOSE #n
If the specified file doesn't exist this will cause an error...
Introduction:
"Query Assistent" is a program that attempts to make executing SQL queries on any database supported by the Microsoft ADO installation on a specific system faster and easier. It has...
VBDOS should come with help files. Does the help system work in your version? Are there any *.hlp files in the program directory?
Here it is. I haven't done anything with it (or vb.net for that matter) for ages. I had to look for it in an old backup. So I'm not sure how well I can answer any questions.
I've been working with Linux for several years now, and I've been looking for a proper replacement for Visual Basic. I've tried various BASIC dialects under Linux, none of which I really considered a...
This program (see the .zip file attached to this thread) captures images from a webcam and determines the level of movement in the camera's field of view. When the level of movement exceeds a...
EDIT:
Please go to this thread:
http://www.vbforums.com/showthread.php?p=3476744#post3476744
Hello,
I made a decent motion detection program in Visual Basic 5. It works by comparing the most...
After some searching, I found this program which can capture images from a webcam and display them in a picture box:http://www.codeproject.com/KB/vb/webcamcapture.aspx
I would like to know how to...