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 bkrike 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
  • Content: Threads
  • Order by date
  1. 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!
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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 =...
  7. 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 =...
  8. 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...
  9. 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!
  10. 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
  11. 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;)) {...
  12. 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!
  13. Huskey

    connect a database name to a tree/list control???

    Hi, Can anyone please tell me how to connect a container of imported database to a tree/list control??? For example, I have imported a database using ODBC and I would like to add the imported table name into the tree/list control? How to do that? Please help!!! thank you!
  14. Huskey

    Conversion of Vector to Const Bits (STL)

    Can anyone please help me to convert the Vector to const Bits (STL). I have been trying many ways and many times but couldnt solve it. Please help!!! Thanks!
  15. Huskey

    Selected CheckBoxes in const Bits

    Hi there, I am required to select a list of table name using a checkboxes. The selected table name (if check = 1), will be stored in a vector defined as const Bits. How am I supposed to store in a const Bits??? I have been struggling for few days to find out the way. const Bits tableselected...
  16. Huskey

    Insert an imported item into the Tree List

    Hi Can anyone please tell me how to insert an imported database into a tree control in the CDocument. For example, I have opened the database using ODBC, then when I imported the database into my program (which is temporary stored in a defined structure file), the name of the file will...
  17. Huskey

    Free memory of dialog resources

    Hi, Can anyone please tell me how to free memory of dialog resources on program termination? cheers,
  18. Huskey

    Convert CDatabase to CDatabase*

    Hi, can anyone please tell me how to convert a database defined in CDatabase to a CDatabase* instead. Also, what are the differences? Many thanks!!!!
  19. Huskey

    Pass a value to another CDialog

    Hi, I have a CString value and want to pass it to another CDialog. How am I supposed to do that? Please help!! Thanks!
  20. Huskey

    Problem of using Switch statement to display data in CListBox

    I was trying to display my data in the CListBox like this checked Time Float(3) checked Column String checked Row String After implementing the switch statement shown below: int choices = 3; switch (choices) { case 1: colTypes == &quot;INTEGER&quot;; case 2...

Part and Inventory Search

Back
Top