Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Tokhra
  • Content: Threads
  • Order by date
  1. Tokhra

    Can't install XP Pro - 4 "Unknown Disk" messages in partition options

    Hi all, I've just received my new Dell 9100 PC, which has Spanish XP Home on it. I also own a copy of XP Pro (Upgrade) from my old laptop, which im trying to install. All goes fine, until the partitions screen, on which it just shows: Unknown Disk There is no disk in this drive x4 When I...
  2. Tokhra

    Setting Application Mappings on IIS Programatically (Bat or VBS)?

    Hey all, On a daily basis I have to open IIS, right click the website, go to properties, click the home tab, click the configuration button, then remove a mapping of .* to the asp.net isapi - perform my task - then add it again. The reason for this is that I have written a url rewriter in...
  3. Tokhra

    Implementing a 3 tier architecture

    Hey all, What's the standard practice for implementing a 3 tier architecture with asp.net? i've tried to seperate my business and data layers, but im struggling with the communication between layers - since I can't pass the business object by ref to the data layer because that causes a circular...
  4. Tokhra

    Data Modelling for mapping locations..

    Hi all, Im in the process of modelling a database, a property database to be exact, so this is going to need a good locational mapping system, the first thing to come to mind is the following: Country --------------------------------------- CountryID | Name Region...
  5. Tokhra

    Launch application from right click context menu for images on xp?

    Hi all, Is it possible using .net to add an item in the right click context menu of windows xp when clicking on an image that launches my .net application and allows me to do something with the file? e.g When I right click a image file at the moment it shows third party options 'Scan with...
  6. Tokhra

    Data Transfer between layers? Best Practice?

    Hey all, Im writing a web app which has the following layers: ASP.NET Web Application, "Project", (Presentation Layer) .Net Class Library, "Project.Business" (Business Layer) .Net Class Library, "Project.Data", (Data Layer) Im just wondering how I should communicate data between the Data and...
  7. Tokhra

    I think I have a virus (csrss.exe duplicate) :(

    Hey all, I downloaded a song a while back, which actually turned out to be a video file, with an extremely small footprint (8mb give or take). I thought that was great, until it started playing everytime I logged onto XP. So I got a bit suspicous and deleted the file, but still windows media...
  8. Tokhra

    Multiple Joins, Missing operator

    Hey all, Using Access 2000 im trying to do: SELECT t1.Field1, t2.Field2, t3.Field3 FROM Table1 AS t1 INNER JOIN Table2 AS t2 ON t1.Field = t2.Field INNER JOIN Table3 AS t3 ON t1.Field = t3.Field WHERE t1.Field = 1 ORDER BY t1.Field Except access errors saying its missing an operator, if I...
  9. Tokhra

    Appending text to fields using Update statement

    Hey all, I need to perform an update on a table in my database appending text to fields, something like this: UPDATE table SET Field1 = Field1 + " Appended Text" etc So if Field1 was "Hello World" to begin with it will now be "Hello World Appended Text". Any ideas? I haven't tried that...
  10. Tokhra

    Parsing XML with XPath..

    Hey all, Im attempting to parse the following xml schema: <language name="Spanish" short="Es"> <text key="Hello"> Hola </text> <text key="House"> Casa </text> </language> so basically theres one <language> which contains lots of <text> elements, now so...
  11. Tokhra

    How to protect a subdirectory with forms auth

    Hi all, I have a web application, and I want to protect pages in a subdirectory, lets call it 'Admin', I tried putting a web.config in the admin directory itself, but I had to make that directory an application, which caused further problems with references, so there must be a way to protect a...
  12. Tokhra

    Loop days in a month?

    Hi all, How would you retrieve the number of days in a month dynamically with php? Thanks, Matt.
  13. Tokhra

    Http Handler, done its job, how to hand request back to asp.net?

    Hi all, Im writing a url rewriting engine, and currently have static files mapped to my static http handler, which works fine and everything else going to my base http handler, which checks the requested url against some xml rules and if necessary rewrites the url, it will also check for...
  14. Tokhra

    XmlDocument: The data at the root level is invalid.

    Hi all, I have this code: XmlDocument doc = new XmlDocument(); doc.LoadXml(path); (path is c:\InetPub\Bleh\Config.xml) The xml document contains: <?xml version="1.0" encoding="utf-8" ?> <urlrewriter> <rule pattern="bleh" rewrite="blah" /> </urlrewriter> And when it runs I get: The...
  15. Tokhra

    Map all requests to asp.net isapi

    Hi all, Running Windows XP pro with IIS im wondering how I could map _ALL_ requests to the asp.net ISAPI. I need to do this so I can enable effective url rewriting from asp.net and handle static file requests myself. If I go to IIS > Website > Properties > Home Directory > Configuration I get...
  16. Tokhra

    cast exception when retrieve null from db?

    Hi all, When retrieving data from the database I use the following method: owner.Fax = (string) data["Fax"]; (where data is a SqlDataReader) However, if data["Fax"] is null, it generates a Cast Exception, id rather not have to put if statements all over each retrieval. So whats the...
  17. Tokhra

    Binding Custom Collection to control?

    Hi all, I have a custom collection derived from ArrayList. But when I tried to bind this collection to a asp.net DataList control I get nothing, so I guess you have to do something special to enable this? I have set up the properties on the class that the collection stores, I wonder if you...
  18. Tokhra

    Best way to do custom fields?

    Hi all, Im writing a application that should allow the user to define custom fields, aswell as system ones. For example this is what i've come up with: Property ----------- PropertyID .. Blah .. Facility ----------- FacilityID Name IsSystem FacilityPropertyLink -----------------------...
  19. Tokhra

    Standard method of sending email

    Hi all, Im looking for the standard method of sending a html based email in a JSP page. Any emails or links for this? I searched google but im not sure what methods are the "standard" way to do it, without including lots of extra libraries. Thanks, Matt.
  20. Tokhra

    Session Timeout?

    Hi all, I've written a JSP webapp which will be used by office workers, so I need the session not to expire for something like 4 hours, im currently using this code: // Set session expiration to 4 hours session.setMaxInactiveInterval(240); I was told the value is in minutes, but im sure...

Part and Inventory Search

Back
Top