xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
How is this url mapped to .NET namespaces? Can you give an example how to do the same thing for custom .NET classes/namespaces? Is it an attribute that has to be defined on the namespace itself?
Or is it a matter or using C# aliases as in?:
using alias = FullNamespace
...
I'm trying to implement this feature.
I created a resource and set it access modifier to public, also Custom Tool property value to PublicResXFileCodeGenerator.
I'm trying to get an instance of this resource but I can't, either with strongly type the resource name nor with Type.GetType("WebProject.Resources.Home.ViewModels.ResourceNam...
Hi!
I'm developing an outlook 2003 add-in. Until now I used only winforms to display one form, but today I've added a WPF window for more complex stuff. DUe to the WPF window, a COM exception is being thrown when outlook shuts down.
Does anybody know why? I need to start a separate thread for the WPF window in single apartment state.
...
I have the following variable which creates problem when i use multiples instance of the same web form. Could you please let me know how i could what variables other than shared i can use to achieve this purpose?
Public strRoleType As String = String.Empty
Protected Shared isAreaSelected As Integer = 0
Protected Shared isStoreSelected A...
If I have N STA .NET Threads each performing an independent bulk load operation on a different database using the SQLXMLBulkLoad dll (which requires calling threads to be STA), is it possible for all bulk loads to be happening at the same time, or are they implicitly serialized due to the STA COM configuration?
Thanks!
...
When reading in a 3rd party RSS feed an XMLException is thrown due to an invalid DateTime in the feed XML.
How can I handle this more robustly. For example, is there a way to catch the exception, identify the problematic element and deal with it (e.g. insert a placeholder) and continue the load?
...
Hey,
As explained in the title, I am having a problem with getting the URL of the page being executed from within a page.
Basically I have a dynamic catalogue, where customers select products they are interested in. The manager of the company I am doing this for would like to be able to create an up to date offline catalogue at any giv...
Can I use that effect on my controls just like the BlurEffect? If it's not available, is there a way to "acquire" it? Perhaps via the Reflector?
...
I've written a .dll in C# to change the permissions on a folder. I also wrote an .exe to test the .dll and it successfully changes the permissions. Now I'm trying to call the .dll from ColdFusion, but I'm getting an error about System/Security/IPermission not being found.
I'm assuming this is an interface in C# that ColdFusion can't fi...
I am writing C# with VSTO in Visual Studio 2008 in order to create an add-in for Office 2007.
After I have defined a custom ribbon tab using XML, how do I obtain references to the various controls in the Ribbon? I would like to be able to do things like programatically manipulate the content of an EditBox.
...
Similar to Ubiquitous way to get the root directory an application is running in via C#, but that question seems to be related to Win Forms. How would the same be done for Web Forms?
I was using...
HttpContext.Current.Server.MapPath("~")
This works great for handling HTTP requests but seems not to work if a scheduler like Quartz.NET ...
I'm running CR XI, and accessing .RPT files through a ReportViewer in my ASP.NET pages.
I've already got the following code, which is supposed to set the Report Datasource dynamically.
rptSP = New ReportDocument
Dim rptPath As String = Request.QueryString("report")
rptSP.Load(rptPath.ToString, 0)
...
Hi, we have a cache which I would like to put some transaction scopes around so that any process have to explicitly 'commit' the changes it wants to do to the cached objects and make it possible to rollback any changes when the process fails halfway as well.
Right now, we're deep cloning the cached objects on get requests, it works but ...
I'm writing a wide component infrastructure, to be used in my projects.
Since not all projects will require every component created, I've been thinking of splitting the component into discrete assemblies, so that every application developed will only be deployed with the required assemblies.
I assume that creating an assembly has some s...
I have an attribute declared on property. How can I get the property name inside the attribute?
...
VB.NET 2.0 Framework
I developed a control that implements IExtenderProvider in order to attach to controls and display a form for translating of the text of that control. This works great on regular controls on the form but the IExtenderProvider is not attaching to controls on UserControls by default.
Is it possible to modify the Use...
So if I have a WPF window, would moving another window over the WPF window cause the WPF window to do thousands of redraws like Windows Forms?
I am wondering the effects of using vectors in this case, as opposed to everything being bitmap-based like Window Forms.
...
Any way to verify that this has been installed on the server? I'm running 3.5 .NET Framework.
...
Hello everybody,
is there a good example of the late binding features of the LinFu framework? I developed a framework which is hard linked against a certain version of an Oracle client. Now I would like to be able to configure the version of the client without the need to rebuild the app. How can I do that with LinFu?
Regards,
Alex
...
I have a string
<entry key="Provider">Comcast Cable Communications, Inc.</entry>
<entry key="Challenged">No</entry>
I need to call the
using xmlwriter.WriteElementString I need to what the string mentioned earlier. Problem here is the xwriter.WriteElementString will escape all "<" and ">" symbols with < and >. I have checked...