Click here to Skip to main content
15,891,529 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to parse csv file into xml file Pin
DON34525-Apr-07 20:09
DON34525-Apr-07 20:09 
GeneralRe: How to parse csv file into xml file Pin
Rudolf Jan26-Apr-07 0:41
Rudolf Jan26-Apr-07 0:41 
GeneralRe: How to parse csv file into xml file Pin
DON34526-Apr-07 2:39
DON34526-Apr-07 2:39 
AnswerRe: How to parse csv file into xml file Pin
Vikram A Punathambekar25-Apr-07 21:04
Vikram A Punathambekar25-Apr-07 21:04 
QuestionMouse over a control Pin
Keshav V. Kamat25-Apr-07 18:37
Keshav V. Kamat25-Apr-07 18:37 
AnswerRe: Mouse over a control Pin
Nouman Bhatti25-Apr-07 19:04
Nouman Bhatti25-Apr-07 19:04 
AnswerRe: Mouse over a control Pin
Martin#25-Apr-07 20:16
Martin#25-Apr-07 20:16 
Questionsave file as atext...using v.s 2003 ! Pin
mr jets25-Apr-07 17:53
mr jets25-Apr-07 17:53 
i wanna to make aprogram that can draw (ellips , line,..) but i have problems with the save & open ..thats apart of the code:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Runtime.Serialization;

namespace graphics_practis
{
///
/// Summary description for Form1.
///

public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button line;
private System.Windows.Forms.Button square;
private System.Windows.Forms.Button circle;
private System.Windows.Forms.Button ellipse;
private System.Windows.Forms.Button polygon;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button ok;
private System.Windows.Forms.MainMenu mainMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.MenuItem menuItem3;
private System.Windows.Forms.MenuItem menuItem4;
private System.Windows.Forms.MenuItem menuItem5;

private BinaryFormatter formtter = new BinaryFormatter();
private FileStream str_reader;

private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;

private System.Windows.Forms.SaveFileDialog saveFileDialog1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
///
/// Required designer variable.
///

private System.ComponentModel.Container components = null;
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
dr = new draw(this.pictureBox1);
}
static void Main()
{
Application.Run(new Form1());
}

private void menuItem4_Click(object sender, System.EventArgs e)
{
//saving
FileStream outStream=File.Create(saveFileDialog1.FileName);//To create text file
Stream streamWriter=new StreamWriter(outStream);
}
private void menuItem3_Click(object sender, System.EventArgs e)
{
//opening
FileStream outStream=File.Create(saveFileDialog1.FileName);//To create text file
StreamWriter streamWriter=new StreamWriter(outStream);
}

the error...>>(cannot implicity convert type 'System.IO.StreamWritet'to 'System.IO.Stream'.
AnswerRe: save file as atext...using v.s 2003 ! Pin
Christian Graus25-Apr-07 19:22
protectorChristian Graus25-Apr-07 19:22 
GeneralRe: save file as atext...using v.s 2003 ! Pin
mr jets26-Apr-07 5:22
mr jets26-Apr-07 5:22 
GeneralRe: save file as atext...using v.s 2003 ! Pin
Christian Graus26-Apr-07 11:16
protectorChristian Graus26-Apr-07 11:16 
GeneralRe: save file as atext...using v.s 2003 ! Pin
mr jets26-Apr-07 13:00
mr jets26-Apr-07 13:00 
GeneralRe: save file as atext...using v.s 2003 ! Pin
Christian Graus26-Apr-07 22:08
protectorChristian Graus26-Apr-07 22:08 
Questionpostback or DoPostback Pin
karl170125-Apr-07 14:46
karl170125-Apr-07 14:46 
AnswerRe: postback or DoPostback Pin
karl170125-Apr-07 16:17
karl170125-Apr-07 16:17 
Questionsave & open file... Pin
mr jets25-Apr-07 14:32
mr jets25-Apr-07 14:32 
AnswerRe: save & open file... Pin
Christian Graus25-Apr-07 14:43
protectorChristian Graus25-Apr-07 14:43 
GeneralRe: save & open file... Pin
mr jets25-Apr-07 15:10
mr jets25-Apr-07 15:10 
GeneralRe: save & open file... Pin
Christian Graus25-Apr-07 15:14
protectorChristian Graus25-Apr-07 15:14 
GeneralRe: save & open file... Pin
mr jets25-Apr-07 15:19
mr jets25-Apr-07 15:19 
GeneralRe: save & open file... Pin
mr jets25-Apr-07 16:21
mr jets25-Apr-07 16:21 
QuestionInteger/Decimal control in Windows Froms Pin
Nooie25-Apr-07 13:59
Nooie25-Apr-07 13:59 
AnswerRe: Integer/Decimal control in Windows Froms Pin
Christian Graus25-Apr-07 14:21
protectorChristian Graus25-Apr-07 14:21 
QuestionCombinations or Permutations or something else?? Pin
allenmpcx25-Apr-07 12:18
allenmpcx25-Apr-07 12:18 
AnswerRe: Combinations or Permutations or something else?? Pin
Arun.Immanuel25-Apr-07 15:08
Arun.Immanuel25-Apr-07 15:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.