Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help in Coding
Message
From
23/02/2000 11:15:18
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Help in Coding
Miscellaneous
Thread ID:
00336056
Message ID:
00336056
Views:
45
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
Reply
Map
View

Click here to load this message in the networking platform