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 Mike Lewis 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. mheppler

    How to use a variable in XPath expression?

    public void RemoveDVD (string title) { ... strExp = "/DVDs/DVD[Title=title]/Title"; ... } How can I put variable title into this expression? Thanks much, Mark
  2. mheppler

    Can't Escape Period

    I am unable to compile backslash period: "Unrecognized escape sequence". Why oh why in the wide world of sports is this uncompilable? string Pattern = "\."; <---------This won't compile. Thanks, Mark
  3. mheppler

    Trying to get the deserialized root namespace string.

    I have a serialized class (XmlSerializer) to a FileStream like so: Serialization.XmlRootAttribute(Namespace="http://www.BL.com")] [System.Xml.Serialization.XmlIncludeAttribute(typeof(Company))] public partial class Company { ... I deserialize like so: Company comp =...
  4. mheppler

    Threads are mysteriously dying.

    I have a multithread application: a Master and several Workers. They each have a while(true) loop to do their thing. The Master enqueues an integer in a shared queue. The Worker dequeues an integer if there is one there. I use Thread.Sleep(1) in the Master as a loop governor. I use a...
  5. mheppler

    app.config How to use them?

    I have "SimpleClient.exe". I created an application configuration file "app.config"(see code below)to point SimpleClient to a new version of "Simple.dll" which is in the GAC. Should "app.config" be in the same directory or the root perhaps? When I run "SimpleClient.exe" MS wants to send an...
  6. mheppler

    How to make NumericUpDown a dialog?

    I am unable to get my NumericUpDown off my form when the program is running. I started by dragging the NUD from the toolbox. Then I set the AccessiblityRole to Dialog. I've messed around with .BringToFront, .Visible, .Focus, .Show, .Enabled and it still appears on the Form1. I would like it...
  7. mheppler

    Why doesn't my NumericUpDown diaglog show?

    Nothing pops up. Thanks, Mark private void AmountTextBox(object sender, EventArgs e) { NumericUpDown mynumericUpDown = new NumericUpDown(); mynumericUpDown.AccessibleRole = AccessibleRole.Dialog...
  8. mheppler

    How to use an overloaded op in a class constructor?

    I have a class Card. I have overloaded the + operarator such that +(Card Card, int X). Can I use this + in the Card constructor? For example I want to add 5 to each card as it is being constructed. "this" doesn't seem to work. Thanks, Mark

Part and Inventory Search

Back
Top