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

handling siemens optipoint 500 phone

Hmm. Since i posted in the "mobile" thread and this is unrelated to mobile, i guess it goes here: http://www.vbforums.com/showthread.p...47#post4726647

View Article


CreateEnhMetafile hDC DPI

I'm using the CreateEnhMetafile function, defined as follows: Code: Private Declare Function CreateEnhMetaFile Lib "gdi32.dll" Alias "CreateEnhMetaFileA" (ByVal hdcRef As Long, ByVal lpFileName As...

View Article


VFW callback function question.

I am experimenting with VFW in VB6 for controlling Webcams. To access the actual bytes of video stream data, I need to define a callback function according to the specs at...

View Article

What which codec FourCCs does ICOpen recognize by default?

Without installing any additional codecs what codecs come with windows, and what are their correct FourCCs? I need to know, because ICOpen (as needed for the ICImageCompress function) seems to not...

View Article

Do you need to use GlobalUnlock before using GlobalFree?

In the MSDN page describing ICImageCompress I see this mentioned: Quote: To obtain the format information from the BITMAPINFOHEADER structure, use the GlobalLock function to lock the data. Use the...

View Article


Image may be NSFW.
Clik here to view.

Crypto API giving me unexplained problems.

Ok, so I have this program, just to test my ability to get the Crypto API started, and closed properly. And I'm already having troubles. Here's my test code. Code: Private Declare Function...

View Article

GDI Objects... -resolved

Hi All, I am programming in .net and am interested in getting the GDI objects handle counts used by my app. I can already get the total number using the GetGuiResources api, but I would like a bit more...

View Article

Issue while creating a dll for automating excel using VB.Net

Hi, I have created a Excel macro(using VBA) which performs specific functions. Due to security reasons i have decided to create my functions in dll and distribute. When i try to create a dll/class...

View Article


How do I find time differences with API?

I want to create a time difference measurement system, and I'm thinking GetTickCount or timeGetTime would be good for this. A simple technique would be like: Code: Dim A as Long Dim B as Long...

View Article


Passing -1 to hFile parameter in CreateFileMapping?

According to http://vb.mvps.org/hardcore/html/sha...appedfiles.htm if you pass -1 to the hFile parameter in the CreateFileMapping API function, you will "create a file mapping that isnÂ’t mapped to a...

View Article

[VB.Net] CreateWindowEx

Hi there, I'm trying to create a window in Visual Basic.Net using the CreateWindowEx API. Currently here is how I'm declaring my enumerators and function: Code:     <Flags()> Public Enum...

View Article

Need help with Google PageSpeedOnline Api

Hi this is my first post here i am complete newbie to vb.net so please be kind. I am building a windows form app that can help me on various tasks that i do on a daily basis one of those is taking into...

View Article

GetPrivateProfileStringW - having trouble retrieving Chinese chars to display

I need to be able to read in Chinese characters and display them on a form. I found a previous post that showed how to retrieve them from the INI file and I have used that code but have not had success...

View Article


code signing

sir i have developed a free software after 3 months of hard work. it is a portable software. but when i run the exe file my anti virus say to open it in sand box. i come to know that it is a code...

View Article

Image may be NSFW.
Clik here to view.

Creating and deleting buttons with Win32 API

Hello. I have created a win mines game alike in assembler, so i use win32 apis. It is almost finished, but i have a problem when you change a different level ("Juego->Nivel" in Menu). I want to...

View Article


Questions about GetDC and GetWindowDC

When using these for a screencap, you can use the shortcut GetDC(0) or GetWindowDC(0), instead of first calling GetDesktopWinow and then passing the hWnd returned from that to GetDC or GetWindowDC. It...

View Article

Question about mouse_event

Is there any way to cause this API function (or another similar function) do create a click event at a location where the cursor is not? Lets say my cursor is in the upper right corner of the screen,...

View Article


[RESOLVED] 32 bit versus 64 bit

Thinking of upgrading VB5/6 to use 64 bit. I assume there are 64 bit API's? Questions: 1) Will I need to update all my API calls to 64 bit? 2) If so, is the change for "MOST" APIs as simple as changing...

View Article

How do I convert ProcID into the name of the EXE file associated with that...

I have enumed the processIDs using EnumProcesses. I now want to find the name of the EXE file associated with each processID. How do I do this? I was thinking of GetProcessImageFileName at first, but...

View Article

How do I properly use Toolhelp32ReadProcessMemory?

I've added a reference to Windows Script Host Object Model, and here's the code I use with it for starting the Windows calculator, and getting an object representing the running program too. Code: Dim...

View Article
Browsing all 168 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>