0

inactive in the positive sense of being fixed and secured

Sách luyện thi toeftielts: English prepositions explained

Sách luyện thi toeftielts: English prepositions explained

TOEFL - IELTS - TOEIC

... driver’ together in a box in order to show that at the beginning of the scenario the driver is either in or very near the car: The carLandmarkThe driverSubject 23 24 Chapter 1.  Introduction and orientation ... a thing whose location the speaker wants to indicate This thing I will call the Subject of the preposition –– The phrase the table refers to another thing, the Landmark of the preposition The ... aspects of a path of movement: –– Its end: (8) a Put the bread in the oventhe endpoint.W –– Its beginning: (8) b The sound came from the housebeginning.W –– Its orientation, and whether the distance...
  • 288
  • 1,706
  • 0
Các hàm trong Visual Basic.doc

Các hàm trong Visual Basic.doc

Kỹ thuật lập trình

... strMaSDH As String = "" ' Dim strPwd As String = "" Dim cmdSqlCommand As SqlCommand = New SqlCommand("Select * " & t & " ", sqlConn) Dim cmdSqlCommand1 As SqlCommand = New SqlCommand("Select * ... As String, ByVal c As String, ByVal ma As String) As Boolean Dim sqlConn As SqlConnection = New SqlConnection(strCon) Dim strMa As String = "" Dim cmdSqlCommand As SqlCommand = New SqlCommand("Select ... Trim(Str(Val(Right(drSqldataReader1.GetString(0), 3)) + 1)), 3) If drSqldataReader1.GetDateTime(2) = Then If Val(so) < Val(so1) Then so = so1 End If End If madh = cngay & "DH" & Right("00" & so, 3) Loop End If Loop If strMaSDH = "" Then...
  • 3
  • 2,963
  • 60
Bài tập Visual Basic

Bài tập Visual Basic

Kỹ thuật lập trình

... As Integer, Shift As Integer, X As Single, Y As Single) IsMouseDown = True End Sub Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) If IsMouseDown Then ... Item – CommandButton Name Command1 Caption New Item – CommandButton Name Command2 Caption Open Item – CommandButton Name Command3 Caption Save Item – CommandButton Name Command4 Caption Print Item ... lblHelp Index: Item 3: Label Name: lblHelp Index: Item 4: Label Name: lblHelp Index: Item 5: TextBox Name: txtHelp Index: Item 6: TextBox Name: txtHelp Index: Item 7: TextBox Name: txtHelp Index:...
  • 114
  • 3,323
  • 9
Vitual Basic dùng Control data

Vitual Basic dùng Control data

Kỹ thuật lập trình

... gọi method MoveLast property EOF (End -Of- File) Recordset trở thành True Tương tự vậy, record thứ Recordset hiển thị, ta gọi method MovePrevious property BOF (Begin -Of- File) Recordset trở thành ... thành True Nếu Recordset chứa record hai properties EOF BOF True Đặc tính hiển thị liệu textboxex theo record thời (current record) gọi data binding hay data bound (buộc vào liệu) control TextBox ... SetControls(ByVal Editing As Boolean) ' Lock/Unlock textboxes txtTitle.Locked = Not Editing txtYearPublished.Locked = Not Editing txtISBN.Locked = Not Editing txtPublisherID.Locked = Not Editing ' Enable/Disable...
  • 10
  • 645
  • 1
Thủ thuật Visual Basic

Thủ thuật Visual Basic

Kỹ thuật lập trình

... Next Printer.Print strOut ' Gúãi text String Printer Printer.EndDoc ' Bùỉt àêìu in Nïëu bẩn mën in tûâng hâng thò dng: Printer.Print List1.List(i) ' Khưng cêìn phẫi dng vbVrLf Mën in chûä àêåm ... strFullPathFileName for input as #1 lstFriend.Clear ' Clear ListBox lstFriend Do While Not EOF(1) ' Read till End -Of- File Line Input #1, strALine ' Read a line lstFriend.AddItem strALine 'Add that line to ListBox ... Filename$) As String ' Read data from an Ini file in default Windows directory ' Filename$ : The Ini file name eg: myProg.ini ' SectionHeader$ : The Section name in Ini file eg: [System Var] ' VarName$...
  • 22
  • 741
  • 7
