@ harish3092 and (in case you're still interested) Nethacker-010
Have a look at the GetProcessMemoryInfo API function. And since you're both using VB.NET, try asking in the VB.NET forum.
Type: Posts; User: Bonnie West
@ harish3092 and (in case you're still interested) Nethacker-010
Have a look at the GetProcessMemoryInfo API function. And since you're both using VB.NET, try asking in the VB.NET forum.
@ asymetrix
It looks like SuperDave00 won't be coming back anymore; see his OP's time-stamp. ;)
@ -=Te[]v[]eR=-
It appears you're using VB.Net. I've asked the moderators to move your post...
In the MSDN Library that came with Visual Studio 6.0, there is an article by Bruce McKinney entitled "Stealing Code with Type Libraries". It can be found under Technical Articles >> Visual Tools >>...
Try the following modifications:
Public Sub DownloadFile(ByRef sURL As String, ByRef sFilePath As String)
Dim bytData() As Byte
Dim FN As Integer
Dim sDir As String...
SetWindowPos couldn't change the height of the ListBox portion either.
The CB_SETMINVISIBLE message says:
However, MS Win Common Controls 6.0 remains unaffected even if the manifest...
ListView.SelectedItem.Icon = 1
ListView.SelectedItem.SmallIcon = 1
Can you post a screenshot of what you've selected?
Well, tell us first how you did it...
Hi Doc! :)
I was just following this tip from the manual:
I usually tend to favor speed over memory. That's why I typically use the appropriate type for my variables, constants and numeric...
Indeed, the ImageCombo control from MS Windows Common Controls 6.0 is limited to the vbComboDropDown style only.
It's from Image ComboBox Control. MSDN says that the "ComboBoxEx controls...
You should've made that clear right from the start. :cool:
ShutdownBlockReasonCreate already does that. Isn't that what you want? The SHUTDOWN_BLOCK_REASON constant in the example code in post...
Try:
Me.Show vbModal, Form1
http://www.codeproject.com/KB/combobox/ImageComboBoxControl/ImageComboBoxScreenShot.JPG http://i.msdn.microsoft.com/dynimg/IC510541.png
Here's the official documentation:
Type Libraries and the Object Description Language
Try Xojo (formerly Realbasic).
Yes. See Comparison of platform virtual machines.
Can you post how you used that function? It appears from your screenshot that you want to retrieve the text of the ComboBox control. Have you made sure that the window handle you've acquired actually...
Try the GetWindowText function or the WM_GETTEXT message:
#If True Then
Private Declare Function GetWindowTextW Lib "user32.dll" (ByVal hWnd As Long, ByVal lpString As Long, ByVal nMaxCount...
Option Explicit
'Reason string should be <= MAX_STR_BLOCKREASON, else it is truncated
Private Const SHUTDOWN_BLOCK_REASON As String = "Unable to shutdown for some reason."
Private Const...
You're welcome! You may now mark this thread :check: Resolved!
The button Integer parameter shadows the button control. Rename the control to something else to avoid name collision.
EDIT
According to Shadowing Form Properties and Controls, you can also...
Should be:
ByVal wParam As Long
hWnd was declared implicitly as a Variant.
Why do you want to do that?
Try:
Visual Basic Decompilers
VB Decompiler
VBReFormer
From Form File Loading Errors:
When VB saves a FRM file, it first fills it with spaces before writing the actual code. I'm afraid VB never got the chance to completely save your FRM file when...
Since FRM files are just plain ASCII text files, you can open them in any suitable text editor (such as Notepad). You can extract binary data from FRX files using any of these codes from PSC. There...
Actually, I just modified the OP's code a bit, but you are right, of course! :thumb: Accessing the Width and Height property of the Picture property of the PictureBox control will definitely be...
In case you've overlooked post # 4 above, see the last paragraph.
There is a Text Color drop-down button on the editor's toolbar.
Well, they don't always correspond with the dimensions of the Picture property, so they're also unreliable. A PictureBox can be bigger or smaller than the Picture assigned to it, thus its...
I'm afraid it's not open-source. :(
BTW, have you already tried using the SHIL_JUMBO constant with the SHGetImageList function?
Because Picture1.Width and Picture1.Height returns the size of the PictureBox control itself while the dimensions of the PictureBox's Picture property are obtained through the similarly named Width...
As you can see, you don't understand what that magic number means. Therefore, you should avoid magic numbers whenever possible. Use constants instead!
Option Explicit
Private Sub...
Though not a direct solution to your problem, you may, however, find ShellBrowserControls interesting. See the screenshots.
Judging from the screenshot, I think rpool wants to retrieve each bitmap file's image dimensions. If so, then the GetDIBits function might help achieve that.
He already have.
See the FAQ How can I allow only one instance of my application to run at a time?
http://www.vbforums.com/attachment.php?attachmentid=98017&d=1363908751
Keep in mind though, that any control (including windowless controls) always have greater overhead than a simple API call. ;)
You may also want to try this workaround.
Just swap the arguments:
If InStr(List2.List(J), List1.List(i)) Then
Note List2's J index. ;)
Refer to the link I've given. Read carefully the descriptions of the string1 and string2 parameters. You'll then see why it didn't work. :cool:
I believe you already know how to use InStr, right? ;)