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: *

  1. crazyboybert

    new keyword wierdness

    Hi All I am experiencing some very strange behavior with the new keyword when using it as a modifier not an operator. Background: I'm working on a fairly complex multi project web application with a tiered architecture. There is a code gen application another contractor brought with them...
  2. crazyboybert

    Self closing HtmlGenericControl

    Hi all I'm writing a composite server control that adds some children that aren't available in the HtmlControls or WebControls namespaces so I am using HtmlGenericControl to create the child controls and adding those to the server control. Some of these I would like to be self-closing (e.g like...
  3. crazyboybert

    DataBinding to collection of Interfaces

    Hi All Ive got a requirement to bind a datagrid to a collection of objects of different type. They all implement the same interface and the DataSource is a custom collection derived from collection base of IMyInterface objects. The grid only uses properties from the interface to bind to and yet...
  4. crazyboybert

    Deleting file after File.Copy

    Hi All Ok, my application lets users browse a directory of files on the server and select files to add to the system (write to a specific storage client and the database). When the user selcts a file it is copied into a directory which temporarily stores the file(s) to be added until the user...
  5. crazyboybert

    WYSIWYG Alternative?

    Hi all, been a while since I been around here, hope you don't mind helping out someone who has been too busy for helping out himself the last few months :-) [ RANT ] Im fed up of WYSIWYG, rich-text, all singing, all dancing editors for CMS and forums. I've been working with them in various...
  6. crazyboybert

    Regular Expression Replace

    Hi I want to write a regex to replace the _ character in framework generated control ids. Easy :) except I need the expression to match all instances of an _ except where it is the first character in the string. Can't work it out at all. Obviously ^_ will match the first character if it is an...
  7. crazyboybert

    Connect to Oracle 10g with Visual Studio

    Hey All I know this post is off-topic for this forum but there doesn't seem to be a great deal of activity over in the Oracle forums. I want to connect VS.NET to an Oracle 10g server to create xsd files using the designer (drag and drop from Server Explorer). I had this working in the past but...
  8. crazyboybert

    Enumerating winNT Users with DirectoryServices

    I posted this question to the msdn newsgroups but no one there has an answer for me :-( so hopefully a tek-tipper will ;-) I am using DirectoryServices to find all the members of a certain NT group and display their properties. The following code works fine. DirectoryEntry directory = new...
  9. crazyboybert

    Matching xmlns atribute using XSLT template

    Hi All I'm writing an XSLT to transform some XHTML content from an RSS feed to the markup I want to use in a website. I'm encoutnering a problem matching elements with an xmlns attribute. Heres an example.. XML <item> <title>title</title> <link>link</link> <category>category</category>...
  10. crazyboybert

    Value Comparison

    Hi All I want to compare two objects of the same type to test for value equality. I can't do this with Equals(object, object), object.Equals(object) or == as these all test for reference equality only. I can see two options for performing this type of comparison. I can either override the...
  11. crazyboybert

    Defect/Change Management Tracking Software

    Hi all We are looking to implement a more formal process for bug tracking and change management and I was wondering if anybody was using or could recommend any options. We do all development in C# now and predominantly for ASP.NET though there is some (and increasingly more) windows clients and...
  12. crazyboybert

    Giving an object a collection as a property

    Hi all What is the best way to give an object a publicly accesible collection of 0...* length regardless of the type of object stored in the collection. At the moment I commonly use ArrayLists for this by having a publicly accessible ArrayList and private member ArrayList pair into which I put...
  13. crazyboybert

    Serializing object for viewstate

    Hi All I have a class which implements ISerializable and has the appropriate constructor and overridden GetObjectData methods. I want to serialize an instance of this class and add it to the pages viewstate. I can successfully serialize the object and add it to a FileStream using a...
  14. crazyboybert

    Scrolling a div

    Hi All I have a div with the following css #myDiv{height:100px; overflow:auto; position:relative;} The height of the content of the div is say 400px so a scrollbar is visible. I want to scroll the div to say 150px down. I've tried using document.getElementById("myDiv").scrollTo(0,150); But...
  15. crazyboybert

    Global Constant

    Hi all I'm not sure this is possible but I thought it was worth asking. Is there a way to make a constant (in this case a string) available throughout a class library without it existing in a class or struct and therefore needing to instantiate an object to access it? What I would like to do...
  16. crazyboybert

    string[] as property of object

    Hi all A bit of a theory question and my primary concern here is performance. In my ASP.NET app I have an object which stores a collection as a CSV. This is necessary as the collection is generated on the client and is recieved as CSV by the object on postback. I wish the object to have a...
  17. crazyboybert

    ASP.NET Resource Kit

    I'm sure most of you will find this yourselves soon enough but I thought it was worth mentioning here anyway. MSDN have released the ASP.NET Resource Kit as a download. http://msdn.microsoft.com/asp.net/asprk/ It is literally crammed with goodies. Sample applications, code samples, best...
  18. crazyboybert

    Code Generation Templates

    Hi When modelling UML in Visio there is an option to assign Code generation templates to attributes and operations etc in you Static Structure Diagram. This seems a good way to do a lot of the repetitive Property declaration coding quickly. However there is only 1 editable template fro...
  19. crazyboybert

    Generic Control Validator

    Hi All Having recieved no feedback on the &quot;validate ascx seperately&quot; thread I decided to go ahead and make a generic validator. I've basically written a class which has a validate method that accepts a control as input. The method iterates through all child controls and validates...
  20. crazyboybert

    XP Home and Terminal Services

    Hi All Firstly I apologise if this is ground covered in this forum already. I did a keywoprd search and found quite a bit on XP and terminal services but left somewhat confused! My question is a simple one. Can XP Home Edition be a terminal Services Client? I have a small home network with a...

Part and Inventory Search

Back
Top