Search:
Type: Posts; User: kmlj
Search:
Search took 0.03 seconds.
-
ViewModel.cs
using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
namespace Berg
{
-
I've been following the example to make a simple AutoCompleteBox.
xaml
<Window x:Class="Whatever.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
-
I was able to get a lot further over here.
Moving to CefSharp anyway .....
-
Hi there,
I'm in the process of porting my project to WPF.
I'm trying to launch an application (SmatraPDF) in a SlackPanel within my WPF program that has got several controls.
{
///...
-
I wouldn't have been reluctant one bit if no expenses had been incurred.
-
Yes, this does the trick. I must have come across that "System.Threading.Thread.Sleep" a hundred times before but I haven't managed to make it work the right way.
Well, this should keep me going for...
-
@ moxid
Thanks a lot for looking into it again. You're right.
Well I guess I'll have to bite the bullet and use the two-time-click (not double-click) solution based on jdc20181's code (# 6)
You...
-
I'm executing several different tasks from the same application, that's the reason why I need to have the WebBrowser Control visible. Granted, not for this task we're are discussing now.
...
-
@ Shaggy Hiker
I can but acquiesce.
-
Your code works like a charm but the problem is, I have to click button1 twice as I've said several times before, that's the only issue.
Because I need to ;)
I wish you could just give it a...
-
@ Shaggy Hiker
Self-explaining really but then again, I haven't managed to make jdc20181's code work :(
@ jdc20181
It's still work in progress ...
Now, the first "routine" works flawlessly as...
-
Well, believe it or not but it does actually.
Sorry mate, but you sound like someone who'd gladly patronize anyone not well acquainted with computer programming but that's not the way to go if...
-
Alrighty .....
Private Sub Button1Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
WebBrowser1.Navigate("https://translate.google.com/#en/es/" +...
-
https://s23.postimg.org/8n97j2zkn/Class_ID.png
Isn't that a "decent" way in order to find out about IDs ?
@ moxid
Thanks but I'm trying to soft-pedal the issue I have, I'm just a beginner, go...
-
That would have been a walk in the park if it were the Google Search function but it isn't as I need Google Translate in this particular case ;)
I do have to use the Clipboard as I'm copying a...
-
Fair enough and I'm aware of that, but the thing is, the second part of the code which is supposed to pass the content of "result_box" to TextBox1 isn't executed because I guess is beeing...
-
Sorry mate, but I must have overlooked your reply.
I tried that but it didn't make any difference.
As mentioned in my previous message, I have to click button1 twice (not successively! But with a...
-
Hi there :)
It's just a thumbnail mate, have you clicked to enlarge?
That's the whole code actually.
The code below runs without any issues. However, I have to click button1 twice:
First click...
-
Thanks mate for your help, however ....
https://s24.postimg.org/pw832tpox/Error1.png
-
I don't want to be thick but when I double-click my WebBrowser1 in Design Tab, this is what I get:
Sub WebBrowser1DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs)...
-
That's what I thought ;)
You mean the code listed under Button2, right ?
The way I understand this, I double-click WebBrowser1 control and enter the code:
Sub...
-
I'd like to merge / combine these two actions into one button or a contextMenuStrip.
Button 1
Sub Button1Click(sender As Object, e As EventArgs)
...
-
I've ended up adapting another piece of code to my needs ...
Declare Auto Function SetParent Lib "user32.dll" (ByVal hWndChild As IntPtr, ByVal hWndNewParent As IntPtr) As Integer
Declare Auto...
-
-
No, no, not all ;)
I'm trying to understand what's going on but I'm just a beginner you see .....
I'll try that, thanks.
While we're still at it, I'm trying to pass an argument to SumatraPDF.exe....
-
Thanks for your prompt reply.
This is the working code:
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Public Partial Class MainForm
<DllImport("user32.dll")> Public...
-
Alright, getting near the end .....
Based on this code, I've managed to make it work.
Now, how can make SumatraPDF fit the panel upon start? (Process1 is running inside Panel1)
I mean, I just want...
-
Yes indeed, I had already seen that but it relies on Ghostscript which is not installed by default. Images won't let me copy any text either.
For the time beeing, pdf2htmlEX is serving me very well....
-
Would it be possible to run Sumatra PDF reader as a child process inside let's say a panel in my main form instead ?
I'm just looking for the easiest way to view pdf files using my form without...
-
Hi there lads,
I was wondering if it would be possible to embed Sumatra PDF reader into a given Form ?
https://www.sumatrapdfreader.org/free-pdf-reader.html
I've searched fairly a lot but most...
-
Brilliant!
I wasn't aware of that possibility.
Thanks a lot lads :)
-
Fair enough lads, as a matter of fact TextBox1.SelectionStart = TextBox1.TextLength would kick the caret to the end of the sentence, right.
Now, for the sake of being as simple as possible, this is...
-
I mean I can place the caret wherever I wish but as soon as I start typing, it just jumps to the end of the sentence :(
-
Yes, I'm aware of that but the trouble is, I just don't seem to find the right code for that.
This is what I've got so far:
Sub TextBox1TextChanged(sender As Object, e As EventArgs)...
-
Hi there lads,
I've cobbled together an application including an on-screen keyboard for Arabic language as well as a TextBox. Everything works well except for one thing:
I want to be able to place...
|
Click Here to Expand Forum to Full Width
|