发新话题
打印

VB questions

VB questions

I'm facing the following questions:

1. How to pass parameters between two or more forms?

2. How to keep the value of varibles between two or more forms?

3. How to clear the old data in screen and display /input new data in new screen?

TOP

Thanks again.

TOP

引用:
原帖由 风雨声中 于 2006-8-1 09:58 发表
3.我不明白你的意思,你的意思是抓图吗?
I give an example in Pascal. But how to convert it to vb?

Program example;
{This is an example program for input and output}

uses Crt;
var


name : string[30];
begin

clrscr;          {This clears the screen}
write ('What is your name? '); {Writes the question without moveing the cursor to the next line}
readln (name); {take input from user}
writeln ('Hello ', name); {Output Hello joebob}
while not keypressed do; {waits for a key to be pressed}

end.

TOP

Thanks.

TOP

发新话题