Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help in Coding
Message
De
23/02/2000 11:15:18
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Help in Coding
Divers
Thread ID:
00336056
Message ID:
00336056
Vues:
44
Hi,
I am doing a project in VB 6.0 in that I phase following errors
1) Private Rs As ADODB.Recordset
Private Str As String

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

With Rs
.CursorLocation = adUseClient
.LockType = adLockPessimistic
.Open
End With
At Open Statement it gives me an error "Characters Found After select statement"
What could be the reason. pls. tell me with example.

2) I want to add a RichTextBox at run-time. With the following statment

Private WithEvents rtfRichTxtBox As RichTextBox

Set rtfRichTxtBox = Form.Controls.Add("VB.RichTextBox", "rtfRichTxtBox")
At this stage it dos not allow me to add a RichTextBox run-time.

Pls. give me the solution for the above.


Thanx in Advance
Amol
Répondre
Fil
Voir

Click here to load this message in the networking platform