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 SkipVought 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: WHM
  • Order by date
  1. WHM

    A Suggestion For the Moderators

    I think that it might be helpful if there was a "button" to show only Posts with 0 replies. I like to go through and make sure that everyone, particularly Newbies, get at least some response to their questions, but it can be time consuming to go through all of the posts and find the...
  2. WHM

    VScroll (or HScroll) - Multiple change events into multiple textboxes?

    Start a new Project. On the blank form place a textbox control. Copy it and paste two more. WHen prompted to make Text1 a control array select "Yes". Place a Horizintal scroll bar on the form. Place a label control on the form. Go to the code window and paste the following text...
  3. WHM

    TYPE MISMATCHES USING ACCESS 2000 DATABASE

    One further refinement should make all those nasties go away: With objSource.adoRsPyrlCalc4Ded .AddNew !EMPNO = Val(strEmployee_Number & " ") !DedNo = val(Me.txt1(Index - 4).Text & " ") !DEPT = 1 !AMOUNT = val(Me.txt1(Index).Text &...
  4. WHM

    How does VB handle memory in this situation?

    I think that the answer to your question is dependant on the object, and how the Object was created. (By Created here, I mean compiled.) Check out the Knowledge Base in VB6's "Help", and search for "Instancing for Classes Provided by ActiveX Components." They discuss the...
  5. WHM

    Fill FlexGrid with data, add data and update records

    Rob, I am a bit confused with what you are trying to achieve. First off is the MSFlexGrid Bound or unbound? It would appear from your code that it is unbound, and that is a good thing. I must assume that you are altering the data in some way, or adding records to the underlying table...
  6. WHM

    ms comm control

    Have you tried "Help" in VB6 and searched for mscomm? There is nothing fancy about it, you pretty much have to do everything. Its only Event is "OnComm", and all that it really does for you is sends and recieves raw data through a comm port. Breaking the data into packets...
  7. WHM

    Data Report values do not change

    I have not used the Data Report or ADO at all, but I suspect that there is a "Refresh" method that should do the trick. If not, hopefully somebody who uses ADO will be able to help you. Hunter
  8. WHM

    using MS Comm control

    The MSComm control is a bit more basic than what I think you are looking for. You could certainly use the msComm control to connect two PCs together, but you would have to write all of the protocols. The comm control is really more for developing applications to interface with hardware...
  9. WHM

    Changed data on a form

    Yes. Create a global variable " Dim Changed As Boolean" and then attatch code to all of the controls_Changed properties: Option Explicit Dim Changed As Boolean Private Sub Text1_Change() Changed = True End Sub Private Sub Text2_Change() Changed = True End Sub etc etc LOL Hunter
  10. WHM

    API

    I do not think I understand your question. Why would you want to know when ONLY YOUR APPLICATION was idle? If you are polling API functions then by definition your program will not only not be idle, it will be very active. If it is active then it will not be idle. I might suggest testing...
  11. WHM

    Empty fields in the form

    I do not think that you are too far off, as "exclusiveprogrammer" mentioned using control arrays would make your code a lot more compact, but not necisarily any more efficient in execution. You might also consider implementing the code into your Insert Functions; ie.: Private Function...
  12. WHM

    OCX Files & swflash.ocx

    An OCX file is the file extention of a compiled control. An example might be a FlexGrid control, ListBox, TextBox, etc. The first step is to locate the OCX from the "Project/Components" drop down menu and select it by placing a check by it. The control will then show up in your...
  13. WHM

    ActiveX Control Problem

    Hey All! I am building an application specific ActiveX control that is honestly probably a bit more complicated than I am capable of, but I have been muddling along fairly well until now. I have been compiling the control frequently and checking to make sure that everything I change is still...
  14. WHM

    Release Date

    Best I can tell, they are still doing Beta Testing, I would guess that it is not going too well because they do not have a release date mentioned anywhere on their site that I could find. Knowing that Bill is not afraid to ship something that is only partially functional, I would guess that...
  15. WHM

    how to use database(acess) in vb6

    The method depends on what you want to do. Method 1: Create a reference to DAO; add a data control and set its properties. Add controls and bind them to the datacontrol. Method 2: Create a reference to DAO; declare a workspace object, database object, Recordset object AND set the DataBase...
  16. WHM

    MS Flex Grid Problems

    I am building an ActiveX Control that contains an unbound MS FlexGrid. Problem 1: I am unable to make the flexgrid's scroll bars visible when the control is compiled into an OCX. I tried creating a PropertyLet, PropertyGet exposing the flexgrids ScrollBar Property, but this does not help...
  17. WHM

    required field in table isn't required?

    Beren1h, Several things, first if there is a default value set then the record will have that default value. If the required field is the primary key, and "Nulls" are allowed then you will be allowed 1 null as a unique value, meaning that the second time you try to enter a null...
  18. WHM

    Access 2000 Northwind Orders Form button for "Add New Product"

    plang99, I would guess that you are using Win2000Pro? If so check this link out: http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q300216 If you are using a mixed OS Network Be vary careful. It seems MS did not make their new OS compatible with all of their products. If...
  19. WHM

    Dcount or not to Dcount

    If you are looking for Printed reports, Crystal Reports 8 has some very powerful features, but you need to be willing to spend some time figuring out CR. Once you understand it, it is a fast and easy way to generate paper. For an on screen report I often "Cheat". I create a table to...
  20. WHM

    returning a Zero if no data is entered

    Wrecker, Yes....but there are a number of ambiguities associated with your question. Is the Textbox bound or unbound? If it is unbound, then of course you will handle all data-validation before you access your db, this would be a great example of a "Class", ie you create a Class...

Part and Inventory Search

Back
Top