dcsimg

Search:

Type: Posts; User: ididntdoit

Page 1 of 13 1 2 3 4

Search: Search took 0.90 seconds.

  1. Replies
    9
    Views
    1,719

    Re: Force a program to unload my library

    That's the code alright. My original question is how to I make explorer call that API? It can only be called by the program that loaded the library because you need the handle passed by...
  2. Replies
    9
    Views
    1,719

    Re: Force a program to unload my library

    Libraries are unloaded through code, not by running some program... What I was wondering is if there is some WM that can be sent to explorer.exe or some system-wide API that would force either a...
  3. Replies
    9
    Views
    1,719

    Re: Force a program to unload my library

    Um, the only thing I got out of that post was to kill explorer.exe. Obviously that works, but it's very messy and usually leaves the system tray in a shambles until reboot. This is exactly what I'm...
  4. Replies
    9
    Views
    1,719

    Re: Force a program to unload my library

    still no ideas? Is this even possible?
  5. Replies
    9
    Views
    1,719

    Re: Force a program to unload my library

    *bump*
  6. Replies
    9
    Views
    1,719

    Force a program to unload my library

    Hey everyone. Long time no see.

    I've been using the deskband sample program from the latest Windows SDK (which BTW has a bug in it. It has been fixed by the Dev, but I don't know if it's been...
  7. Replies
    14
    Views
    1,361

    Re: [RESOLVED] PHP Authentication code

    <Directory "/media/space">
    AllowOverride all
    Options +Indexes
    RewriteEngine On
    RewriteRule ^(.*)$ test.php?req=$1 [L]
    </Directory>

    Nope, no change with this. This is really odd. Did I...
  8. Replies
    14
    Views
    1,361

    Re: [RESOLVED] PHP Authentication code

    Here it is. It's basically stock with just 2 virtual host structs and that directory struct. If it matters I'm running Ubuntu 10.04 on an x86 AMD CPU machine.
  9. Replies
    14
    Views
    1,361

    Re: [RESOLVED] PHP Authentication code

    yes, sorry. I changed that already to req. (I put it in my last post, just not in CODE quotes) I was just curious if request ahppened to be some kind of keyword either for Rewrite or PHP. I also...
  10. Replies
    14
    Views
    1,361

    Re: [RESOLVED] PHP Authentication code

    Sorry one - last problem that I can't seem to solve by online research. You're line "RewriteRule ^(.*)$ test.php?req=$1 [L]" looks perfect according to every online resource I can find. SO the...
  11. Replies
    14
    Views
    1,361

    Re: PHP Authentication code

    I put is as such in my apache2.conf:


    <VirtualHost *:8029>
    ServerName "Mine"
    DocumentRoot /media/space
    </VirtualHost>

    <Directory "/media/space">
    RewriteEngine On
  12. Replies
    14
    Views
    1,361

    Re: PHP Authentication code

    Wow, that looks excelent and just like what I need! I assume I can either throw this right into my VirtualHost structure or a Directory structure, correct?

    I'll try this in just a few minutes - I...
  13. Replies
    14
    Views
    1,361

    Re: PHP Authentication code

    I know I could do it with .htaccess, and it would work just fine.

    The reason I wished to do something with PHP is

    a) htaccess is very primative. It offers no nice login page or option to...
  14. Replies
    14
    Views
    1,361

    [RESOLVED] PHP Authentication code

    Hey everyone. Here's my problem. The web is CRAWLING with code to authenticate a user who is opening a specific file.

    My problem: I want to use PHP to authenticate access to ANYTHING and...
  15. Replies
    5
    Views
    1,730

    Re: [VBS]Automate Printer Install

    I'm afraid I won't have a chance to try that script out. I was just told that we are completely upgrading the entire college to a new system at the end of term so I was told not to bother in a 'don't...
  16. Replies
    5
    Views
    1,730

    Re: [VBS]Automate Printer Install

    Hmmm... it's a rather complicated script (from my point of view - I've never done VBScripting ever) and it'd be nicer with comments, but it looks like it might just work for what we want so when I'm...
  17. Replies
    5
    Views
    1,730

    [VBS]Automate Printer Install

    I think what I need is a VBScript to install a printer.

    I work in IT at a big college and when we re-image computers for certain areas we have to install upwards of 6 printers each are networked...
  18. Re: SetTimer corrupts windows after a while?

    All of my painting is actually in WM_PAINT. I only have a few calculations in WM_TIMER and a call to InvalidateRect();

    Let me see if I have that screen capture program somewhere handy...

    EDIT:...
  19. [RESOLVED] SetTimer corrupts windows after a while?

    I know that what I'm doing in this case is very bad programming practice, but we have to follow certain criteria in these programs that I write for class. Just a heads up.

    The program must animate...
  20. Re: Windows XP Pro SP2 crashes when I overclock my PC - not my fault!

    Weird. I went back to the updated BIOS I tried before that didn't work and jumped my FSB straight from 1199 to 1333 and now it works! Meh...
  21. [RESOLVED] Windows XP Pro SP2 crashes when I overclock my PC - not my fault!

    Whenever I crank the qFSB of my CPU to 1200 or higher, Windows boots, starts to login, then gives me a blue screen stating "hardware malfunction call your hardware vendor for support the system has...
  22. Re: Track all new, deleted, and modified files

    Perfect. Thank you!
  23. Track all new, deleted, and modified files

    I'd like to have my program keep track of all created, deleted, and modified files on a specific drive (or the whole computer, doesn't matter). Is there a way to achieve this apart from creating a...
  24. Replies
    5
    Views
    2,387

    Re: Run a linux script from a PHP file!

    OK FYI it turns out that Cron and PHP do not by default have access to the X server in linux. To make my script (below) work with Cron, you must include a path to the DISPLAY environment variable. I...
  25. Replies
    5
    Views
    2,387

    Re: Run a linux script from a PHP file!

    no sudo. But it does work with sudo.
  26. Replies
    5
    Views
    2,387

    Re: Run a linux script from a PHP file!

    It should run a script (screenshot.sh) and that script will take a screenshot and save it to /media/disk/apache2dir/mine/screenshot.png, then my script will redirect to that screenshot png. The idea...
  27. Replies
    5
    Views
    2,387

    Run a linux script from a PHP file!

    I know this should frikkin work but it's been pissing me off all night and I can't figure it out. I'm using shell_exec('/media/<....>/mine/script.sh'); and IT WILL NOT RUN RIGHT!!!

    If I echo that...
  28. Having problems with anything larger than 32h - PIC16F84

    I'm working on a school project and I'm just trying to enhance the code now for my own enjoyment and the problem that I'm having is that whenever a variable becomes larger then 32 (hexadecimal), the...
  29. Re: HELP needed ASAP RE: user privileges

    When you go to login, hit Ctrl+Alt+Del twice, then under name, type Administrator. Once you are in, change the password like any other user. And I'm not trying to get too over-technical here. Anyone...
  30. Re: HELP needed ASAP RE: user privileges

    She knows how much crap she'll be in if she gets caught on someone's account, so she leaves them alone except to make herself admin from limited. So, NO ONE except the Administrator account (which I...
  31. Re: HELP needed ASAP RE: user privileges

    EDIT: It's Windows XP Media Center edition

    She's only 12, so she's sure not doing anything exciting like booting to removable discs or anything (she's not smart enough to NOT install random EXEs...
  32. [RESOLVED] HELP needed ASAP RE: user privileges

    My girlfriend gave me her family computer to fix the other day, and now i have it fixed, I'd love to fix the source of me having to fix BSoDs and stuff every few months: her sister. Her sister...
  33. Replies
    4
    Views
    480

    Re: put an icon into an imagelist

    Actually, I think it doesn't matter anymore. In the end, my program will be loading the images from a file anyways, so LoadPicture will work just fine. Thanks though.
  34. Replies
    4
    Views
    480

    Re: put an icon into an imagelist

    "Invalid Picture"

    The picture is perfectly valid - it will go into a picturebox just fine, but how do I put it into the imagelist?
  35. Replies
    4
    Views
    480

    put an icon into an imagelist

    I have the handle for an icon, and I have a function (below) to turn it into an StdPicture, why the hell do I keep getting and error when trying to add the picture to my imagelist???!?!?!?!? And how...
  36. Re: [RESOLVED] Get the Icon from an open window

    Public Declare Function GetClassLong Lib "user32.dll" Alias "GetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long


    Public Declare Function DrawIconEx Lib "user32.dll" (ByVal hDC As...
  37. Re: Get the Icon from an open window

    HAHA! It worked!!! Thanks a million LaVolpe! You rock!!


    EDIT: Whoops - forgot to reload the page before my response :P I didn't see anything since my last post.

    @Coolsid: LaVolpe's...
  38. Re: Get the Icon from an open window

    Would it change anything if I said I have the window subclassed? Could I do something myself if I have the program subclassed to get the icon out of the top left corner of the screen? I know that the...
  39. Replies
    106
    Views
    75,773

    Re: Subclass External Programs done for you

    I just HAD to post to say - AWESOME CODING!!! THANKS MAN!!

    *rates*
  40. [RESOLVED] Get the Icon from an open window

    If I have a Window open (not mine) (I have the hWnd and titlebar caption), how can I get it's icon somehow a) into an imagelist and b) into a file? (just getting a handle to the icon would be enough,...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width