|
-
Aug 31st, 2000, 02:52 PM
#1
Thread Starter
Frenzied Member
i'm trying to make a WSYIWIG editor in vb using the richtextbox, is it possibe to insert a picture into the textbox or to use the ole object ??
-
Aug 31st, 2000, 03:04 PM
#2
Hi PsyVision,
I have asked the same question few minutes ago but no one answered so far.
I have some code which works. The problem with my code is that it inserts the picture and the Opens the picture for editing, which i dont want.
If you manage to find out how to do this properly please let me know.
Here is the code
Code:
Dim temp
Dim filename As String
cmnDlg.Filter = "Image Files |*.bmp;*.gif;*.*jpg;*.jpeg;*.tif;*.wmf"
cmnDlg.ShowOpen
temp = cmnDlg.filename
If temp = cdlcance Then Exit Sub
On Error GoTo myErr:
If temp <> "" Then
filename = temp
RichTextBox1.OLEObjects.Add , , filename
End If
myErr:
If Err.Number <> 0 Then
MsgBox Err.Description
End If
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Aug 31st, 2000, 03:18 PM
#3
Thread Starter
Frenzied Member
-
Sep 7th, 2000, 06:10 PM
#4
Addicted Member
hey
if you have vb6 ent you have a control called sonthing like dhtml editor well taht is wysiwyg so just try to use that it suports table
and alot more like images and all so look for that later
WHat would we do with out Microsoft.
A lot more.
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
|