Help with Crystal Reports features
I'm looking for help with the following: How can I show and edit a Crystal Report in wideness via C# code? How can I put a water stamp Logo that will be in page size? ...
I'm looking for help with the following: How can I show and edit a Crystal Report in wideness via C# code? How can I put a water stamp Logo that will be in page size? ...
My application resides mostly on the system tray on minimize. I'd like the user to be able to hit a keystroke (like ALT+SHIFT etc.) and it shows up on the screen (sort of like Launchy, if you've used it; or the Google search bar). Anyone knows how to do it? ...
Hi all, having a nested control somewhere inside a scrollable control, how can I determine the currently visible screen rectangle of this control? (see image below) --> Image My intention is to use ControlPaint.DrawReversibleFrame (which needs screen coordinates), but only draw on the visible region of the nested control. Thanks for ...
I have a .NET Windows Mobile 5.0 application that is used for data collection. For purposes of this question let's say it's a survey application with two screens - a survey list screen and a survey detail screen. You click on a survey in the survey list screen to display a survey detail screen with the detail information for the survey y...
I've written an app that I use as an agent to query data from a database and automatically load it into my distributed web cache. I do this by specifying an sql query and a type in a configuration. The code that actually does the querying looks like this: List<Object> result = null; try { result = dc.ExecuteQuery(elementType, entry.Com...
Hi! I'm currently developing on application that uses legacy COM-based object. This object resides in standalone executable and have COM connection point defined on it. When I subscribe on this connection point within WinForms application everything is ok - all callbacks received smoothly. When using same code from NET framework based Wi...
I've got a SqlServer project with a very simple test for a Table-Valued-Function:- [SqlFunction(TableDefinition = "forename nvarchar(50)", FillRowMethodName = "TestFillRow", DataAccess = DataAccessKind.Read)] public static IEnumerable TestConn(int ID) { using (SqlConnection con = new SqlConnection("context connection=true")) { //con...
We have a large, deployed, 3-tier .NET application which for good business reasons can't be upgraded at present. The client makes use of a number of classic c++ ActiveX controls through the usual interop mechanism. We have fixed some critical bugs in one of the ActiveX controls and need to deploy the fixes to a number of customers with...
I want to get the ControlName of .NET properties in VB6 code, just like described in this article. But unfortunately, it doesn't work for me. I always got 0 for bufferMem. bufferMem = VirtualAllocEx(processHandle, 0, size, MEM_RESERVE Or MEM_COMMIT, PAGE_READWRITE) If bufferMem = 0 Then Error Err, "V...
I'm working on a project using the entity framework code from 3.5 SP1, but although everything works great for the most part, many-to-many tables seem to need alot of workaround coding. Does anyone know if things will be easier in the next .net release? ...
Hi. I feel the answer to this may lie with delegates, but I am having a hard time grasping the concept of delegates. The main problem is that every explanation and example of delegates I have ever read are always round about ways of doing something you could accomplish without delegates so to me it does not teach me anything. I learn bes...
Hi everyone I need to use an OCR component within a .NET application that can recognise handwriting. We got the MODI component from MS office up and running, and it recognises printed text, but not handwriting. I don't mind paying. Does anyone have any recommendations? Many thanks Jim ...
I know for CTP VS 2010 Images, but can I download only .NET Framework 4.0 and C# compiler? ...
Is there any reason I can't use an older version of Data Access Application Block (sqlhelper) along with Enterprise Library (if I'm not using the data parts of it?) ...
I can't think of an easy one or two liner that would get the previous months first day and last day. I am LINQ-ifying a survey web app, and they squeezed a new requirement in. The survey must include all of the service requests for the previous month. So if it is April 15th, I need all of Marches request ids. var RequestIds = (from r...
The question is entitled with the word "Stream" because the question below is a concrete example of a more generic doubt I have about Streams: I have a problem that accepts two solutions and I want to know the best one: I download a file, save it to disk (2 min), read it and write the contents to the DB (+ 2 min). I download a file an...
I'm merging two projects one uses delegates for logging and the other uses events. Is one faster then the other and why? Or is there an advantage to using one over the other? ...
I have an application that is built as a Windows Service and a c# library assembly (.dll.) In order to manage and maintain this service, I'd like to add the ability to run a command-line application that tells the last time the service archived files, the next time it's scheduled to do so, the status of the last run, and the location of ...
Hello, all. I seem to forgot the process and how to set a class property to xml element or attribute by setting attribute on the property member. So you can write out the object to xml. I'm not sure I'm making any sense here but hopefully someone know what I'm talking about and point me to a how-to or tutorial or MSDN document. Thank ...
The long Exec is installing .NET 3.5, and out script is based off this one: http://www.blackhillsoftware.com/blog/2006/06/26/using-innosetup-with-the-dotnet-framework/ The problem is that it's using "ewWaitUntilTerminated" because we need to capture the exit code. It's made a little worse by the fact that we're running it /passive /nor...