How can I detect if the user is getting into my application from a PC or a Device (a Celular, BlackBerry or Other), because I need to create an .aspx form for a PC and other for a Movil Device.
View Complete Post
So therefore I would like to create a more streamlined version of my site that is better tailored to these devices. However how do detect that the user has come to the site via a mobile device and how can i redirect them to my tailored pageMany thanks in advance
Last week Android updated their software (changed the display from 480px to 800px) so all the mobile tweaks we made for our apps are no longer work on Droid Phones.
I would need to identify the User Agent(e.g. Android) and switch style sheets depending. (We don't want to redirect to another page, just switch style sheets).
Anybody know any lightweight solution ?
Thanks in Advance.
(we were using 480px pixels to identify if the user was coming from iPhone or Android and switched stylesheets accordingly. If I changed it to 800px some desktop monitors and the iPad would see the mobile version and not the desktop version. Not good.)
Hello all ,
how to detect the IP position of my website user ?
thanks in advance
Using WMI api i got the list of all the Hard disk on my system and for each hard disk i got the Device ID which is of format "\\.\PhysicalDriveX" . This Device ID is i believe User mode name for that Hard disk, i wanted to get corresponding Kernel
mode name for that Hard disk which is of format "\Device\HarddiskX\DRX". Is it the case that the value X is same for user and kernel mode ? If i have a Hard disk with Device ID "\\.\PhysicalDrive0", is it true that it corresponding kernel
name will be "\Device\Harddisk0\DR0" or can it be something else other then 0 ?
I want to write code in C# which return 1, if anyone insert USB and return 0 if USB removed.
Thanks in advance...
I have an existing ASP.NET (VB.NET) created with Visual Web Developer Express 2008.
I have recently created new pages for iPhone and other mobile devices: www.mysite.com/mobile/home
What's the best way to check if the user is using a mobile device and so redirect them to the URL above?
I am using a asp:Label control and I need to set it to visible if the screen resolution of the user is nore then 1000 pixels.
How do I do that?