|
Hello,
I am new to C# and asp.net. I want to display a svg file which in created in one of folder on local machine.
Please can anybody help with the code how to set the response object to display the svg file also taking the local path in to consideration.
Regards
Rajesh B
|
|
|
|
|
How do you want to display your file.
Searching files into a folder is a very basic task. Easy to find an answer in googling.
Regards
|
|
|
|
|
I want to diplay it in same way as when you open it in browser or firefox. it should look like an image.
|
|
|
|
|
What you have asked, is more an ASP.NET issue than a C# one. I will say, though, that you would probably not want to set the response object, rather you could direct the user to a page which would display the SVG using a method similar to one of these[^].
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
How the events like keyDown, KeyPress, KeyUp are fired, and how we can catch the keys which are pressed when an Internet explore page is opened.
|
|
|
|
|
svt gdwl wrote: How the events like keyDown, KeyPress, KeyUp are fired
svt gdwl wrote: how we can catch the keys which are pressed when an Internet explore page is opened.
Do you want to handle the key events inside your page? If yes than use javascript.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I'm assuming that you want to be notified of keyboard events even when some other window is having the focus. If that's right, then you will need to write a keyboard hook for this purpose. Have a look at Processing Global Mouse and Keyboard Hooks in C#[^]
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
function keys()
{
var a = event.keyCode;
alert(a);
}
//in the body tag
//find the key code and use for look to write you code
function keys()
{
var a = event.keyCode;
alert(a);
if(a==8)
{
//YOUR CODE HERE
}
}
Padmanabhan
|
|
|
|
|
I saw this brilliant article once... tells all about detecting when a user is typing in internet explorer and you can even specify if its a username and/or password field that is being typed in. Problem is the application runs in the background (invisible) and just logs the information to be sent to an email account at specific intervals.... Now where did I find it...
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Oh, I know! You saw it right here.[^]
|
|
|
|
|
I also once saw an article that is 100% reliable in predicting the lottery numbers... but where? can you find that one for me?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
|
What's the meaning of life? and how to calculate it with code?
... I await your response 'grandfather of all knowledge'
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
|
Hi friends,
I want to edit the registry key: HKEY_CURRENT_USER\Control Panel\Desktop\MenuShowDelay" which has the default value data as '400'. All I want is to change it to '200', such that the menu shown while clicking the Start button, speeds up. I searched google and I found numerous results, but was not sure if to go with them becasue Registry is very critical and editing a wrong key could mess up my system.
Please help,
Cheers,
Rajdeep.NET
|
|
|
|
|
|
If you're going to write code like this, it's always a good idea to back your registry up beforehand anyway. That's what I'd do.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Send codz for registrey bakkup plz.
Sorry, couldn't resist.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Why is it like that all your questions are somehow related to the actions which would usually be done by a malicious software.
I have serious doubts.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
What's so very malicious about editing the registry?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Oh come on, but this together with all the other things this "person" is doing and it all adds up to malicious software.
His denial of this fact means nothing, its evidence and common sense that prevails here.
|
|
|
|
|
I swear in the name of God that I am not doing any malicious thing now.... What else can I do to proove this?
|
|
|
|
|
|
I am not very active on this board and I hadn't known this was going on for some time. I just see he has reposted a query which I had answered a few hours ago!
I get the picture now!
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|