Search Results - VBForums

Search:

Type: Posts; User: Ben321

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    125

    VS 2013 Re: Problem installing VS Express 2013

    Ok I'm giving up on 2013 for now. I've instead downloaded (while MS still has it available) VSE2010, and it has a completely different installer, and it installed without a problem. I got the ISO so...
  2. Replies
    4
    Views
    125

    VS 2013 Re: Problem installing VS Express 2013

    I've tried all the fixes including comparing ISO's SHA1 hash to the one provided by Microsoft. It checks out as good. Short of reinstalling Windows so that the VSE2013 installer will have access to...
  3. Replies
    15
    Views
    248

    Re: Why does MSCOMCTL.OCX give me an error?

    Just tried that. It doesn't solve the problem. Many of the controls that I do use successfully in VB6 are also marked as "disabled" in this program.

    I'm still waiting for the other guy to get...
  4. Replies
    15
    Views
    248

    Re: Why does MSCOMCTL.OCX give me an error?

    What do you mean by "Attack of the 50 Foot InnoSetup Installer"?

    Going to C:\Windows\SysWow64\MSCOMCTL.OCX
    Right-click > properties > details
    I get this info:
    File Version = 6.1.97.86
    Product...
  5. Replies
    4
    Views
    125

    VS 2013 Problem installing VS Express 2013

    I'm getting an error installing this. I downloaded the complete ISO, so I won't need to worry about an internet connection (otherwise if my connection drops out as it does sometimes the installation...
  6. Replies
    15
    Views
    248

    Re: Why does MSCOMCTL.OCX give me an error?

    With mine I have a different problem. The error ONLY happens when Upgrade ActiveX Controls IS checked (it is checked by default in any VB6 project, meaning I will get this error for every project...
  7. Replies
    15
    Views
    248

    Re: Why does MSCOMCTL.OCX give me an error?

    I think disabling the update control version thing is more of a hack that seems to work, rather than an actual solution that targets the source of the problem. There's some underlying problem. And...
  8. Replies
    15
    Views
    248

    Re: Why does MSCOMCTL.OCX give me an error?

    Basically it has to do with automatic upgrading controls, and it says to disable that. However if you have various OCX controls (not just the MS Common Controls) and the others SHOULD be able to be...
  9. Replies
    15
    Views
    248

    Re: Why does MSCOMCTL.OCX give me an error?

    Info added in this update-post to the thread turned out to be inaccurate.
    Moderator please delete this post, but leave the opening post and this thread, as I'm still having the problem described in...
  10. Re: How do I get a UDT out of a form into another form?

    It must be declared in the Form2 for it to be cleared out when the form is closed with Unload Me. Otherwise the unused data remains in memory.
  11. Replies
    15
    Views
    248

    Why does MSCOMCTL.OCX give me an error?

    Every time I try to add this group of controls called the Microsoft Windows Common Controls 6.0 (SP6) to the VB6 toolbar using the Components dialog box in the VB6 IDE, I get this error:


    Why?...
  12. Re: How do I get a UDT out of a form into another form?

    Ok. Thanks. I'll use that next time I find myself in this situation. However for my current program, I already went on ahead though and changed my UDT into an array, for my program, because my...
  13. How do I get a UDT out of a form into another form?

    I have a module (.bas file) that publicly defines a type like this

    Public Type MyType
    B as Byte
    L as Long
    D as Double
    End Type

    Now I have a Form2 in which a structure of...
  14. Replies
    0
    Views
    217

    HSV and RGB conversion

    Here's some code I wrote that you can place in a Module and use in any graphics program that needs to convert RGB to HSV or HSV to RGB.


    Public Sub RGBtoHSV(ByVal R As Byte, ByVal G As Byte,...
  15. Replies
    3
    Views
    227

    Re: User defined type messing up file reading

    Turns out my problem was not that at all. That padding issue has happened before when I have used CopyMemory to put or get a UDT directly into memory, but I was using a file this time with the actual...
  16. Replies
    3
    Views
    227

    User defined type messing up file reading

    So I define this UDT for reading a wav file.

    Private Type WAVEFORMATEX
    wFormatTag As Integer
    nChannels As Integer
    nSamplesPerSec As Long
    nAvgBytesPerSec As Long
    ...
  17. Re: How to add a System Tray icon to your program

    Those functionalities of detecting clicks require creating custom window functions, and then using SetWindowLong to tell the icon in the System Tray to use this custom function, but for that to work...
  18. Replies
    9
    Views
    1,191

    Re: How do I hide the destination of a shortcut?

    How do I make an MSI package? Doesn't that cost money to buy Microsoft's official MSI package maker?
  19. Replies
    9
    Views
    1,191

    Re: How do I hide the destination of a shortcut?

    How do I designate a "product code", "feature key", and "component code" for my program's EXE file? Do I have to do this in the program's code?
  20. Re: What are the values of the DrawDib constants

    Ok, here's the full list. I finally found it by looking in the INCLUDE folder of my VC++6.0 installation, in a file called VFW.H

    #define DDF_UPDATE 0x0002 /* re-draw the last DIB...
  21. Re: How to add a System Tray icon to your program

    What I did was pick the largest (most recent version) structure size, and then indicate to the API call which fields it should use (versus fields the API call will just pretend weren't even there, in...
  22. What are the values of the DrawDib constants

    When using API functions DrawDibDraw and DrawDibBegin, there is this flags parameter that wants these constants (such as DDF_BUFFER or DDF_ANIMATE). But while the MSDN has written very plainly the...
  23. How to add a System Tray icon to your program

    This won't let you click (or double click) on the system tray (aka notification area) icon to restore your program from a minimized state. It won't let you right click on it to bring up a context...
  24. Replies
    9
    Views
    1,191

    Re: How do I hide the destination of a shortcut?

    I'm trying to figure out how it works so I can create my own installer for my own programs, that will create the necessary shortcuts with hidden links. The strange part is that these MS Office...
  25. Re: How do I correctly remove forms from a Collection?

    Actually the form is unloaded at the instant I press the X button in the upper-right of the window on the created form (instances of Form2). So at that point, it SHOULD be safe to remove it from the...
  26. Replies
    4
    Views
    247

    Problem with vbRichClient5 ActiveX DLL

    Its cSubClass class allows me to easilly (without using any API) create my own window proc for handling window messages. It basically automates the creation of the window proc function in a VB module...
  27. How do I correctly remove forms from a Collection?

    Ok, so if I have multiple forms, and am managing them by adding them to a collection, and then I removed them all with the Remove method for the collection, it still doesn't clear all references to...
  28. Re: How do I make a STATIC type window not ignore the mouse?

    I don't think it's ThunderRT6Main, because I tried:

    CreateWindowEx 0, "ThunderRT6Main", "test", &H10000000, 0, 0, 200, 200, Form1.hWnd, 0, 0, 0&
    and it didn't work.
  29. Re: How do I make a STATIC type window not ignore the mouse?

    Is there a Window class name that corresponds to a VB form type window? Can I just use the string "Form" in the parameter for window class, in the CreateWindowEx function? If not, is there some other...
  30. Re: How do I make a STATIC type window not ignore the mouse?

    I'd still think that if it is configured using the style parameter, to have a titlebar (which is a draggable part of most windows), that it should make the static window dragable. How do I make it...
  31. Re: How do I make a STATIC type window not ignore the mouse?

    Thanks for the info. That SS_NOTIFY, now causes it to take mouse clicks, so that I can actually click it, and not have the mouse click go right through it and affect a window below it. But I still...
  32. How do I make a STATIC type window not ignore the mouse?

    I used CreateWindowEX, and for the Class Parameter, I put in "STATIC". This creates a window with nothing in it, but the label containing the text for that window ("Test Window" in this case). Now...
  33. Replies
    9
    Views
    1,191

    How do I hide the destination of a shortcut?

    Lets say I created a program in VB6, and then wanted to create a shortcut to it, but hide the actual location of the exe file (so rightclicking on the shortcut and going to "properties" doesn't...
  34. Re: What exactly does RegisterWindowMessage do?

    So your session is as long as the program that registered the window "message" is running? Or does it refer to your Windows session (requiring you to reboot your computer to clear the registered...
  35. What exactly does RegisterWindowMessage do?

    Does it add the string that's the input parameter to some entry in the Windows Registry (as hinted at by the fact it is called REGISTER window message, instead of STORE window message or SAVE window...
  36. Re: Questions about cleanups of DCs and Bitmaps

    After I replace my own bitmap, with the original default bitmap that came with the DC I created, I then destroy that DC. Does this also destroy the original bitmap? Or do I also need to use a...
  37. Replies
    5
    Views
    1,423

    Re: API Registry HKEY_USERS

    The key for the current user is going to be one of the keys listed in HKEY_USERS, but there's no way to determine which one (it's in an encoded number that looks like...
  38. Replies
    7
    Views
    519

    Re: Question about mouse_event

    I'm not looking to send window messages. I'm looking for a way to tell Windows "the mouse down event just fired at screen coordinates x=100 and y=150" (such that Windows can handle the proper...
  39. Questions about cleanups of DCs and Bitmaps

    So Lets say I create a DC with CreateCompatibleDC, and then create a Bitmap with one of these 3 functions:
    DDB from CreateCompatibleBitmap
    DDB from CreateBitmap
    DIB from CreateDibSection

    Then I...
  40. Replies
    2
    Views
    369

    Simple "Clone Stamp Tool" Demo

    Put 2 PictureBoxes on your form. Make sure they both have these properties:
    Appearance = Flat
    AutoRedraw = True
    Border Style = None
    Picture = a picture that is small enough to fit in a picture...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.