|
-
Sep 19th, 2008, 12:20 AM
#1
Thread Starter
New Member
Error when run my app on vista (VB 6.0)
my program run well in windows xp sp1, sp2 but cannt run on vista ultimate
database cannt found
sintax :
If ConnXX.State = adStateOpen Then
ConnXX.Close
Set ConnXX = Nothing
End If
ConnXX.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyDrive\MyData.mdb;Mode=ReadWrite;Persist Security Info=False;Jet OLEDB atabase Password=MyPass"
On Error Resume Next
ConnXX.Open
can you suggest me, how to make it work on windows vista ultimate.
When i install my program on vista home basic edition, my program run well and can add new data on my database, but when i want to make a report (i use crystall report 8,5) my program become crash..and say error 339...CRVIEWER.dll...). How i fix it??
and when i export to microsoft word, my program run error to.
Set word1 = CreateObject("Word.Application")
Dim word1 As Word.Document
word1.Visible = False
word1.Documents.Open FileName:="C:\mydrive\myfile.doc, ConfirmConversions:=False, _
ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
WritePasswordTemplate:="", Format:=wdOpenFormatAuto
Set WordDoc1 = word1.ActiveDocument
can you help me, how to make it run well on windows vista??
thank for your help...
bace
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|