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

Search:

Type: Posts; User: MNovy

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,924

    Re: Dllimport: Change dll-name from case to case?

    Ok, I think I have a good solution now. Can anyone confirm this concept?
    Is the instantiation of an interface inside a class a no-go?



    Interface


    interface Interface1
    {
  2. Replies
    12
    Views
    1,924

    Re: Dllimport: Change dll-name from case to case?

    The problem I have is the part of calling/instantiation of the right class on runtime.
    I am still looking for a way to figure out the operating system (32 bit or 64 bit) and load
    the correct DLLs...
  3. Replies
    12
    Views
    1,924

    Re: Dllimport: Change dll-name from case to case?

    Thanks for your answers so far.


    So, if using Interfaces, how do I manage the right instantiation of the correct class implementation at start-up, according to the operating system (32 bit/64...
  4. Replies
    12
    Views
    1,924

    Re: Dllimport: Change dll-name from case to case?

    Thanks!

    But: How can I check the OS before the pre-processor runs?

    I need at least a bool flag which says: IS_64 (tru/false).
    So this I could use in that #if.....
  5. Replies
    12
    Views
    1,924

    Dllimport: Change dll-name from case to case?

    Hi!

    I would like to know if it is possible to use DLLimport in that way, that I can decide between
    two cases, e.g. 32 bit OS or 64 bit OS.

    Pseudo code:



    if (OS_Is32)
  6. Thread: Comma Error

    by MNovy
    Replies
    2
    Views
    551

    Re: Comma Error

    you are (trying) assigning, not comparing



    if (Left((((CheckBox)child).ID, 11) .......=.......... lintGrpid & "chkDetail")



    Use ==
  7. Replies
    3
    Views
    1,361

    Re: Gamepad control for robot

    I would rather make that controller talk directly to the robot via a micro controller,
    instead of using PC+RS232 for middle ware.
  8. Replies
    1
    Views
    301

    Re: Outlook. Reading disposability of users.

    I mean the Outlook calendar.
  9. Replies
    1
    Views
    301

    Outlook. Reading disposability of users.

    Hello,

    I would like to display the disposability of users that are in the same address book like me.

    I don't want to read the details, only if a selected person is available in a given time...
  10. Replies
    7
    Views
    1,668

    Re: c# Form Arguments?

    It depends on what you aim is.

    If you only want to store some arguments for delayed reading,
    a static calss is a good choice. Especially if you read only from
    one point there is no negative...
  11. Replies
    7
    Views
    1,668

    Re: c# Form Arguments?

    The fastest solution is:

    use the arguments from your main,
    put it into a static class and read those values
    from any other point in your application.

    The static class will not loose its...
  12. Re: Compile-time vs. runtime types... I'm confused...

    As far as I know you cannot create a list of a base class, but add deviated classes.
    It is like having an array of short int, but trying to apply long int.

    A list must be type consistent.
  13. Replies
    3
    Views
    495

    Re: Delegates: A simple question

    Delegates are kind of a pointer to method.

    Example
    ----------------------
    If you call a method from another thread, you need a delegate.

    Imagine:
    You have your main thread of your...
  14. Replies
    3
    Views
    2,161

    Re: Dynamically change textbox width and name

    What is "MyTextBox"?

    If this is not the TextBox in your form, you can change the values all night long w/o seeing any changes on the form, since it is NOT your controller.
  15. Replies
    2
    Views
    5,340

    Re: C# TextBox values to x string array

    This is easy.

    Just use the string.split method (use comma ',' for split character) and
    split the string into an array of chars, first.

    Then iterate over your array and pick up and resort your...
  16. Replies
    2
    Views
    1,578

    Re: export datatable to Excel

    Fact 1)
    If you want to create a Excel file, you have to create a real Excel file with C# and the Office assemblies.
    There you can format all cells as you like. Search Google for "create excel file...
  17. Replies
    5
    Views
    844

    Re: Parsing a string programmatically(C#)

    Looks like XML, why not using the XML methods from .NET to access the values?
  18. Re: Including the .NET Framework on the Applications CD

    Use the Visual Studio installer, which adds a bootstrapper to it.
    So if someone wants to install your .NET application, the framework will be installed before, if not available.

    In the VS setup...
  19. Replies
    14
    Views
    896

    Re: "Struct" Problem...

    Examples, please?
  20. Replies
    14
    Views
    896

    Re: "Struct" Problem...

    Why you don't uses classes?
    Structs are out-dated and only available for compatibility purposes.
  21. Replies
    3
    Views
    1,190

    Re: How to get window's icon via winapi ?

    I would suggest to use resources and assign the icon you wish from to any window.
    So the trick is to assign a known icon to the window,
    instead grabbing an unkown icon from the window.


    Sth...
  22. Replies
    3
    Views
    1,190

    Re: How to get window's icon via winapi ?

    Try to get your file icon with this API call, it works with any file name.
    In this case I retrieve the file name of the exe itself, but you can replace
    the file name with any full path you like.
    ...
  23. Replies
    9
    Views
    1,638

    Re: Console threading

    Newbie and then trying to handle multiple threads?
    Maybe you should start with some low level exercises?
  24. Replies
    9
    Views
    1,638

    Re: Console threading

    This is easy:
    check your argument and create an array of threads. That's it!
  25. Replies
    2
    Views
    537

    Re: getting 2 words from a sentence

    This is easy.

    Use the string split method to put whole sentence into single words in an array,
    then just go through the array in 2-steps and pick up your words and use them as you like.
Results 1 to 25 of 211
Page 1 of 9 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center