|
Have you considered PDF? Nearly everyone has a PDF reader installed these days, and they can all print.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Do an internet search for c# open source reporting.
You will get loads of hits, so get your reading glasses on.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi all,
I am having one header file i.e., .h file in c++ and i want to add it to my c# windows application.
How can i do this ?
Thanks in advance.
|
|
|
|
|
You can't. C# has no concept of a header file. You need to create a class or struct.
Please at least look at some documentation on the language before you try using it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Add a C++ project to your projects. In the C++ project, create a class implementing the header file's methods and properties, then reference that C++ project from your C# projects. That's a few steps more complicated than we would like to have it, but it is feasible.
|
|
|
|
|
As Mark says, you can't.
You will need to recreate all the functions prototypes and constants in a C# class. Any structures that are used will also need to be recreated. You will need to make use of the contents of the System.Runtime.InteropServices[^] namespace.
You may find www.pinvoke.net[^] useful as most of the Windows things have already been done there.
|
|
|
|
|
You don't and can't use a header file in C#.
One of the advantages of using C# over C++ is precisely the fact that it doesn't use header files.
You can only use C++ header files indirectly in C# by referencing a C++ library,
which allows you to access anything declared as public in the header files
that were compiled into it.
|
|
|
|
|
Use the C preprocessor, but the code had better be valid C#.
|
|
|
|
|
I am new to creating WCF projects as well as windows phone 7.
I created a simple method in WCF which just returns a list of an object.
public List<Sticky> GetSticky()
{
return stickys;
}
I then used it very simply
Sticky[] test = client.GetSticky();
When I import the WCF dll via a service reference into a console app the method acts how it should. When I import the method into a Windows Phone 7 application it become an async method (not sure what this means)and doesnt return a list, it comes up void.
client.GetStickyAsync();
If anyone can help explain what is going on and help me to be a little less confused.
Thanks
|
|
|
|
|
Hi all ,
i need a help that i need to import excel to the sql database.
i saw the examples of doing the same, but the thing is that the columns in the excel will get change dynamically. So i want to do as like in SQL import and Export data doing.
It will create the table with respect to the excel (also we have option to choose our own table and map the columns).Like that i need to create the table with respect to the excel every time when i do import . What method should i use, Please help me.
Thanks in advance.
|
|
|
|
|
It seems as though you want the application to be all things to all people which is sure failure.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Do you have SSIS?
If you had to look that up then you probably don't.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Ha! I had to do that last week!
System.Data.IDataReader dr = db1.ExecuteReader
(
"SELECT * FROM [" + args [ 2 ] + "]"
) ;
db2.CreateTable ( args [ 3 ] , dr ) ;
db2.InsertData ( args [ 3 ] , dr ) ;
I'll leave the rest as an exercise.
|
|
|
|
|
Thanks piebald.. i will try this one... thanks and thank you very much for your time..
|
|
|
|
|
This[^] could help you.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
|
|
I hope i have clearly mentioned that i need to create the table dynamically with respect to the excel structure ?
|
|
|
|
|
Is there an article describing how to keep the client area of the tabControl from resizing when using flat button apperance?
tia
Rafone
Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
|
|
|
|
|
How can i get the actual time in c#
which will not get change even after we change system clock
*** application /pc were no internet connection
modified on Thursday, December 30, 2010 7:17 AM
|
|
|
|
|
|
thanks a lot for the reply
i am sorry i for got to update that my application don't have an internet connection
|
|
|
|
|
If you don't have internet connection, then you won't have a chance of detecting a changed system time. At least I can't think of any reasonable way. Sorry.
|
|
|
|
|
|
thanks for reply
i hope there should be some way other than using external clock..
coz applications like photoshop and all runs only 30 days ..
even if we change the system time
|
|
|
|