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...
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...
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 &...
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...
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...
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...
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
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...
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
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.