Quantcast
Channel: VBForums - API
Browsing all 177 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

[RESOLVED] FindWindowEx trouble

I've read a lot about this but can't seem to get the code to work. I don't have SPy++ but here the window I am trying to access: Attachment 90593 I have attempted multiple examples of this: Code:...

View Article



SendMessage WM_GETTEXT LB_GETTEXT returns nothing

I have succesfully retrieved the handle of a control (which appears to be a list box) with the following code: Code:   Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal...

View Article

WinApi: ENTER is not send

Hi, I'm trying to write a text into a textfield and simulate the ENTER button. This field is inside a java applet. However, ENTER is ignored. The text is written in the field, but ENTER is not pressed....

View Article

How do I use RegisterClipboardFormat

I tried this Code: Private Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (ByVal lpString As String) As Integer Private Sub Command1_Click() Dim z As Integer z =...

View Article

[VB6] - How apture a window or Picturebox?

i have seen very api functions for capture a window or picturebox, but all are slow for animation. anyone knows any function that can do it with some speed?

View Article


Why isn't it working?

I made this class module to be able to support reading pixel arrays from from picture boxes, and write pixel arrays to pixel boxes. However, while it works for getting the pixel array from a picture...

View Article

Why doesn't this screencap program work?

I have a form with two small picture boxes and one command button. Each of which won't be able to display the whole desktop screen, but should show enough as to be able to determine if the screencap...

View Article

Why does my "scrolling screen" effect crash the PC?

I finally figured out how to take a screencap with API, but it keeps crashing. It is supposed to scroll the screen faster and faster, but while it is still moving fairly slow, it gives me the BSoD! I...

View Article


[VB6] - 'hacking' a program

did the download of honestech VHS to DVD 4.0 program. but i need these program for view and not recover. that's why i need hide some controls(the program don't have the view menu or something like...

View Article


[VB6] - capture a parent(container) from an Activex Control(UserControl)

i have 1 code, that works fine, for capture the container(parent): Code: Public Sub CaptureContiner(DestinationHDC As Long, SourceHWND As Long, SourceX As Long, SourceY As Long, SourceWidth As Long,...

View Article

How to get a Menu Item string of an MDI Applications?

Hello All, What I need to do is to read the string of a target application menu item from my own application . The target application is a MDI Application(CATIA V5). My application and target...

View Article

[VB6] - can i hide a control without using the ShowWindow() api function?

can i hide a control without using the ShowWindow() api function?

View Article

[RESOLVED] [VB6] - can i hide a control without using the ShowWindow() api...

can i hide a control without using the ShowWindow() api function?

View Article


How do I make GetDIBits use a different palette?

When converting a small sprite graphic from 24bit color to 4bit color I am using this: Code: 'declares go here 'main code Dim Info As BITMAPINFO Dim PixBlock(31) As Byte With Info.bmiHeader .biBitCount...

View Article

How do I do a memory dump with API calls?

I want to use MemoryCopy to copy any specified memory range (such as from memory location &h10000 to &h20000) into a byte array and then save the retrieved data to a file. Unfortunately this is...

View Article


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). Code: With TrayIconData   .cbSize = Len(TrayIconData)...

View Article

[VB6] - instead api_doevents

can i let the events being used\activated without using: Code: Option Explicit Private Const PM_REMOVE = &H1& Private Type Msg     hwnd As Long     message As Long     wParam As Long     lParam...

View Article


[RESOLVED] [VB6] - instead api_doevents

can i let the events being used\activated without using: Code: Option Explicit Private Const PM_REMOVE = &H1& Private Type Msg     hwnd As Long     message As Long     wParam As Long     lParam...

View Article

[VB6] - about Pointers and Bitmaps

i have 1 nice code for transparent AphaBlend, using Pointers;) these code gives me results(finally some result after very time trying working with pointers and bitmaps;)): Code: Option Explicit Private...

View Article

Weather API Help

Hello all, I'm a fairly newer programmer. And I don't quite understand how API's work exactly and I can't find any easy to understand tutorials(I've been looking alot today). I am hoping to use a...

View Article
Browsing all 177 articles
Browse latest View live




Latest Images