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

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



[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


Disabling cancel in the SHFileOperation Dialog

I want to disable "Cancel" button of the SHFileOperation dialogbox. I need this to prevent user from cancel during file copy. Any idea?

View Article

[VB6] - about DIB's

Code: Option Explicit Private Type BITMAPINFOHEADER   biSize As Long   biWidth As Long   biHeight As Long   biPlanes As Integer   biBitCount As Integer   biCompression As Long   biSizeImage As Long...

View Article

How to get high resolution picture from webcam

I have been using AVIcap.dll to grab a picture but the resolution is only 640X480. My Locitech pro 9000 has resolution up to 1600X1200. How can I capture at this resolution. I have tried changing the...

View Article

[VB6] - about sendmessage() api function

Code: Option Explicit Private PrevWin2 As Long Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal HWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As...

View Article


[VB6] - about DC's

i did 1 class for DC's(like double buffering): Code: Option Explicit Private Type DC     handleDC As Long     handleBMP As Long     handleRefBMP As Long End Type Private Declare Function...

View Article

[RESOLVED] send sms from windows application

Hi, I registered sms package from sms provider and they provided me with an api to send sms. How to send sms in windows application vb.net using api ? Is it possible to send sms from windows app with...

View Article


Log buttons clicked and other user activity?

Is there a way to log all the buttons clicked on any form in my application from a central place (in the same application)? I have a very big application so adding code to each button click will be a...

View Article

[keyboard] - what key selected and if was keydown or keyup

the GetAsyncKeyState() function can detect if the keys still pressed(keydown) or was lefted(keyup)?

View Article


forcing a window\program to close

imagine that you have 1 program in full screen. and you don't have access to windows or task manager, because the program is in top most. i simulate that program(honestly is a virus) for test my...

View Article

sending text to printer

can i send text to the printer?

View Article

how create an empty DC with window size?

how can i create an empty DC with window size? (for i use bitblt().... i try CreateCompatibleDC() with CreateCompatibleBitmap() SelectObject() but seems not working... because the bitblt() don't give...

View Article
Browsing all 166 articles
Browse latest View live




Latest Images