I just remembered seeing this Tip posted recently: Find IP address in a Metro app (Windows 8)[^].
I know that from the title it does not seem to be what you are looking for, but read through the comments and see if it can help you get what you need. I don't have Windows 8 running, so I cannot test it out.
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
Hello, i am making a project for Windows 8 Metro that requires to log in in a local device that have a web interface, for example my router. On the webbrowser control in visual basic i was using http://username:firstname.lastname@example.org/ to navigate but in the webview i get a COMException error.
Anyone have an idea how to fix it or another way to do this task?
Its working on all browsers except the webview. On webpages that required authendication but dont have login form the browser pops up a window where you put the username and password (dont know the name of that login method), with that url u log automaticaly.
Hi guys... I'm just starting with Windows 8/Metro... I'm trying to figure out how to get a list of drives on the machine. The MSDN says Environment.GetLogicalDrives should work or System.IO.Directory.GetLogicalDrives but I can't seem to find either. I assume the framework for Metro apps is limited similar to how Silverlight is a subset of the .Net libraries... Anyone have any idea how to do this?
In WinRT Metro app can I develop some background tasks as torrent or alarm clock or files manager likes same android applications? Because we don't have full futured background work and of course not in switched off mode.
Does anyone knows how to get the snapshot event from windows 8 native metro camera ap?
I would like to trigger some specific function when user click the webcam screen to snap a photo in metro ap.
I had try to using SPY++ and also check the Driver MFT document but found nothing
Could anyone give me a hint?
Thank you for your help.
Have a button in the UI, called 'btnCapture' and an image called 'imgPhoto'
In the click event of this button, have the following code. Also, make the click event async.
privateasyncvoid btnCapture_Click(object sender, RoutedEventArgs e)
CameraCaptureUI dialog = new CameraCaptureUI();
StorageFile file = await dialog.CaptureFileAsync(CameraCaptureUIMode.Photo);
if (file != null)
BitmapImage bitmapImage = new BitmapImage();
using (IRandomAccessStream fileStream = await file.OpenAsync(FileAccessMode.Read))
imgPhoto.Source = bitmapImage;
In case of system resource access, Metro Apps work in the same way as Silverlight. So you need to explicitly provide access for the application to access Webcam and Microphone. You can give this permission in Capabilities tab of Application Manifest.
Hi.I have a ItemControl and i set ItemPanel Property to Horizontal StackPanel and I Bound it to ObservableCollection of Icons.Now I Wanna user be able to remove icons with drag drop them to out of ItemControl and also can change items positions with each other by drag and Drop.
(Look likes MacOSX DocBar).Can i do this with above controls ,if yes,please tell me how.if not,i appreciate to tell me i should use which controls and how
I have a ItemsControl in ScrollViewer and I set ItemsPanel of my ItemsControl to Horizontal StackPanel and i bound it to ObservableCollection of userControls.Now I wanna when user click on icons of open UserControls in my ItemsControl,automatically scrollviwer's offset change to show icon clicked UserControl.( I have a Icon for my each usercontrols)
And Also when user open new UserControl ,i wanna my ItemsControl automatically show it ( now when i open a new usercontrol i should scroll my ItemControl to reach it),
can i do this with above controls ,if yes,please tell me how.If not,i appreciate to tell me I should use which controls and how.
I can see you can mix and match C++ and C# WinRT component, they feel like being in the "same realm"..
Further, ideally, I'd like to use some of my 'business data' to customize the text / HTML, any sample?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
My programs never have bugs, they just develop random features.
Ashish G. of MS wrote: "As the flash is integrated with Internet Explorer 10 and does not comes as plug-in, it should work on both – Desktop and Metro version of Internet Explorer."[^].
As example of the confusion: Tim Anderson's blog writing about an interview with Scott Guthrie[^]. Do note the wild diversity, and contradictions, in the various readers' comments.
One wonders if integrating Flash is, on a primary level, an anti-iPad/Apple geo-political move; but one might ask: why not SilverLight; unless one claims, as some responders to the article above do, that WinRT + XAML is "SilverLight 6."
IE10 on Metro and WinRT supposed to be the "no plug-in" browser, so MS emphasized in various public statements, so I thought.
I remain confused about whether on ARM hardware in Win8, other browsers, other than IE10 will be usable.
All attempts at un-confusing me are appreciated
The glyphs you are reading now: are place-holders signifying the total absence of a signature.
I try to build a simple windows 8 Metro Style application in JS or C# , I wonder if I can select a picture from an images gallery and put it as wallpaper on my desktop . I already checked few answers but its not working on Windows 8. Any code will Help I used VS2012 with Win8 RP
They have really cleaned up alot of things in the RC version. Even a problem that I was having with the ListView control during my app review with Microsoft, was fixed in the new version. I have the consumer preview and RC both as VMs on my Win7 machine. I even installed the RC on my youngest son's laptop and it works well for him too.
When Vista came out and was pre-installed on desktop purchases people would wipe their HDD and install they already licenced XP loosing nothing (sort of.. to all appearances atleast) and keeping familiarity.
However wiping a system that comes with Win 8 to put Win 7 on it you are giving up on metro entirely, with out trying it.
I am not saying people will like it or not. I am more saying I think people may just use it to not give up something they are unsure about.
If the store ends up with apps that work well even in the desktop setting you would not even know about it if you wiped it.
I think many will cling to Win7. But I also think many will just go with the flow of the microsoft river.
Enterprise is likely different. But I have said this before. Microsoft knows the enterprise will not upgrade already. Enterprise will be targeted with their new tablets as the enterprise has yet to buy into that.
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.