Search:
Type: Posts; User: mobi12
Search:
Search took 0.03 seconds.
-
OK, I found the issue. It seems if HTML page has any " then it fails to load. If I replace all " with ' it loads fine.
I also had to replace newlines from HTML files - else it would not load.
-
Nothing happens!
The value of fq, the HTML content of the file, is correctly read.
Looks like if I pass a variable to ExecuteScriptAsync it does not run it, but if I pass a hardcoded HTML string it...
-
I have a Webview2 control named wbv in my form.
I also have an HTML file with TinyMCE.
My intention is to load a user specified file in TinyMCE editor.
This code I wrote but not working
...
-
The problem seems lot more complex than I initially thought. I have written a very crude parser though still have not managed to figure out a way to include images. Embedded images in HTML are...
-
Yes, I can use Word InterOp but legally I can't distribute my code with it. So I prefer a standalone solution or using any free Nuget package.
-
I want to display HTML content in rich text box.
I am able to convert the HTML by loading it into a web browser control and then selecting all and then pasting on rich text box. It does work...
-
Thanks. Worked brilliantly.
-
How do I sort the nodes under selected node only in a treeview?
treeview1.Sort() is globally sorting entire treeview.
I only want to sort children under currently selected node only.
Thanx
-
What kind of application you want to develop in Mac? If very simple apps that does not have to interact with files in user's computer and you want to run it in mobiles too, best to start with...
-
I have not found a way to visually select a column. But I think from the table array it would be possible to select a column’s content programmatically and paste somewhere.
-
After lots of trial and errors I finally managed to implement insert/delete row/column in RTF tables.
I have taken this approach. Convert a table to an array (including rich text formatting). Then...
-
Intesting the situation with C#.
I find LIKE more versatile because I can compare like words ending with cise or cize in one command LIKE "*ci[sz]e".
The corresponding code with EndsWith will...
-
Is there any difference between following commands?
If mwd.EndsWith("ous") Then mwd = mwd.Replace("ous","ás")
If mwd Like "*ous" Then mwd = mwd.Replace("ous","ás")
-
The tables in RTB are quite cumbersome to deal with. I am thinking off editing tables inside datagridview and then pasting in RTB. Data Grid View offers easier option to manipulate rows/columns.
-
Thanks. I am using VS2019 on .NET 4.7.2 Does it not already use this updated version of rich text box?
-
I am adding the table in rich text box with following code.
Public Sub RTBAddTable(ByVal col As Integer, ByVal width As Integer)
Try
Dim rtbTemp As New RichTextBox
...
-
I can insert a new table without problem. The problem is how to insert or delete a column from an existing table.
I am thinking of copying existing table to memory, storing the cell contents into...
-
In a Rich Text Box, is it possible to add/remove columns in a table?
If yes, how?
Thanx
-
Hello
Yes, the listview has anchoring/docking!
I am not at my dev PC now, so I briefly explain what I did.
I created a simple Windows form.
Add a menu bar on top.
Added a split container -...
-
Yes, I had to tackle it by compensating for the character offset. After some experiments, it appeared that the offset is same as number of "\cellx" within the RTF content. After I appended same...
-
I am facing a weird RegEx issue with Rich Text Box in .NET 4.7.2
I am running a spell check code (shown below).
When RTB has no table, it selects words correctly.
When RTB has table,...
-
I have used the following command deploye the single file executable. The size of EXE is 150 MB. An equivalent EXE under .NET Framework is only 1 MB. When I tried with "trim" command the EXE was 84...
-
It says Win 7 SP1 above and Win 10 supported.
-
I am facing a strange problem with .NET 5 ListView.
My set up is VS2019 and .NET 5 WinForm application.
In my dev PC, running on Windows 10, it is showing the vertifical as well as horizon...
-
My Winform app uses a rich text box and list view. These are 2 predominant components. Is it possible to re-write it as web app? I have never tried web apps before.
-
WinForms type
So which type of app is truly cross platform then?
-
I have started re-developing a .NET Framework project to .NET 5 with the sole aim of being able to run it in Windows, Mac and Linux.
But has anyone done it yet? I know it can be done in theory but...
-
Thanx - will try this approach.
I do wonder why Microsoft made life hard in .NET 5.
-
In older VB.NET I could easily cut a menu and paste in a different location.
In .NET Core/5 I see that menu design is via collection items.
How do I move a menu if I created in wrong location...
-
Managed to resolve it. Had to introduce a pause manually like this.
Dim html As Object = File.ReadAllText(CurrentlySelectedFile)
Threading.Thread.Sleep(1000) 'not loading html without a pause...
-
OK, managed to do it in web browser's PreviewKeyDown event. It did not work with Form's keyup/down or keypress events.
Private Sub wb_PreviewKeyDown(sender As Object, e As...
-
If I drag a web browser control in a form and then press key combination like Ctrl+O, Ctrl+P, Ctrl+K etc, it performs some predetermined operations.
How I can override these behavior with my own...
-
Same result, still works only with messagebox
I also tried with with storing command line argument in a variable and using it in the Form_Shown event but without any luck.
Interesting part is,...
-
I have created a simple form with a web browser control.
In the web browser control, I am loading TinyMCE editor .html file.
No problem, working fine as expected. I can open any HTML file and...
-
Yes noticed that. What was a 1 MB EXE in .NET Framework, after publishing in .NET Core it became 140 MB even after trimming :eek:
-
Ah OK, I thought somehow I could use a .NET Core DLL in .NET Framework :blush:
-
I have an application which use Rich Text Box on .NET Framework 4.0 (the code compiles fine with VS2010 as well as VS2019).
I have used the .NET 5 Rich Text Box and noticed some improvements.
...
|
Click Here to Expand Forum to Full Width
|