dcsimg

Search:

Type: Posts; User: brandoncampbell

Page 1 of 4 1 2 3 4

Search: Search took 0.09 seconds.

  1. 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...
  2. 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 &...
  3. Re: SHChangeNotifyRegister updated and corrected, including new delivery method

    Wondering the same thing myself - seems to be duplicating the entry.
  4. Replies
    8
    Views
    1,076

    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...
  5. Replies
    11
    Views
    8,613

    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...
  6. Re: CommonControls (Replacement of the MS common controls)

    Krool, any plans to replace the winsock control?
  7. Replies
    11
    Views
    8,613

    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
  8. Replies
    11
    Views
    8,613

    Re: [VB6] Clone ListView

    It's Windows property for security groups listview.
  9. Replies
    11
    Views
    8,613

    Re: [VB6] Clone ListView

    You know. Some reason this doesn't work on 64bit OS
  10. 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
  11. Replies
    8
    Views
    873

    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...
  12. Replies
    17
    Views
    1,675

    Re: is application running?

    if the program doesn't require user interaction I would suggest creating a service.
  13. 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",...
  14. 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...
  15. 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...
  16. 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.
  17. [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...
  18. 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.
  19. [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...
  20. 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.
  21. 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.
  22. 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...
  23. 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.
  24. 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...
  25. [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...
  26. Re: CommonControls (Replacement of the MS common controls)

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

    Didn't know that.. it worked.. Thanks! Why does it need to be closed?
  28. 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...
  29. 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...
  30. Re: CommonControls (Replacement of the MS common controls)

    Yeah it has everything in to make the ellipses but it doesn't.
  31. 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?
  32. Replies
    2
    Views
    461

    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...
  33. Re: check OS and processor is 32 bit or 64 bit?

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

    bummer.. thanks!
  35. 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.
  36. Re: how do I create a command Line app and GUI based app?

    Thanks for the reply but it still doesn't help. I can't print text to the console without actually changing the headers for the type of application.
  37. [RESOLVED] how do I create a command Line app and GUI based app?

    So I found a couple of places that shows how to convert your application to a command line application. It works fine when you are in cmd... but how can I make both a cmd line app as well as a gui...
  38. Re: CommonControls (Replacement of the MS common controls)

    Nice work dude
  39. Re: If a text in a string ends with * go to start of that word

    If that works for you, remember to mark this topic as resolved. :)
  40. Re: If a text in a string ends with * go to start of that word

    just noticed you wanted the text after the * as well.. try this..

    Dim tString As String
    tString = "pc4541@omnmb printer123*lptrdabc notebook141#opriu ipad662;mkilo"
    If InStr(1, tString, "*") > 0...
Results 1 to 40 of 136
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width