Register and join over 40,000 other developers!
Recent Topics
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
-
Job Gig PHP Form Needed
PJohnson - Apr 18 2019 03:55 AM
-
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
-
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

36 replies to this topic
#13
Guest_Jordan_*
Posted 31 January 2009 - 04:24 PM
From this limited view, it looks great! I would +rep if I could from the mobile client.
Posted via CodeCall Mobile
Posted via CodeCall Mobile
#14
Posted 08 March 2009 - 05:29 AM
Hello there,
I am een very new newbie and 71 years old.
Thanks for the excellent tutorial, I followed all but have a error
-------------------------------------------
Error 1 The name 'prntDoc_PrintPage' does not exist in the current context C:\Documents and Settings\Guy\My Documents\Visual Studio 2008\Projects\NotePad\NotePad\Form1.cs 71 75 NotePad
------------------------------------------
At the function PrintPrevieuw
----------------------------------------------
Can you help me
and what does mean +rep that i saw several times ??
Thanks again
Guy van der Velden
I am een very new newbie and 71 years old.
Thanks for the excellent tutorial, I followed all but have a error
-------------------------------------------
Error 1 The name 'prntDoc_PrintPage' does not exist in the current context C:\Documents and Settings\Guy\My Documents\Visual Studio 2008\Projects\NotePad\NotePad\Form1.cs 71 75 NotePad
------------------------------------------
At the function PrintPrevieuw
----------------------------------------------
Can you help me
and what does mean +rep that i saw several times ??
Thanks again
Guy van der Velden
#15
Posted 10 March 2009 - 10:36 PM
It should be PrintPreview.
#16
Posted 11 March 2009 - 01:21 AM
private void printPreviewToolStripMenuItem_Click(object sender, EventArgs e) { System.Drawing.Printing.PrintDocument prntDoc = new System.Drawing.Printing.PrintDocument(); //Declare preview as a new PrintPreviewDialog PrintPreviewDialog preview = new PrintPreviewDialog(); //Declare prntDoc_PrintPage as a new EventHandler for prntDoc's Print Page prntDoc.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(prntDoc_PrintPreview); //Set the PrintPreview's Document equal to prntDoc preview.Document = prntDoc; //Show the PrintPreview Dialog if (preview.ShowDialog(this) == DialogResult.OK) { //Generate the PrintPreview prntDoc.Print(); } }-----------------------------------------------------------------------------
Hello K.
prntDoc_PrintPreview does not fonction, als your
prntDoc_PrintDoc does not fonction
Please review your code en help me
Guy van der Velden
Edited by WingedPanther, 11 March 2009 - 08:35 AM.
add code tags (the # button)
#17
Posted 21 March 2009 - 12:58 PM
Very good tutorial! I've completed it, saved it and built it etc but I can't find any .exe file where I saved it.. only the .cs files and a .net managed resource file. I have the latest framework installed and the program runs succesfully within visual c#.. any idea why this is happening? Please bare in mind I'm very new to c# and programming overall.
Thanks in advance.
EDIT:
I've found the .exe and it runs fine but none of the fuctions (save, save as, copy, etc) work, nothing happens.
EDIT 2!: Nevermind, sorted now..
Great tutorial!
Thanks in advance.
EDIT:
I've found the .exe and it runs fine but none of the fuctions (save, save as, copy, etc) work, nothing happens.
EDIT 2!: Nevermind, sorted now..
Great tutorial!
Edited by MrJoey, 21 March 2009 - 02:13 PM.
#18
Posted 30 May 2009 - 05:49 AM
Thanks
, +rep


#19
Posted 30 May 2009 - 07:29 AM
Nice, the screen shots are really blurry though.
#20
Guest_Jordan_*
Posted 30 May 2009 - 05:21 PM
Just two of them. What caused that?
#21
Posted 01 June 2009 - 07:48 AM
I kinda did it on purpose. To emphasize the ones that are needed.
#22
Posted 08 July 2009 - 07:56 PM
Brother, you are really a true helper.
GOD BLESS YOU.
GOD BLESS YOU.
#23
Posted 08 July 2009 - 11:31 PM
Nice work.... I like it very much it helps me a lot.
Microsoft: "You've got questions. We've got dancing paperclips
<a href="http://www.getzephyr.com">Test Management</a>
<a href="http://www.getzephyr.com">Test Management</a>
#24
Posted 19 July 2009 - 11:39 AM
People should always write their code like this.
You made a few mistakes though.
You made a few mistakes though.
Also tagged with one or more of these keywords: streamwriter
Language Forums →
C# →
Simple Text Editors in C#Started by ztc1234, 16 Sep 2012 ![]() |
|
![]() |
||
Language Forums →
C# →
Save String <List>Started by slava, 31 May 2012 ![]() |
|
![]() |
||
![]() |
Managed C++
Language Forums →
C and C++ →
[SOLVED] Scaning Bad ProcessesStarted by Tonchi, 27 May 2012 ![]() |
|
![]() |
|
Tutorial Forums →
C# Tutorials →
Export To Excel Easy (From Datatables)Started by BlackRabbit, 26 May 2012 ![]() |
|
![]() |
||
Tutorial Forums →
C# Tutorials →
StreamWriters and StreamReadersStarted by Cushpajz, 17 Dec 2011 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download