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

Search:

Type: Posts; User: F.Mayis

Page 1 of 16 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,839

    Re: Prevent VB to change CLSID or AppId

    Sorry but found nothing. With C# you have to regenerate interop each time to get new methods.

    But with C#4 you may have a trick....
  2. Replies
    3
    Views
    2,770

    Re: ToolStripMenuItem enable/disable

    Hi,

    Thanks for the answer,

    But it is not what I intend to ask in fact.
    I know that .Enabled will do the stuff, but What I'm looking for is the same UpdateCommandUI process in C#.

    I mean...
  3. Replies
    3
    Views
    2,770

    ToolStripMenuItem enable/disable

    Hi,
    I'm new in C-Sharp so sorry "easy" for this question.

    I come from Win32/MFC world.

    I MFC to enable/disable menu item at Runtime I got to make an handler for the UpdateCommandUI and in it...
  4. Replies
    3
    Views
    469

    Re: Serialization problem

    Hi,

    Thanks, I found the problem in fact it was related to properties function on subObj I got a "get" but no "set".

    Thanks for your help!
  5. Replies
    3
    Views
    469

    [RESOLVED] Serialization problem

    Hi all,

    I'm quite new to C# and I have some Xml serialization indeed.

    I have objects define as follows :


    public class ObjSub{
    //some data
    public string mySubStr;
  6. How to define the correct application icon

    Hi,

    I have an application with conditionnal directive on IDR_MAINFRAME icon so depending on the compilation I do, the icon of the application should changed.

    It is OK when I run the application...
  7. Thread: Langid Lcid

    by F.Mayis
    Replies
    0
    Views
    1,506

    Langid Lcid

    Hi,

    To explain a little bit, I have an application that uses an external database.
    The user must be able to localize the content of this database.

    So there is a tool that present all the...
  8. Replies
    1
    Views
    508

    Reading string from binary file

    Hi,

    I have existing binary files where strings are stored with '\0' at the end.


    CString s;
    res = WriteFile(hFile,(LPCSTR)s, s.GetLength() + 1, &dw,NULL);


    NB: it's like that and...
  9. Replies
    3
    Views
    536

    Re: About the CMenu

    Sorry,

    I do not read correctly the topic.

    try to handle the WM_INITMENUPOPUP in your dialog.
    It will contain the handle of the menu or submenu displayed.
  10. Replies
    3
    Views
    536

    Re: About the CMenu

    Hi,

    Use the TrackPopupMenu function to display your popupmenu, If you use it with the TPM_RETURNCMD flag you will be able to say if the user has select a commands or press Cancel.

    Note that...
  11. Replies
    6
    Views
    2,064

    Re: import IDL file in MFC project

    thanks for the precision :D
  12. Replies
    6
    Views
    2,064

    Re: import IDL file in MFC project

    Hi,

    Thanks for the quick answer

    And in fact I think I have it.
    I have generated from the idl files the TLB.
    Then just done an import of these TLB files and it seems to work.

    Exactly...
  13. Replies
    6
    Views
    2,064

    import IDL file in MFC project

    Hi,

    I have a big MFC project, already using ocx's and exe server's where I use the #import function to include their methods.
    The project is not in UNICODE this is a very simple MFC project,...
  14. A stupid one HCURSOR --> HICON and HICON --> HCURSOR

    Hi,

    I know there are some ways to pass from one to another and experienced some.

    But please can you indicate the best way to transform a HCURSOR to a HICON and vice versa.

    Thanks a lot
  15. Replies
    4
    Views
    412

    Re: Stupid XML question

    Fast and efficient

    seems to be exactly what I need.

    For the msxml3, just why not ;-))
  16. Replies
    4
    Views
    412

    Re: Stupid XML question

    NOTE : Even VB code is good ;-))
  17. Replies
    4
    Views
    412

    Stupid XML question

    Hi,

    I am trying to use the msxml parser

    I want to generate the following XML file.


    <ENTITIES>
    <FOLDER value=”F1” icon=””>
    <ENTITY name=”Entity”>
  18. Replies
    12
    Views
    1,872

    Re: Lvn_itemchanging

    Hi,

    I have exactly the same problem than you please can you help me for the workaround

    Regards
  19. Replies
    4
    Views
    463

    Re: Toolbar that can't be resized by user

    Hi,

    removing this flag works thanks, it was somewhere else that there was a mistake.

    Thanks it works now
  20. Replies
    4
    Views
    463

    Re: Toolbar that can't be resized by user

    Hi,

    Firstly, Thanks for answering.

    But it does not change anything.
    I still have the possibility to click on the edges and resize the bar.

    Any other ideas, perhaps SubClassing but SubClass...
  21. Replies
    4
    Views
    463

    Toolbar that can't be resized by user

    Hi,

    I have a toolbar created as follows.


    if (!m_wndDynamicRuntimeToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | CBRS_TOP
    | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC | WS_DLGFRAME,...
  22. Replies
    4
    Views
    763

    Re: Data Between 2 dialogs

    Hi,

    In OnOK of your second dialog call UpdateData(TRUE) instead of UpdateData(FALSE)

    Then in the main you will have the correct data of your second dialog.

    CMyDialog::OnOK(){...
  23. Replies
    0
    Views
    3,392

    webservice under VB6

    Hi,

    I have a webservice that is embedded in a device.

    I can access to the device through ftp with no problem with a login and password.


    I try to use the webservice that is present on the...
  24. Replies
    0
    Views
    648

    PLEASE : SOAP and VB6

    Hi,

    I have a webservice that is embedded in a device.

    I can access to the device through ftp with no problem with a login and password.


    I try to use the webservice that is present on the...
  25. Replies
    1
    Views
    502

    Re: Mouse event , ActiveX control

    Hi,

    The activeX controls message pump seems not to be activated.
    Try to add the following line in the OnCreate event of your ActiveX.



    OnActivateInPlace (TRUE, NULL); // == UI-Activate...
Results 1 to 25 of 396
Page 1 of 16 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center