|
Should waited, I found it properties: Left and Top
God Bless,
Jason
DavidCrow wrote: It would not affect me or my family one iota. My wife and I are in charge of when the tv is on, and what it displays.
I do not need any external input for that.
|
|
|
|
|
I have a stupid problem. I dont know how to write the character " into a text writter. Can you help me?
|
|
|
|
|
tw.Write("You can use \" like this");
|
|
|
|
|
If you ever need to use special characters, which the IDE will tell you what they are, you need to use the escape character \. So you write and double quote ", use \".
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
I programming with C# and I want to print an image. Please help me !
System.Console.Write("Hello Everyone !");
|
|
|
|
|
Hello,
The "System.Drawing.Printing" namespace will help you.
There you find the Installed printers : System.Drawing.Printing.PrinterSettings.InstalledPrinters
Then you need following classes for the setting:
PrinterSettings (Here you can set the printer name)
PrintDocument (There is the Print() method)
In your PrintDocument instance you have to handle the PrintPage event, which will be raised after you call "Print()".
The PrintPageEventArgs e has a Member Graphics, where you can draw your bitmap into:
e.Graphics.DrawImage(yourbitmapinstance,0,0);
P.S.: Instances of PrinterSettings and PrintDocument have to be Dispose(), to not waste memory!
Hope it helps!
All the best,
Martin
|
|
|
|
|
Are you saying you want to print an image in the console?
The only way to speed up a Macintosh computer is at 9.8 m/sec/sec.
|
|
|
|
|
DataGrid: how disable select multi row with shift and arrow key?
thanks
|
|
|
|
|
Hello,
How is SFtp done with .NET? I have looked for Internet and have not found anything, alone components of payment.
I would like to be able programme it like.
Thanks,
Shiveta
|
|
|
|
|
Don't cross post message boards.
topcoderjax - Remember, Google is your friend.
|
|
|
|
|
|
Hello Judah,
This web already I saw. I already know that there are many components in Internet that do that, but are of payment. I need to know like doing it without using an existing library. The web that you have put is of a trial component. Long ago that I'm looking for it.
In any case thanks.
Shiveta
(forgives my language, I don't speak very well English)
.NET Developer
MCSD Certificate
|
|
|
|
|
Hi !
I am creating a software that will save the present state of all the applications running on the desktop (WinXP).
Can anyone point out the method to extract the filenames from the handles (or otherwise) of the files that are being accessed by processes and programs ?
For example : If I have opened xyz.docx in MS Word 2007 then I want to find out the name of the file ("xyz.docx") and its complete path through some mean which could be either :
1. Reading or extracting information from the Word 2007 process handle.
2. Through another non- handle based general method.
Kindly help !
Regards,
Aditya
|
|
|
|
|
|
Currently im learning to use the application development of VisualStudio 2005
i have created a basic local database with two forms, customer and order, with the obvious fields, CustomerID, Firstname etc in the Customer form. In the Order form i have OrderID(PK), CustomerID, Products, etc etc. I have setup my dataset and i have drag from the dataset to the form. i can input data in the form when running and it carrys the primary key through from Customer table to Order table and works fine. yet when i use the save button from the navigation bar that was automatically added to the form it does not save this data once i input test values.
Ive tried multiple tutorial videos from Microsoft C# express and VS help and i have even gone as far as using Visual Stuidos inbuilt 'howto' online help...which is useless to me
From this i would like to add two buttons which when clicked will save(update) and delete data to BOTH the tables.
Help with what code i need to put behind these two buttons would be much appreiciated.
Thanks
Cass
If any other information about my setup is needed just ask.
|
|
|
|
|
|
Thanks a mill..ill try it out tomorrow
Thanks
Cass
|
|
|
|
|
hi
at the moment i'm handling the doubleclick event.
how can i check whether a leaf node was doubleclicked or whether the user just double clicked whitespace?
thanks
|
|
|
|
|
Handle MouseDoubleClick event and then create instance of TreeViewHitTestInfo based on the parameter of the event
|
|
|
|
|
I use things like:
private void tvReports_MouseDoubleClick ( object sender , System.Windows.Forms.MouseEventArgs e )
{
System.Windows.Forms.TreeNode nod ;
if
(
( e.Button == System.Windows.Forms.MouseButtons.Left )
&&
( ( nod = this.tvReports.GetNodeAt ( e.Location ) ) != null )
)
{
|
|
|
|
|
I use things like this:
TreeViewHitTestInfo hit=treeview1.HitTest(e.Location)
you should write it in the event handler of OnNodeMouseDoubleClick
|
|
|
|
|
|
In my application based on framework 2.0 I want to give the user the possibility to create templates for a tree view. That is, I want to display a table (e.g., a DataGridView) that contains all the node names of the tree view and give the user the chance to define his own node names in a template (for example a different language). All my tree node names are stored in a resx file in my application. Do you have any idea how to implement something like this? Thanks.
|
|
|
|
|
Hi all!
I newbie programmer, and I finished a Windows application using C# 2.0 (VS 2005). All labels and menues in the Windows forms are in English but I'd like those labels and menues could change the language according to the chosen settings by the user.
Which is the best way to code a program with multi language labels and menues?
I'd appreciate any information about this subject.
Thank you in advance.
--
Adrián Córdoba
|
|
|
|
|
You should use resources and retrieve string during runtime
|
|
|
|