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 strongm 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. kyledunn

    Problem with VS.NET design mode

    Hi, I am developing a Table PC application using C# and VS.NET that is executed in portrait mode with a resolution of 768 X 1024. When I set the size of the form to 768 x 1024 in VS.NET it immediately sets the size to 768 x 780. I can programmatically position text boxes and buttons so they...
  2. kyledunn

    Passing XmlResolver to Transform() method

    Hi, I have a method to render HTML from XSLT. Here is the method: /// <summary> /// Method that renders HTML from XSLT document /// </summary> /// <param name=&quot;writer&quot;></param> protected override void Render(HtmlTextWriter writer) { XPathDocument xdoc = new...
  3. kyledunn

    Hi, I have a method to render HT

    Hi, I have a method to render HTML from XSLT. Here is the method: /// <summary> /// Method that renders HTML from XSLT document /// </summary> /// <param name=&quot;writer&quot;></param> protected override void Render(HtmlTextWriter writer) { XPathDocument xdoc = new...
  4. kyledunn

    3 table query help

    I agree with you that what you say makes sense but unfortunately that is not the case. I simplified the query and it returned only three rows. select firmID from manageTable where firmID = 189 the result is three rows with two columns FirmID 189 189 189 also there is only one row in the...
  5. kyledunn

    3 table query help

    Thank you very much for the help. I still don't get the results I expect. Here is a further breakdown in case you might be able to point out where I'm going wrong. If I select user name and firm id from the user table and the manage table with: select u.userName, m.firmID from userTable u join...
  6. kyledunn

    3 table query help

    I have a User table with: UserID UserName I have a Manage table with: UserID FirmNumber and I have a Firm table with: FirmID FirmName If I know the user's ID, what query would I use to return a table with two columns, UserName and FirmName for only the rows that the UserID in the User...
  7. kyledunn

    Query help

    I just did the same thing and you are correct, it does work! I had posted a simple example to try to understand my problem and when I applied the simple example to your query it worked correctly. That led me to re-evaluated the much lengthier query in my code and led me to my mistake. The false...
  8. kyledunn

    Query help

    SQLSister, If you look at the original data in the tables from the first post on this thread you will see that the Managed(Y/N) flag for EmployeeKey 2 Company2 is set to N. The results return Y as a result of the join. dodge20, I tried both and and where and got the same results. cmgaviao...
  9. kyledunn

    Query help

    Thanks for your help but I am still unable to get the results I need. I tried the query select distinct E.EmployeeName, C.CompanyName, C.Managed from Employee E inner join Company C on E.EmployeeKey = C.EmployeeKey and Managed = 'Y' I get Bob Company1 Y Bob Company2 Y Bill Company1 Y...
  10. kyledunn

    Query help

    I have two tables, one with EmployeeKey EmployeeName and the other with EmployeeKey CompanyName Managed(Y/N) Table 1: 1 Bob 2 Bill Table 2: 1 Company1 Y 1 Company2 Y 2 Company1 Y 2 Company2 N I need to query the two tables and return the employee name and company name for...
  11. kyledunn

    SQL Query help

    Terry, I just tried the advanced search feature again and got the same results as you. I had used it incorrectly before which resulted in the limited returns. Thanks for clearing that up for me. Kyle
  12. kyledunn

    SQL Query help

    Thanks for all the help! I thought I'd share my experience as a result of your posts. While I have been programming for years, I am relatively new to SQL. The first post from Terry introduced me to the term crosstab. While I didn't find alot of examples in the forum as he suggested, it did give...
  13. kyledunn

    create table from query

    How do I create a table from a query in Microsoft SQL 2000?
  14. kyledunn

    SQL Query help

    I have two tables that have been joined into a single table. The first table contains primary key Customer Number and Customer Name. The second table contains a foreign key Customer Number and Location Number. There can be multiple locations for each customer. When I join these two tables with...
  15. kyledunn

    Implementing ISite to have access to DesignMode indicator

    I am creating a custom control that inherits the ComboBox class. I would like to use the ISite.DesignMode indicator to determine if the control is being viewed in design mode but the property always comes up false. MSDN documentation says the design mode indicator is stored in the ISite...
  16. kyledunn

    Inheriting textbox and setting property values

    After creating a new class that inherits the System.Windows.Forms.TextBox, in the new class I would like to set the value of the default Name for the TextBox (other defaults as well) when a new instance is created by dragging the control from the Toolbox and dropping it on a Form. Any idea how...
  17. kyledunn

    Parsing RichText File

    I'm looking for information about parsing a RichText file for printing with C#. Can anyone help with some information or a lead to finding more about this process? Thanks, Kyle
  18. kyledunn

    Center text in a RichTextBox

    Can anyone tell me how to center selected text in a RichTextBox. I loaded a rtf formatted document from Word that was centered in Word and it displayed centered in the RichTextBox so I think it can be done. I would apprectiate any help. Thanks, Kyle
  19. kyledunn

    Searching an entire hard drive for a file

    Jack, Here's what I learned. The Common Information Model (CIM) is part of the Windows Management Instrumentation (WMI) architecture. The CIM defines objects in the managed environment through classes. These classes include methods to describe behavior and properties to describe data. Some...
  20. kyledunn

    Searching an entire hard drive for a file

    Anyone have the code worked out to scan every file in every directory on a hard drive to locate a single file possibly using DirectoryInfo and FileInfo? Kyle Hey Jack, this was really just an excuse to say hello and of course it's always possible that you will have the answer to my question...

Part and Inventory Search

Back
Top