Biến và toán tử trong VISUAL BASIC.NET

Biến và toán tử trong VISUAL BASIC.NET

Kỹ thuật lập trình

... cách double click vào nút InputBox form nhập đoạn mã sau: Dim prompt, FullName As String prompt = "Nhập tên đầy đủ:" 'FullName = CStr(Me.IsInputChar(prompt)) FullName = InputBox(prompt) Label1.Text ... Chú ý: Có thể bạn gặp thông báo lỗi với hàm Inputbox Nó báo Inputbox không gian tên hàm nên sử dụng ta gọi Thực lỗi phát sinh bạn đặt tên dự án solution Inputbox trùng với tên hàm Đây ý đặt tên ... từ vào Biến thường dùng để nhận thông tin người dùng nhập vào từ điều khiển TextBox, ListBox, Menu,… Trong ví dụ sau với tập InputBox sử dụng hàm có tên InputBox Khi bạn gọi hàm chương trình hiển...
  • 14
  • 2,799
  • 14
Gỡ lỗi (DEBUG) trong chương trình VISUAL BASIC.NET

Gỡ lỗi (DEBUG) trong chương trình VISUAL BASIC.NET

Kỹ thuật lập trình

... Button1_click nhập vào đoạn mã sau: Dim tuoi As Integer If TextBox1.Text = "" Then MsgBox("Bạn tuổi?") Else tuoi = CInt(TextBox1.Text) If tuoi > 13 And tuoi < 20 Then TextBox2.Text = "Bạn thiếu niên!" ... Nhấn nút Step Into hay F11 để chuyển sang dòng lệnh Giờ bạn mở cửa sổ Autos cách chọn Debug | Windows | Autos Cửa sổ cho phép bạn xem tất xảy chương trình chạy Tiếp tục ấn nút Step Into hay F11 ... VB.NET, bạn mở lúc tới cửa sổ WATCH Để mở bạn chọn Debug | Windows | Watch Bạn mở lại dự án chạy lại chế độ ngắt Mở Watch1 theo cách Để theo dõi biến hay biểu thức bạn chọn cách bôi đen R-Click...
  • 5
  • 1,333
  • 5
Lập trình Web bằng Visual Basic

Lập trình Web bằng Visual Basic

Kỹ thuật lập trình

... Diverting - Detailed Diverting Call Waiting Call Barring - Bar Outgoing Calls Key Answer Only - Bar Incoming Calls - Int’l Calls - Int’l Calls Except Home - All Calls - Off - When Roaming - All ... Select Phone Line Adjust Ring Volume Ring or Vibrate Set Ringer Tone Set Ringer Tone Phone Lock Change SIM PIN2 Code - Ring Only - Vibrate - Vibrate Then Ring - No Ring or Vibrate - Standard Tone ... SIM Capacity - Prevent Access Fixed Dialling One-Touch Dial Setting -View Fixed Dial List -Setup Fixed Dialling_ Enter PIN2 - To Phone M em ory - To SIM M emory - To Fixed Dial List - No Memory...
  • 231
  • 1,495
  • 8
Hướng dẫn lập trình Visual Basic .NET

Hướng dẫn lập trình Visual Basic .NET

Kỹ thuật lập trình

... As Integer ' Identify the Listbox item that has mousedown using mouse coordinates ItemIndex = ListBox1.IndexFromPoint(New System.Drawing.Point(e.X, e.Y)) ' Start the DragDrop process passing ... System.Reflection.Assembly.GetExecutingAssembly.Location ' Locate the last slash in the pathname string Pos = InStrRev(AppPath, "/") ' Extract the part up to the backslash AppPath = VB6.Left(AppPath, Pos) ' Initialise the tooltip ... VS.NET cho bạn Command Window để ta enter VS.NET commands để manipulate IDE, xử lý macros, v.v Để hiển thị Window nầy bạn dùng menu command View | Other Windows | Command Window Để tiện hơn,...
  • 133
  • 1,952
  • 15
