Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Huskey
  • Order by date
  1. Huskey

    .NET, C# how much differences from C++

    thanks for the reply. sorry for the confusion. I was in the rush when typing the message. I'd like to find out the difference between VC.NET and Visual C++. I have consulted many people about this. Some of them told me that VC.NET is the high level version of VC++. Is that true?? What are its...
  2. Huskey

    .NET, C# how much differences from C++

    Hi, Can anyone please tell me what is the difference between Visual C++.NET and Visual C, Visual C++. What are their main application, for .NET and C#. Please, help!
  3. Huskey

    What is polymorphic class and handle means???

    Hi, Can anyone please explain me the meaning and differences of polymorphic class, handle, dynamic_cast, down_cast, up_cast and static_cast in details? What is the difference between both? Handle<Table> result = dynamic_cast(Table *, input)); Table* result = dynamic_cast(Table*, input); I...
  4. Huskey

    How to use ifstream &amp;

    Hi, I have a problem here and hope any experts out there could help. I used ODBC to import a database. This database has been successfully loaded into a new storage structure I named it as VisualTable which can essentially be perceived as a matrix with integer entries. My problem is now how to...
  5. Huskey

    Calling a new document

    Hi qednick, thank you for your reply. What i mean is that I still cant work it out how to store my CXGridDoc as a blank template and then use CCommandLineInfo to open that template instead of creating a new document. Sorry for my knowledge in Visual C++. I am a new programmer who has no idea...
  6. Huskey

    Calling a new document

    Hi GedNick, It still does not work but I will try what you have suggested me. Thank you for your time and help. I deeply appreciate that. best regards,
  7. Huskey

    How to make use of ifstream &amp;

    Hi, I have a problem. If the function is only taking ifstream, e.g. VirtualTable::Load(ifstream &stream) {...... } what kind of values I should supply? Let's say, my data is in class CDatabase? I got this error: D:\Test\MainFrm.cpp(182) : error C2664: 'Load' : cannot convert parameter 1...
  8. Huskey

    Calling a new document

    Hi qednick, Thanks very much. I can open a document after double clicking on the tree item with the code you have suggested. However, the document appears is based on the default CTestDoc. Is there any way to make the document that appears based on the new document class I defined as CXGRIDDOC...
  9. Huskey

    Calling a new document

    Hi, thank you so much for your replies. I have solved part of my problem with the help of your code. Thank you! This is the code I am using. Whenever I double click the item on the tree, a message &quot;I am here&quot; appears. I assume that the pointer has passed the required message to...
  10. Huskey

    Calling a new document

    Hi, Thank you very much for your explanation. I am a bit clear now. I have tried exactly what you have told me... I have a compilation error: . . . if (hParentt == htiSpcs1) { #define kDoThis 1234 CWnd* pMainFrameWnd = ::AfxGetMainWnd()...
  11. Huskey

    Calling a new document

    Hi can you please explain me in more detail perhaps with a sample code... In my code, double click on the item of the tree will run this void function: OnDblClickTree1 and then invoke the new document class. The sample of my code: void CTestView::OnDblClickTree1(NMHDR* pNMHDR, LRESULT*...
  12. Huskey

    Calling a new document

    Hi, Any idea how to call a document from a CDocument? For example, my application is a MDI. I have three main application class: CtestApp CtestDoc CtestView My program is using Tree Ctrl. So, in my Ctestview, I need to click on the item on the Tree to invoke a new document. How to do that...
  13. Huskey

    How to define a SQL query?

    Hi I have been trying for few weeks to display the table imported onto the Grid. The database is imported into the decisiontable using the code: BOOL CODBCTableImporter::APPLYSTRUCTURE() {.. ... ODBCTableImporter *importer =...
  14. Huskey

    Display Table on Grid

    Hi I have been trying for few weeks to display the table imported onto the Grid. The database is imported into the decisiontable using the code: BOOL CODBCTableImporter::APPLYSTRUCTURE() {.. ... ODBCTableImporter *importer =...
  15. Huskey

    Refresh the Tree List

    Hi, I have inserted a table name into my Tree structure. However, I cant see the table name unless I do something with the dialog e.g. moving, maximise or minimise the dialog before the change can be seen effectively. It seem to me that the tree list is not updated after the table is inserted...
  16. Huskey

    Update the Tree Control List

    Hi, I have a problem here. I manage to insert a table name into the Tree List. However, the screen is not updated. I have to minimise and then maximise the dialog box before I could see the table name that was inserted. Any solution for this???? Please help! Many thanks!
  17. Huskey

    Convert numerical data to a discrete range of values using Excel

    hi, let's say I define a discrete range. More than 0.66 is considered &quot;1&quot; for instance. In the column, I have many numerical values like 0.22, 0.12, 0.11, 0.89.... How the excel can automatically use the discrete range I set to convert the whole database to the discrete values...
  18. Huskey

    Convert numerical data to a discrete range of values using Excel

    Hi, I have a database with all numerical values. I want to convert all to a discrete range of values which can be specified as I wish. How to do in Excel? Please help!!! thanks
  19. Huskey

    Stop Flicker during the loading

    Hi, I got a problem. When I tried to read a database which contains a huge list of columns, the CListBox flickers during loading. How can I eliminate this effect? for (int h = 0; h < columnnames.size(); h++) { if ((colNames == &quot;Integer&quot;) || (colNames ==&quot;String&quot;)) {...
  20. Huskey

    Connect a container to a tree control

    Hi, I would like to add a imported database name into the tree control. Somebody suggested me to use the container but I dont know how to use it. Can anyone please explain me more details. Please help!! thank you!

Part and Inventory Search

Back
Top