Tuesday, April 1, 2014

Weird Jumping in the browser enabled Infopath 2010 forms

Hi Snehal,


According to your description, my understanding is that the form jumped up and down when filling the form.


Was there any formatting rules or customization on the form?


Could you please provide a screenshot and the steps of creating the form for reproducing the issue?


Best regards.


Thanks


Victoria Xia

TechNet Community Support



Monday, March 31, 2014

Save DataPackageView.Properties.Thumbnail to disk

How to save DataPackageView.Properties.Thumbnail to disk as .jpg file?

Save DataPackageView.Properties.Thumbnail to disk

Hi,


Try some codes below:




// Lets say the byte array represents the data we want to present as a storage file.
var fileBytes = new byte[200];var streamReference =DataPackageView.Properties.Thumbnail;
// Creating the streamed storage file.
var streamedStorageFile = await StorageFile.CreateStreamedFileAsync("MyFileName.jpg", async stream =>
{
await stream.WriteAsync(fileBytes.AsBuffer());
await stream.FlushAsync();
stream.Dispose();
}, streamReference);

Please refer to the link get more information:


http://ift.tt/1fIFQzX


Best Wishes!




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


SSRS Weekly View Calendar empty textboxes

What is the expression for the Subject textbox ? Is it MAX(Fields!Subject.Value) ?


Regards, RSingh


SSRS Weekly View Calendar empty textboxes

Thats because you dont have any data to be diplayed for those days. SInce you're pivoting on day values you'll still get the columns with blank values in them.


Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://ift.tt/19nLNVq http://ift.tt/1iEAj0c


SSRS Weekly View Calendar empty textboxes

No it is just Subject Column which is coming from DataSet


KAdir


Sunday, March 30, 2014

Problem with async method from .NET

I am always getting an empty string from this method:



private static string TranslateRequest(string input, string languagePair)
{
string result = "";
string url = String.Format("http://ift.tt/1pwJ3ZJ;, input, languagePair);

WebClient webClient = new WebClient();
webClient.Encoding = System.Text.Encoding.UTF8;

//HtmlAgilityPack.HtmlDocument document = new HtmlAgilityPack.HtmlDocument();
//document.LoadHtml(result);
//webClient.BaseAddress = url;

webClient.AllowReadStreamBuffering = true;
webClient.DownloadStringAsync(new Uri(url));


webClient.DownloadStringCompleted += (sender, e) =>
{
webClient.CancelAsync();
result = e.Result;
};

return result;
}

When I use this method in console application (in console application I can use synchronous method for downloading string), I get the result, but when I am using this code in Windows Phone 8 application (where I don't have synchronous method for downloading string; this pasted code is from Windows Phone project), I always get the empty string, like something wrong is happening on other thread.


Can anyone test this method in Windows Phone project and see what is the answer for this problem?




Development Technician, Microsoft Certified Professional