|
Some important point...
1. Running exe from within a browser's page is seen as unsafe behaviour
2. In some browser this not supported at all (at least without some add-ins or Java/Silverlight like frameworks)
3. Even in browsers support running the exe it can be blocked by user configuration (and for most disabled by default as a security issue)...
4. The exe you want to run should be installed on client machine - it will not come over the web page
For summary - it smells like a very bad ide/design...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Thanks for the sharing. But it is possible to do it programmatically?
|
|
|
|
|
It depends on the tools you are using...
As much as I know Chorme and Firefox will not let you to do it using only JavaScript, but IE has its ways...
You can create a Java block that will do it and it will work for all browsers (probably)...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: but IE has its ways...
Not any more. ActiveX controls in new browsers are no longer supported.
|
|
|
|
|
I'm glad to hear that!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
euhm, you don't want to do that ...
I propose you find another way. I'm not sure what the console application needs to do, but your best bet is to run it on the server. As I mentioned you'll need some metadata to know who's running the application so it can return the result to the correct session.
No matter how I think about this, it looks like you could do it cleaner then this.
|
|
|
|
|
which is the best method to increase speed of sending a file over lan so we can use all brandwidth alailable to us.will creating many socket connection and breaking file and then sending file over these socket will hlp us or will creating a VPN will be effective or not?
|
|
|
|
|
You could host it on a webserver, and open multiple download-connections from the client, similar to a "download accelerator addon" for most webbrowsers. If there's more than one PC where the data resides then it might be more effective to look into BitTorrent. Basically they are ways of sharing data, all connecting using multiple sockets - something you could also implement yourself.
Do take into consideration that you're hogging the network, reducing resources for all other clients
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
O aplicativo não foi iniciado. (Exception from HRESULT: 0x8027025B)
|
|
|
|
|
Please translate your question to English and add more information (the statement that causes the error at least).
|
|
|
|
|
HRESULT 0x8027025B translates to ERROR_BUFFER_TOO_SMALL .
According to this[^], it could be related to your firewall or anti-virus software.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I didn't realise you spoke Portugese.
|
|
|
|
|
I don't, but Google does.
The application is not started.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi,
I have difficulties to move a control in a WPF application, let's say a button.
By browsing other boards, I read that it is supposed to be done this way:
TextBox textBox1 = new TextBox();
textBox1.Location = new Point(15, 15);
However, the Location property belongs to System.Windows.Forms.
While, the common buttons created with the WPF app toolbox heritate from System.Windows.Controls.Button.
Thus, I am not able to use Location property with my WPF application buttons generated via the XAML code.
Any suggestions to move these buttons after the application initialization?
|
|
|
|
|
You can move the WPF Button element in code by:
0. set the Button's location properties on its Canvas: example: YourCanvas.SetLeft(YourButton, 30);
1. set the Button's 'Margin property to a new 'Thickness structure: [^].
2. using animation: see 'RenderTransform, 'TranslateTransform
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
Thanks a lot ofr your answer:
"1. set the Button's 'Margin property to a new 'Thickness structure: [^]."
This one worked fine and looks quite easy to use. So that's perfect for my immediate use.
Trying to understand your alternate solutions:
"0. set the Button's location properties on its Canvas: example: YourCanvas.SetLeft(YourButton, 30); "
I think SetLeft is a static method, so should rather be :
Canvas.SetLeft(myCanvas1, 0);
I had difficulties to bind a button to a canvas and display it.
I suppose I have to do something like this?:
Canvas canvas1 = new Canvas();
Canvas.SetLeft(button1, 119);
canvas1.Children.Add(button1);
"2. using animation: see 'RenderTransform, 'TranslateTransform"
As far as I understood, these features are used into the XAML code, not in the code behind? So you cannot use this to change the control's position after the application starts, can you?
|
|
|
|
|
i need help .
i wana to Displaying a HTML content in crystal report..as iam using SQL ..i made a column that contain “Text” format…like my column name is "xyx(text,notnull)"..that column consist html format data in column like” {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 sadfsdf\par }”….
Can any one tell me how to retrieve/put that data on my crystal report..
C#,crys
|
|
|
|
|
That's not HTML. That's Rich Text Format.
|
|
|
|
|
ya sure...but how i can show/retirve on my crystal report..as iam using VS2010...please help..
|
|
|
|
|
Hi,
When I update a table using sql transaction i got the following error:
"This SqlTransaction has completed, it is no longer usable".
Please help me to know what is the reason and how to solve this issue.
|
|
|
|
|
You need to show the code that this is happening on.
I would guess you are trying to do additional work on the database after you have committed the transaction.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Message Closed
modified 30-Sep-14 8:12am.
|
|
|
|
|
Uhhhh...yeah.
Whatever you're smoking for recreational purposes, STOP.
|
|
|
|
|
Look for SqlTransaction.Commit , you will find probably more than one and while debugging you will hit more than one...
However for more detailed answer you must show your code to us...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|