[RESOLVED] 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[VB6 - DIB's] - advices for speed up my Graphic Class
i need advices for speed my class. it takes very time to Draw the image:( - GetImageData sub: here is catch the image from a control(picturebox and form and usercontrol); - ChangeImage sub: here i...
View Article[RESOLVED] [VB6] - how detect if 1 window is open?
i have these code for: 1 - call the compiler; 2 - testing if the compiler continues open; 3 - if the compiler is closed, then open the exe. Code: Private Sub mnuCompileCompleAndRun_Click() Call...
View Articleabout LoadImage(): what images files can read?
what images files the Loadimage() can read? (i understand that can read ico, cur, ani(by 1 subimage at a time, because they are cur image format) and bmp. but other images like png, jpg, gif????)
View Articlehow to read things inside any window
I'd like to know how to read buttons or body text from some child window. I already found the window handle ;) Code: winHandle = FindWindow("XLMAIN", Application.caption) winHandle =...
View ArticleDisplay raw xml from REST query
I am quite new to all of this. Right now we have a QR code on our employees id card that stores a user id. When that card is scanned, it pulls up a url from a website and displays raw xml data filtered...
View ArticleRectangle of RichEdit control's viewable area
I would like to obtain the RECT of the viewable portion of the Rich Edit control. I couldnt find a message constant for this. The goal is to obtain the last visible line. There is a message constant...
View Article[RESOLVED] Rectangle of RichEdit control's viewable area
I would like to obtain the RECT of the viewable portion of the Rich Edit control. I couldnt find a message constant for this. The goal is to obtain the last visible line. There is a message constant...
View ArticleDisable Save options in Acrobat
Dear Forum Members, Greeting for the day. I have read above thread and found quite interesting. I am not clear but want to know that can we have this done for Acrobat. Can we restrict save and Save As...
View Article[VB2010] - about PARAFORMAT2 structure
i'm reading the PARAFORMAT2 structure: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx but i'm continue confuse with the way they 'speak':( so i need ask: can i use it for create a vertical bar...
View ArticleConfused about keybd_event API function's parameters
The parameters to this function are: bVk (a virtual key code) bScan (a hardware key code) dwFlags (controls whether the signal sent is for key pressed, or for key released) dwExtraInfo (don't know what...
View Article[VB2010]- RichTextBox - working with images
i did these code for trying Align the image with text: Code: Imports System.Runtime.InteropServices.ComTypes Imports System.Runtime.InteropServices Public Class Form1 Private Structure...
View ArticleBug in mcisendstring API function or bug in tutorial?
Ok, so this web page shows an ABSOLUTE BARE MINIMUM piece of code in this tutorial for how to play an AVI file into a PictureBox control in VB6 with literally under 10 lines of code....
View ArticleNeed help with avifil32.dll API functions
This is one of the coolest APIs that Windows has. It is designed to let you easilly write and read frames from AVI files in VB6. One problem though. I don't even know how to START to use it. Can...
View ArticleHow do I subclass with SetWindowLong? It fails when I try to do this.
Ok so here's my code in my form: Code: Private Declare Function SetWindowLong Lib "user32.dll" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Private...
View ArticleHere's a demonstration of what you can do with enuming windows.
Attached to this post is a zip file containing the project files (vbp, frm, etc...) for this VB6 program. It is designed to demo a few API calls involving window handles. This program lists all the...
View ArticleWhat is the API function for convert any scale for twips or characters?
i understand that, normaly, the API functions works in pixels or in the client coordinates. but imagine that i need convert that coordenates to character or twips, what function can i use?
View Article[RESOLVED] What is the API function for convert any scale for twips or...
i understand that, normaly, the API functions works in pixels or in the client coordinates. but imagine that i need convert that coordenates to character or twips, what function can i use?
View Articlegoogle chart table API, the select event does not work
Code: function drawChart3() { // Create the data table. var json2 = $.ajax({ url:...
View ArticleError 5 (ERROR_ACCESS_DENIED) when writing to a physical device
I'm trying to "raw write" data to a USB thumbdrive using the WriteFile API function. My thumbdrive is \\.\physicaldrive1 for the purpose of opening it with the CreateFile API function. I find that this...
View Article