المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ازاي اعمل في البرنامج ان الوقت يكون بالانترنت


Mahmoud Nabil
16-01-2024, 06:29 PM
عندي طلب غريب الي حد ما ازاي اخلي البرنامج يجلب الوقت من اللانترنت
وفي حالة فشل في الحصول علي الوقت من الانترنت يظهر الوقت المتاح في الكمبيوتر في رسالة عادي يعني اي البديل للأمر System.GetTime(1) بدون برضو الحاجة الي مفاتيح API موقع الكتروني
بمعني مثلا
انو لو جلب وقت الانترنت يظهر في رسالة لو فشل في جلب الوقت بالانترنت او الجهاز غير متصل بالانترنت يظهر رسالة اخري بالوقت الموجود في الحاسوب
ودا بسبب ان البطارية بتاعة الكمبيوتر الي بتكون في البوردة ضعيفه جدا ومش بتحفظ الوقت ونا محتاج الامر دا في برنامج بيخزن بيانات وبيجلب الوقت اثناء تخزين البيانات

مارجوم،
17-01-2024, 02:39 PM
try to explain better what exactly you have in mind
.....what you write is very confusing

Mahmoud Nabil
17-01-2024, 06:10 PM
try to explain better what exactly you have in mind
.....what you write is very confusing

I apologize for the misunderstanding
Suppose there is an Input named Time
It displays the time within the application
It is known that in this case we will use
Timeos = System.GetTime(1)
Input.SetText("Time", Timeos);
We want to fulfill the condition: If the computer is connected to the Internet, the clock is fetched through the Internet and not the clock inside the computer. If the computer is not connected to the Internet, the local clock inside the computer is fetched.
Is it possible to create a button that, when pressed, adjusts the clock in the system to the clock it retrieved from the Internet?

مارجوم،
17-01-2024, 06:39 PM
shall we say a project similar to the one in the TimeTool video?

Mahmoud Nabil
17-01-2024, 07:24 PM
shall we say a project similar to the one in the TimeTool video?

Indeed, what I saw in the video was amazing
It seems like a very large project, but I need the application to do this without user intervention

Mahmoud Nabil
22-01-2024, 10:54 AM
shall we say a project similar to the one in the TimeTool video?

:abc_091: :abc_091: :abc_091:

Mahmoud Nabil
30-01-2024, 12:26 PM
هل هناك اي مساعدة