Search:

Type: Posts; User: brandoncampbell

Page 1 of 4 1 2 3 4

Search: Search took 0.06 seconds.

  1. Re: CommonControls (Replacement of the MS common controls)

    Hey Krool - I swear I saw somewhere a discussion on adding the ability for png files but I cant find it. Can you point me in the right direction?

    Edited - I think I found it. It was a convo...
  2. Replies
    47
    Views
    31,182

    Re: VB6 - Simple Sock

    Actually, somewhat got it.

    lPntr = InStr(InBuff, vbCrLf)

    It seems that you are looking for vbCrlf and in this case it's one line with no carriage return. So it looks like lPntr = Len(InBuff)...
  3. Replies
    47
    Views
    31,182

    Re: VB6 - Simple Sock

    I am confused at the statement of what format it would be in. Its the same format as the previous command I call it's just it has more data. Its def getting the information - when i added the debug I...
  4. Replies
    47
    Views
    31,182

    Re: VB6 - Simple Sock

    Any chance you could help me determine why I am not receiving my data when i connect to a device? Here is the scenario I have a zebra printer device that i am connecting to on port 6101. Once...
  5. Replies
    5
    Views
    1,461

    Re: ID3V2.3 tag class

    I havent tried it myself but a brief search showed this https://www.vbforums.com/showthread.php?880337-VB6-Write-MP3-Album-Art-and-other-tags-using-the-Windows-Property-System
  6. Re: Script to get version of a file in a folder that changes its name

    Const HKEY_LOCAL_MACHINE = &H80000002
    Dim objReg, strComputer, strFilename, strFilePath
    strComputer = "."
    strFilename = "Java.dll"
    strHomeFolder = "JavaHome"

    Set...
  7. Re: Script to get version of a file in a folder that changes its name

    So it looks like you can do this.


    Const HKEY_LOCAL_MACHINE = &H80000002

    strComputer = "."
    Dim oReg
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer &...
  8. Re: SHChangeNotifyRegister updated and corrected, including new delivery method

    Wondering the same thing myself - seems to be duplicating the entry.
  9. Replies
    8
    Views
    2,102

    Re: Auto click on combo box

    Private Declare Function SendMessage Lib "user32" Alias _
    "SendMessageW" (ByVal hwnd As Long, ByVal wMsg As Long, _
    ByVal wParam As Long, lParam As Any) As Long

    Private Const CB_SHOWDROPDOWN...
  10. Replies
    11
    Views
    14,707

    Re: [VB6] Clone ListView

    Bummer.. I needed this again today and decided to revisit it. It's funny because it builds the list columns without the text and even enters the amount of list entries without the text. So I guess it...
  11. Re: CommonControls (Replacement of the MS common controls)

    Krool, any plans to replace the winsock control?
  12. Replies
    11
    Views
    14,707

    Re: [VB6] Clone ListView

    your post #4 is similar to what I am trying to do. It will not pick up whats in the list on Windows 7 64bit
  13. Replies
    11
    Views
    14,707

    Re: [VB6] Clone ListView

    It's Windows property for security groups listview.
  14. Replies
    11
    Views
    14,707

    Re: [VB6] Clone ListView

    You know. Some reason this doesn't work on 64bit OS
  15. Re: API to know what Windows is active

    this should work to get the active window..

    http://www.vbforums.com/showthread.php?558785-Get-Active-Window
  16. Replies
    16
    Views
    2,251

    Re: Status while copying files

    You could try this API call..

    Public Declare Function CopyFileEx Lib "kernel32.dll" Alias "CopyFileExA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal...
  17. Replies
    17
    Views
    2,021

    Re: is application running?

    if the program doesn't require user interaction I would suggest creating a service.
  18. Re: Searching Listview items with text box

    Private Sub Form_Load()
    With ListView1
    .ListItems.Add Key:="k1", Text:="Fred"
    .ListItems.Add Key:="k2", Text:="Barney"
    .ListItems.Add Key:="k3", Text:="Wilma"
    .ListItems.Add Key:="k4",...
  19. Re: automatically input text into external application issue.

    So in theory I should be able to use this right?

    Call SendMessageTimeout(lngTextBoxHwnd(0), EM_SETSEL, 0, ByVal -1, SMTO_ABORTIFHUNG, 10000, lngReturn)
    where 0 would be start and -1 would be end...
  20. Re: automatically input text into external application issue.

    The EM_REPLACESEL works.. The problem is if there is text in there it will not replace it, but add to it. I am guessing I will need to clear the txt first.. I still don't understand why it will not...
  21. Re: automatically input text into external application issue.

    a little more information.. it will actually click the button.. but doesn't fill in the username and password.
  22. [RESOLVED] automatically input text into external application issue.

    so I've been doing this for a while now.. I don't know if it was a security update that maybe broke this? I can no longer launch an application as another user then input text. If I launch the...
  23. Re: Help on difference between Win7/WinXP handles resource files.

    Apparently in Resource Builder if you add an XML file it is only for manifest. I added a custom type and added the xml and it worked fine.
  24. [RESOLVED] Help on difference between Win7/WinXP handles resource files.

    So i have an application that contains a resource file. Within this resource file it contains. 3 xml files, 1 icon file. 1 of the xml files of course is the manifest file. I added the 2 additional...
  25. Re: Created an application in Windows 7 that will not run on Windows XP

    Yes I am using the original media. version 6 PRO.
    The resource file contains 3 xml files 1-3 (1 being the manifest) and 1 icon file with all sizes of the icon and color.
  26. Re: Created an application in Windows 7 that will not run on Windows XP

    uh yeah. I bought it in college years ago. Anyway... took the resource out and it is now functioning.. but I use that resource file to extract xml data to a temp directory.
  27. Re: Created an application in Windows 7 that will not run on Windows XP

    I thought I removed all the code.. I didn't.. I think I may have narrowed it down to something. I'll let you know what I have found out in a moment.
    I left the resource file when compiling inside...
  28. Re: Created an application in Windows 7 that will not run on Windows XP

    Ok, so here is what is happening. Any code will work in the compiler.. but will not execute at all once compiled. This is happening to all Windows XP machines.
  29. Re: Created an application in Windows 7 that will not run on Windows XP

    That's the problem. It runs fine in the IDE on Windows XP. When I compile it it just gives me a generic error "parameter is incorrect" no error number or additional details so there is no chance to...
  30. [RESOLVED] Created an application in Windows 7 that will not run on Windows XP

    So the application runs in the IDE and by executing it on Windows 7. Except for Windows XP. It i will run in the IDE of Windows XP but when compiled I get an error on execution that says parameter...
  31. Re: CommonControls (Replacement of the MS common controls)

    Can someone tell me how to auto size columns based on items in listview?
  32. Re: CommonControls (Replacement of the MS common controls)

    Didn't know that.. it worked.. Thanks! Why does it need to be closed?
  33. Re: CommonControls (Replacement of the MS common controls)

    Awesome work as always! I still have an issue when compiling where it does not save the changed settings. If I open the project. Change the textbox at the bottom via properties to systempasschar and...
  34. Re: CommonControls (Replacement of the MS common controls)

    So I did notice that some of the settings don't save when you compile. For instance if you change the password char to whatever and you click build it will not have a password char in the exe. If it...
  35. Re: CommonControls (Replacement of the MS common controls)

    Yeah it has everything in to make the ellipses but it doesn't.
  36. Re: CommonControls (Replacement of the MS common controls)

    Anyway to fix the password in the textbox to reflect the later style password text with dots instead of asterisks?
  37. Replies
    2
    Views
    607

    Re: StatusBar

    never used RS232 but if it has an event to tell when data arrives then you can add a statement like StatusBar1.Panels(0).Text = thedatareturned if not then try a timer to check data and add the same...
  38. Re: check OS and processor is 32 bit or 64 bit?

    Attribute VB_Name = "m_OS64"
    Option Explicit
    '*************************************************************************************************
    ' Module : m_OS64
    ' Description: API call...
  39. Re: how do I create a command Line app and GUI based app?

    bummer.. thanks!
  40. Re: how do I create a command Line app and GUI based app?

    Yeah, I am using mConsole.bas.. problem is it doesn't act like a console and return the cursor unless you change the headers to a console application.
Results 1 to 40 of 141
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width