Click here to Skip to main content
15,885,914 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.NET Connect to Server Pin
Dave Kreskowiak17-May-07 15:39
mveDave Kreskowiak17-May-07 15:39 
QuestionRe: VB.NET Connect to Server Pin
Socheat.Net17-May-07 15:52
Socheat.Net17-May-07 15:52 
AnswerRe: VB.NET Connect to Server Pin
Christian Graus17-May-07 16:29
protectorChristian Graus17-May-07 16:29 
QuestionRe: VB.NET Connect to Server [modified] Pin
Socheat.Net17-May-07 16:51
Socheat.Net17-May-07 16:51 
GeneralRe: VB.NET Connect to Server Pin
Dave Kreskowiak17-May-07 16:55
mveDave Kreskowiak17-May-07 16:55 
GeneralRe: VB.NET Connect to Server Pin
Christian Graus17-May-07 18:13
protectorChristian Graus17-May-07 18:13 
GeneralRe: VB.NET Connect to Server Pin
Dave Kreskowiak17-May-07 18:57
mveDave Kreskowiak17-May-07 18:57 
QuestionRead from text file Pin
mr jets17-May-07 12:26
mr jets17-May-07 12:26 
heloo guys.. u really doing agreat job ..any way i have created strings for each shape (lines,polygons,..) each string contains informations about the shape( x1,y1,x2,y2,R,G,B,pen width) ..Now how can i make my prog read from the text and draw the shapes ..as example the line string :
public void AddSv(Line l , ref string str)
{
if(drawwhat==1)// as one means lines
str +="1"+"\n"+l.First.X.ToString()+"\n"+
l.First.Y.ToString()+"\n"+
l.Second.X.ToString()+"\n"+
l.Second.Y.ToString()+"\n"+
l.Pen.Color.R.ToString()+"\n"+
l.Pen.Color.G.ToString()+"\n"+
l.Pen.Color.B.ToString()+"\n"+
l.Pen.Width.ToString()+"\n\n";
after i draw the line i click on save to send the informations to the text :
private void button1_Click(object sender, System.EventArgs e)
{
//save
System.IO.FileStream fs = new System.IO.FileStream("c:\\graphics.txt", System.IO.FileMode.OpenOrCreate, System.IO.FileAccess.Write, System.IO.FileShare.ReadWrite);
StreamWriter streamWriter=new StreamWriter(fs);
streamWriter.WriteLine(LineSv);
streamWriter.Flush();
streamWriter.Close();
fs.Close();
}as u can see i dealing vs 2003 .
Regards;;)


AnswerRe: Read from text file Pin
Christian Graus17-May-07 13:29
protectorChristian Graus17-May-07 13:29 
GeneralRe: Read from text file Pin
Dave Kreskowiak17-May-07 15:28
mveDave Kreskowiak17-May-07 15:28 
GeneralRe: Read from text file Pin
mr jets17-May-07 15:43
mr jets17-May-07 15:43 
GeneralRe: Read from text file Pin
Christian Graus17-May-07 15:57
protectorChristian Graus17-May-07 15:57 
GeneralRe: Read from text file Pin
mr jets17-May-07 16:18
mr jets17-May-07 16:18 
GeneralRe: Read from text file Pin
Christian Graus17-May-07 16:32
protectorChristian Graus17-May-07 16:32 
QuestionCrystal reports XI r.2 and Vb.net (subreports) Pin
VbdevMartin17-May-07 10:52
VbdevMartin17-May-07 10:52 
QuestionOpen .txt file for exclusive use Pin
dBrong17-May-07 10:36
dBrong17-May-07 10:36 
AnswerRe: Open .txt file for exclusive use Pin
Dave Kreskowiak17-May-07 10:58
mveDave Kreskowiak17-May-07 10:58 
QuestionSending a filename to a Fortran app Pin
matt_hirst17-May-07 9:25
matt_hirst17-May-07 9:25 
AnswerRe: Sending a filename to a Fortran app Pin
Dave Kreskowiak17-May-07 11:09
mveDave Kreskowiak17-May-07 11:09 
GeneralRe: Sending a filename to a Fortran app Pin
matt_hirst20-May-07 2:32
matt_hirst20-May-07 2:32 
GeneralRe: Sending a filename to a Fortran app Pin
Dave Kreskowiak20-May-07 4:42
mveDave Kreskowiak20-May-07 4:42 
QuestionCondition Property Syntax Pin
Karma3125117-May-07 9:25
Karma3125117-May-07 9:25 
QuestionService deployment question? Pin
tcombs0717-May-07 8:53
tcombs0717-May-07 8:53 
AnswerRe: Service deployment question? Pin
Joseph Guadagno17-May-07 10:15
Joseph Guadagno17-May-07 10:15 
QuestionLooking for existing data... Pin
CCG317-May-07 7:35
CCG317-May-07 7:35 

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.