Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by LoveToCode

  1. LoveToCode

    Grab an image from the internet and save it to the file system.

    Once Again! ca8msm saves the day. Thanks so much!!!!
  2. LoveToCode

    Grab an image from the internet and save it to the file system.

    I dont think that the streamreader object is what I need to use? I tried to impliment it to pull the image from a URL and it gives me the error that URI formats are not supported: string thumbImgUrl =...
  3. LoveToCode

    Grab an image from the internet and save it to the file system.

    OK - well, ashx aside - how would I handle simply pull a web image from a URL into an image object? Take this code sample for example: string thumbImgUrl = "http://eur.news1.yimg.com/eur.yimg.com/xp/wenn/20060928/12/3390327964-lily-allen-threatens-kick-stab-peaches.jpg"...
  4. LoveToCode

    Grab an image from the internet and save it to the file system.

    By the way - I am confused about what a "Stream" is. When a function asks for a stream, does it want a byte array, or some other kind of data type? Does it want me to convert it to a stream type? Is a Stream a datatype, an object, or what?
  5. LoveToCode

    Grab an image from the internet and save it to the file system.

    Hey thanks for the code sample. I didn't realize it was so easy. OK so I see there are two methods for saving an image... // build the url for the image processor that creates the thumb nail image string thumbImgUrl = Core.Config.Root + "/shared/WiseImage.ashx?Image=" +...
  6. LoveToCode

    Grab an image from the internet and save it to the file system.

    Thank you very much for your response. Can you please elaborate on how I woudl save the image to the server (step 3). For the sake of clarity, say I want to directly save the URL reference above to a file on my server. 1) Do I need to create a new bitmap object or image object? 2) Is there...
  7. LoveToCode

    Grab an image from the internet and save it to the file system.

    This is a pretty simple question I guess. I just want to save an image from a web url to the file system of our server. The purpose is, we have a image processing tool that is a web URL that takes in a bunch of web paramaters and outputs a new JPG image and I want to take the outputed image...
  8. LoveToCode

    Sharing objects to a usercontrol

    Hello, I have a page that includes an ASCX file. In the ASP.NET page there is an object created, say User object. I pulled some stuff that needs to be shared to multiple pages into a user control. The code in that uc needs an instance of the user object. I'd hate to have to reinstatite it and...
  9. LoveToCode

    Simple parsing of an array based on delimiter

    Oh yeah! BTW - it should be: yourstringname.Split('|') Tank you!
  10. LoveToCode

    Simple parsing of an array based on delimiter

    Hello, I have a string like this: 89|23|53|24|29|73 I'd like to put that string into an array list (or array) without writing a function. Is there some array parsing function that will populate an array automatically? Thanks, -- jq
  11. LoveToCode

    Newbie Box question

    I have a box that I made out of a div; Below is the code for it. In IE it is 260px wide. In firefox its 302px wide. what the heck... Here is the CSS: <style type="text/css"> #playlist { background-color: #f2f2f2; border: #414141 1px solid; padding: 20px; width...
  12. LoveToCode

    Quirky firfox input text box issue - No Cursor!

    Hey MonkSnake, I agree with you - its prolly in the CSS, but there is no "cursor: " property assigned to any elements on that page... doesn't the cursor property define the mouse cursor, not the blinking cursor? Here is the CSS for that div's inputs: .popup input, .popup textarea, .popup...
  13. LoveToCode

    Quirky firfox input text box issue - No Cursor!

    Sorry! Please log with: username: test password: test Thank you for taking a look! -- jenni
  14. LoveToCode

    Quirky firfox input text box issue - No Cursor!

    Yeah this is a weird one. I hope there is a workaround! There is a TEXTBOX on this page when you click "Send Message" that appears in a pop up div. When the textbox has focus and you are typing, the cursor does not appear. Its very annoying! Please tell me there is a simple explanation for...
  15. LoveToCode

    Please help me figrure out why this won't validate

    Yes! You rock! Validation achieved... that feels good. Thanks a bunch!!

Part and Inventory Search

Back
Top