p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Visual C# 2005 (http://p2p.wrox.com/forumdisplay.php?f=222)
-   -   Chapter 16 Simple Text Editor (http://p2p.wrox.com/showthread.php?t=62848)

Lucy_H85 October 12th, 2007 05:13 AM

Chapter 16 Simple Text Editor
I am currently working my way through the first try it out in Chapter 16. This where a simple text editor windows application is created.

I have followed all the steps carefully but my application is not working as it should do. When the appropriate file path is entered into the command line in the Debug tab of the projects properties, is entered and the when the code is run, an error occurs saying that it could not find my selected drive.

After 'OK' is clicked on this error the program runs as normal or if I take out this command line and run the program with no errors, the .cs file of my current project doe not run immediately.

I have downloaded the code from this website and again the .cs file does not load when the program is run.

Can anyone help with this problem please?


Lucy_H85 October 12th, 2007 05:46 AM

I have now solved half of my problem. I have found out that my file path that I am entering into the command line has spaces in it as one of the folders names contains a space. C# is therefore reading this as two separate files. Is there any way that I can get C# to ignore or read these spaces appropriately?


All times are GMT -4. The time now is 12:44 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.