none
HTTP Upload - Own Image Uploader RRS feed

  • Question

  • I've never worked with Visual Basic alot, so I was thinking if someone could help me create a quick screenshot uploader, which would uses my PHP image uploader,

    My PHP part works the way that it sends a file from an input, which's name is "attached" -> upload.php which then moves the uploaded file onto the server, and returns the uploaded image link on the html page, inside textboxes,

    http://img.draynor.net/

    My question is if it would be possible to make one that takes a screenshot, uploads it and gives you the uploaded image URL to your clipboard right after hitting the key,

    Also, is it possible to only take a screenshot of the active client window? such as a java applet.

    Regards,

    Nico
    Saturday, March 31, 2007 9:11 AM

Answers

  • Clooth,

     

    You application seems to be comlicated according to the screenshot, uploaded image URL, etc. However, I would like to provide you some related information on different aspects of your project.

     

    1. Screenshot part:

     

    Please take a look at the article in code project titled Screen Keyboard, I hope the Windows API reference instruction in the article will help you on the issue:

     

    http://www.codeproject.com/vb/net/screen.asp

     

    2. How to upload an image file to a Web site by using Visual Basic .NET or Visual Basic 2005

     

    http://support.microsoft.com/kb/315832/en-us

     

    This article demonstrates how to use the Input control to upload an image file from a local computer to a Web site. The file name is validated against the server to ensure that you do not overwrite an existing file.

     

    3. How to save a graphic from the Clipboard to a file by using Visual Basic .NET or Visual Basic 2005

     

    http://support.microsoft.com/kb/818410/en-us

     

    This step-by-step article describes how to save the graphic that is loaded in the Clipboard as a bitmap file by using Visual Basic .NET or Visual Basic 2005. This article describes how to use the Clipboard class to do this.

     

    I hope the information above can help you to understand the problem in VB.NET part. Furthermore, there is a Screen Shot Uploader written in PHP, you can download it from the following link:

     

    http://phpnuke.org/modules.php?name=News&file=article&sid=7478

     

     

     

    Friday, April 6, 2007 6:39 AM