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

Search:

Type: Posts; User: ricky_cpp

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    198

    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...
  2. Re: Calling unmanaged dll throwing PInvoke exception

    Thanks!! It solved the problem.
  3. 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 *,...
  4. 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.
    ...
  5. Replies
    4
    Views
    603

    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 =...
  6. Re: How to 'Call a SAS Program routine in C# program?

    What is SAS routine?
    What error are you getting?
  7. Replies
    1
    Views
    973

    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...
  8. Replies
    0
    Views
    447

    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...
  9. 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;
  10. Replies
    6
    Views
    615

    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...
  11. Replies
    6
    Views
    615

    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...
  12. Replies
    6
    Views
    615

    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(),...
  13. Replies
    2
    Views
    530

    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...
  14. Replies
    4
    Views
    570

    Re: Creating a document using C#

    Marked "Solved"
  15. Replies
    4
    Views
    570

    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.
  16. Replies
    4
    Views
    570

    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...
  17. Re: Confused about creating dll with Drawing library

    Thanks BioPhysEgnr. It worked!
    I did not even think of doing it.
  18. 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...
  19. Replies
    1
    Views
    324

    '=' 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...
  20. Replies
    5
    Views
    800

    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...
  21. Replies
    5
    Views
    800

    Re: Regex except words

    Hi,

    do not know what exactly you want to achieve.

    But if abc is to match only "abc" then the string pattern should be "^abc$"
    If it has to match abcd then "^abc"

    In both the cases it will...
  22. Replies
    1
    Views
    309

    Re: Find Substrings

    Is solved !!
  23. Replies
    1
    Views
    309

    Find Substrings

    Hi,

    I have written code to find subsstrings in a string.

    Example:

    string = "abc"
    sbstrings = a, b, c, ab, bc, ca, abc
    string = "xy"
    substrings = x, y, xy
  24. Replies
    4
    Views
    509

    Recognize struct members

    Hello,

    I am making a class library in C#. The purpose of this library is to receive a struct as input (from other C program which is written in LabWindows), recognize its members and return a...
  25. Re: Framwerwork for developing a dashboard whcih has data from multiple applications.

    The subject of your thread sounded so complicated that first I was scared to open it.."framework, develop dashboard, data from multiple application..." :-)

    I think you can use events like...
Results 1 to 25 of 73
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center