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
C

codycaillet

@codycaillet
About
Posts
7
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • User download file
    C codycaillet

    Situation: I have a page that allows the user to click a file to download for a set time period. I want to allow the user to download the file but not allow him to copy the URL of the file to continue to download the file at a later date. What I originally did was use a StreamReader to send the data to the browser after I verified that the request was okay, change the content type, and sent it to the Response object. This worked 100% for the smaller files, however, some of these files are 150mb+ and the server hangs while trying to read such a large file. I know I can copy the file to a temporary directory, let the user download it by redirecting to that temporary URL, and then clean the temporary directory so the URL will no longer be valid. However, this seems like a bad idea for memory reasons. Whats some of my options for allowing the download of such a large file without being able to duplicate the URL? Thanks. Cody

    ASP.NET sysadmin performance question

  • Listbox using Objects?
    C codycaillet

    I would like a listbox (or something w/ similar behavior) to have 2 labels, a dropdownlistbox, and a button for each item. Can I implement that somehow using one of the built in controls or do I need to create a custom user control? Any suggestions on either would be greatly appreciated. Cody

    C# question

  • XML and Dataset ??
    C codycaillet

    Okay..heres what my goal is. I have 2 tables with a parent-child relationship in an Oracle DB. I want the XML file to look like this. (I want to use XSLT to format the data). AAA BBB ... Is there a way to create this type of XML easily using the DataSet. Here's what I tried. I tried adding both tables to a dataset, and then adding the relationship. Then I called the WriteToXml method of the dataset but it did not keep that format. I also have a XSD file for my dataset that I created with that format but no luck. Any ideas??

    Database xml database oracle question

  • Combo Boxes in Windows Forms (Data Binding)
    C codycaillet

    A question concerning the behavior... Ex. I bind the data to a DataSet in the Form_Load() event. I have an event that is triggered when on the SelectedIndex_Changed event. On the load, the DataBind is causing the SelectedIndex event to fire which sort of makes sense. Is there flag or property I can set around the code block which binds the data to force it not to trigger that event.

    C# database wpf winforms wcf question

  • Parse error
    C codycaillet

    Okay..I've had some strange problems. To summarize, here's whats happening. Here is the steps I go through. 1. Create new web on server (win 2K) 2. Make it an application using IIS 3. Give ASPNET account access to folder 4. Create new project in VS.NET in that location 5. Add Response.Write statement for the heck of it 6. Build 7. When I run the page, I get the famous error: Parser Error Parser Error Message: Could not load type 'CodyASPNETTest.WebForm1'. Source Error: Line 1: <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="CodyASPNETTest.WebForm1" %> Line 2: Line 3: What in the world could be happening here? When I run it on my local machine, it works fine. All the IIS / Security settings are the same. The web folder is an applicaiton. The answer most people give in the forums is to compile but I obviously wouldn't POST here for something that trivial. Someone help please! Cody

    ASP.NET csharp help asp-net visual-studio sysadmin

  • Start/Stop Websites from Code (Windows Forms)
    C codycaillet

    Is there an object I can use to stop/start a website hosted on the local machine programmatically? For example, perform the same actions that occur when you click the STOP button on the Default Website in the IIS Console. Thanks in advance. Cody

    C# winforms windows-admin tutorial question

  • MDI Question
    C codycaillet

    Thanks..thats an interesting idea. I actually did it a different way by when the user logs on successfully, having the child window (logon form) populate some public properties of the parent window. I like the idea of having the parent window handle events of the login window however.

    C# tutorial question
  • Login

  • Don't have an account? Register

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