Giáo trình Visual Basic

Giáo trình Visual Basic

Kỹ thuật lập trình

... 'CommandButtons, and sets the size and 'position of the label 'Center the form on the screen This works by 'setting the Left side of the form to the center 'of the screen, less half the width of the ... 'Set the value of the form's LEFT property to 'the right of the screen but bring it back across 'the screen the width of the form, so that the 'right side of the form is on the right 'side of the ... cmdBottomLeft_Click() 'Set the value of the form's TOP property 'to the bottom of the screen but bring 'it up the height of the screen so that the 'bottom of the form is on the bottom of 'the screen frmMove.Top...
  • 259
  • 1,292
  • 22
Phân tích Top Down

Phân tích Top Down

Kỹ thuật lập trình

... thái thành công? A) Phân tích theo sản xuất (1)(3)(2) (2)(3) B) Phân tích theo sản xuất (1)(3)(4)(2)(3) C) Phân tích theo sản xuất (3)(4)(2) (2) (3) D) Phân tích theo sản xuất (1)(3)(4)(3)(2) ... công? Phân tích theo sản xuất (1) (2) (2) (4) (5) B) C) D) Đáp án Câu 17 A) Phân tích theo sản xuất (1) (2) (2) (3) (4) (3) Phân tích theo sản xuất (2) (2) (3) (4) (3) Phân tích theo sản xuất (1) ... Câu 18 A) B) C) D) Đáp án B Văn phạm sau phân tích theo phương pháp Topdown? G = {S→ ΑΒ; Α → 0Α|S1; Β → 1A| 0} C Văn phạm sau KHÔNG phân tích theo phương pháp Topdown? G = {S→ ΑΒ; Α → 0Α|S1; Β...
  • 6
  • 1,601
  • 4
Chào mừng đến với Visual Basic

Chào mừng đến với Visual Basic

Kỹ thuật lập trình

... dụ minh họa cách dùng function hay property Microsoft on the Web Web site Microsoft chứa nhiều thông tin cập nhật cho người lập trình VB6 Trang chủ Visual Basic đặt URL http://www.microsoft.com/vbasic/ ... Để truy cập Web site Microsoft, từ menu Help chọn Microsoft on the Web chọn menu tùy thích Ghi chú: Một số nội dung Web site Microsoft tối ưu hóa dành cho Microsoft Internet Explorer display đầy ... mở rộng hay làm nhỏ window cách dời cạnh vertical hay horizontal Khi để window lên window khác chúng tìm cách dính Trong hình đây, Properties Window Form Layout kéo cho floating Nhận trợ giúp làm...
  • 8
  • 577
  • 2
Viết code trong Visual basic

Viết code trong Visual basic

Kỹ thuật lập trình

... TLen, TMess TMess = "" ' Initialise temporary String to null string For i = To Len(txtOriginalString.Text) ' Iterate from the first chracter to the last character of the string ' Check if chracter ... Mid(TStr, i + 1) ' String including character "c" ' Discard the rightmost character which is "c" and convert the price string to single number Price = CSng(Left(PriceInCents, Len(PriceInCents) - 1)) ... FromNo = CInt(txtFromNumber.Text) ' Convert Text string internal number b?ng Function CInt ToNo = CInt(txtToNumber.Text) ' Convert Text string internal number b?ng Function CInt Total = ' Initialise...
  • 10
  • 3,318
  • 50
Debug trong Visual Basic

Debug trong Visual Basic

Kỹ thuật lập trình

... Prefix with Time and Date Dim FileNo, LogFileName, theFolder If HasFolder Then LogFileName = GivenFileName Else If Right(App.Path, 1) "\" Then theFolder = App.Path & "\" Else theFolder = App.Path ... chạy lại Để hiển thị Immediate Window, dùng Menu command View | Immediate Window Thay đánh "Print ICounter" bạn đánh "? ICounter" Nhớ VB Statement bạn đánh Immediate Window executed bạn bấm Enter ... Msg As String, HasFolder As Boolean, IncludeTimeDate As Integer) ' Append event message Msg to a text Logfile GivenFileName ' If GivenFileName is fullPathName then HasFolder is true ' IncludeTimeDate...
  • 8
  • 1,662
  • 13
Tự tạo Object trong visual basic

Tự tạo Object trong visual basic

Kỹ thuật lập trình

... Draw(X As Integer, Y As Integer) Public Sub DrawBox(Canvas As Object, Optional fColor As Long) If IsMissing(fColor) Then Canvas.Line (mX, mY)-(mX + mWidth, mY + mHeight), , B Else Canvas.Line (mX, ... mHeight As Integer Public Property Let X(ByVal vValue As Integer) mX = vValue End Property Public Property Get X() As Integer X = mX End Property Public Property Let Y(ByVal vValue As Integer) ... DrawBox(Canvas As Object, Optional fColor As Long) If IsMissing(fColor) Then Canvas.Line (mX, mY)-(mX + mWidth, mY + mHeight), , B Else Canvas.Line (mX, mY)-(mX + mWidth, mY + mHeight), fColor, B End...
  • 8
  • 956
  • 9
Sử dụng Menu trong Visual Basic

Sử dụng Menu trong Visual Basic

Kỹ thuật lập trình

... clsString ' Read the Most Recent Filename String from the Registry RecentFiles.Text = GetSetting(App.Title, "Settings", "RecentFiles", "") ' Assign the Delimiter character and tokennise the String ... SaveSettings End Sub Private Sub SaveSettings() ' Save Location of the form SaveSetting App.Title, "Location", "Left", Me.Left SaveSetting App.Title, "Location", "Top", Me.Top ' Save the setting of ... Sub Form_Load() ' Initialise Location of the form by reading the Settings from the Registry Me.Left = Val(GetSetting(App.Title, "Location", "Left", "0")) Me.Top = Val(GetSetting(App.Title, "Location",...
  • 11
  • 1,058
  • 5
Dùng Dialogs trong visual basic

Dùng Dialogs trong visual basic

Kỹ thuật lập trình

... As String ' Call local Sub getUserInfo to obtain UserName and Password GetUserInfo strUserName, strPassword If strUserName = "" Then MsgBox "Login failed or aborted", vbInformation, "login Aborted" ... strUserName & " logged in with password " & strPassword, vbInformation, "Login accepted" ' Check UserName and Password here ' If valid password then show the Main form of the program which is implemented ... ' frmMain.Show End If End Sub Private Sub GetUserInfo(ByRef sUserName As String, ByRef sPassword As String) ' Invoke frmLogin form in Modal mode frmLogin.Show vbModal ' As soon as frmLogin is...
  • 15
  • 984
  • 5
Các thành phần Component Basic

Các thành phần Component Basic

Kỹ thuật lập trình

... addItem(String s); // thêm item s String getItem(int index);// lấy item có số index String getSeclectedItem(); // trả item chọn int getSelectedIndex(); // trả index item chọn • Lớp nghe cài đặt giao tiếp ... repaint(); } Ví dụ: Applet tính tổng số • Demo // phuong thuc duoc goi ve lai cua so } public void paint(Graphics g) { int num1, num2, sum; String s1 = txtNum1.getText(); num1 = Integer.parseInt(s1); ... nhãn public Label(String s); // tạo nhãn với nội dung s public Label(String s, int align); // tạo canh lề void setText(String s); // đặt nội dung nhãn void setAlignment(int align); // canh lề...
  • 66
  • 456
  • 1

Xem thêm