Is it possible that the .Net framework behaves differently when it comes to garbage collection / memory limitations on server environments? I am running explicitly x86 compiled apps on a 64bit server machine with 32gbs of physical ram and I am running out of memory (SystemOutOfMemoryException) even though nothing but that particular app ...
I'm going to be writing a small app based on the .NET SerialPort class.
Is there a generic dialog available for setting the port settings, ala baud rate, data bits, stop bit, parity bit, flow control, etc? I didn't see one in the MSDN documentation, but I would think that one exists, since that stuff doesn't change.
...
I have a series of images stored in a MySQL database that I am displaying with a .NET Http handler (showImage.ashx). If the user right clicks on an image and selects "save image as...", the image name always defaults to 'showImage.jpg'. I have potential image names saved in the database, is there any way to control the default save nam...
I have a really simple stored procedure that looks like this:
CREATE PROCEDURE _Visitor_GetVisitorIDByVisitorGUID
(
@VisitorGUID AS UNIQUEIDENTIFIER
)
AS
DECLARE @VisitorID AS bigint
SELECT @VisitorID = VisitorID FROM dbo.Visitor WHERE VisitorGUID = @VisitorGUID
--Here's what I've tried
RETURN @VisitorID 'Returns an IDataReader
SE...
I am trying to create an app that allows multiple search requests to occur whilst maintaining use of the user interface to allow interaction. For the multiple search requests, I initially only had one search request running with user interaction still capable by using a backgroundworker to do this. Now I need to extend these functions b...
I'm looking for a while to programmatically convert (or use a tool already created) MACESS .cra, .acr, and .err files to a readable format?
I'd prefer a .NET way of doing it however at this point I'll take any programmatic way.
PS> I tried adding tags "MACESS Sungard" but I don't have 250 rep yet to do so.
...
Hi,
Is there any way to use SQL Server as physical message transport instead of using built in MSMQ message transport with NServiceBus ?
Thanks
...
I'm trying to determine the best approach for building a WCF Service, and the area I'm struggling with most is returning lists of objects.
The built-in maxMessageSize of 64k seems pretty high, and I really don't want to bump it up (quick googling finds 100s of places bumping the maxMessageSize up to multi-gigabyte range which seems fool...
Hello,
I am trying to start a console application from a .NET Windows Service. The service is running on a Windows 2008 server.
I use Process.Start to run the console application and it runs( I can see it in the task mgr), but I never get the process id back and the call to Process.Start just hangs.
If I run the same service from my W...
I'm creating a WinForms control in C# (using VS2008, .net 3.5) which allows text input. I've imported the necessary Win32 API functions from User32.dll for displaying the normal Windows caret and these are all working fine, but it's not displaying exactly how I'd like it.
Text is displayed on the control with a blank border and I use Gr...
I'm using XmlDocument and XmlElement to build a simple (but large) XML document that looks something like:
<Widgets>
<Widget>
<Stuff>foo</Stuff>
<MoreStuff>bar</MoreStuff>...lots more child nodes
</Widget>
<Widget>...lots more Widget nodes
</Widgets>
My problem is that when I'm done building the XML, the Xm...
Where is the value of the actual query executed for an AccessDataSource with the parameters replaced with actual values?
Note: Answers in VB.NET or C# are fine.
...
Background:
I couldn't find any decent free HTML to PDF conversion utilities in C#. There are 100s of them for PHP with extensive documentation, support, and CSS support. So I am using html2ps and html2pdf (php).
I have PHP 5.2 installed on IIS7 and its working beautifully to create PDFs.
I have the following in getPDF.aspx
<!-- Outp...
To this SO question: What is the C# equivalent of friend?, I would personally have answered "internal", just like Ja did among the answers! However, Jon Skeet says that there is no direct equivalence of VB Friend in C#. If Jon Skeet says so, I won't be the one telling otherwise! ;P
I'm wondering how can the keyword internal (C#) not be ...
i think the question says it all, but I have an application that uses a .net setup kit (in vs.2005), and the user asked me if it was possible to install it on the c:\Program Files\ProgramName instead of C:\Program files\Manufacturer\Program Name. Thing is, I just can't seem to find the way to do it.
Thanks.
...
I'm trying to make an application-level add-in for Excel and I would like to store certain information about the program's state. The information I want to store pertains to the state of each Excel file (rather than across all Excel files).
...
pretty much...i want to do something like this:
Stream Answer = WebResp.GetResponseStream();
Response.OutputStream = Answer;
Is this possible?
...
Is there a difference between ^[a-zA-Z] and [^a-zA-Z]?
When I check in C#,
Regex.IsMatch("t", "^[a-zA-Z]") // Return true (I think it's correct)
Regex.IsMatch("t", "[^a-zA-Z]") // Return false
There are alot of web site using [^a-zA-Z] for alphabet. I'm not really sure which one is correct answer.
Could someone please shed the ...
In my winform app i would like one special button to run a test everytime i press it. There are dozens of controls so implementing it in each one takes too much time. Is there a way i can set a hotkey so no matter what i am doing in the app i can press the key and it will fire off my event?
...
Hello,
I have a class with a delegate declaration as follows...
Public Class MyClass
Public Delegate Function Getter(Of TResult)() As TResult
''#the following code works.
Public Shared Sub MyMethod(ByVal g As Getter(Of Boolean))
''#do stuff
End Sub
End Class
However, I do not want to explicitly type the...