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 SkipVought 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. CrashDome

    IP Phone and Softphone will not connect to server

    No IP conflicts that I can see. We are scheduled to apply the latest Smart Updates at the end of this week. We'll see if that solves the issue. I sure hope so! The last reboot seems to have brought most of the phones online. They have people work all three shifts so I'll wait to hear if any...
  2. CrashDome

    IP Phone and Softphone will not connect to server

    This one has me stumped. All I can say is that the configuration for all the phones and softphones (on a single network) on a BCM 200 (r4.0.2.03) is correct. The network is also fine. I know this because at any one point all phones have been working properly. It all started when two...
  3. CrashDome

    Web Services and Custom Attributes

    Thanks, but that's for something else actually. I'm beginning to see the difference of a web reference.
  4. CrashDome

    Web Services and Custom Attributes

    I coded myself into a corner! I wrote an object in my Web Service which utilizes a custom attribute. In my client app, the web reference does not support that custom attribute! (AFAIK) I didn't even think about this, but is it possible to send metadata over a web service? example: Web...
  5. CrashDome

    catching a certain error

    Isn't the proper way supposed to be: try { } catch (System.IOException ioex) { Do Something; } catch (System.Exception ex) { Do Something else; } or have I completely missed something?
  6. CrashDome

    What's on the menu - MDI parent gets all the action

    I think by their very nature, a MenuStrip is designed to merge with an MDI automatically (all the time). You can change HOW it merges, but you can't stop it (I don't think). What you want is a ToolBarStrip instead, I think.... As you can see, I'm not too confident about my answer though! :D
  7. CrashDome

    Runas for specific function

    Look up "Impersonation" I use it to ensure my app (and only my app) can access files in a protected folder regardless of user. I would post my code, but it is quite long. You can probably find it all on the Internet, but I would be happy to email it to you, if you want.
  8. CrashDome

    Exposing an ArrayList

    Nelviticus, Listen to Chip about the List<T> collection. I've been learning these the past few days and they are no more difficult than ArrayList. Example: private List<Documents> allDocuments; public ShowAllDocuments() { string label = ""; foreach(Document d in allDocuments) {...
  9. CrashDome

    Factory Design and Static Methods

    Yes, it does! Thank you
  10. CrashDome

    Factory Design and Static Methods

    Hmmm... I appreciate the comments but I am a little unclear on your recommendation. I can't make MyObject a singleton because I need multiple instances (and there are GetInstance methods in there... they are the static ones at the bottom - just named differently depending - i.e...
  11. CrashDome

    Factory Design and Static Methods

    Yes, I should have said it this way: I went into it with the idea of using a factory design pattern and as a result of the code I used off the Internet (to generate a generic collection class) I ended up with the above instead (static GetInstance() methods). I am torn between leaving it as is...
  12. CrashDome

    Factory Design and Static Methods

    An interesting thing (to me) about the static dataAdapter and dataTable... it will change everytime I generate an instance, but it doesn't affect the reference for the dataRow object in the instance itself. For example: I created one instance of all data in my database and I get a dataTable...
  13. CrashDome

    Factory Design and Static Methods

    So I've been writing a new piece of software for my company and I am diving into the use of generics for the first time (Just got VS2005 not too long ago). So I've been building my classes based on code I've found throughout the net and found some very good articles to base my work/learning off...
  14. CrashDome

    How to commit changes to MSSQL from a typed dataset?

    try: <yourDataAdapterName>.Update(ds); However, you must remove the AcceptChanges method. If you AcceptChanges before you update, then the dataset will not have any changes to update the actual database with. By calling Update method of the DataAdapter, it will automatically call...
  15. CrashDome

    modifying a connectionstring makes it invalid ?

    I take that back... it is a double quote.. nevermind me.
  16. CrashDome

    modifying a connectionstring makes it invalid ?

    It's supposed to be a single quote I think.. not a double quote. i.e. @"'C:\Documents and Settings\Marco Hokke\Mijn documenten\Visual Studio Projects\Hoorspelfabriek\HoorspelActeurs\WindowsApplication6\bin\Debug\Hoorspelacteurs.mdb'"
  17. CrashDome

    Wrappers in C#

    I will give you my "laymans" definition if it helps: A wrapper is a class or library which is used to access another library or class by being the middle-man or interpreter (however you want to look at it). In this case, OpenGL is a library which has a very diverse and complicated group of API...
  18. CrashDome

    IComparable -&gt; using generics gives me error

    I'm just getting into generics myself but I would think it would have to do with the fact you are using an ArrayList without any generic type. Try: private void Form1_Load(object sender, EventArgs e) { List<POrder> arr = new List<POrder>(); arr.Add(new...
  19. CrashDome

    Bind Relation to DataGrid Problem

    Alwyas glad to help but read my post above again. Relations do not work the way you think they do. They are not substitutes for a JOIN statement. You are adding an extra column to a datatable and expecting the relation to "fill" the column just because there is a relation and the name is the...
  20. CrashDome

    Bind Relation to DataGrid Problem

    If I am reading this correctly (and I might not be), you are trying to get data from two tabless to display in the datagrid at once.... which doesn't quite work the way you think it does with DataGrids. DataGrids show datarows from one table at a time. If you specify a relation, you will see a...

Part and Inventory Search

Back
Top