I have a keyboard hook that is functionning correctly but I am unable to use it as a global hook. It was functionning correctly before but I have made some modification witch should not affect the thread it monitor but now it only work when the controling application(in MFC) as the focus. The...
Hi!
I'm using crystal report for .NET with c# to create a 2 page report. Everything is working fine but i'm wondering if I could change the text orientation on the second page. What I want is to have the text in portrait visualisation on the first page and in landscape on the second. Is there a...
The code at line 266:
report.PrintToPrinter(1, false,0,0);
Having exhausted all my option I simply rebuild a new project from the ground up and copy pasted most of my code. Now it's work, sometime Visual Studio work in a strange way...
Thanks for you answer!
Charles
Hi,
I'm using CreateProcess to start a c# application from a c++ MFC dll. The c# application is a report tool functionning with crystal report and the mfc dll monitor keypress. When a certain sequence of key is pressed a report is supposed to be printed.
Everything is working fine except...
Hi,
I was using a program I made to print a report with Crystal report and C#. Everything was working fine. I decided to use it(or large part of it anyway) to build a new report(label format, 1"x4"inch). After having removed the part of the program I didn't needed and build the new report when...
Hi,
I want to create a application that read the keybard input even when it doesn't have the focus. the user will not interact with it in any way, I want it to start an application if the user input a specific string in any software that currently as the focus without interrupting or delaying...
Hi,
You must first create a Graphics object to perform your drawing. Take a look at System.Drawing.Graphics in the .NET framework.
Try this:
public static void updateWeatherMap ()
{
Graphics g;
Image weatherMap = Image.FromFile (@"outputMap/weathermap.gif")...
Did you find an answer to this problem? I seem to have the same thing happening to my app and I can't find a way to make it work properly. I've tried all this thread suggest before reading this and everything work fine except when I try to specify a printer. Printing on the default printer work...
Hi!
I'm using crystal report .NET to print report containing a image wich is in a dataset and other fields from the same dataset. When I print the report the image remain in 72dpi, not pretty at all in print. So to change that I created new bitmap to include in the dataset, those are at 300...
If I understand your code correctly you take bitmap from a database and save them as file.
In my problem I already have images in memory and I must put them in the dataset, effectively it is the reverse of what you explain. After some thinkering I've succeded in including the Image object in...
In a report containing many field I must include an image wich is traced with formulae and variable from a database. Since the image is different for each page of the report I decided that after tracing it with the GDI+ in C# I would include it in a dataset with the field from the report and 2...
I have a report in a C# project with 2 data set. If I add a field in a table wich is referenced by the first dataset I can't see my change in the field explorer in Visual Studio, do I forgot to do something? I see the change in the server explorer but never in the field explorer wich the report...
I must build a new application with a existing SQL Server database that cannot be modified. I was plannig to use the data adapters and datasets to acces the data but the data adapters have a 100 column limit. I know 100 columns are a lot but it serve it purpose in creating a Crystal Report...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.