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

Search:

Type: Posts; User: ricky_cpp

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Control background color of individual cells in list view

    Hi,

    I have a color enum, with each color an RGB value assigned to it.


    public enum t_eColors
    {
    White = 0xffffff,
    Black = 0x000000,
    ...
  2. Replies
    8
    Views
    2,959

    Re: Simultaneous Serializing and Deserializing

    I did it with .txt file. It works fine.
    One application is writing to the file and another application is just reading from it whenever the file is changed.

    Thanks
  3. Replies
    8
    Views
    2,959

    Simultaneous Serializing and Deserializing

    Hello,

    I have an application "X" which is responsible for:
    - Collecting a data from lab
    - Open or create an xml file
    - Fill the xml file with the data collected

    Simultaneously, another...
  4. Replies
    3
    Views
    1,016

    Re: Use same interface for different classes

    Seems to be a good idea.
    Thanks!!
  5. Replies
    3
    Views
    1,016

    Use same interface for different classes

    Hi,

    - I have a situation where the a company that delivered a motor to us has changed the dll+Motor which I was using to control the motor. The old motor runs with the old dll and new motor runs...
  6. Replies
    0
    Views
    652

    C struct with FieldOffset

    Hello,

    I am getting faulty result while using a C struct in C#. But I am getting gross faulty result.
    What I am doing wrong here?


    /********* C- Struct ******************/

    struct...
  7. Re: Calling unmanaged dll throwing PInvoke exception

    Thanks!! It solved the problem.
  8. Calling unmanaged dll throwing PInvoke exception

    Hi,

    I have an unmanaged dll and I am trying to make a wrapper for it in C#. Although everything seems alright but I am getting Exception:


    DLL code

    EXPORT enum e_error_codes Link(char *,...
  9. Why should I buy VisualStudio Pro "with MSDN"?

    Hello,

    We use Visual Studio to develop small applications in C# (usually interface drivers).

    - Till now we have been using VS2008 Professional and are now planning to buy VS2012 Professional.
    ...
  10. Replies
    4
    Views
    1,396

    Re: Getting my head round Regex

    Following code should extract first digit from your string



    Match m;
    string someString = "(Disc 1 of 2)";
    Regex r = new Regex(@"\d");
    m =...
  11. Re: How to 'Call a SAS Program routine in C# program?

    What is SAS routine?
    What error are you getting?
  12. Replies
    1
    Views
    2,404

    Compare Paragraph Styles

    Hi,

    I am writing a word document using C#. At some point, I have to see if a heading is already archived in word, so that I can skip writing it again. My problem is
    1. I can not iterate through...
  13. Replies
    0
    Views
    1,097

    Word language issue

    Hello,

    I am opening, editting, saving and then closing a word file using a dll. It writes a table which is then filled with string values provided by the user.

    The issue is that the dll...
  14. Get Name of struct variables and of its all parents

    Hi,

    I am having problems in retrieving names of variables of struct in a bottom up manner.

    For e.g. if my struct is:


    struct NumberOfKids_t
    {
    int Daughters;
  15. Replies
    6
    Views
    1,368

    Re: Trouble converting string to double

    I have come across an interesting article from NI
    http://digital.ni.com/public.nsf/allkb/FDBB34D5BFBD5CAB862565B000383C2F

    It does not matter what one does, even a simple declaration of a double...
  16. Replies
    6
    Views
    1,368

    Re: Trouble converting string to double

    Sorry, the code written above does not represent the actual code in my program. aData is argument which I initialized as local in above code just for better understanding of reader.

    I checked your...
  17. Replies
    6
    Views
    1,368

    Trouble converting string to double

    Hello,

    I have trouble in converting string to double. I am using following code:



    float[] aData = new float[0];
    aData[0] = System.Convert.ToSingle(s.ToString(),...
  18. Replies
    2
    Views
    986

    Re: C# internship advice

    Hello cpole,

    In my opinion you have gathered sufficient academic expereince, which is really good and rest is always learning by doing (instead of everything learning by doing which always take...
  19. Replies
    4
    Views
    1,037

    Re: Creating a document using C#

    Marked "Solved"
  20. Replies
    4
    Views
    1,037

    Re: Creating a document using C#

    Thanks Curt and Nickel.
    I opted for creating the report in MS Word. It involves intensive work but is ultimately easier to intend and demands a lot of creation too.
  21. Replies
    4
    Views
    1,037

    Creating a document using C#

    Hi,

    I am working on a program that tests a unit and in the end creates a "report" about the tests which passed or failed.

    Till now I was using a simple .txt file which functioned perfect, but...
  22. Re: Confused about creating dll with Drawing library

    Thanks BioPhysEgnr. It worked!
    I did not even think of doing it.
  23. Confused about creating dll with Drawing library

    Hi,

    I have a program (Windows Form Project) which plots some points on a graph and then convert this graph as .bmp file and finally save this .bmp file in user defined path in PC. For sure I need...
  24. Replies
    1
    Views
    648

    '=' operator can not be overloaded

    Hello,

    I have a string x which is either null or has some value. I have to assign this value to another string y. With normal '=' (y = x) operation, I get an error if string x has null value.

    I...
  25. Replies
    5
    Views
    1,339

    Re: Regex except words

    Yes Foxc it won't work if you do make effort to read a manual or press F1 for the function help

    $ sign specifies that the match should end at the last chracter of string and specifies that the...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured