Forum: C# Feb 7th, 2009 |
| Replies: 9 Views: 748 Thanks BlackSun! Now program don't need first serialize and working perfect! |
Forum: C# Feb 7th, 2009 |
| Replies: 9 Views: 748 I checked LizR all your suggestions - and I'm greatfull for them - but problem turns out elsewhere. Finally turns out that I cannot do deserialization without doing serialization first in this same... |
Forum: C# Feb 6th, 2009 |
| Replies: 9 Views: 748 Yes I moved car3.car to directory with deserialization exe file. When I debuging this program step by step in Visual Studio 2005, program opened this file. Using... |
Forum: C# Feb 6th, 2009 |
| Replies: 9 Views: 748 I used this code to serialize:
using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
[Serializable]
public class Car
{ |
Forum: C# Jan 16th, 2009 |
| Replies: 2 Views: 430 Yes, there is a explanation which I seek. It's solve my doubts. Thank's for the reply. |
Forum: C# Jan 16th, 2009 |
| Replies: 2 Views: 430 I had code:
Program.cs
----------
using System;
class Exercise
{
static void Main(string[] args)
{ |
Forum: C# Jan 16th, 2009 |
| Replies: 15 Views: 1,132 Hi!
I found simple tutorials from page TutorialX (address http://dal.functionx.com/index.htm). Search Left panel for section Computer Languages and click in the menu Menu C#3.0
(teach basics C#).... |
Forum: C# Jan 11th, 2009 |
| Replies: 4 Views: 1,062 Don't worry. First I collect all filenames from saved htm portal pages into one big Array (for me as very beginner in C# programming is the eaziest way to collect all filenames) and later using "for"... |
Forum: C# Jan 11th, 2009 |
| Replies: 4 Views: 1,062 Because all files which I wan't to rewrite belong to one big htm portal when one file depends from another. In this files we may find hyperlinks like eg:
<a... |
Forum: C# Jan 11th, 2009 |
| Replies: 4 Views: 1,062 I write application which continously reads and rewrites files (this program converts web links in htm files to local links, because I want use this files offline). When I wrote procedure:
//... |
Forum: C# Jan 9th, 2009 |
| Replies: 5 Views: 350 I didn't wrote this program. I find it on web pages tutorials from FunctionX. I am absolute beginer in Visual C# and so far I didn't found any book which is for absolute beginner (read: with no any... |
Forum: C# Jan 9th, 2009 |
| Replies: 5 Views: 350 Thanks for replay. All three private variables just a front highlighted line should be public - in this case program works fine.
Anyway thanks for replay. |
Forum: C# Jan 9th, 2009 |
| Replies: 5 Views: 350 Now I still learning C#, and in one of the tutorials I found this program:
using System;
namespace Returning_a_Class_From_a_Method
{
public class MVADate
{
private int... |
Forum: C# Jan 7th, 2009 |
| Replies: 7 Views: 2,167 Thanks. You explain my doubts for now.
By the way I had really strange programming teacher, which only saw his way programming (only in Java - not even Visual Java, but I learn Visual C# on my... |
Forum: C# Jan 7th, 2009 |
| Replies: 7 Views: 2,167 OK. So far I resolved problem in this way:
File Obliczenia.cs
------------------
namespace Test
{
public partial class Obliczenia : Form
// all variables made public |
Forum: C# Jan 7th, 2009 |
| Replies: 7 Views: 2,167 Ok. Even if I change in class outside all private to public - still doesn't work. I notice that if can use variable from another class (each class is in separate file - if they are in one file, this... |
Forum: C# Jan 7th, 2009 |
| Replies: 7 Views: 2,167 I had this three classes:
Start.cs:
---------
using System;
using System.Windows.Forms;
namespace Test
{ |