User Profile

Collapse

Profile Sidebar

Collapse
Hutt
Hutt
Last Activity: Feb 27 '08, 12:03 PM
Joined: Jan 4 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hutt
    replied to Printing an image from file on a network
    in .NET
    Hi,
    If I change the line to:
    Dim theCompleteImag e As New Drawing.Bitmap( "http://localhost/Prints/" + _imgStr + ".jpg")
    and run the app it highlights this line of code, with a message 'URI formats are not supported'. What am I missing?
    Thanks....
    See more | Go to post

    Leave a comment:


  • Hutt
    replied to Printing an image from file on a network
    in .NET
    Hi,
    Thanks for replying, but I'm relatively new to .net and need some clearer advice. Yes my application is on a network web server, and this is where the jpeg image file sits. The client could open the image in a browser to print, but that doesn't work because it only ever prints part of the image (despite changing printer settings to fit to page), and this involves another step for the user. When I host the app locally my .net code fits...
    See more | Go to post
    Last edited by Hutt; Feb 18 '08, 02:00 PM. Reason: Add code

    Leave a comment:


  • Hutt
    started a topic Printing an image from file on a network
    in .NET

    Printing an image from file on a network

    Hi,

    asp.net (vb).
    I have developed a site in test on my PC which runs a process and outputs a jpeg image to a folder in C:\inetpub\wwwr oot\images, and I can print it from a button on my page using vb with document.print( ).
    However, when I move the site to our server the print no longer works. I understand this is because the image is now on the server along with the vb code.
    So my question is how can a client on...
    See more | Go to post

  • Hutt
    replied to Class getting values from code behind
    in .NET
    Hi,
    Thanks for the reply. That clears up that I cannot access the textbox directly from the class code (which I didn't know), so thanks.
    See more | Go to post

    Leave a comment:


  • Hutt
    started a topic Class getting values from code behind
    in .NET

    Class getting values from code behind

    Hello,
    I'm fairly new to vb.net and have a question I can't find an answer to. The site I'm working on is complex, but to keep things simple here's the basic problem.
    I have a site designed with a textbox on the default.aspx page, and I have a class in the App_Code folder (class1.vb). When the class1.vb code runs I need it to read the text from the textbox (i.e. theText = TextBox1.Text), but Visual Studio underlines TextBox1 in blue...
    See more | Go to post
No activity results to display
Show More
Working...