CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ireland

Page 1 of 12 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    6
    Views
    18,412

    Re: Normalize line endings, how?

    http://msdn.microsoft.com/en-us/library/system.environment.newline.aspx
  2. Replies
    3
    Views
    1,718

    Re: DirectoryEntry for a single file

    the Find throws a DirectoryNotFoundException, when I look at the Children in the debugger the Count property has thrown a NotImpementedException with the message "The method or operation is not...
  3. Replies
    3
    Views
    1,718

    DirectoryEntry for a single file

    How can one set security on single file?

    I'm trying to set the security permissions on an individual file on IIS. I've already used DirectoryEntry and it's Properties collection to set...
  4. ResourceManager and loading resources for other Cultures

    I've been trying to use the ResourceManager to load my resources and failing. The usual error is one where it cannot locate the Resource i.e.


    System.Resources.MissingManifestResourceException...
  5. Replies
    3
    Views
    2,214

    How to wrap my Enum in a Class

    For reasons I want to wrap my enum in a class.
    I also want create a method which returns the int representation of the enum but I can't seem to figure out how to return it.
    see the ToInt property,...
  6. Re: How can I force derived classes to override my base class methods?

    Indeed, it's a pity. I must provide a concrete implementation to my clients, from which they can inherit but there's no way for me to ensure that they know which methods they should override (other...
  7. Re: How can I force derived classes to override my base class methods?

    But Abstract methods cannot have an implementation, therefore the call to base.Method() in my derived class Method() override is useless, I need something that the derived class must override but...
  8. [RESOLVED] How can I force derived classes to override my base class methods?

    How can I force derived classes to override my base class methods? i.e. make override required.

    Do I have to create an interface then and let let the base implement the interface and then let the...
  9. Replies
    8
    Views
    1,826

    Re: Virtual/Override vs new

    Indeed, the virtual/override with downcast suprises me, as you have shown the call to

    ((BaseClass)cc).Bar();
    goes into the ChildClass.Bar(), I would expect the downcast to for it into the...
  10. Replies
    8
    Views
    1,826

    Re: Virtual/Override vs new

    Yes I see what it prevents, polymorphism, but if you don't have a virtual method with overide in the first place then the polymorphism is not implemented in full anyhow, wouldn't this be correct.
    So...
  11. Replies
    8
    Views
    1,826

    [RESOLVED] Virtual/Override vs new

    Are there any benefits to overriding base class method by using the new keyword before the method

    new public void MyMethod()
    versus using the virtual keyword in the base class method and...
  12. Get an attritbute's value in an element using XmlReader

    Code I'm working with already has an XmlReader and I want to get the value of a particular attribute in an element in the same xml document.
    Can I use the XmlReader?

    I've tried using the...
  13. Agile Software Development for existing project

    I've been assigned the position of project manager, my first time. The project has been ongoing and has no sign of finishing, hence I've been asked to get the product out.

    I've been reading on...
  14. Replies
    6
    Views
    1,632

    Re: AppSettings on assembly being called

    I meant that I do not have access to change the exe's appsettings (it's actually the mmc 3.0, my dll is a snapin to the mmc).

    I can read the settings (or even maybe add to them from code, but I...
  15. Replies
    6
    Views
    1,632

    Re: AppSettings on assembly being called

    Yes i see, it's a bit of a problem as I do not have access to the exe's settings :confused:

    Anyway here's a bit of a workaround but it only reads the config file that's in the location that the...
  16. Replies
    6
    Views
    1,632

    Re: AppSettings on assembly being called

    No, it's not what I've seen.
    I've created a dll project, MyDLLProject.dll with an app.config file, this app.config file gets created in the output dir as MyDLLProject.dll.config as you would expect....
  17. Replies
    9
    Views
    1,690

    Re: System.Diagnostics.Process

    Have a look in the EventLog on the machines that fail.
    start->control panel->Administrative Tools->Event Viewer.
  18. Replies
    6
    Views
    1,632

    AppSettings on assembly being called

    I want to read the AppSettings on an assembly being called by an executable (The call to read the AppSettings is within the assembly's own code and not the exe), it's not obvious how to do this, I...
  19. Replies
    7
    Views
    1,640

    Re: Yield keyword, I'm confused!

    I'v eplayed round with my first example and found that if I replace GetEnumerator() with

    public IEnumerator GetEnumerator()
    {
    //return new PeopleEnum(_people);
    ...
  20. Replies
    7
    Views
    1,640

    Re: Yield keyword, I'm confused!

    JohnnyPoet,
    Thanks for the response.
    My example is from msdn. Forget the method GetEnumeratorType(), that's one I stuck in myself.
    My original post must not have been clear, confusion was that...
  21. Replies
    7
    Views
    1,640

    Yield keyword, I'm confused!

    Can someone tell me why if I use GetEnumerator() (the method returns the IEnumerator) in the following it works, but if I replace it with GetEnumeratorType() (i.e. I add the yield keyword to the...
  22. Replies
    16
    Views
    2,881

    Re: WebServices I don't get it

    I'm aware of how to use the resiltant xml, the confusion was with the term 'client'. Of course when the client is something like a console app then you need to add some way to communicate with the...
  23. Replies
    16
    Views
    2,881

    Re: WebServices I don't get it

    Please confirm my understanding layed out below.

    You add a web reference to your webservice to your client script. A proxy class is created e.g. localhost.Service1.

    You can now create an...
  24. Replies
    16
    Views
    2,881

    Re: WebServices I don't get it

    I'll rephrase:
    Yes so Soap XML is returned, excellent.
    What's the deal with this Proxy class? it is a Serializable class meaning it can create a .NET instance from the Soap XML, great, but how can...
  25. Replies
    16
    Views
    2,881

    Re: WebServices I don't get it

    Yes so raw XML is returned, excellent.
    What's the deal with this Proxy class? it is a Serializable class meaning it can create a .NET instance from the XML, great, but how can it run on the Client...
Results 1 to 25 of 291
Page 1 of 12 1 2 3 4





Click Here to Expand Forum to Full Width

Featured