|
Why do you want to launch an application on the client machine from the server? This can be done using client scripting, but has very high security risk and will not work if javascript/activex is disabled.
|
|
|
|
|
Hi Dinesh,
Thanks for ur reply. How can it be done?
|
|
|
|
|
I don't exactly remember how to do it, but you need to create activeXobject for the client machine's shell and use the run command on the object to launch the intended application. This would work only on intranet applications where the browser security level allows the browser to access the client machines' shell.
I think this is the code, but not sure, please test and modify -
w = new ActiveXObject("WScript.Shell");
w.run('notepad.exe');
|
|
|
|
|
Ok, thanks dude. i will try with this info.
|
|
|
|
|
But let me remind you..
Shell commands are only available to IE... and also if it has given previledge.
It will not work in any other browser..
So I recommend you to use a custom popup div in your page to show whatever you want to show, rather than opening notepad.
Also let me know if your have some specific requirement around this ..
|
|
|
|
|
one more clarification,, how about using this?
System.Diagnostics.Process.Start("Notepad.exe")
|
|
|
|
|
This runs on the server and starts notepad on the server. This again has high security risks!
|
|
|
|
|
Hi firends,
i am new prog in .net.
How to count online user in asp 2.0...
plz give me solution....
Thanks in advance.
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Increment the Global Static variable / database field during Session Start and Decrement during Session End.
Or you may use Login / Logout as well(but there is no surety of logout).
|
|
|
|
|
ya i am increment global value. but its showing some error..
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Yaa... Application could be used as Global variable.
|
|
|
|
|
ya.. i got it...
but how we can set session time???
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Yes.. You can go for Session_start in global.asax to evaluate the session start time.
but Rather than this, It is more logical to log the session start when actual login process occurs.
|
|
|
|
|
|
Very nice link, Nilesh. Thanks for sharing
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
how to implement chat application in asp.net
|
|
|
|
|
See couple threads below.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
Again the same question.....
|
|
|
|
|
I demand a chat application forum.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
hi all,
i have created a site, in which i used marquee to roll my text from
left to right. it is working fine in the firefox.
but it is not at all coming in IE.
below is my code
<marquee behavior="scroll" direction="left" scrollamount="3" <font face="Andalus" size="5" color="Cyan">
This is my text </font></marquee>
Please help me what mistake i did.
thanks in advacne
|
|
|
|
|
Hello Hema you try this code.It will work properly.....
<marquee direction="left" scrollamount="2" scrolldelay="0" style="font-size: 10pt; height: 190px;">
write the text here
I think you r mistaken in your code you forget to close your marquee starting tag close with '>' tag..........
|
|
|
|
|
Hema Bairavan wrote: <marquee behavior="scroll" direction="left" scrollamount="3" <font="" face="Andalus" size="5" color="Cyan">
This is my text
You have not closed the opening marquee tag
try this -
<marquee behavior="scroll" direction="left" scrollamount="3"><font face="Andalus" size="5" color="Cyan"><br />
This is my text </font></marquee><br />
|
|
|
|
|
Thanks all..
it works fine.
actually i didnt noticed that as it works fine in mozila.
thanks again
|
|
|
|
|
hi ,
its strange but it also works in IE 8 and mozilla .
only the color in Ie is not set ..
|
|
|
|
|
Hi Guys,
any one know about web chat Like Gmail Chat. i want to add the chat in my site like gmail, if anybody developed this type of chat programms please help me.
|
|
|
|