Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
I

intonet

@intonet
About
Posts
6
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Screen Capture over Terminal Server
    I intonet

    I'm experiencing a wierd problem when capturing a screen from within a desktop app running on terminal server. Here's my code: Public Shared Function CaptureControlImage(ByVal pControl As Control, Optional ByVal pstrFilename As String = "") As System.Drawing.Image ' Returns the image contained with the referenced controls client rectangle and optionally saves it to JPEG file Dim g As Graphics Dim picture As PictureBox Dim img As Image ' Create a new PictureBox control. This is used to manipulate the captured bitmap picture = New PictureBox picture.Image = New Bitmap(pControl.ClientRectangle.Width, pControl.ClientRectangle.Height) ' Create a GDI+ drawing surface based on the PictureBox control g = Graphics.FromImage(picture.Image) ' BitBlt the screen image at the co-ordinates representing the referenced controls client rectangle ' into the drawing surface, which is the PictureBox control g.CopyFromScreen(pControl.PointToScreen(New Point(pControl.ClientRectangle.X, pControl.ClientRectangle.Y)), _ New Point(0, 0), _ New Size(pControl.ClientRectangle.Width, pControl.ClientRectangle.Height)) ' Creates an image object from the PictureBox surface img = picture.Image If Not IsNothing(img) AndAlso pstrFilename <> String.Empty Then ' Save the image to disk if required img.Save(pstrFilename, Drawing.Imaging.ImageFormat.Jpeg) End If Return img End Function It works just fine when running locally, but when the app is deployed on another server and it's access via terminal server, then this is what you get: http://www.threefivefive.com/gallery/data/500/medium/capture_ts.jpg[^] Can anyone tell me why?

    Graphics graphics winforms com sysadmin help

  • ASP.NET creating strange URLs
    I intonet

    Thanks for the prompt answer! It's been infesting my Google listings which is the most annoying thing.

    ASP.NET csharp asp-net sysadmin question

  • ASP.NET creating strange URLs
    I intonet

    I have a simple web site written entirely using ASP.NET 2.0. I'm seeing some very weird URLS in my server logs. Here's an extract from today: 1 http://www.intonet-technology.co.uk/(X(1)S(j4kgykmhswm0hy45oo4yu5ni))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(np5ip2ffrq5zpa455wbgem45))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(pmpsrw45lxwqc5aa23mqy4np))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(gsqxw145kzj1c53nttxcap45))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(mlyu3sfl01dwbyegilpvsrz0))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(brkgw4y4dxr45h55urrdhx45))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(rds3dl552lngp4blc0xei245))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(gk4n3i55tsstta55aafcn2n3))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(ejn5mu45y4nsyzukabzn4orw))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(youl1fjghdcon355o0faji55))/Default.aspx 1 http://www.intonet-technology.co.uk/(X(1)S(klfvj555jytwl355yfedvc45))/Default.aspx Can anyone explain what the (X(1)S(blahblahblah)) bit is all about? - Tim Skipper

    ASP.NET csharp asp-net sysadmin question

  • Checking for Nothing before disposing
    I intonet

    Is there any benefit to doing this: If obj isnot Nothing Then obj.Dispose obj = Nothing End If I'm not sure there is. Your views are appreciated! Tim

    Visual Basic

  • Membership fees
    I intonet

    Using PayPal as your merchant will cost you 23.5p on a £1.00 transaction (3.4% + £0.20p). Potentiall not the end of the world if you can then upsell to your clients. Using the PayPal PayFlow Pro .NET API it's a piece of piddle to integrate into your web site. It's about £20.00 a month for the PayFlow subscription, with a further charge for recurring payments. www.paypal.com

    Web Development question security business sales

  • How to exclude web.config from Publish Web
    I intonet

    This is driving me nuts; I have, as you might expect, different settings in my web.config file on my dev, staging & live servers. How can I tell VS2005 to NOT publish web.config when I use the Publish Web menu option? It's annoying having to keep overwriting it with a local copy each time. Regards, Tim Skipper

    Visual Studio question tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups