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
K

ksandy45

@ksandy45
About
Posts
32
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Adding Chart object into Crystal Reports
    K ksandy45

    Hello I need help to add the crystal repot chart object into a report using VC++. I am using Crystal Report XI and Visual C++ 6.0. I have two fields based on which i must generate a graph on the report(Dynamically). Kindly provide me the information to achieve this. Thank you

    Kind Regards Sandy

    C / C++ / MFC c++ data-structures help

  • Dynamic Reporting using Crystal Reports
    K ksandy45

    Hi all I am currently using VC++ 6.0 and Crystal Reports 8.5. I have placed a Crystal Report Viewer in my dialog box, i dont understand how to populate it with a report at run time. I tried finding the features this tool offers but was not able to find any solution to my problem. I kindly request anyone of you to provide me the information to make it happen. Thank you very much

    Kind Regards Sandy

    C / C++ / MFC c++ help tutorial

  • Fill the ListView using DataSet
    K ksandy45

    Hi I dont know if i can use the char '^' works here i am getting errors on using this... The errors are... e:\Sandeep\VC++ .Net\Test1\Form1.h(386) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(386) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(387) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(387) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(390) : error C2065: 'SqlStr' : undeclared identifier e:\Sandeep\VC++ .Net\Test1\Form1.h(391) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(391) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(392) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(392) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(393) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(393) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(394) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(394) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(399) : error C3861: 'SqlStr': identifier not found, even with argument-dependent lookup e:\Sandeep\VC++ .Net\Test1\Form1.h(407) : error C2061: syntax error : identifier 'each' e:\Sandeep\VC++ .Net\Test1\Form1.h(408) : error C2143: syntax error : missing ';' before '{' e:\Sandeep\VC++ .Net\Test1\Form1.h(410) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(410) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(412) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(412) : error C2143: syntax error : missing ';' before '^' e:\Sandeep\VC++ .Net\Test1\Form1.h(414) : error C2065: 'lvindex' : undeclared identifier e:\Sandeep\VC++ .Net\Test1\Form1.h(414) : error C2227: left of '->SubItems' must point to class/struct/union type is ''unknown-type'' e:\Sandeep\VC++ .Net\Test1\Form1.h(414) : error C2227: left of '->Add' must point to class/struct/union e:\Sandeep\VC++ .Net\Test1\Form1.h(414) : error C2065: 'sublvindex' : undeclared identifier e:\Sandeep\VC++ .Net\Test1\Form1.h(416) : error C2065: 'gcnew' : undeclared identifier e:\Sandeep\VC++ .N

    Managed C++/CLI help database

  • Fill the ListView using DataSet
    K ksandy45

    Hi, Yeah kindly find the list of errors below which are fired when i use this piece of code. This is my code : private: System::Void Form1_Load(System::Object * sender, System::EventArgs e) { System::String * SqlStr; ListView * listView1 = new ListView(); try { SqlStr = "Select IC, Part_Code, PART_NUMBER, PART_NAME from vdcsssp_PARTS_mst" ; SqlCommand* objCmd = new SqlCommand(); SqlDataAdapter* objDA = new SqlDataAdapter(); DataSet* objDS = new DataSet(); SqlConnection* objCon = new SqlConnection(); objCon->ConnectionString = "User ID=sa;pwd=qil2004;Data Source=qipl-server;Initial Catalog=Qvdcsssp"; if(objCon->get_ConnectionString() != "") { objCon->Open(); objCmd->CommandText = SqlStr; objCmd->Connection = objCon; objDA->SelectCommand = objCmd; objDA->Fill(objDS); } else MessageBox::Show("Error connection Failed"); return; for each (DataRow* r in objDS->Tables[0]->Rows) { //Create a listView Item and add the first column of the dataset to it ListViewItem* lvindex = gcnew ListViewItem(r[0]->ToString()); //Create a subitem and add the seconed column to it ListViewItem::ListViewSubItem* sublvindex = gcnew ListViewItem::ListViewSubItem(lvindex,r[1]->ToString()); //Add the 1st subitem to the listview item listView1->SubItems->Add(sublvindex); //Create the seconed ListView SubItem and add the third column of the Dataset to it. sublvindex = gcnew ListViewItem::ListViewSubItem(lvindex,r[2]->ToString()); //Add the 2nd subitem to the listview item listView1->SubItems->Add(sublvindex); //Add the entire ListViewItem to the next available row in myListView listView1->Items->Add(lvindex); } } catch(Exception* ex) { MessageBox::Show(ex->Message); } ----------------------------------------------------------------------------- This is my errors: e:\Sandeep\VC++ .Net\Test1\Form1.h(376) : error C2061: syntax error : identifier 'each' e:\Sandeep\VC++ .Net\Test1\Form1.h(377) : error C2143: syntax error : missing ';' before '{' e:\Sandeep\VC++ .Net\Test1\Form1.h(379) : error C2065: 'gcnew' : undeclared identifier e:\Sandeep\VC++ .Net\Test1\Form1.h(379) : error C2146: syntax error : missing ';' before identifier 'ListViewItem' e:\Sandeep\VC++ .Net\

    Managed C++/CLI help database

  • Fill the ListView using DataSet
    K ksandy45

    I am really greatfull to you for the support replay... But i guess the code is not for VC++.Net, I need to it in managed C++, where i am not able to use the keywords like "for Each" & Table[0]->. I am geeting error for this code. Can you kindly tell me if there is a problem with my code or else i need alter the code provided by you... Please do me a favour by giving me this piece of Info. Thanks a lot

    Kind Regards Sandy

    Managed C++/CLI help database

  • Fill the ListView using DataSet
    K ksandy45

    Hi I need to know the method to fill the ListView with my database contents. I tried with the help of the Dataset, but could not find any solution to it. I am not able to populate the list view with my dataset contents. Please send me any sample code to solve this problem. Kindly do me a favour by helping me to find the solution to this. Thank you :) -- modified at 4:36 Tuesday 5th December, 2006

    Kind Regards Sandy

    Managed C++/CLI help database

  • Managed C++ with MFC
    K ksandy45

    Thank you very much. I am really very much satisfied with your help. I shall start implementing the same using C++/CLI. Kindly keep in touch. I shall be into trouble again... Thanks a lot:)

    Kind Regards Sandy

    Managed C++/CLI c++ csharp announcement

  • Managed C++ with MFC
    K ksandy45

    Thank you Christian. I have clear picture now. I can start my project using Managed C++ and still do all the functionalists that i have done using MFC. I hope what i predict is right? Kindly help me for my further queries. Thanks a lot.

    Kind Regards Sandy

    Managed C++/CLI c++ csharp announcement

  • Difference b/w MFC in VC++ 6.0 & VC++.net 2003
    K ksandy45

    Thank you very much Tasleem. I am clear now. So i can use Managed C++ and achieve all the things which a MFC offers and this can done with a great ease. I hope what i understood is correct? I think you have a great knowledge in thins field. I would like you to help me, kindly provide me with you are support. Thanks a lot.

    Kind Regards Sandy

    C / C++ / MFC c++ csharp

  • Managed C++ with MFC
    K ksandy45

    Hmmmm..... I am bit confused, i don't mean that way. Can i achieve my things like communicating with Firmware, via VC++.net. Is it functionality wise Same(.net & MFC)?

    Kind Regards Sandy

    Managed C++/CLI c++ csharp announcement

  • Difference b/w MFC in VC++ 6.0 & VC++.net 2003
    K ksandy45

    Thanks a lot Tasleem. Can you just tell me how Managed VC++ is different from the MFC? Can the same functionallity be achieved by using the VC++.Net (managed C++).

    Kind Regards Sandy

    C / C++ / MFC c++ csharp

  • Managed C++ with MFC
    K ksandy45

    Thanks Christain, i think you have really made my work light. I am still in a dilama where i need to communicate with a firmware and also use some of the OCX for graphs and sliders. can my .net VC++ work in the same mannar as that of the MFC. since MFC is strong on these concepts(like sending and reciving data from any other device) and also very mush usefull in system programming. Kindly help me, I have to make a decision betwenn VC++.net and VC++.Net MFC. Is vc++.Net same as MFC? Sorry if i am bugging you up. I am deseprate for some support.

    Kind Regards Sandy

    Managed C++/CLI c++ csharp announcement

  • Difference b/w MFC in VC++ 6.0 & VC++.net 2003
    K ksandy45

    Hi Prasad, Thanks for the help, then what is the difference between these two MFC's. Does .net MFC offer any new classes?

    Kind Regards Sandy

    C / C++ / MFC c++ csharp

  • Difference b/w MFC in VC++ 6.0 & VC++.net 2003
    K ksandy45

    Hello Kindly do me a favour by enlightening me with the difference between MFC's in VC++ & VC++.net Can i use the same code which is in VC++ 6.0 in VC++.net. Thank you

    Kind Regards Sandy

    C / C++ / MFC c++ csharp

  • Managed C++ with MFC
    K ksandy45

    Hello I am very new to managed c++, i have to start the codeing which needs many MFC features. I have done the same in VC++ 6.0. Now i must port it onto VC++.net. Can anyone please confirm me wheather, i can start my project in VC++.net version (Managed C++) and also use the features of MFC. Kindly give me the method i need to follow. Thank you

    Kind Regards Sandy

    Managed C++/CLI c++ csharp announcement

  • VC++.net & VB.Net Compatibility
    K ksandy45

    Hi, Thanks a lot, i think this will help me a lot. I will just try this concept of yours. I am not totally clear about this concept. i may be needing your total support inorder to carry on. i will be in touch with you. hope you dont mind?

    Thanks & Regards Sandy

    .NET (Core and Framework) question csharp c++

  • VC++.net & VB.Net Compatibility
    K ksandy45

    Hi Kevin, Thank you very much, i think you are right, i can do that. But what if there is a project with a form in VB.net. can i make this form or module as a part of my VC++. net file. To be very clear, i have one module with a form in VB.net. i want this form to open when i click a button in VC++.net MDI dialog box. Is it possible? i guess not?? What about porting that form into my VC++. net MDI? Kindly help me, i hope my problem is stated well. if not kindly ask me to be clear. Thank you.

    Kind Regards Sandy

    .NET (Core and Framework) question csharp c++

  • VC++.net & VB.Net Compatibility
    K ksandy45

    Hello , can we call VC++.net function in VB.net or vice Verse. If yes then what is the methodology to do so? Thanks for the support

    Kind Regards Sandy

    .NET (Core and Framework) question csharp c++

  • VC++ .net & VB. net
    K ksandy45

    Hello Experts, I am in dilemma where i need to call a VB.net function in VC++.net. is it possible to do so, if yes then kindly provide me with the idea. THANKS for the Support.

    Kind Regards Sandy

    C / C++ / MFC csharp c++

  • Data Compression(deflate) using VB6
    K ksandy45

    :) Thank youvery much i think i can now be able to do my job. thanks for that suggestion Kind Regards Sandy

    Visual Basic algorithms security question
  • Login

  • Don't have an account? Register

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