Mã lỗi 701 đưa ra là do các services tương tác bị lỗi.
Cách sửa:
Bước 1: Vào Run gõ services.msc (hoặc Windows+R và gõ lệnh tương ứng)
Bước 2: Ghi nhớ các tên này vào notepad hoặc ... (tùy ở bạn)
· Telephony (cái này trước nhé)
· Plug and Play
· Remote Access Auto Connection Manager
· Remote Access Connection Manager
Bước 3: Chọn tiếp chọn từng cái 1 trong các tên nêu trên ==> Chuột phải chọn Properties ==> Dòng Startup type chọn Manual ==> Dòng Services status chọn Start và nhấn ok (enter). Xong roài.
Thursday, December 12, 2013
Tuesday, December 10, 2013
Hiển thị ngày giờ hiện tại trong Java
1. Date() + SimpleDateFormat()
DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); Date date = new Date(); System.out.println(dateFormat.format(date));
2. Calender() + SimpleDateFormat()
DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); Calendar cal = Calendar.getInstance(); System.out.println(dateFormat.format(cal.getTime()));
Subscribe to:
Posts (Atom)