|
Hi,
In the default PrintPreviewDialog, theres an option to show more than one page at a time. Does anyone know how this is done? or any articles on how to reproduce this functionallity.
Regards,
Gareth.
|
|
|
|
|
Fixed it. You just need to change:
printPreviewControl.Rows
printPreviewControl.Columns
|
|
|
|
|
Hi,
I want to create a task in outlook but without using my local profile. I want to use a common profile to create the task in outlook so that if anyone uses my utility, the task should get created in the Task List of that profile not in the profile stored locally in outlook. It will be used within a common domain.
Eg: Outlook Profile to use for task creation: admin@abc.com
Local Outlook Profile: xyz@abc.com
Now after running the utility locally in my system.
Result Should be
A task should get created in Task list in Outlook profile for admin. And if required I can send by using Send function of TaskItem to any mail-id.
Thanks
NK
|
|
|
|
|
You *might* be able to do this by using the Office PIAs, but I seriously doubt it as it's a HUGE security breach. I'm not even certain if this can be done with the PIAs (at least not anywhere that I have seen... and I have done a LOT of work with Outlook).
I'll do some checking on this, but i have a feeling that you are going to be stuck using your default profile or at best having Outlook open up the Choose Profile dialog box.
HTH,
~dnc
|
|
|
|
|
Hello,
Thanks for your nice reply. Please do send me the solution if you get any.
Regards,
NK
|
|
|
|
|
Hello Friends ,
I have a small query. Can we install the satellite assembly in GAC?
If yes how to do that??.
Thanks in advance.
Rahul Kulkarni
|
|
|
|
|
|
|
Welcome.
Regards,
Satips.
|
|
|
|
|
Dear All
How to read a comma-delimited, or some other form of delimitation from a Text file into a Dataset using c#. I want to import data from the text file into database.
Thanx
|
|
|
|
|
You can use the Split() method of the string class to get the individual pieces of data from that text.
After that inserting it into database is pretty straight-forward.
|
|
|
|
|
Is it possible to convert text to handwriting graphics programatically.
If yes then tell me to start with it.
Regards
|
|
|
|
|
IrfanHaleem wrote: If yes then tell me to start with it.
start with it!!
you'd have to create images with proper letters.. load them into some list and then draw them onto some "canvas" - Graphics of (probably) Bitmap object..
life is study!!!
|
|
|
|
|
You could use a label/textbox/... with a script font, i.e. a font resembling handwriting.
Examples: Bickley Script, Blackadder ITC, Brush Script MT, Edwardian Script ITC,
Fine Hand, Freestyle Script, Gigi, and many more.
|
|
|
|
|
Hello
How can I export data from excel and import to sql server with c#?
thank you
t
|
|
|
|
|
You can open an OLEDB connection to read the data from Excel. If you are using SQL-Server 2005 then there is a SqlBulkCopy task that allows you to stream-in a DataReader instance.
|
|
|
|
|
|
In that case you will need to set up a SqlCommand instance and execute for each row in the Excel DataReader.
|
|
|
|
|
I want to know that is it possible to convert Text to handwriting graphics programatically.
If Yes then tell me how to start with it.
|
|
|
|
|
There are fonts that look like cursive writing. HansHand and Monotype Corsiva come to mind.
Try rendering the text with one of these fonts.
Cheers,
Vıkram.
Déjà moo - The feeling that you've seen this bull before.
Join the CP group at NationStates. Password: byalmightybob
|
|
|
|
|
can you give 2/3 lines of code .
I want to know how to use fonts. please
|
|
|
|
|
Check out the DrawString method on the Graphics object.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
MessageBox.Show(Convert.ToString(1/3));
I dont want it to be rounded to 0!
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
MessageBox.Show(Convert.ToString((float)1/3));
sorry
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Better to go with double s. If precision really matters (eg: dealing with money) go for decimal .
Cheers,
Vıkram.
Déjà moo - The feeling that you've seen this bull before.
Join the CP group at NationStates. Password: byalmightybob
|
|
|
|