In my application, I have a known offset of interest in an XML string, and want to answer questions like "what is my parent element?" without parsing the whole document.
This article mentions a library which appears to be in Objective-C for "backwards" XML parsing. My application doesn't require full XML support, so I'm happy to put up...
Hi all
With .Net 4.0 coming up, and the new parallel extensions, I wondered if the CLR will be able to optimize and push some calculations to the GPU? Or if any library which can help with the task exists?
I'm no GPU programming expert at all, so forgive me if this is a silly question. Maybe the CLR doesn't support interfacing to the G...
[Question]
1. How to detect the window (WPF) was resized by Aero Snap? then i can ignore the new size and position.
Thanks for your answer and comments in advance.
...
Hi All,
I have a medical health database that a 3rd party needs to connect to.
We need to look at using the HL7 standards.
I am looking for a good library to make using HL7 easier in a dotnet enviroment.
I will need a comprehensive 2.x and 3.x lib that can do most of the heavy lifting.
I want to try and avoid using message parsing a...
Could someone please shed some light on this behaviour? It looks like Delphi SOAP sets the function result as the last argument, but WSDL.exe reads the first argument to be the function result.
I have the following method in a Delphi SOAP service, where the result string is used for basic error handling:
function LoadCustomer(Customer...
What is the best and fast ORM to use with Oracle for .NET ? Based on your evaluation , experience etc. (to replace my existing data layer for oracle)
fast = operations per second
best = lest time to learn and does not have any high fi mumbo jumbo
Need to load 10,000 or more records and update them in 10 mins or less... on oracle.
...
I have built a dll with VS2010 targeted for framework 4.0. When I try to gac the assembly (either by drag drop the assembly into the GAC folder or by command line using gacutil), it does not give me any error. It says that the assembly was successfully added to the cache. But I am unable to see the assembly in the GAC folder. Wont it sho...
I am using COM Object in my C# .NET 1.1 application. When the COM object is not registered on client machine, I get the exception:
"COM object with CLSID {} is either
not valid or not registered."
(HRESULT:0x80040154)
I know how to register the COM object using regsvr32. Our requirement is to identify the COM object which is no...
Hi,
I want to specify the folder where to load the fbembed.dll from. In App.config I have:
<connectionStrings>
<add name="database" connectionString="Dialect=3;Database=Database\MYDATASTORAGE.FDB;ServerType=1;clientlibrary=Database\fbembed.dll"/>
</connectionStrings>
But I still get the error even if the file is there:
The DLL libr...
The TransactionScope expects a call to its Complete method as follows. Otherwise the transaction will not be committed.
using(TransactionScope scope = new TransactionScope())
{
/* Perform transactional work here */
scope.Complete();
}
Wouldn't an implementation that assumes success have been more appropriate? This would mean ...
Hi,
I am creating an application which will send the input string to mobile device. Some devices have problems with encoding special characters so I would like to create a filter which doesn't allow the user on PC to enter special characters.
The application is written in C# (.NET 3.5) and I would like to attach a method to key press e...
I am building a mobile website were users can upload/download videos and am looking for a library that can convert the media files from mpeg, 3gp, mov depending on what the user wants to download.
thanks in advance.
...
I'm looking for a .NET chart component that can display a world map, with the option to shade different countries.
Are there any freeware products that do this?
This needs to be "offline" so any Google type API will not be possible.
...
Hello.
Simple situation(VS2005, .NET2): I have a textBox1 on a panel1. I need to track all the emitted events from this textBox1.
Actually, when I need to track a single event(TextChanged, by e.g.) from this textBox1 I add a handler to the (TextChanged event) I set then a non-blocking breackpoint that writes on the output console a mes...
I am not sure where the best location to handle my exceptions in my DAL class. I have some code that does a read, and populates a list of business objects like the pseudo-code below:
public List<MyObject> GetMyObjects()
{
while (dataReader.Read()
{
try
{
//populate business object
}
cat...
I'm using Visual Studio 2003 working on an ASP.NET application. Quite often, just in the middle of typing code in the Visual Studio Text Editor I get:
The following exception has occurred:
InvalidOperationException: The object is currently in use elsewhere.
This is not my code running, i'm just working in the IDE. Sometimes it doesn'...
Hi,
Consider this code:
Ellipse myCircle = new Ellipse();
myCircle.Width = 400;
myCircle.Height = 400;
myCircle.Stroke = Brushes.PeachPuff;
myCircle.StrokeThickness = 25;
myCircle.ToolTip = "Bold Circle";
Canvas.SetTop(myCircle, 0);
Canvas.SetLeft(myCircle, 0);
canvas.Children.Add(myCircle);
Ellipse myCircle2 = new Ellipse();
myCircle...
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am publishing a portal template.
I want to develop a WebPart and make some settings configurable (just like we can configure parameters for a console application in app.config)
For example, authorized users could set parameters of WebPart in Edit Pa...
I tried timeouts and throwing exceptions in the service implementation, but it didn't caused the channel to enter a faulty state as it happens in my production code.
How could I force this event to happen for testing purposes?
The following code throws an exception for the first request, making it fail, but the subsequent requests succ...
I have used XML, INI and yaml files for configuration in the Python as well as in .NET C# application.
I have recently studied the lua language and tried its implementation in .NET platform. I find Lua for configuration seems to be more clean and readable. Moreover it does provide the scripting ability.
Since I heard that Lua source b...