I will be adding a document to my website soon (perhaps tonight already) about making usercontrols.
http://www.geocities.com/t_feitsma
But it may be later this week before I have time to upload the document.
If I'm not mistaken, you can use the Microsoft Media Player control. You can find this control in the components list using CTRL-T. (Most likely at the bottom of the list)
Private Sub Command1_Click()
Dim Button As CommandButton
Const Color As String = vbRed
For Each Button In Me.Controls
Button.BackColor = Color
Next
End Sub
Hey gpalmer711
There is a way to find out the size of a picture. I assume you use a picturebox to display the pictures? In that case use the following code:
Picture1.Height = Picture1.Picture.Height
Picture1.Width = Picture1.Picture.Width
Hope this helps,
Thei
Instead of:
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyTab Then
MsgBox "Hihi"
End If
End Sub
Do:
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
msgBox KeyCode
End Sub
First and press the key you want. After you...
Hey rainbowcastle.
TabStrip-problem:
The way I see it you have two options.
1. Use a frame (for example a picturebox) for each tabstrip you have. Set all the frame to VISIBLE = FALSE and add the following code to you application:
Private Sub TabStrip1_Click()
With TabStrip1
If...
You might want to try to load the .pdf file into a RichTextBox-control. (use CTRL-T to browse for this component Microsoft Rich Textbox Control). This control has a method called LoadFile. I donno if this control supports pdf files, but you can give it a try.
Thei
I assume that you want to use this font within your application. You can add the font when building a setup for you application with the Package & Deployment Wizard.
Hope this helps,
Thei
When you use an Acces2000 database, you have to create a new table in Design view. In the first field you must enter the fieldname. In the second field you must enter the data type. Chose the OLE Object from the list. Now save your table and exit the Design view. (Chose yes if Access asks you...
Hey derketa.
To store images, wave sounds, movies, etc. into a database, you must create a field with the data type OLE Object.
Just out of curiosity: what sort of database-driver are you using?
Thei.
Hi dvannoy.
If I'm not mistaken, BOF means Begin Of File. So how can you be in the BOF and EOF at the same time?
I quote: "If rs.BOF = True And rs.EOF = True Then"
Try something like this:
If rs.EOF = True Then
'your statement
End If
THOMASING is right!!! Its the Name As method. Just don't forget to use "" for the filenames.
eg. Name "C:\FILENAME1" As "C:\FILENAME2"
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.