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

Search:

Type: Posts; User: keerth516

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. how to make the timer in windows form application work one by one.Need help

    now in this program am reading the time duration in text field and considering teh value as millseconds to set the timer duration for that particular bit in parallel port.Now i want to link all the...
  2. Replies
    5
    Views
    1,033

    Re: Error while trying to run the program.

    Sorry..this is really silly mistake i made...I was trying to do..with out my notice was trying to compile not even realising that i didnt complete the line...thanks ..alot for giving solution for...
  3. Replies
    5
    Views
    1,033

    Re: Error while trying to run the program.

    This is the program am running in same VehicleDemo.CS

    using System;
    class Vehicle
    {
    public int Passengers;
    public int Fuelcap;
    public int Mpg;
    }
    class VehicleDemo
  4. Replies
    5
    Views
    1,033

    Error while trying to run the program.

    Hi,

    while running a simple class vehicle and another class vehiledemo will instantiates the vehicle object inside the vehicledemo class.But giving an error below.I have declared "using System;" at...
  5. Replies
    1
    Views
    2,920

    Conversion errors- how to get rid of it.

    Hi,

    I have one application which was set as use unicode character set.Now am trying to implement FindFirstFile(),FindNextFile() which results in so many type conversion errors for these methods.If...
  6. how to represent the file extension in StringCbCatN()

    Hi,

    Here is the piece of code which display all files in the folder.




    StringCbCopyN (DirSpec, BUFSIZE, argv[1], length_of_arg+1);
    StringCbCatN (DirSpec, BUFSIZE, "\\*", 3); //this is...
  7. Replies
    2
    Views
    10,431

    Findfirst() and findNext() in C

    I would like to know the usage of findfirst and findnext functions in C ..I am compiling using VC++ 2008 compiler.

    Here i googled about these functions example. but the examples concept is listing...
  8. Re: Could not Insert the data using VC++ in MYSQl database

    Hey Igor..i have one more doubt If i want to use "unit234" value for name1 field..which data type i have to use for name1 filed in the table for MYSQL.Now i declared as varchar(20) and its...
  9. Re: Could not Insert the data using VC++ in MYSQl database

    Thanks a lot Igor....ur right..name1 was text datatype..and i was trying to insert the value "234unit"..thats why i could not insert the values...now able to insert...thanq very much.
  10. Could not Insert the data using VC++ in MYSQl database

    am using MSvisual C++ 2008 and running the below code to insert the values to db.MYSQL server 5.1 is teh database.

    Could please let me know why its not inserting and let me know where was the...
  11. Re: Error while connectin g to MYSQL through VC++

    In order to solve the link error...i made changes to the

    " C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\lib\opt" Properties->Configuration Properties->Linker->General->Additional Library...
  12. Re: Error while connectin g to MYSQL through VC++

    Thanks Marc..i made chages to the previous post mentioneing this point...do u know any other to set the mysqlcppconn.lib ?? because am getting the link error...as mentioned above post.
  13. Re: Error while connectin g to MYSQL through VC++

    Thanks paul... I have added these two header files

    #include "winsock.h"
    #include "mysql.h"

    Still getting one error:error C2039: 'Execute' : is not a member of 'st_mysql'

    AT this line:...
  14. Error while connectin g to MYSQL through VC++

    Hi,

    i have the header and library file in MSvisual studio 2008.(VC++).and copied the mysqlcppconn.dll to the C:\windows folder and copied to the project folder and set the path too.

    the link i...
  15. Re: Getting error while Inserting struct variable value into datdabase.

    changing the connection string is enough for the above code?..Am using the mysql connector /NET 5.0.9-according to that changed the connection string as mentioned in the link.

    installed MYSQL...
  16. Re: Getting error while Inserting struct variable value into datdabase.

    Hi all,

    Thanks a lot for ur reply and valuable suggestions...I successfully inserting the values now.

    with out any error.If i want to implement the same in MYSQL then what changes i should do...
  17. Re: MYSQL connectitvty to C/C++ code in visual studio VC++ 2008

    Thanks alot...i will go thorugh the links u have provided
  18. Re: MYSQL connectitvty to C/C++ code in visual studio VC++ 2008

    I could not find any instructions or examples in download files.except the .exe..
  19. MYSQL connectitvty to C/C++ code in visual studio VC++ 2008

    Hi,

    I want to know the connectivity of MYSQL to C/C++ code in VC++ 2008.I have downloaded the mysql C++ connector. IS there nay thing else i need to install? Can u please provide the step by step...
  20. Re: Getting error while Inserting struct variable value into datdabase.

    If i declare char str[1000] ...it takes the adress value of amount variable not the float value of amount variable...okay i will change it to %lf
  21. Re: Getting error while Inserting struct variable value into datdabase.

    thanks a lor paul...

    The thing is amount variable contains float value ...on which i want to insert the int value.

    Here my program is in C.

    char* str;
    const char* commandstr="insert into...
  22. Re: Getting error while Inserting struct variable value into datdabase.

    This is the text visualer ..where i can see the value of str...
  23. Re: Getting error while Inserting struct variable value into datdabase.

    Thanks a lot ...your reply...

    Ur suggestions and reply helped to solve the problem. but could get the output...its same the error:U in console window.

    here i want to take the amount variable...
  24. Getting error while Inserting struct variable value into datdabase.

    • I am trying to debug the below logic in main program. But its not taking the char* str; at all. If I declare the char* str;
    It shows “Run-Time Check Failure #3 - The variable 'str' is being...
  25. Replies
    7
    Views
    6,048

    Re: Error while executing the insert query.

    I have one more doubt reagrding insertion of values displayed in the console window.

    I have one application which is in C lanaguage.Am using microsoft visual studio VC++ to debug this...
Results 1 to 25 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured