Search

You searched for the word(s): userid:697553

Matching Posts

  • Re: retrieve image from database then resize it before rendering on webpage

    Hi cmgray, I've been looking at your code above for retrieving an image from a database and getting the image dimensions. You reference a variable called 'outputSize' . I was wondering where the value for this comes from? Basically, I am successfully retrieving the image from the database and adding it to the Response.OutputStream stream, but cannot seem to get the image dimensions from the data, so I was looking at your code as it looks like it will achieve this. Everything else about
    Posted to System.Drawing/GDI+ (Forum) by Benno74 on 1/14/2008
    Filed under: resize, ASP.NET, asp.NET drawing images database, Image, Image Manipluation, Graphics
  • Force user logoff or prevent access?

    Hello all, We have a ASPVB.Net 2.0 application running on IIS6 using Windows authentication that access a MSSQL database. Users must login to the application before being able to view or edit the data. This database is also accessed by a client/server application, written in Delphi, which is the main application used to control data in the database. The Server.exe from this application is also used to authenticate users from the login.aspx page in the ASPVB.Net application (via a .DLL) and this is
    Posted to Security (Forum) by Benno74 on 2/18/2007
    Filed under: security, session, ASP.NET 2.0
  • Re: Execute permissions on \bin folder keep resetting

    Ok... Have tested this on Win2003 server and IIS 6 with perfect results! The execute permissions are holding on the /bin folder and I'm not having to reset the WWW Publishing Service. So, as this will be the live machine, this is good news. Just a serious inconvenience it doesn't work on IIS 5.1 on XP, as this is the development machine! If anyone has any further information on this issue (see original post) it would be much appreciated. Thanks again Ben.
    Posted to Configuration and Deployment (Forum) by Benno74 on 2/13/2007
  • Re: Execute permissions on \bin folder keep resetting

    Hi kckriegs, Thanks for the response. It is a strange one indeed... The .dll's/.exe's is external to my .Net application in as much as it is written in Delphi 5. But the /bin folder sits under the root of the application, i.e. App_Root\bin So, I tried your suggestion of creating a virtual directory for \bin... Same result. I'm going to try it on our Win2003 web server. Maybe it's not an issue in IIS 6??? But I'm still suspecting some setting I need to add in web.config file or similar. Or maybe
    Posted to Configuration and Deployment (Forum) by Benno74 on 2/12/2007
  • Execute permissions on \bin folder keep resetting

    Hi All, I have a problem with execute permissions on the /bin folder of my website running under IIS 5.1 on WinXP Pro, with doNet Framework version 2. I have both a .dll file and a .exe file sitting in the \bin folder, and as such, I have the execute permissions on that folder set to 'Scripts and Executable' in order to access these files. However each time I run the application for the first time, the execute permissions are being reset to 'None'. The only way I seem to be able to get around this
    Posted to Configuration and Deployment (Forum) by Benno74 on 2/8/2007
  • Re: PreviousPage URL

    Hi bipro, That will work just fine. Thanks for your prompt and helpful response. Much appreciated.
    Posted to Getting Started (Forum) by Benno74 on 1/21/2007
  • PreviousPage URL

    Hi all, I'm sure this is another easy question to answer... I have a 'Back' button on my page which, fairly obviously, is supposed to go to the previous page's URL. However, instead of using 'javascript:history.go(-1)' I would like to to refer to the actual URL of the PreviousPage. Have tried a couple of techniques including storing the RawURL of the source page in a hidden field and trying to read the value of that field from the target page, but keep getting the 'Object reference not set to an
    Posted to Getting Started (Forum) by Benno74 on 1/21/2007
    Filed under: Navigation, vb.net
  • Re: Using filename from URL as page title

    Thanks guys for the prompt response to this. A much better approach! I knew there was a better way! :-) Much appreciated. Ben
    Posted to Web Forms (Forum) by Benno74 on 1/16/2007
  • Using filename from URL as page title

    Hi all, I'm sure this would have been covered somewhere and I'm close to a solution, but can't seem to get it right for all pages... What I would like to acheive is to set the title of each page to the name of the aspx file (from the URL), but minus the '.aspx' extension. I'm using VB .net 2.0 and so far I have the following code - and this may not be the best approach: Dim Path As String Dim FileName As String Dim Index As Integer Dim NewFilename As String Dim Ext As String Path = Request.RawUrl
    Posted to Web Forms (Forum) by Benno74 on 1/16/2007
    Filed under: string manipulation, VB, .Net 2.0
Page 1 of 2 (12 items) 1 2 Next >