+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Senior Member counterstrikewi's Avatar
    Join Date
    Apr 2009
    Location
    \??\.\PhysicalDrive0:\+00h
    Posts
    1,982

    Wink Loading a screenshot into an image for remote control

    my code :

    ScreenShotStream is a memory stream
    currentdirectory is a string;
    i send it to me from them load it into the Timage and then i can see what i am doing on their pc. ie where i have moved their mouse to etc

    Code:
    inc(ScreenShotNumber);// needed this as screenshots come faster than 1 per second
          currentdirectory := GetCurrentDir+'\ScreenShots\'+Shot_name+'\'+DatetoStr(Date())+' '+TimetoStr(Time())+' '+IntToStr(ScreenShotNumber)+'.jpg';
          ScreenShotStream.SaveToFile(currentdirectory);
          ScreenShotStream.Free;
    this is all cool its just to show you guys what ive dun up until now this all works and i can open the pictures outside of the program.

    then i do this

    Code:
        Form2.Image1.Picture.LoadfromFile(ExtractFileName(currentdirectory));
    and i get the most infuriating error

    something like '.' is an invalid file extension.

    WHAT THE DEVIL

    oh btw ive got my date separator as -

    and my time separator as .

    to solve the filename problems :/

    ive changed the time separator to other symbols too and it still fails :/

    any ideas

    i eagerly await your response

  2. #2
    Senior Member counterstrikewi's Avatar
    Join Date
    Apr 2009
    Location
    \??\.\PhysicalDrive0:\+00h
    Posts
    1,982

    Cool

    :@

    14 HOURS IT TOOK ME TO FIGURE OUT THAT I HAD MISSED OUT THE FOLDER NAME!!

    this si a total waste of a thread :p sorry admin..

    its a noob error Cool

    counterstrikewi

    PS this code makes the vicitms machine run INCREDIBLY SLOWLY

    but hopefully with some limits (like not sending if the images are the same) or sending each screenshot at greater time intervals this should be solved

    any ideas for further optimmization

    GREEEEEEEEEEEEEETZ

    COUNTERSTIKEWI (AKA PRO HACKER COUNTERSTRIKEWI)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VB6 - Remote Webbrowser (reverse web proxy) using WebBrowser control!
    By QuaziK in forum General Programming Help
    Replies: 21
    Last Post: 05-10-2009, 19:16
  2. Remote Image Streaming
    By Trilithium in forum General Programming Help
    Replies: 20
    Last Post: 06-03-2008, 07:14
  3. Replies: 2
    Last Post: 02-12-2005, 23:52
  4. DLL Loading...
    By unreachableboy in forum General Programming Help
    Replies: 0
    Last Post: 03-11-2005, 19:30
  5. Replies: 10
    Last Post: 10-09-2005, 23:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.