How to make a (preferably silent) popup dialog box?

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
darkwiz gave me a preparejava process to make an alert but it makes the windows 'bong!' noise :P. I would prefer no noise- i guess its a small thing but its a preference id like if its easy enough to do :-).

Im making a template to check youtube rankings and i want it to display them all in a popup alert once completed.
 

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
nm i did it. My very first c# programming yay :P!
 

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
Hmm ok now i have an issue showing the result of the variable in the c# code

Can someone see what the problem with my code is? The dialog opens but it wont show the variable reuslts.

Код:
string result = project.Variables["result"].Value;

System.Windows.Forms.MessageBox.Show(result);
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Check if variable value is not blank.

 

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
Ok, there was my problem. A schoolboy error :P! Cheers.
 

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)