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

Search:

Type: Posts; User: lsy

Page 1 of 23 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    5,570

    Convert double to CString with 2 decimal places

    How can i convert a double value to CString with 2 decimal places?
    eg double value is 23, i want it to convert to CString with 23.00 while i using _gcvt it just return me 23.

    can any help one...
  2. Replies
    4
    Views
    1,919

    Re: Sorting GridView control

    i'm using GridView control, i have set those sorting property to true.... but when i click on the header it ask for handler of the sorting... i have create the handler but don't know what should...
  3. Replies
    4
    Views
    1,919

    Sorting GridView control

    How can i sort the GridView control by clicking the column header?
  4. Replies
    5
    Views
    1,722

    Re: Web application using c#

    ok, thanks...
    due to i'm first time writing web app, i'm not very sure how web application is really works...
    when i run the app, it will show a webpage... but it only can be compile as debug...
  5. Replies
    5
    Views
    1,722

    Web application using c#

    i'm first to create web application, i'm curious how can i create a web application in VS2005 with using C#... i found some sample in net, but the first step is always File->New Project, then choose...
  6. Replies
    12
    Views
    2,633

    Re: 0xC0000005: Access violateion

    There are all in single thread. both are in different function, that why CoInitialize() and CoUninitialize() will have 2.
  7. Replies
    12
    Views
    2,633

    Re: 0xC0000005: Access violateion

    I have 2 functions, 1 for updating the database which will return a recordset and 1 is for inserting or deleting, which are void.


    void CDatabase::UpdateDB(_bstr_t bSQL, CString sDBName)
    {...
  8. Replies
    12
    Views
    2,633

    Re: 0xC0000005: Access violateion

    i'm connected to Microsoft access database
    Provider='Microsoft.JET.OLEDB.4.0'; Data Source = mydb.mdb
  9. Replies
    12
    Views
    2,633

    Re: 0xC0000005: Access violateion

    the error come from Recordset15::Open()


    inline HRESULT Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum...
  10. Thread: CCombobox control

    by lsy
    Replies
    2
    Views
    591

    Re: CCombobox control

    got it... thanks.
  11. Thread: CCombobox control

    by lsy
    Replies
    2
    Views
    591

    CCombobox control

    In CCombobox control, there is a method called GetLbText, to get the text in the combo box, either user enter or select.... is there a function that can allow to Set it?

    i just want to display a...
  12. Thread: Mdi

    by lsy
    Replies
    4
    Views
    937

    Re: Mdi

    then how can i control only 1 active page at 1 time?
  13. Replies
    12
    Views
    2,633

    Re: 0xC0000005: Access violateion

    but i got the error after the connection close...
    that look bit weird.
  14. Replies
    12
    Views
    2,633

    0xC0000005: Access violateion

    I have a very strange problem in my ADO connection close, when i debug, it will have a 0xC0000005: Access violateion after my pConn->Close().. but when i run normally, i don't see this error......
  15. Thread: Mdi

    by lsy
    Replies
    4
    Views
    937

    Re: Mdi

    i have try to search on net... but seems there are no SDI in C#... could you pls help to provide me sample?
  16. Thread: Mdi

    by lsy
    Replies
    4
    Views
    937

    Mdi

    How do MDI acting like SDI?
    As i only want 1 instance at a time and only 1 active form is showing, and is it possible that the child window set as the child form as like VC++...
    if possible,...
  17. Replies
    2
    Views
    720

    Re: parameterized queries

    I'm using ADO... during inserting, i have a column data that consists single quotation and double quptation, thus that might create an error.
    or do you have any other method for this?

    INSERT INTO...
  18. Replies
    2
    Views
    720

    parameterized queries

    Can anyone tell me how to use parameterized queries in a sql statement??
    i try

    INSERT INTO TABLE (COLA, COLB) VALUES (@AVALUE, @BVALUE)

    but is return a error that no value given... can anyone...
  19. Replies
    2
    Views
    3,414

    get text in combo box control

    How can i get the text in a combo box which the text is enter by user?
    i try GetEditSel() it return nothing where GetLbText() return application error might due to nothing is select.
  20. Replies
    4
    Views
    913

    Re: Write to excel file.

    how to use it? is there any sample provide?
  21. Replies
    4
    Views
    913

    Write to excel file.

    How can i write to an existing ms excel file at specific column?
  22. Replies
    8
    Views
    6,539

    Re: reading all key in section in INI file

    If i don't specify the section(AppName) name but only specify the key... would it be able to search whole file and return me the value of the key?
    i try
    GetPrivateProfileString(null, sKey, "",...
  23. Replies
    2
    Views
    1,407

    Re: Function return OleDbDataReader variable

    when inside the function the OleDbDataReader is still holding data... but after connection is close... it become nothing inside... so when i return that is an error in the function which call it.
  24. Replies
    2
    Views
    1,407

    Function return OleDbDataReader variable

    If i have a function which would like to return a OleDbDataReader variable... is it possible??
    I discover when my OleDbConnection is close thus the OleDbDataReader variable also contains nothing....
  25. Replies
    8
    Views
    6,539

    Re: reading all key in section in INI file

    i just wanna read out the key on the particular section of the ini files...
    what is the different between GetPrivateProfileSection and GetProfileSection?
Results 1 to 25 of 571
Page 1 of 23 1 2 3 4





Click Here to Expand Forum to Full Width

Featured