Search:

Type: Posts; User: Peter Swinkels

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. TextBin.net - Extract text from binary files

    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...
  2. VB.NET Express 2010 - Window Scanner.Net - Explore and modify program windows

    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...
  3. Replies
    0
    Views
    407

    HTML Document Explorer

    The attached program demonstrates how to access HTML documents being displayed by other processes.
  4. TextBin - Extract text from binary files

    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...
  5. Re: Excel Add-In Script is not working through Active Setup

    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...
  6. Re: How to get a Menu Item string of an MDI Applications?

    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:...
  7. Replies
    4
    Views
    2,917

    Re: Having trouble with If Then command:

    Does this do what you want?



    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On

    Imports System
  8. List Processes - Get module and thread information of all processes.

    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.
  9. Re: How do I do a memory dump with API calls?

    Take a look at this:
    http://www.vbforums.com/showthread.php?699769-Reading-the-memory-of-another-process
  10. Question about Shell_NotifyIcon function - error 1008

    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)...
  11. Replies
    0
    Views
    515

    Menu Explorer

    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...
  12. Replies
    6
    Views
    937

    Re: Image Monitor

    SetForegroundWindow works now. Must have overlooked something. I did do a search and found other sites where SetForegroundWindow was recommended. Thanks.
  13. Replies
    6
    Views
    937

    Re: Image Monitor

    WaitMessage works. SetForegroundWindow doesn't work (returns a zero value). Probably because the window it is used on is invisible.
  14. File Upload Manager issue - can see old attachments

    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
  15. Replies
    6
    Views
    937

    Re: Image Monitor

    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...
  16. Replies
    6
    Views
    937

    Image Monitor

    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...
  17. Client/Server a raw TCP client (Winsock example.)

    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...
  18. Re: [VB6] - can i hide a control without using the ShowWindow() api function?

    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...
  19. Re: How to prevent item selected on left mouse down

    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...
  20. Replies
    82
    Views
    5,184

    Re: Speed - Again

    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.
  21. Reading the memory of another process

    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.
  22. How to create a console application

    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...
  23. Replies
    0
    Views
    517

    Explore and create desktops

    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...
  24. Replies
    3
    Views
    731

    Re: Creating a window by using the API

    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...
  25. Replies
    3
    Views
    731

    Creating a window by using the API

    The attached code (Create Window.zip) demonstrates how to use the CreateWindowEx API function to create a window and controls inside it.
  26. Re: A program that launches console applications and captures their output.

    Uploaded a major update. Attachment: Console Shell.zip.
  27. Window Scanner - Explore and modify program windows running on the desktop

    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...
  28. Re: FindWindowEx when we don't know exactly what the caption is

    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...
  29. Re: [RESOLVED] VB6 - Would like help translating a Dutch program, Query Assistent, to

    I will have a look. Thank you.
  30. Re: VB6 - Would like help translating a Dutch program, Query Assistent, to English

    I'm going to continue this on my own.
  31. Re: VB6 - Would like help translating a Dutch program, Query Assistent, to English

    Post removed.
  32. Re: QuickBasic - Error handling inside function

    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...
  33. Replies
    9
    Views
    2,478

    Re: QBasic question

    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...
  34. [RESOLVED] VB6 - Would like help translating a Dutch program, Query Assistent, to English

    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...
  35. Replies
    1
    Views
    1,693

    Re: Looking for: VBDOS documentation

    VBDOS should come with help files. Does the help system work in your version? Are there any *.hlp files in the program directory?
  36. Re: Vb.net 2008 Express: Paddle Tennis [source]

    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.
  37. Replies
    2
    Views
    1,915

    Has any one else tried Gambas?

    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...
  38. Motion Detector - detects movement inside a webcam's field of view (VB 5/6)

    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...
  39. [RESOLVED] Motion Detector (webcam) program VB5/VB6 - works, but could use improvement->

    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...
  40. [RESOLVED] Webcam Image To Array (VB6)

    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...
Results 1 to 40 of 226
Page 1 of 6 1 2 3 4