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

Search:

Type: Posts; User: pareshgh

Page 1 of 76 1 2 3 4

Search: Search took 0.39 seconds.

  1. Replies
    22
    Views
    3,084

    Re: basic interface question C#

    yeah.. found it..
    no casting required

    MyInheritance mi = new MyInheritance();
    I1 i1 = mi;
    i1.foo();

    implicit casting !

    cheers and thanks.
  2. Replies
    22
    Views
    3,084

    basic interface question C#

    I know I am asking over here in :-)

    this is basic OOP (applicable for C#) query..

    here is the code,-



    public interface I1
    {
  3. Re: How to Capture the image which is not focussed

    see if you can make use of this sample
    and if it is helpful.
    also see the bottom replies in this link.
    it may give you some hints.

    http://www.codeproject.com/csharp/ImageCapture.asp

    more,-...
  4. Re: Zip a directory or unzip a zipfile and edit it's contents

    well .NET 2.0 doesn't come with built-in support for compression and uncompression.
    you would want to include 3'rd party library. if you don't want to include 3'rd party programs then
    1) create...
  5. Replies
    2
    Views
    1,018

    Re: Accessing the Main Window of an application

    why can't u create a singleton instance which holds
    a ref. to your main window. this will be created at
    the formload / ctor event of your main form.

    shouldn't be that hard.


    Paresh
  6. Replies
    1
    Views
    1,159

    Re: Archiving data/log files, ideas

    take a look at Zip library implementation from opensource.
    it allows to archive. you need to build a service which will pick from the (configured one) folder and put it in right location...
  7. Replies
    4
    Views
    1,053

    Re: Partial classes in Visual Studio 2005

    <Quote>
    Thx. I understand partial classes... but all I wanted was to show them properly in solution explorer of vs2005 as subfolder items of main class.
    </Quote>

    I think then you need to follow...
  8. Replies
    6
    Views
    1,167

    Re: memory problem

    I think your overall machine looks bit slower in the way system data that you have presented here.
    pls. include your system info.
    your code could add a value to judge further.
    typically .NET...
  9. Replies
    2
    Views
    885

    Re: Deleting an object.

    if you are talking about removing textbox from the panel then do what "Shuja" has suggested.


    deleting object is you can dispose and make it null. dispose is why if it uses resources that needs...
  10. Replies
    4
    Views
    1,053

    Re: Partial classes in Visual Studio 2005

    Check the following link , -

    http://www.devx.com/dotnet/Article/22603


    I hope this will be helpful to understand
    partial classes.
  11. Replies
    9
    Views
    7,426

    Re: validate client ip address is within range

    I didn't really intend to decrease anyone's reputation..

    thanks for pointing it out.

    let me know how can I spread reputation for you all. thanks !!

    bye and have a nice day..
  12. Replies
    9
    Views
    7,426

    Re: validate client ip address is within range

    >>>
    use System.Net.IPAddress
    Search Google for help :D
  13. Re: How to use typing events in console applications

    You can make a class that reads the Input data and its meaning. For this you can use XML Structure as bellow

    <Semantics>
    <Word name="DOGS">
    <Meaning>
    Your text goes here...
    ...
  14. Replies
    3
    Views
    892

    Re: The path of a file using openFileDialog

    as Jason has mentioned so that way you can access, make sure you check for ok condition and then assign the filename.

    paresh
  15. Re: IHTMLEditDesigner Problem: Tracking drag and drop

    pls. attach the sample. if possible. :wave:
  16. Re: How to remember selection of user after program is closed? Dynamic properties?

    use of serialization and deserialization will help you,
    see binary formatter for more details.

    Paresh.
  17. Replies
    1
    Views
    908

    Re: modify attributes of xml files in C#

    i would suggest to use XMLTextwriter.

    regards
    Paresh.
  18. Replies
    1
    Views
    900

    Re: Unmanaged struct

    public static extern void oggpack_writetrunc(oggpack_buffer *b, long bits);

    if you know the size here you can allocate size and then get value,
    otherwise use ref keyword
    like

    public static...
  19. Replies
    2
    Views
    1,028

    Re: Authentication for a network game

    i would suggest using windows authentication for windows internal network
    and over the internet u could either SSL or other standard authentication based protocols.

    Paresh.
  20. Replies
    1
    Views
    866

    Re: XML file from dll

    no you can't do like that.

    you need to access as a embeded resource, typically if it is a dataset you can create an object, and get the data out of it. with xmlreader,

    or if you want to access...
  21. Replies
    1
    Views
    3,475

    Re: create line graph with c#

    line graph would be really easy, if you have your x and y data array ready,

    in panel/control's paint method, plot lines.. you may want to connect lines based upon points.


    Paresh.
  22. Thread: Ploymorphism

    by pareshgh
    Replies
    4
    Views
    2,742

    Re: Ploymorphism

    object is a behaviour of the data and along with its characteristics. like
    (nouns) car is an object which would have data like 4 wheels , 4 doors etc, along with its drive functionality for...
  23. Thread: Ploymorphism

    by pareshgh
    Replies
    4
    Views
    2,742

    Re: Ploymorphism

    ///MSDN Help is also easy

    Polymorphism is the ability for classes to provide different implementations of methods that are called by the same name. Polymorphism allows a method of a class to be...
  24. Replies
    4
    Views
    1,317

    Re: All menuitems count?

    if you know how many levels of menus you are already going to have then it would be possible without recursion, running 2-3 loops (depending upon nested menus)

    otherwise your recursive solution...
  25. Thread: Notify Window

    by pareshgh
    Replies
    6
    Views
    1,731

    Re: Notify Window

    Okay, do you have sample code and can you attach zip file here. ?

    thanks
    Paresh.
Results 1 to 25 of 1891
Page 1 of 76 1 2 3 4





Click Here to Expand Forum to Full Width

Featured