Hello everyone,
I am using SQL Server 2008 Enterprise. I have tried that if I set SQL Server transaction log to ever increase for the related database (with no backup settings), then a single delete statement of this stored procedure will cause deadlock if executed by multiple threads at the same time? Any ideas why?
For the delete sta...
Does anybody have any sample .NET code creating and fetching listitems from list pages on a Google Site?
Thanks!
...
Hi,
I have .net 3.5 SP1 and VS 2008 SP1 installed in my machine. But what should I further install to create an Entity framework project. Is there any other add ons that is needed?
...
I understand that calling FindResource() on a FrameworkElement (e.g. a Window) can be used to find a resource in the FrameworkElement's ResourceDictionary.
For example, I've used it many times to access a Style through code to add a new Setter to the Style dynamically. I always pass the x:Key value of the Style as a string into the Fin...
I have a Workflow 4.0 app that generates emails. In a dialog for creating the email body the user needs to be able to input some string value representing an existing wf instance variable to be inserted as a string at runtime.
So they input something like: Email body text including <>.
(say ExistingVariable is an int or something like...
Hi,
i'm new to vb .net and oop although i have learned the basics. I'm working in VB and .NET CF 3.5 and i'm trying to pass and received a value with showdialog. The issue here is when i'm done with a procedure in Load, for some reason MyBase.Showdialog (line 3) gives an error of "NullReferenceException was unhandled", but the same proc...
Working on a screen saver for my wife, http://cchearts.codeplex.com/, and while I've been able to improve FPS on lower end machines the CPU usage still seems very high.
Here's some numbers I ran from a few 5 minute sampling periods:
~60FPS 35% average CPU on Core 2 Duo T7500 @ 2.2GHz, 3GB ram, NVIDIA Quadro NVS 140M (128MB), Vista [My ...
I can access the dll in question on my dev machine and have created a .Net setup project. On a VM I install the setup.exe and it installs .Net. After installing I can see all of the public members when I use it in Excel vba but when I run it I get either "429 can't create object" or "Automation error".
...
The book of CLR via C# has this line at page 76.
When you install the .NET Framework,
tow copies of Microsoft's assembly
files are actuall installed. One set
is installed into the compiler/CLR
directory, and another set is
installed into GAC subdirectory
I could find the GAC at C:\Windows\Microsoft.NET\assembly, but I cou...
I have to use .NET/C# for the next company project. As I've developed my project on Mac, I looked into the mono for development environment/tool.
Is the mono for Mac OS X is fast enough? I mean, what about the performance in running the assembly compared to running the same code on .NET under windows machine?
Do I have to buy PC laptop...
Hi All
Not sure if this is an appropriate question for the forum.
I an experienced software developer with over 15 years in design and development of systems -mostly using Oracle software and ERP solutions using Oracle Apps. But due to some personal reasons I had to stay away from work for a period of 5 years.Now I am finding it hard t...
reader.MoveToContent();
var xs = new XmlSerializer(typeof(DerivedTypePackage<ScriptExecutionTask>[]));
var packagedTasks = xs.Deserialize(reader.ReadSubtree()) as DerivedTypePackage<ScriptExecutionTask>[];
reader.ReadEndElement();
After calling xs.Deserialize(reader.ReadSubtree()), the reader is pointing...
Overall I am trying to write out a webpage to PDF. There is a web service that I can use to convert a file to pdf. So what I am trying to do is save out a webpage from the WebBrowser winforms control.
I have already tried writing it out the document stream but that just gives me the html of the page and not the images that are used w...
I have a web service that checks a dictionary to see if a file exists and then if it does exist it reads the file, otherwise it saves to the file. This is from a web app. I wonder what is the best way to do this because I occasionally get a FileNotFoundException exception if the same file is accessed at the same time.
Here's the relevan...
We have a Silverlight application using the RichTextBox as a rich text editor for the user to create emails.
We actually have our own serializer but essentially we are saving and restoring the Xaml. As far as I can tell it is impossible to restore any text containing curly braces.
You can demonstrate this fairly easily by creating a Ri...
I need to add an header to a word document previously generated by a component that convert html to rtf (SautinSoft). This component does not support thead { display: table-header-group; }. Without using COM, is there a way to achieve this in .NET?
...
Hi,
I would like to insert text in a particular line, and replacing the text in the same line.
Eg
This is line 1
This is line 2
This is line 3
Now i would like to replace the text in line 2 to
this is new line 2
is this possible?
...
I have a databound ListView in asp.Net. I have both ItemTemplate and SelectedItemTemplate used in the aspx page.
In the .cs page I have this. I have verified by stepping through the code that the if statement evaluates to true only when it is supposed to, and that the selected index is set. However the HTML output is as if all items ...
I've inherited an enormous .NET solution of about 200 projects. There are now some developers who wish to start adding their own components into our application, which will require that we begin exposing functionality via an API.
The major problem with that, of course, is that the solution we've got on our hands contains such a spider ...
Crystal reports isn't working on different servers because they use different connection strings and crystal reports can't use the connection string stored on the web.config to access the database.
Is there an alternative to crystal reports that can use the connection string on the web.config file?
or does someone know how to fix the p...