Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

rover_boy

@rover_boy
About
Posts
14
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PPM file format - header files to include
    R rover_boy

    Hi, does anyone know what header files/libraries to use to use ppm file formats? I'm trying to parse a ppm format file in c++.

    C / C++ / MFC c++ question

  • Another application running in the form
    R rover_boy

    Hi I'm creating an application in Windows forms. I wondering if any knows how a System::Diagnostics::Process::Start("C:\\path\\my.exe"); which opens an application in a window to place that window in my form?

    Managed C++/CLI winforms question

  • Add/Remove items in a listBox
    R rover_boy

    This should solve your problem. //To Add if(cmbCommands->Text->Length > 0) { lstCommands->Items->Add(cmbCommands->Text); } //To remove if(lstCommands->SelectedIndex !=-1) { lstCommands->Items->RemoveAt(lstCommands->SelectedIndex); }

    Managed C++/CLI winforms tutorial

  • Try...Catch Problem
    R rover_boy

    Thank you for your reply, that fixed my problem

    C / C++ / MFC help sysadmin debugging question

  • Try...Catch Problem
    R rover_boy

    Can anyone help me on a try catch block? Not quite sure on the catch block. I want it to display a message box if the error the path in the try block does not exist. try { System::Diagnostics::Process::Start("C:\\client\\debug\\client.exe"); } catch(char *ex) { MessageBox::Show ("Not able to connect to PANGU server!", "PANGU Server Error!"); } finally { }

    C / C++ / MFC help sysadmin debugging question

  • Possible to link to different projects together?
    R rover_boy

    I have client class written in C saved into C++ files. This class is to connect to a server. I want to use this code which connects to the server in my GUI which is created using windows forms. I have added Additional Dependencies to the windows form project. The problem is when I include these .cpp code files to the windows form project I get the error LNK1152. I also get warning messages: "This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS" I'm looking into ShellExecute to solve my problem

    C / C++ / MFC c++ tutorial question

  • Error LNK1152
    R rover_boy

    Does anyone know how to solve the error LNK1152?

    C / C++ / MFC help tutorial question

  • Possible to link to different projects together?
    R rover_boy

    Thanks for the reply before you replied I just got the error LNK1152 so not sure if I should try to solve this or use the ShellExecute

    C / C++ / MFC c++ tutorial question

  • Possible to link to different projects together?
    R rover_boy

    Thanks for the help I might not need to do that if I can solve the error LNK1152

    C / C++ / MFC c++ tutorial question

  • Possible to link to different projects together?
    R rover_boy

    I'm new to Visual C++ and am creating a windows form application. I was wondering if it was possible to link a console application which is written in C but stored in C++ files to a windows form? So for example if I clicked a button in the Windows Form application then this would run the console application?

    C / C++ / MFC c++ tutorial question

  • Is it possible to link two projects together? [modified]
    R rover_boy

    I'm new to Visual C++ and am creating a windows form application. I was wondering if it was possible to link a console application which is written in C but stored in C++ files to a windows form? So for example if I clicked a button in the Windows Form application then this would run the console application?

    modified on Wednesday, January 16, 2008 5:56:25 AM

    C / C++ / MFC c++ tutorial question

  • Displaying a bitmap
    R rover_boy

    Hi I'm new to Visual C++ and .NET Framework; I'm trying to display a bitmap image on a Windows Form in Visual Studio 2005 but am experiencing problems with this. I have examples for VS 2003 but these don’t seem to work in VS 2005. Does anyone have any examples of displaying a bitmap in VS 2005? Any help appreciated

    C / C++ / MFC csharp c++ visual-studio dotnet graphics

  • Displaying a bitmap
    R rover_boy

    Hi I'm new to Visual C++ and .NET Framework; I'm trying to display a bitmap image on a Windows Form in Visual Studio 2005 but am experiencing problems with this. I have examples for VS 2003 but these don’t seem to work in VS 2005. Does anyone have any examples of displaying a bitmap in VS 2005? Any help appreciated

    .NET (Core and Framework) csharp c++ visual-studio dotnet graphics

  • mySQL Problem with .NET
    R rover_boy

    Hi i am tryin to write a login page in asp.net using c# i have created the following method which passes 3 parameters into mySQL database stored procedure but i am having problems extracting the ouptut value from the database and the server returns the following error Only MySqlParameter objects may be stored Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. the piece of code with the error is Line 65: connection.Close(); //Closes DB connection Line 66: Line 67: int valid = cmdString.Parameters.Add ("?p_valid"); Line 68: Line 69: //Builds .net mysql connection and passes connection string into method MySqlConnection connection = new MySqlConnection (connectionString); //Create mySql command string for passing query or SPROC(Stored Procedure) MySqlCommand cmdString = new MySqlCommand(); //Set Command to equal mySql connection,t so can pass SQL query cmdString.Connection = connection; //Set command string to equal SPROC cmdString.CommandText = "login"; cmdString.CommandType = CommandType.StoredProcedure; MySqlParameter param ; //Creats paramter to send to SPROC param = cmdString.Parameters.Add("?p_username", MySqlDbType.VarChar); //Sets parameter type to input parameter param.Direction = ParameterDirection.Input; //Sets parameter value to text box param.Value = txtUsername.Text; //Creats paramter to send to SPROC param = cmdString.Parameters.Add("?p_password", MySqlDbType.VarChar); //Sets parameter type to input parameter param.Direction = ParameterDirection.Input; //Sets parameter value to text box param.Value = txtPassword.Text; //Creates parameter to be passed into procedure param = cmdString.Parameters.Add("?p_valid", MySqlDbType.Int32); //Sets parameter direction to be equal to output param.Direction = ParameterDirection.Output; connection.Open(); //Opens DB connection cmdString.ExecuteNonQuery(); //Runs query connection.Close(); //Closes DB connection

    .NET (Core and Framework) database csharp help asp-net mysql
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups