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

    Best practice using XML and XSDs to map against database

    We have a ReST Web Service that uses POST - to insert data into database (unmarshall data from XML), and GET to retrieve data (marshalled into XML). An XSD is used to create Java objects to marshall/unmarshall data to and from a database. We kind of froze the XSD as it is, because we thought...
  2. golcarlad

    Find out when a method is triggered

    Hi I know my problem will invariably involve something to do with delegates and/or events, but I'm not exactly sure how to implement them at the moment. The basic problem - 1) I must somehow find out when a static method in my class is triggered by some other object. 2) The static method...
  3. golcarlad

    Visual Inheritance - Property Getter/Setter doesn't seem to work

    I have a 2 forms - parent and child. The parent has a property related to a label control, like so: [Category("ToggleFooLabel")] [Description("Set whether label is visible or not")] public bool ToggleFooLabel { get { return lblFoo.Visible; } set { lblFoo.Visible = value; }...
  4. golcarlad

    Newbie Question - Copy a file

    Hi, This is going to be a dumb question - but Ive just started Python today (from a C# background), using PythonWin too. I know how to programme fine in C#, so this environment is all a bit wierd to me. Can someone give me a heads up to get a simple program working. I just want to copy a...
  5. golcarlad

    Interesting Problem - Finding the closest coordinate....

    This is a problem I have been trying to figure out - but I guess because I'm not so good with maths - Im always on the back foot - so maybe (hopefully) there is someone out there who could come up with a snazzy algorithm to do the following - as fast as possible really - as speed is the issue...
  6. golcarlad

    Properties.Settings and accessing the values from other dlls

    Hi, Just wondering if there is a way I can access all my values held with my core startup project Properties.Settings file - from other projects/dlls in my Solution, as I have many errors saying: The name 'Properties' does not exist in the current context C:\fooProject\bar.cs TIA Simon
  7. golcarlad

    Video tutorials

    Does anyone know any good links to video tutorials about Java and J2EE stuff. Free ones if possible or I dont mind paying if they are really good.
  8. golcarlad

    Internal or Public - Best Practice???

    When auto generating a method in a class, Visual Studio always makes the accessor of the method Internal - not public, thing is Im used to, out of habit by using Public, but I guess if you dont want other assemblies to see your methods then Internal is the best thing to use. Do you guys use...
  9. golcarlad

    Trying to set bacground colour for ToolStripStatusLabel

    For some reason when I set the background colour to Red for this status label on a status strip - the colour still stays the same as the Color.Control - why can I not set the background colour for this control?
  10. golcarlad

    Dot Net 3 and Visual Studio 2005

    After quick Google searches cant seem to make sense of how .Net 3.0 installs into VS 2005 - does anybody know how to do this as I want use LINQ with XML docs - seems much better than traditional methods. Cheers
  11. golcarlad

    Thoughts of Encapsulation

    Just thinking about code design etc, and would like to know your opinions. Sometimes I have a class - say a helper class that has a whole load of useful but generic STATIC methods inside - is it good practice to call this static methods from your objects?, or is this in effect breaking...
  12. golcarlad

    App.config and uninstall

    For some reason everytime I reinstall a dll on a PC it still retains the old app.config file, and I have to manually delete it from Documents and Settings\Local Settings.... etc etc, is there any way to make the setup project automatically delete this or at least just update with a new config file.
  13. golcarlad

    Form Code - making it separate

    I would just like to know what your general approach is when you decide its time to make a form for your project. I understand that its a good idea to keep your form code seperate from the business logic - what is the best way to implement this? Here is my idea - but not sure if its right: 1)...
  14. golcarlad

    Coding Against Class or Interface

    What are the pros and cons of coding against a class vs coding against an interface? e.g. why would you decide to write: IFoo foo = new Foo(); vs Foo foo = new Foo(); Ive heard of trends e.g. I always code against the interface etc, just dont get why you would do one thing vs another, surely...
  15. golcarlad

    Why use multiple projects for solution??

    Ok - so here is another type of "Best Practice" type question about orgainising code - but I have often wondered what are the main benefits of having lots of projects compiling under one solution - I understand it helps to encourage reuseability, ie. you can include refs to dlls in different...
  16. golcarlad

    Best Practice Organising Classes in Class files

    Whats the best practice to organise your code - e.g. if you have an abstract class and its derived classes - do you seperate each of your classes into their own class file (foo.cs) or do you keep them all in the same physical cs file?? I would have thought it could get cumbersome to have to...
  17. golcarlad

    Resize control with form

    Sorry for the simpleness of this question. Whats the best way to resize a treeview control in line with the form when its resized by the user?
  18. golcarlad

    Source control - working on projects remotely

    Is there a way to use VS SourceSafe or something similar to setup the ability for 2 programmers to work on the same project, but where one has to check in/check out remotely - i.e. say the server holding the source code is based in Paris with programmer A, and programmer B has to get check out...
  19. golcarlad

    Version Numbers and Stuff

    Can someone explain to me how you can version your software everytime you do a release. I have tried this auto-increment thing, by putting an asterisk in place of the last 0, but it never changes. This is dll I am compiling, so I dont know if you can do what I am talking about. Plus, what is...
  20. golcarlad

    OOP Design Issue

    I have an abstract class which specifies an abstract getter/setter property. Lets say it should return type "Tree", but in my derived classes I want it to return a more specific Tree type e.g. Redwood, Oak, etc, but they still inherit from Tree - this of course doesnt work because its too...

Part and Inventory Search

Back
Top