<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=unicode" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.7600.16444"></HEAD> <BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" name="Compose message area">Sveiki,<BR><BR>kaip pradedantysis, turiu kelis klausimus:<BR><BR>1. kaip paspaudus migtuka [Button1_Click] istrinti irasytus duomenis is [textbox1]<BR>2. kaip padaryti, kad irasius skaicius i [textbox2] automatiskai pasispaustu mygtukas [button2_click]<BR><BR>dekui,<BR><BR>pvz: I [textbox2] nuskanuokim arba irasykim barkoda 259859198765 paspaudus knopke mums ismes produkta ir svori<BR><BR><EM><FONT color=#000080>Public Class Form1<BR> Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click<BR> TextBox3.Text = Mid(TextBox2.Text, 3, 5)<BR> TextBox4.Text = Mid(TextBox2.Text, 8, 2)<BR> TextBox1.Text = Mid(TextBox2.Text, 10, 3)<BR> If TextBox3.Text = 98591 Then<BR> TextBox5.Text = "PRODUKTAS1"<BR> ElseIf TextBox3.Text = 98592 Then<BR> TextBox5.Text = "PRODUKTAS2"<BR> ElseIf TextBox3.Text = 98593 Then<BR> TextBox5.Text = "PRODUKTAS3"<BR> ElseIf TextBox3.Text = 98594 Then<BR> TextBox5.Text = "PRODUKTAS4"<BR> End If<BR> End Sub<BR><BR> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<BR> <FONT color=#ff0000><STRONG>NZN KAIP CIA PADARYTI</STRONG></FONT><BR> End Sub<BR>End Class</FONT></EM></BODY></HTML>