Click here to Skip to main content
15,036,145 members

Comments by webmaster442 (Top 16 by date)

webmaster442 30-Oct-17 19:01pm View
   
By using the Dispatcher Invoke, you basicly eliminate the background thread, because when you call a dispatcher invoke, it executes the code on the UI rendering thread, instead of a background thread.

Also OnPaint is a blocking event, because it occures every time when the Window is painted.

The "easiest" way to overcome your problem is to redesign it. Why would you render all 1000 chars, when only a portion of them will be visible ?
webmaster442 29-Feb-16 12:33pm View
   
On the build options uncheck the "Prefer 32 bit" checkbox. Place the 64bit dll next to the app, and theoretically you're done.
webmaster442 3-Jan-16 15:16pm View
   
I don't see why you want to stick with one Textblock. Use two. It's much easier.
webmaster442 31-Dec-15 9:03am View
   
Then it's your PDF readers issue. The Webbrowser control can't display PDF natively, it calls an aciveX contol. Maybe the system blocks your activeX control for whatever reason. Maybe your Visual Studio is running as Administrator. In this case as an Administrator maybe it allows the execution.
But like I sad previously forget the built in webrowser.
webmaster442 21-Dec-15 14:53pm View
   
Exactly what you mean by creating automatically?
webmaster442 21-Dec-15 10:13am View
   
Thanks. Corrected it.
webmaster442 21-Dec-15 10:12am View
   
Corrected the code with the missing line
webmaster442 30-Jul-15 6:33am View
   
Reason for my vote of 1 \n Should be tip or trick
webmaster442 26-Jul-15 14:29pm View
   
I don't use skype or yahhoo messenger, but e-mail is okay.
webmaster442 11-May-15 1:58am View
   
Reason for my vote of 5 \n Thanks for sharing
webmaster442 4-May-15 11:01am View
   
Like this:
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
More info: http://www.w3schools.com/html/html5_video.asp
webmaster442 22-Feb-15 10:52am View
   
Reason for my vote of 5 \n Nice Extension
webmaster442 22-Feb-15 10:52am View
   
Reason for my vote of 3 \n Nice Extension
webmaster442 28-Jun-13 12:14pm View
   
Reason for my vote of 1 \n Not worth an article. Should be a tip instead
webmaster442 24-Jan-13 10:24am View
   
Array.Reverse() function reverses the order of an array type. Take a look into that.
webmaster442 1-Jun-12 5:41am View
   
Seems to be a locking problem. Somehow after your first view the report is locked, and can't be viewed. It's only an idea...