******* ISSUE RESOLVED *******
Thanks very much to "shuvo2k6"
Due to the fact that I was in a hurry to try your modifications, I failed to follow up in my source code and due to the fact that I was calling the same basic routine when changing database', once for the New Testament database and once for the Old Testament database, when I first tried your modifications, this caused the two "Not a valid...
User Profile
Collapse
-
Thank you very much. At least it now does something.
With your modifications, the program displays two (2), "Now a valid password" pop up screens, but then will enter the program. This is more than I have acchived in the past several hours of research. And days of "trial and error" modifications. Just need to get rid of the two pop-ups.
The only change I made was to add the & App.Path feature....Leave a comment:
-
Place a button on a form called "Command1"
Dim DB As Database
Private Sub Command1_Click( )
'1) Create DataBase name "Names" using DAO
Set DB = CreateDatabase( App.Path & "\Names", dbLangGeneral, dbEncrypt)
'2) Create Tables and Fields (rename Table and fields as needed) using DAO
' and the Microsoft Jet SQL
DB.Execute "CREATE...Leave a comment:
-
I have a CD dictionary that plays audio of words. You might do some research along that line to get an audio you could record to tape or something like it.Leave a comment:
-
You can use the following:
I use it to rotate 6 different pictures in a program I am writeing.
Place a timer called "RotatePic" set to time to rotate pictures.
Load one of the pictures in a picture box called "picRotate"
Load the other pictures in image boxs indexed 0 thru 7
Public Sub RotatePic_Timer ()
Static thispic As Integer
If...Leave a comment:
-
Save each picture of your gif as transparent. IE dove1.gif, dove2.gif .... dove14.gif.
place a timer set to 1000 and all of the individual pictures along with the animitaded gif original on top of each other. The animated gif file is called "picAnimate " in this example.
The example below is a dove flying across the screen from left to right.
Private Sub DoveTimer_Timer ()
...Leave a comment:
-
Password protected Access file in VB6
Have password protected a large Access database and when trying to run the program in VB6 am getting following error when trying to run program:
Not a valid account name or password
***** ON LOAD -- SOURE CODE ******
[code=vb]
strProvider = "Provider=Micro soft.Jet.OLEDB. 4.0;"
strSource = "Data Source=" & App.Path & "\MYDATABASE.MD B;UserID=UNKNOW N VALUE;Password= mypassword"... -
Animated GIG in VB6
How to get an animated GIF to function in V6
I have an animated dove that was too lazy to flap his wing when flying across the screen. Of course VB6 doesn't see animated GIF's, so got this one figured out by extracting the 15 individual GIF pictures and using the following routine he does fly across as I want him to do.
The trick is to save each picture as a "transparen t" picture.
Option Explicit... -
Changing pictures and playing MIDI files
Newbie to VB6, comfortable with HTML, MS Access so I ain't totally stupid. Maybe just dumb.
Am writing a Biblical Quiz program where I need to change a picture and midi sound file each time a user advances to a new question.
Have played with several routines but none seem to do what I want.
The following will show the first picture, on click shows the second picture, on the next click shows the third...
No activity results to display
Show More
Leave a comment: