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
M

mcostello

@mcostello
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • "Remember me" logon - shared web server issues
    M mcostello

    I have a site which has a user login. The login has a remember me functionality which works correctly on my local machine, my local web server but does not persist the user login on a shared web server. I am using Forms Authentication and would appreciate any suggestions as to what could be causing this on the hosted server. Mark Costell Ireland

    ASP.NET sysadmin security

  • ODBC Excel and ASPNET user
    M mcostello

    Can anyone tell me how to set the permissions on the ASP Net user account so that I can use the EXCEL or CSV ODBC driver to read from an excel file on a Windows 2003 server. I keep getting the error that I don't have permissions to read the file The code I use is shown below - it breaks on the ds.fill every time Dim conn As New Odbc.OdbcConnection conn.ConnectionString = "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" & _directory & ";Extensions=csv" conn.Open() Dim da As New Odbc.OdbcDataAdapter("select ship from output.csv ", conn) Dim ds As DataSet = New DataSet da.Fill(ds) Thanks Mark

    ASP.NET asp-net sysadmin help tutorial

  • Multitab Web application
    M mcostello

    Try http://www.aspnet101.com/aspnet101/tutorials.aspx?id=28 Mark Costello

    ASP.NET tutorial csharp asp-net

  • Accessing a Files summary metadata
    M mcostello

    The File Info Class only gives a restricted set of Attributes - name, path, readonly etc. It does not access the summary values of a file - author comments etc. Any other thoughts? Mark Costello Dublin, Ireland

    ASP.NET csharp asp-net help

  • Accessing a Files summary metadata
    M mcostello

    Can anyone help me accessing the summary data of file e.g. author, comments etc using ASP.NET (VB code behind) The FSO object only gives limited attribute information such as date created etc Mark Costello Dublin, Ireland

    ASP.NET csharp asp-net help

  • Upload File Progress bar
    M mcostello

    Thanks a million - works perfectly. Mark Costello

    ASP.NET com

  • Upload File Progress bar
    M mcostello

    Hi I have been trying to build a progress bar for uploading files. Using the code at http://www.codeproject.com/useritems/File\_Upload\_Progress\_Bar.asp as a template, I built the following code. This seems to work perfectly until you look at the uploaded file which is missing some data. E.g. a file that has a File Size of 81,392 and a Size on Disk of 81,920, when uploaded has a file size of 77,824 and a size on disk of 77,824. Any ideas gratefully accepted or I'll have no hair left soon..... *******************Class****************************** Public Class UploadThread Private _bytesRead As Long Private _tID As Thread Private _filename As String Private _stream As Stream Private _uploaded As Boolean Private _exception As Exception #Region "Constructors" Public Sub New() End Sub 'New #End Region Public Property BytesRead() As Long ' How many bytes has been uploaded. Get Return _bytesRead End Get Set(ByVal Value As Long) _bytesRead = Value End Set End Property Public Property Length() As Long ' Length of data to upload Get Return _stream.Length End Get Set(ByVal Value As Long) End Set End Property Public Property Uploaded() As Boolean ' Determine upload was finished Get Return _uploaded End Get Set(ByVal Value As Boolean) End Set End Property Public Property Percent() As Integer ' How many percent has been uploaded Get Return ((BytesRead * 100) / Length) End Get Set(ByVal Value As Integer) End Set End Property Public Property Exception() As Exception ' Exception object, is there was an exception, otherwise: null. Get Return _exception End Get Set(ByVal Value As Exception) End Set End Property '/// '/// Class contructor. '/// Initialize fields and create uploading thread. '/// '/// File's name, with the path, to save '/// Upload data's stream (ex. .PostedFile.InputStream) Public Function FileUploadThread(ByVal filename As Stri

    ASP.NET com
  • Login

  • Don't have an account? Register

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