No announcements
Found 514315 threads
-
12 Votes
Moving a StorageFile throws COMException
COMException seems too less without any helpful information.Answered | 4 Replies | 902 Views | Created by Zolotaryov Alexander - Saturday, January 17, 2015 11:16 AM | Last reply by Zolotaryov Alexander - Monday, January 26, 2015 5:22 PM -
0 Votes
Adding variables from a source component throws a COMException
I'm trying to add variables programmatically from my source component for the header row in a CSV file, but whenever I try to execute the following code, it throws a COMException ...Answered | 3 Replies | 4038 Views | Created by Daniel Stafford - Monday, April 6, 2009 10:15 PM | Last reply by Todd McDermid - Tuesday, April 7, 2009 3:39 PM -
0 Votes
Same COMException with different ErrorCode
It is always the same error (accessing an item which was moved or deleted) so it should return always the same error code.Answered | 3 Replies | 1112 Views | Created by Yavuz T - Monday, April 13, 2015 4:06 PM | Last reply by Eugene Astafiev - Tuesday, April 14, 2015 12:43 PM -
0 Votes
FAXCOMEX FaxServer.Connect call throwing COMException
"FAXDEVMN01"); FaxDocument doc = new FaxDocument(); doc.Recipients.Add("6125551234", "Test Recipient 1"); ...Answered | 1 Replies | 10330 Views | Created by SrsDanG - Thursday, November 20, 2008 6:17 PM | Last reply by sudarshans1 - Tuesday, November 25, 2008 8:17 AM -
2 Votes
StorageFile Equality on Windows Phone
There is no guaranteed way to compare two StorageFiles for equality on the Phone.Answered | 3 Replies | 697 Views | Created by T Hofmann - Wednesday, April 22, 2015 6:19 PM | Last reply by Rob Caplan [MSFT] - Friday, April 24, 2015 4:41 PM -
1 Votes
Convert Bitmapimage to storagefile
All I need to do is to save first the image from photochooser in storagefile so i can then call the StorageFile file = ...Answered | 2 Replies | 4976 Views | Created by alesta dev - Thursday, January 10, 2013 10:36 AM | Last reply by alesta dev - Wednesday, January 16, 2013 2:03 AM -
1 Votes
How to serialize StorageFile and StorageFolder objects for later use ?
There's an example and links to deeper docs in the StorageFile documentation https://docs.microsoft.com/en-us/uwp/api/windows.storage.storagefile Converting to a path won't help since that ...Answered | 3 Replies | 902 Views | Created by JiyaDesai - Thursday, February 1, 2018 2:19 PM | Last reply by Username already in use - Friday, February 2, 2018 4:48 PM -
0 Votes
Get std::ifstream for StorageFile^
I am working on a class derived from std::basic_streambuf that wraps a StorageFile^, but it is taking more time that I would like.Answered | 6 Replies | 5278 Views | Created by diltsman - Thursday, October 11, 2012 12:20 AM | Last reply by diltsman - Monday, October 15, 2012 7:03 PM -
2 Votes
How to create a 'IWICBitmapDecoder' using 'StorageFile'
ViewMode = PickerViewMode::Thumbnail; openPicker->SuggestedStartLocation = PickerLocationId::PicturesLibrary; openPicker->FileTypeFilter->Append(".jpg"); ...Answered | 12 Replies | 12426 Views | Created by __PB - Tuesday, October 11, 2011 11:52 PM | Last reply by Chris Guzak - Monday, July 23, 2012 5:31 PM -
1 Votes
FilePicker Vs StorageFile
We can create an empty file( eg:Sample.jpg) in pictures folder as follows: StorageFile tmp = await ...Answered | 1 Replies | 1152 Views | Created by its_me_here - Saturday, January 26, 2013 8:25 PM | Last reply by RenaudDumont - Sunday, January 27, 2013 12:16 AM -
0 Votes
Convert From StorageFile to Stream Error
OpenAsync(Windows::Storage::FileAccessMode::Read); MyElement->SetSource(stream, file->ContentType); Always have syntax error, any right way to convert a ...Answered | 2 Replies | 4502 Views | Created by Charlie C - Friday, August 3, 2012 4:41 AM | Last reply by Jesse Jiang - Monday, August 6, 2012 8:21 AM -
0 Votes
Possible to catch, wrap and rethrow COMException globally?
For example, say you have a method like so: static T RewrapComException<T>(Func<T> fun) { try { fun(); } ...Answered | 1 Replies | 4869 Views | Created by Matt Houser - Tuesday, September 18, 2012 3:24 PM | Last reply by Reed Copsey, Jr - Tuesday, September 18, 2012 3:38 PM -
0 Votes
Converting a DataPackage object into a StorageFile object?
when a file is shared through skydrive using sharecharm, the storageFile contains an exception for properties.Answered | 4 Replies | 2270 Views | Created by vrs762 - Thursday, March 8, 2012 7:21 PM | Last reply by Igneta - Monday, October 21, 2013 1:31 PM -
0 Votes
comexception project load fails
Hi crcW3616, Do you mean that it shared the ComException during you open a project in VS IDE?Answered | 1 Replies | 304 Views | Created by crcW3616 - Thursday, June 23, 2016 6:32 PM | Last reply by Jack Zhai-MSFT - Monday, June 27, 2016 2:58 AM -
0 Votes
COMException saving contact's picture
getOutlookPicture(Outlook.ContactItem contact) { Image img; img = ...Answered | 1 Replies | 3579 Views | Created by battistaar - Monday, March 2, 2009 11:45 PM | Last reply by Navneet - Tuesday, March 3, 2009 2:09 AM -
0 Votes
COMException (E_FAIL) accessing library content from WinRT apps
The interested people should follow these links: Answers: ...Answered | 4 Replies | 2355 Views | Created by Sorin Dolha - Wednesday, May 22, 2013 1:24 PM | Last reply by Sorin Dolha - Monday, October 28, 2013 8:43 AM -
3 Votes
How to access StorageFile via local uri
I'm using a StorageFile to save a bitmap to the local file system.Answered | 1 Replies | 1548 Views | Created by Stephen Price - Thursday, October 4, 2012 3:11 AM | Last reply by Andrei Marukovich - Thursday, October 4, 2012 4:37 AM -
0 Votes
Bind StorageFile to Image source
I am first getting stream from file and preparing in to bitmap in converter class and return bitmap to imagesource property which takes lot of time and memory exception,Is there ...Answered | 7 Replies | 919 Views | Created by SARVESH.RVN - Monday, January 19, 2015 1:51 PM | Last reply by Herro wong - Tuesday, February 3, 2015 7:58 AM -
0 Votes
COMException 800ac472 on a VSTA_MAIN?
I was just surprised at the COMException as I thought on VSTA_Main, we were fine but apparently we're not.Answered | 8 Replies | 5426 Views | Created by doughboy - Tuesday, January 27, 2009 5:49 PM | Last reply by doughboy - Tuesday, January 27, 2009 10:32 PM -
0 Votes
Will catch(Exception ex) catch a COMException?
There are a bunch of well-known HRESULTs that are mapped to specific Exception types, everything else results in a COMException.Answered | 3 Replies | 5358 Views | Created by Rory__K - Friday, May 22, 2009 6:34 PM | Last reply by Karel Zikmund - Tuesday, May 26, 2009 7:12 PM - Items 1 to 20 of 514315 Next ›
No announcements