Since i have a new PC with windows 7 instead of windows xp
the functions time and mid does'nt work anymore, may be that one or more libraries are missing.
Can anyone help me with this problem.
Thanks
Henk
Printable View
Since i have a new PC with windows 7 instead of windows xp
the functions time and mid does'nt work anymore, may be that one or more libraries are missing.
Can anyone help me with this problem.
Thanks
Henk
Can you show the code involving the functions that doesn't seem to work?
hierbij een stukje code:
Down, Seconden is een public variabele
Bij debugging geeft het programma een fout op Time en Mid, vroeger werkte dit feilloos.
vervang ik Time door Now, dan ben ik 1 foutmelding kwijt
Private Sub Timer2_Timer()
Dim L1 As String
Dim L2 As String
Dim Seconden As Integer
If Down = 1 Then
Seconden = Val(Text5.Text & Text6.Text)
If Label1.Caption <> CStr(Time) Then
'seconden
Seconden = Seconden - 1
If Seconden >= 0 Then
If Seconden > 9 Then
L1 = Mid(Seconden, 1, 1)
L2 = Mid(Seconden, 2, 1)
Text5.Text = L1
Text6.Text = L2
Else
L1 = Mid(Seconden, 1, 1)
Text5.Text = 0
Text6.Text = L1
End If
Else
Check the Project References and Components lists for any that are marked as "Missing".
If you have any of these, then you'll get errors from all sorts of "built-in" stuff - it's usually Mid$ that "breaks" on my machine.
Regards, Phill W.
Phill W is absolutely correct that you should be dealing with that (before thinking about other options/possibilities)... there is a guide to help you with this error in the article What does this error mean, and how do I fix it? from our Classic VB FAQs (in the FAQ forum)
:ppeople use windows 7-8 for only small changes such as drag and minimize all app , why not just install the theme over windows xp:p
There are a lots of extra features which make it worthwhile for many people, not to mention the fact that support (from Microsoft, and hardware/software manufacturers) is an issue for many people.
Besides, your personal choice about which version of Windows to use is irrelevant to this thread (despite a mention of Windows 7, the issue is almost certainly nothing to do with it, and even if it is then changing to a different Window version may not be an option), so your post does not really belong here.