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: adam0101
  • Content: Threads
  • Order by date
  1. adam0101

    Exclude nested files from source control

    We're having a problem combining 'nested files' and excluding files from source control. We're using code generation to create two partial classes for each entity - MyBusinessObject.vb and MyBusinessObject.Generated.vb We'd like the "Generated" file to appear as a nested file under the manual...
  2. adam0101

    Separate app.config for dll?

    Is it possible to have my assembly read from a config file other than the one used by the application consuming my assembly (without reading it like a regular xml file)? I know in the 1.1 framework you could do this by creating a separate appDomain, but I am hoping that this sort of thing is a...
  3. adam0101

    Where should the XML comments go?

    I have an interface and a class that implements that interface. I want to include XML comments, but where should I put them? On the interface, the class that implements it, or both? Also, I want to include comments on the exceptions that will be thrown. Since those would depend on how the...
  4. adam0101

    Auditing web user operations

    My manager wants us to log any operation on any table in our database. The users have access to the database via a web application. The web application logs into the database with a hard coded username rather than the username of the user using the web application. What are some options for...
  5. adam0101

    Scope of XSS vulnerabilities

    Are cross-site scripting attacks only a threat against visitors to your site, or could a crafty script kiddie actually cause a problem on the server (like deleting or reading files)? Adam http://adameslinger.blogspot.com/
  6. adam0101

    Launch a program and pass in an object?

    How can I start a .Net application and pass it an object? The object could be anything, a dataset, an xml document, a business object, etc. Some ideas... I could serialize the object to a file and have the launching application read from it. I could post the object to a message queue and have...
  7. adam0101

    Copying from 1 table to 3 and keeping in sync during long operations

    On a routine basis, I need to copy upwards of 10,000 records matching certain criteria from one table to three others. My concern is that users could insert rows matching the criteria during one of the operations - causing the subsequent operations to copy a different number of records. Right...
  8. adam0101

    Default values on custom web controls?

    I'd like to create my own control that inherits from a textbox and has a default value for the Text property. However, I'd also like the developer using my control to be able to override my default value in HTML. The problem is that the text inserted by the developer into the Text property is...
  9. adam0101

    Deselect a datagrid row

    How do you deselect a datagrid row? I tried setting me.myDataGrid.selectedIndex = -1, but that did nothing. Adam http://adameslinger.blogspot.com/
  10. adam0101

    Difference between these two queries.

    Is there a difference in performance between the following two queries? I'm wondering if using nested joins has any benefit. If so, can anyone explain why? Thanks. Query 1 Select p.ProjectName, d.DeliverableName, t.TaskName From tblProjects p Inner Join tblDeliverables d...
  11. adam0101

    Using CSS for layout instead of tables.

    I use CSS extensively in my applications, but I still do content layout the old-school way by using tables. I know CSS is probably better suited for this, but I can do it quickly using tables and I never have the time to learn how to use CSS to replace tables (for layout purposes, anyway). Are...
  12. adam0101

    Get value in DefaultValue attribute on a property.

    How would I get a string representation of the value stored in a property's DefaultValue() attribute? <DefaultValue("MyItem")> _ Public Property ColumnLabel() As String Get Return _colLabel End Get Set(ByVal Value As String) _colLabel = Value End Set End Property Adam...
  13. adam0101

    Float vs Char primary key

    I'm on a project where I noticed that the database has a table with a primary key that always consists of 13 digits. Right now it is a float data type. Would it be more efficient to convert it to a char(13)? Adam
  14. adam0101

    Unhandled exception not breaking into Debugger

    Whenever I get an unhandled exception in my ASP.NET app, it shows the error in the browser instead of breaking into the Visual Studio.Net 2003 debugger. What do I need to change? Thanks, Adam
  15. adam0101

    Passing parameters (not properties) to a user control?

    I thought it was possible to pass parameters to a user control, but I can't find any examples. Am I wrong about this? By parameters, I mean:<uc1:MyControl id="MyControlId" runat="server"> <parameter name="MyFirstParameter" value="val1"> <parameter name="MySecondParameter" value="val2">...
  16. adam0101

    Error when trying to do URL rewriting

    I'm trying to implement the URL rewriting technique found here to basically rewrite a URL from this: http://localhost/MyProj/TypeXXX/Page.aspx to this: http://localhost/MyProj/Page.aspx?type=TypeXXX It worked for a little bit, but now I get this error that points to my web.config file...
  17. adam0101

    Find position of XmlSchemaException in the XMLDocument

    I'm creating an application that allows a user to validate an XML document and update the document where the errors occur. First I load the XML document into a TreeView. Then I validate then document against a schema, which gives me a bunch of XmlSchemaException objects. The problem is this -...
  18. adam0101

    Refactoring Plugin for VS.NET 2005 Beta 2

    Visual Studio.NET 2005 Beta 2 is out, and so is a cool free plugin for Refactoring! Check out this video to see what it does. Adam
  19. adam0101

    Writing an element to the page.

    If I dynamically create a form field with a reference to a JS object in an expando property, what would be the best way to add it to the page? Obviously I can't use document.write() because the JS object isn't a string. Right now I'm creating a temporary SPAN object, adding my custom element...
  20. adam0101

    Object Hierarchy and Inheritance in JavaScript

    I stumbled across this link and thought some of you might find it interesting. It talks about how to make an object inherit from another object. For example, I can make a "Developer" object inherit all the properties and methods of the more generic "Person" object. <script> Person =...

Part and Inventory Search

Back
Top