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

Search:

Type: Posts; User: Hubibi

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    776

    Adressbook manipulation with Ldap

    Hello everybody,

    i try to modify some contacts which are stored in a public folder on a exchange server 2003.

    Can you please give me some hints how to handle this?!

    The only information i...
  2. Replies
    0
    Views
    602

    Drag a column out of a datagrid

    Hello everybody,

    i try to drag a column out of a datagrid.
    Usually i use the "MouseDown" event of a control to start a drag drop operation (DoDragDrop()).
    But the columns of the datagrid...
  3. Replies
    4
    Views
    2,453

    Re: Read user settings and add a new setting

    Yes this would be a solution.
    But i would prefer to use the default methods of .NET.

    There must be a possibility to add a new user setting.

    Better would be to add a new section like this:

    ...
  4. Replies
    4
    Views
    2,453

    Re: Read user settings and add a new setting

    Yes this would work.

    But the problem is that i want to add a new setting, which does not exists!

    Cause i have a base class for all windows, this class should implement the ability to store...
  5. Replies
    4
    Views
    2,453

    Read user settings and add a new setting

    Hi gurus,

    i need to read some user settings from my app.config.

    Its no problem using this statement:
    global::WindowsApplication1.Properties.Settings

    But how can i do this using the...
  6. Replies
    4
    Views
    1,145

    Re: DataGridView using ComboBox Controls

    Thanks, but i know the event i have to use.

    My problem is, i dont know how access the combobox object.
    I can access a cell in the datagridview, but i dont know how to get access to the combobox...
  7. Replies
    4
    Views
    1,145

    Re: DataGridView using ComboBox Controls

    No idea?

    Or should i describe the problem again?


    I have a few ComboBoxes in a DataGridView. If I select some value in a ComboBox in one row, it should change the items of the next ComboBox in...
  8. Replies
    4
    Views
    1,145

    DataGridView using ComboBox Controls

    Hi everybody,

    in my application i want to use a DataGridView to add/edit some data. I'm not using a database or anything like this. I use the DataGridView because it has more possibilities than...
  9. Replies
    14
    Views
    66,310

    Re: How to remove leading Zeros

    Just cast to integer and cast again to string ;-)

    I think it should work with:


    string sValue = "000123";
    int iTemp = Convert.ToInt32(sValue);
    sValue =...
  10. Replies
    5
    Views
    1,115

    Re: Comparing 2 bitmaps

    May you can build a checksum of your bitmaps and compare the checksum.
  11. Replies
    3
    Views
    2,134

    Re: Form.Close -> Object is not null

    Ok, thank you!

    It works fine! :thumb:
  12. Replies
    3
    Views
    2,134

    Form.Close -> Object is not null

    Hi everybody,

    in my application i´ve got input and output forms.

    If you click on a button in the output form the input form appears.

    If you click on the cancel button in the input form the...
  13. Replies
    6
    Views
    990

    Re: SQL Beginner - NEED HELP, Query 3 Tables

    OK, could solve my problem by using the IsDBNull() method.

    Thanks!
  14. Replies
    6
    Views
    990

    Re: SQL Beginner - NEED HELP, Query 3 Tables

    OK i got it with the following sql statement:


    SELECT a.Movie_ID, a.Title, c.Name, a.Rating, a.Launch FROM (Movie AS a LEFT JOIN MovieGenre AS b ON a.Movie_ID=b.Movie_ID) LEFT JOIN Genre AS c ON...
  15. Replies
    6
    Views
    990

    Re: SQL Beginner - NEED HELP, Query 3 Tables

    Ok done it.

    But i get still only the movies which have some relations to genre!

    Here is the sql command created by the access wizard:


    SELECT Genre.Name, Movie.Title, MovieGenre.Genre_ID,...
  16. Replies
    6
    Views
    990

    SQL Beginner - NEED HELP, Query 3 Tables

    Hi Gurus,

    in my c# application i want to query some data from 3 tables:

    Movie
    -Movie_ID
    -Title

    MovieGenre
    -Movie_ID
  17. Replies
    4
    Views
    6,275

    Re: Need help with VerQueryValue

    uhhh,
    i switched the language and the codepage argument in the following line:


    wsprintf(acFormat, "StringFileInfo\\%04x%04x\\FileVersion", wCodePage, wLangID);


    :mad: i hate myself...
  18. Replies
    4
    Views
    6,275

    Re: Need help with VerQueryValue

    Oh yes,
    the following line returns false:

    fContinue = VerQueryValue(cData, acFormat, (void**)&pcData, &wInfoLen);
    The error code is 1813 which means:
    "The specified resource type cannot be...
  19. Replies
    4
    Views
    6,275

    Need help with VerQueryValue

    Hi everybody,

    i try since a few days to read the FileVersion Information of some .exe files.
    The only thing i get are some oddly characters.
    Here is my code:


    string...
  20. Replies
    3
    Views
    2,585

    Disabled owner draw button

    Hi Everybody,

    in my application i use some owner draw buttons. I need to disable some of the buttons and make this visible for the user.
    Which is the best way to display a button disabled? The...
  21. Replies
    2
    Views
    872

    Button with an icon and a text

    Hi,

    may you can help me.

    I would like to have a button in my Dialog with a text and an icon beside it.

    I use the following code in my OnInitDialog:


    HICON hU = (HICON)::LoadImage(...
  22. Replies
    17
    Views
    2,164

    Re: Strange File Read Problem

    Ok thanks for your help!

    I have written the following code which seems to work fine:


    string sContent = "My Text not encrypted \n My Text not encrypted \n My Text not encrypted \n My Text...
  23. Replies
    17
    Views
    2,164

    Re: Strange File Read Problem

    Ok, I already did it.
    Here is my code to write the file:


    char cKey = 'ä';
    string sCompleteUsageLog = "Some text ....";
    string sTEST = "";
    for (iCounter = 0; iCounter <...
  24. Replies
    17
    Views
    2,164

    Re: Strange File Read Problem

    Thanks for your help!


    I just tried it with different data types. It was just a try!


    Now my new file is ok, but smaller than the source file. The new file ends where the strange "Í"...
  25. Replies
    17
    Views
    2,164

    Strange File Read Problem

    Hi Gurus,

    i try to read a file and write the content to another file.



    CStdioFile MyFile;
    string content;
    CString sFile = "";
    char cKey = 'ä';
Results 1 to 25 of 59
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured