0
votes
0answers
5 views

Is there a way to convert a dynamic or anonymous object to a strongly typed, declared object?

If I have a dynamic object, or anonymous object for that matter, whose structure exactly matches that of a strongly typed object, is there a .NET method to build a typed object from the dynamic ...
0
votes
0answers
3 views

How to dynamically generate Bing/Google map with multiple pinpoints?

What I have? I have Set of multiple LAT-LONG values in the Database. Every LAT-LONG value is associated with a STATUS. What I need? I need to generate Bing Map, load the map with all ...
0
votes
1answer
11 views

ConcurrentDictionary TryGetValue vs []. Is [] still thread-safe?

I have the following ConcurrentDictionary: ConcurrentDictionary<Guid, Session> sessions; I know that sessions.TryGetValue(key, out session) is thread-safe, but my question is if sessions[key] ...
0
votes
1answer
23 views

How to remove scrollbars on WebBrowser in WPF

I am using WebBrowser control in my application like: <WebBrowser x:Name="wcPlayback" Visibility="Visible" LoadCompleted="wcPlayback_LoadComplete" Margin="0,-4,0,0" Width="960px" Height="619px" ...
0
votes
0answers
20 views

System.TimeoutException occure in windows phone

I am calling web service in my windows phone 8 application.Its working fine but some times it gets to receive data I get this timeout exception.(due to slow network or some other proble).so this ...
-1
votes
0answers
15 views

How to create xps document using C#? [closed]

My requirement it create a XPS document using .Net C#. I have a list of .jpg images and list of fpage. Using these images and fpages, i want to create a XPS document. Can anyone suggest how to ...
0
votes
0answers
25 views

Write data over multiple ranges of excel from vb.net

I am creating reports over excel from VB.net code . Code details : 1. Create Range Names inside excel template : Formulas -> Name Manager -> Create multiple new name ranges in excel . Using ...
-4
votes
1answer
44 views

Unclear about the Error why we are getting the exception [closed]

Message: The parameter value must be greater than zero. Parameter name: textLength Stack Trace: at MS.Internal.TextFormatting.TextMetrics.FullTextLine.GetTextBounds(Int32 ...
0
votes
0answers
19 views

Unable to map XML Serializable Collection in C#

<WebxApi> <Search> <SessionId>49B9BB6E-D2BD-427E-BB38-C3BD37B216E1</SessionId> </Search> <Search> ...
0
votes
0answers
18 views

How to change the build version

I have a windows desktop application where i need to include the Build version to it. the format is V.M.m-BBBB YYYY-MM-DD • V – Version • M – Major • m – Minor • BBBB – 4-digit-Build ID ...
-2
votes
0answers
37 views

Global Listener in C# WPF [closed]

Hope this question might be silly but I don't know the answer for it. I like to know is there is a way which we can get a Notification (Event Raised) whenever an action is performed in WPF C# ...
0
votes
1answer
32 views

Comparing SQl Date With C# Input values

Hi i have to compare the date time sent from C# code to the SQLServer along with milliseconds. I have converted the date as follows.. CultureInfo provider = CultureInfo.InvariantCulture; ...
1
vote
2answers
85 views

How to make class truly Immutable? [duplicate]

I just looked into IReadOnlyList<T> to create readonly list. But I think it is not 100% readonly. I can not add/remove the item from the list but I can still modify the members. Consider this ...
0
votes
0answers
28 views

Wcf calls exception when calling sequence workflow

I get error Please ensure that the operations are performed in the correct order and that the binding in use provides ordered delivery guarantees. http://snag.gy/QUEmi.jpg The problem ...
1
vote
0answers
41 views

“The URI prefix is not recognized” in WPF when loading embedded resource

I'm trying to load an XML document in a WPF application, but using a pack URI I keep getting "The URI prefix is not recognized" even though I register the pack authority: UriParser.Register(new ...

1 2 3 4 5 141
15 30 50 per page