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 Chris 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. ChewDoggie

    Help with Select statement Substring

    Thank you ! 10% of your life is what happens to you. 90% of your life is how you deal with it.
  2. ChewDoggie

    Help with Select statement Substring

    Gmorning All, I have a field in my sql db that contains data that might look like this: System="Yes" testName="thisTestName" foran="twenty" and I'm looking for a way to grab the string thisTestName from the field. Obviously, thisTestName is an example. The value could be any length of...
  3. ChewDoggie

    Find Occurances of one TimeSpan in another

    I was able to solve this: TimeSpan ts24Hrs = new TimeSpan(24, 0, 0); TimeSpan MTimeSpan = TimeSpan.Parse(cJob.Attributes["ResubmitDelay"]); retryCount = Convert.ToInt32(ts24Hrs.TotalSeconds / MTimeSpan.TotalSeconds); Chew 10% of your life is what happens to you. 90% of your life is how you...
  4. ChewDoggie

    Find Occurances of one TimeSpan in another

    G'morning all, I'm trying to determine how many times in a 24 hr day that that given timespan occurs. So, if the timespan was 00:15:00 (15 minutes), then 15 minutes occurs 4 times per hour, 24 hours in a day, so a 15 minutes timespan occurs 96 times in a 24 hr day. How do I calculate this ...
  5. ChewDoggie

    Naive question about C# Class properties

    TY! That helps a lot. Chew 10% of your life is what happens to you. 90% of your life is how you deal with it.
  6. ChewDoggie

    Naive question about C# Class properties

    Hello All, When working with properties, I'm used to seeing the following code: public string FromAddress { get { return _someaddress; } set { _someaddress = value; } } But lately I've seen some Properties defined like this: public string FromAddress { get; set; } Where are the...
  7. ChewDoggie

    Question about IIS in general

    Hello All, I've been out of the Web-based development for about 10 years. So forgive me if this question sounds naive. I've done **SOME** web stuff since, but have mostly focused on desktop / service apps. I'm interviewing for a C# web developer position on Monday and wanted to know what, if...
  8. ChewDoggie

    Implementing GetEnumerator

    ....although it does seem to perform poorly (slow). C. 10% of your life is what happens to you. 90% of your life is how you deal with it.
  9. ChewDoggie

    Implementing GetEnumerator

    Thanks, Jason ! When I removed the methods for iterating over a collection, then it complained. It was probably b/c I was returning "this.GetEnumerator();" instead of "base.GetEnumerator();", as you pointed out. In any event, I redefined clsGeneric to look like this: public class...
  10. ChewDoggie

    Implementing GetEnumerator

    Hello All, I have a Custom Class that is bound to several DataGridView controls elsewhere in my forms and is defined as follows: namespace Collections.MyCollections { [DataObject] public class clsGenericList : BindingList<clsGeneric> { public clsGenericList() {...
  11. ChewDoggie

    Updating a generic collection

    I figured this out. The property in the objSelectedCompany prepopulated the Department list every time it was called and that's why the two lists didn't match. Chew 10% of your life is what happens to you. 90% of your life is how you deal with it.
  12. ChewDoggie

    Updating a generic collection

    Hello All, I have a generic collection in a child Windows form and I need to pass the collection to the parent form. Does anyone know how to do this seemingly simple thing ? I have a FormClosingEventHandler in the parent form that has the following code: private void...
  13. ChewDoggie

    HTTPHandlers

    added a new application extension for .wmv and it didn't work. THEN I realized that the "Verify that file exists" checkbox needs to be UNCHECKED, and once I did that, it worked perfectly. Thanks again Jason ! Chew 10% of your life is what happens to you. 90% of your life is how you deal...
  14. ChewDoggie

    HTTPHandlers

    Thanks, Jason, for the reply. It's IIS6/ASP.NET 2.0..., so I'll investigate further about what you said. I changed my tracing as soon as I got in this morning to write to an Event Log via this code in my HttpHandler: if (!EventLog.SourceExists("ChewsApp")) {...
  15. ChewDoggie

    HTTPHandlers

    hello all, This is complicated but I'll start with the first error I have encountered. Whenever a user would click on a link on our site to open a .wmv file, the user would always get a "file not found" error and the Windows Media player wouldn't launch. To combat this, I created an...
  16. ChewDoggie

    Registering a DLL

    Which is what I'll have to do. Thanks to all. C. 10% of your life is what happens to you. 90% of your life is how you deal with it.
  17. ChewDoggie

    Registering a DLL

    Thanks Demon and dilettante ! The previous developer created a class that was a collection of other classes but the collection wasn't strongly typed and I was asked to make it so. Testing hasn't exposed any broken code, and as such, the executable doesn't appear to require any changes. So...
  18. ChewDoggie

    Registering a DLL

    Hello All, I originally posted this thread in another forum (Visual Basic(Microsoft) ActiveX Controls and DLLs) but the questions in there are few and far between (last one in October, one befor that in July), so I'm reposting here. I'm in the process of modifying an (VB6) ActiveX COM...
  19. ChewDoggie

    Registering DLL

    Hello All, I'm in the process of modifying an ActiveX COM component and will need to (re)install it shortly. I'm concerned about the condition known as "DLL hell". Can someone educate me about how to avoid this condition? If I'm just re-installing this component, can I just run regsrv or do...
  20. ChewDoggie

    Date-Time Problem in Canada

    I love this forum! I lost my Broadband Internet connection and just got it back. Thanks to all who replied. It turned out that one area of my app, I was doing some manual formatting of date/time that contained "AM" or "PM" indicators and that was the problem. WHen I replaced it with simple...

Part and Inventory Search

Back
Top