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: MikeCox
  • Content: Threads
  • Order by date
  1. MikeCox

    MCSD Certification in VC++

    Hi. I'm considering going after an MCSD cert, but I don't know how experienced you're expected to be before you can enroll. I've had no formal training in (V)C++, but I've learned enough to be familiar with most of the language concepts and I can make a simple app using MFC and any of the...
  2. MikeCox

    What are BOOL and UNIT?

    Hi! I know BOOL can be either TRUE or FALSE, just like the built-in bool data type, but what is the difference between the two? MFC AppWizard doesn't seem to use bool at all, favoring BOOL instead. I assume it's some sort of class or struct, but what functionality does it provide besides the...
  3. MikeCox

    Document/View and accessor functions

    Hi! I'm trying to write an MFC exercise program where a circle is drawn wherever the user clicks in the main frame. I've learned that the document/view way to do this is to store the circle's location in the document, and update it from the view. The problem is when I add private member...
  4. MikeCox

    DataGrid and hair loss

    Hi! I'm just about to go crazy over this one. I have a DataGrid bound to an Adodc1. I need to be able to let the user change values on the grid, but since the DataGrid won't work in unbound mode, I've determined that the best way to validate the new changes is to collect the information on a...
  5. MikeCox

    Set ComboBox dropped width

    Hi! I need to set the list portion of a combobox to wider than the control itsself. My book tells me the API SendMessage can widen the list portion of a combo box with a call like this: ------------------------------------ SendMessage Combo1.hWnd, CB_SETDROPPEDWIDTH, 300, 0...
  6. MikeCox

    Set ComboBox dropped width

    Hi! I need to set the list portion of a combobox to wider than the control itsself. My book tells me the API SendMessage can widen the list portion of a combo box with a call like this: ------------------------------------ SendMessage Combo1.hWnd, CB_SETDROPPEDWIDTH, 300, 0...
  7. MikeCox

    Newbie graphics question

    Hi! I would like to start working on some sort of simple game in VC++, but every graphics tutorial I found on the net talks about #include "graphics.h", which only works with Borland. What is the equivelant in VC++, and how do I use it? Do I have to use MFC to draw on an object, or...
  8. MikeCox

    StretchBlt trouble

    Hi! I'm having trouble making StretchBlt work as advertised. Consider the following code: -------------------------- With frmPics.picLogo StretchBlt picMain.hdc, 50, 50, .width, .height, .hdc, 0, 0, .width, .height, vbMergePaint End With -------------------------- This passes...
  9. MikeCox

    StretchBlt trouble

    Hi! I'm having trouble making StretchBlt work as advertised. Consider the following code: -------------------------- With frmPics.picLogo StretchBlt picMain.hdc, 50, 50, .width, .height, .hdc, 0, 0, .width, .height, vbMergePaint End With -------------------------- This passes...
  10. MikeCox

    StretchBlt trouble

    Hi! I'm having trouble making StretchBlt work as advertised. Consider the following code: -------------------------- With frmPics.picLogo StretchBlt picMain.hdc, 50, 50, .width, .height, .hdc, 0, 0, .width, .height, vbMergePaint End With -------------------------- This passes...
  11. MikeCox

    Clearing an Adodc1 error?

    Hi! I'm using an Ado data control to connect to a multi-relational database. I am not enforcing cascade update/delete. If the user tries to delete a record that contains children, the Ado (or DB engine?) generates an error. I've trapped this error and given the user a descriptive message...
  12. MikeCox

    Pass control array to a procedure?

    Hi, Is it possible in VB to pass a control array reference as an argument to a procedure? For example, to pass a standard array you would do this: Sub Command1_Click() Dim MyArr(9) as Integer MyArr(7) = 10 ShowElement MyArr End Sub Sub ShowElement(Arr() as Integer) MsgBox Arr(7)...
  13. MikeCox

    Access database corrupt 2nd time in 2 days..?

    Hello! I have an Access97 database and a VB 6.0 front end, connected via ADO. I have about 20 read/write users (only about 6 are actually updating at any given time), and about 30 read-only users. Read/write access is handled in code, not in the connection, so essentially I have 50 read/write...
  14. MikeCox

    Sorting tab-delimited items in a ListBox

    Hello. I have a ListBox that displays information from my database, and I'm simulating columns using tabs between values. All the values are retrieved directly from fields in the database save one, which is a calculation of two other values (a percentage ratio). I can easily sort the other...
  15. MikeCox

    DataChanged not working like I expected...

    Hi. My main form has 50 or so textboxes (txtFields()), each bound to an Adodc. One of the fields is LastUpdatedBy which is to show the NT user name of the last person to make a change to any of the information. Naturally, I thought that txtFields(index).DataChanged = True if the user made a...
  16. MikeCox

    What should I learn to make i-net database?

    Hello! I'm a self-taught VB database programmer, and I'm looking to improve my skills and qualifications by creating an internet database, similar to Monster.com or Amazon.com. I want users to have full search capabilities, and depending on each user's access level, I'd like them to have...
  17. MikeCox

    Help with proper OOP Tecniques

    Hello! I'm working on developing a Space Defender game in VB, where the player's main ship is represented by a class module. This is mostly to learn more about classes and creating an object that is as stand-alone as possible. I realize that the object should "encapsulate" all the...
  18. MikeCox

    Specified row could not be located when adding child record (Adodc)

    Hi. I have a situation where users typically add a new parent record, and then associated child records immediately afterward. I've found that if I don't refresh the main (parent) recordset, I get the above error when they try to add a child record. So I created a public sub in the main form...
  19. MikeCox

    Specified row could not be located when adding child record (Adodc)

    Hi. I have a situation where users typically add a new parent record, and then associated child records immediately afterward. I've found that if I don't refresh the main (parent) recordset, I get the above error when they try to add a child record. So I created a public sub in the main form...
  20. MikeCox

    Specified row cannot be located when adding child record (Adodc)

    Hi. I have a situation where users typically add a new parent record, and then associated child records immediately afterward. I've found that if I don't refresh the main (parent) recordset, I get the above error when they try to add a child record. So I created a public sub in the main form...

Part and Inventory Search

Back
Top