|
-
Apr 13th, 2019, 11:54 AM
#1
Thread Starter
Lively Member
HTML Editor on a VB.net Winform
This has got to be a simple task but I can't find a working solution.
I have tried WebBrowser component which drags a control onto a form but will not select a whole word on double-click, it won't scroll down the page.
I have tried cefSharp but that won't even load onto the designer page
There are several others I have tried but because they are in c# they won't work.
Does anyone please, have a working WebBrowser control that will work as an HTML editor on a winform without complaining?
Thanks for looking
Penfound
Using VS2017 and VS2019
-
Apr 13th, 2019, 11:56 AM
#2
Thread Starter
Lively Member
Re: HTML Editor on a VB.net Winform
Sorry I should the reason I'm doing this. A client wishes to be able to edit his own website, or at least parts of it. I've created the website and am now writing a winforms program to enable him to change various html pages.
-
Apr 13th, 2019, 12:06 PM
#3
Re: HTML Editor on a VB.net Winform
 Originally Posted by Penfound
There are several others I have tried but because they are in c# they won't work.
You do realise that virtually the entire .NET Framework was written in C#, right? Every time you add a TextBox or Button to your form, you're using a control that was written in C#. There's no reason at all that you can't use a control that was written in C# in a VB application. You just have to make sure that it is built into a library, either by the original author or by you, and then you can reference that in your application.
If you actually mean that the examples of how to use those controls in code is written in C# then there's still no issue. You simply need to write the equivalent VB code, which is generally quite easy. In many cases, it's little more than removing the semicolons from the end of the lines. There are numerous tools that can help, including Instant VB from Tangible Software Solutions. Any code that you still can't work out, you can ask about here.
-
Apr 13th, 2019, 12:26 PM
#4
Thread Starter
Lively Member
Re: HTML Editor on a VB.net Winform
Thank you. I do realise that everything is written in c# or c++ but I'm not familiar with those languages but will have a look at Tangible Software to see if it is any better.
-
Apr 13th, 2019, 04:16 PM
#5
Re: HTML Editor on a VB.net Winform
 Originally Posted by Penfound
Sorry I should the reason I'm doing this. A client wishes to be able to edit his own website, or at least parts of it. I've created the website and am now writing a winforms program to enable him to change various html pages.
Let him use the server/domains software. I'm sorry but I'd be asking for my money back. You're asking to drop a browser component on form when the client could use a browser to begin with.
Tags for this Thread
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
|