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:email@example.com/ 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.