Search:

Type: Posts; User: Illspirit

Page 1 of 13 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    0
    Views
    342

    Plugin System

    Hi,

    I'm trying to develop a plugin system for my application. I'd like my program to load ActiveX DLL's from a specific folder at runtime. I have the following code which works quite well:


    ...
  2. Replies
    22
    Views
    984

    Thanks a lot for the help on this. I've decided...

    Thanks a lot for the help on this. I've decided to leave the files as they are and have them work only with the version they were exported from. Although this does take away their primary purpose,...
  3. Replies
    22
    Views
    984

    Hmm, weird. Is there a way to convert it to a...

    Hmm, weird. Is there a way to convert it to a text file?
  4. Replies
    22
    Views
    984

    *bump*

    *bump*
  5. Replies
    22
    Views
    984

    Ok, well what I'm trying to do is make a function...

    Ok, well what I'm trying to do is make a function that puts all the reg values from a key and its sub keys into a file, and another function that will load the file up again.

    I was using this...
  6. Replies
    2
    Views
    469

    Use Form2.Show vbModeless, Me Or...

    Use



    Form2.Show vbModeless, Me



    Or replace Me with the main form in your project if this isnt called from it.
  7. Replies
    2
    Views
    380

    Start a new project, put a text box called Text1...

    Start a new project, put a text box called Text1 on the main form, and a couple of other controls so you can take focus away from it, and add this code:


    Private Sub Form_Load()

    ...
  8. Replies
    22
    Views
    984

    Sure, its attached. Thanks:)

    Sure, its attached.

    Thanks:)
  9. Replies
    22
    Views
    984

    Ok, I apologize, it only works if I add chars...

    Ok, I apologize, it only works if I add chars before varData. It still comes out as junk if I add something to the end of it (varData & "a" for example).

    MartinLiss, this is my entire function,...
  10. Replies
    22
    Views
    984

    Its a .reg file from regedit.

    Its a .reg file from regedit.
  11. Replies
    22
    Views
    984

    TheVader, I tried all different things. It doesnt...

    TheVader, I tried all different things. It doesnt work if I add null strings to either end. I've tried using Trim$, Cstr and anything I can think of. The only thing that seems to work is if I add...
  12. Replies
    22
    Views
    984

    Replace text in file

    Hi,

    I've been trying to get this working:


    Dim iFreeFile1 As Integer, iFreeFile2 As Integer, varData As String, s As String

    iFreeFile1 = FreeFile
    Open App.Path & "\_SettingsDump.dat" For...
  13. Replies
    6
    Views
    1,979

    Another problem..

    Ok, its almost working but I have another problem.

    This is my code:



    void __stdcall DownloadFile(LPCTSTR sURL, BSTR * sReturnData2, HWND hTargetWnd,UINT iCallbackMsg) {


    HINTERNET...
  14. Replies
    6
    Views
    1,979

    Ahh, yes it works now.

    Thanks a lot!! :)
  15. Replies
    6
    Views
    1,979

    No I dont. How would I go about doing that? I...

    No I dont. How would I go about doing that?

    I know I should probably spend a few hours going over tutorials and stuff, but Ive managed to guess my way through a couple of other DLLs, and this is...
  16. Replies
    6
    Views
    1,979

    Using wininet.h

    Hi,

    I have this:



    // DLControl.cpp : Defines the entry point for the DLL application.
    //

    #include "stdafx.h"
  17. Replies
    8
    Views
    1,415

    Thats looking pretty damn good so far! You've...

    Thats looking pretty damn good so far! You've gotten further than I could with it!

    I see the problem with the rounding, could you fix that up? :)

    Thanks a lot :D
  18. Replies
    8
    Views
    1,415

    Format GetTickCount?

    Hi,

    I'm trying to put GetTickCount into the format DD:HH:MM:SS, but I cant work out a way to do it.:confused:

    I found this thread , and I used that code in my app, but it doesnt work for users...
  19. ahhhh! I see! I was using AppendMenu, and passing...

    ahhhh! I see! I was using AppendMenu, and passing 0 as the ID.. I just passed 2 as the ID and now my lpds.itemID returns 2:)

    I thought it automatically returned the position, lol.

    Thanks a lot!
  20. Subclassing Menu - Doesnt quite work correctly

    Hi,

    I have created my own popup menu using API, and I'm trying to subclass it so I can draw the menu items myself. I have set the menu items to MF_OWNERDRAW, and this is my WindowProc function:
    ...
  21. Replies
    2
    Views
    634

    ahh, i c thanks :)

    ahh, i c

    thanks :)
  22. Replies
    2
    Views
    634

    Constants for VB

    Hi,

    I dont know any C++, but I'm trying to get the constant values for HBMMENU_xxx for VB. I've searched the net but I cant find them anywhere. I found this in WINUSER.H:



    #define...
  23. Replies
    6
    Views
    652

    No, i mean a menu. Its for a quicklaunch...

    No, i mean a menu. Its for a quicklaunch component on my program. I want a button to popup a menu when the component is resized to be smaller than the size needed to display all the icons, like the...
  24. Replies
    6
    Views
    652

    *bump*

    *bump*
  25. Replies
    6
    Views
    652

    Hi, I'm looking more at an API method I think....

    Hi,

    I'm looking more at an API method I think. I need it to list sub folders, and sub menus for the contents of these folders?:confused:

    I also want the icons next to the file name, and (just...
  26. Replies
    6
    Views
    652

    Browse with a menu (unresolved)

    Hi,

    How can I make a popup menu that browses a folder and its sub folders, like the ones you get off the start menu programs list?:confused:

    Thanks in advance
  27. Replies
    6
    Views
    419

    Yeah. I mentioned that VB6 uses 1.5-2mb of memory...

    Yeah. I mentioned that VB6 uses 1.5-2mb of memory for loading the runtime DLL, and he said .NET added 8mb of usage onto his app before he did this. I'm not sure what he's done!
  28. Replies
    6
    Views
    419

    damn!! i just looked at that screenshot and half...

    damn!! i just looked at that screenshot and half the feckin answer is startin me in the face!! he has swapped the values of virtual memory and memory usage... how would I go about doing that?
  29. Replies
    6
    Views
    419

    btw, how would I go about doing that? Thats what...

    btw, how would I go about doing that? Thats what I thought he might have done initially, but I cant find anything on it anywhere.:(
  30. Replies
    6
    Views
    419

    I havent tested it myself, he's just showing this...

    I havent tested it myself, he's just showing this screenshot off everywhere:
    http://members.shaw.ca/danny-smurf/Images/dashboard_normal.gif

    He wouldnt fake that either.. if he did then he'd be...
  31. Replies
    6
    Views
    419

    Dramatic Memory Usage Reduction!

    Hi,

    My program uses, on average, between 20 and 30mb of RAM. My competitions program used the same.. until today when the developer reduced it to just over 1mb. :eek:

    My prog is written in...
  32. Replies
    26
    Views
    2,152

    lol, yeah. Although I hadnt seen this bar when I...

    lol, yeah. Although I hadnt seen this bar when I started this, I'd just heard someone talking about MS sideshow. Since I stated screenshots have been released of the LH bar and I've made a skin that...
  33. Replies
    11
    Views
    751

    Pretty much yea. I just had someone help me out...

    Pretty much yea. I just had someone help me out with the taskbar integration.
  34. Thread: Text divider

    by Illspirit
    Replies
    7
    Views
    533

    Use an underscore character, like this ...

    Use an underscore character, like this



    Text1.text = "Blah blah blah blah...." & vbNewLine & _
    "Blah blah blah blah...." & vbNewLine & _
    "Blah blah...
  35. Thread: Text divider

    by Illspirit
    Replies
    7
    Views
    533

    Text1.Text = "Line1..." & vbNewLine & "Line2..."

    Text1.Text = "Line1..." & vbNewLine & "Line2..."
  36. Replies
    11
    Views
    751

    You can type ALT+0149 into the password char...

    You can type ALT+0149 into the password char property.
  37. Replies
    3
    Views
    669

    Hey, You need to put ByVal before your string....

    Hey,

    You need to put ByVal before your string. Passing anything without ByVal makes SendMessage think you're sending the address of the variable/string/whatever you are sending. ByVal tells it to...
  38. Grabbing the icons off a toolbar (Surely someone must know this!!)

    Hey!

    I'm trying to make a system tray for my replacement taskbar, but ive run into no end of trouble. I found that it has a ToolbarWindow32 class, so I have been trying to use SendMessage with the...
  39. *bump*

    *bump*
  40. Thread: Problem?

    by Illspirit
    Replies
    5
    Views
    452

    i dont understand:confused: do you mean so you...

    i dont understand:confused:

    do you mean so you cant see the frame, but the controls inside it are still visible?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width