Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help me in Coding
Message
De
23/02/2000 21:45:16
 
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00334584
Message ID:
00336501
Vues:
20
Hi Eric,
In my VB Project I am trying the following code which gives me
an error

Dim Rs As New ADODB.Recordset
Dim Str As String

Str = "Select * From Table1; Select * From Tabel2"

With Rs
.CursorLocation = adUseClient
.LockType = adLockPessimistic
.Open
End With
At the open line it gives me an error "Charachters found after
Select Statement"

Pls. help and show me a eg.

Also Can I add a RichTextBox at runtime with the following method

Private rtfRichTxtBox As RichTextBox

Set rtfRichTxtBox=Form.Controls.Add("VB.RichTextBox","rtfRichTxtBox")

It gives me an error looking for a object I don't rember the
name of the object. So, how should I proceed in this case.

And one more thing is there any command like @ R,C Say "Hello" as
we have in FoxPro which is very useful in printing.i.e. How should
I print at the particular position a String/Value using Report
Writer in VB 6.0


Amol
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform