小编Pet*_*ter的帖子

批处理文件 - 使用ping来测试网络连接

使用批处理文件可以执行以下操作:

ping google.com

如果返回成功做ECHO您已连接到互联网

否则返回ECHO您没有连接到互联网

windows file batch-file

9
推荐指数
1
解决办法
8万
查看次数

如何使C#应用程序充当服务?

我开发了一个C#程序,虽然当我尝试从中创建一个服务时,例如

sc create "servicetest" binPath= 
   "C:\Users\Admin\Desktop\test\test.exe" start= auto error= ignore
Run Code Online (Sandbox Code Playgroud)

我收到以下消息:

[SC] StartService FAILED 1053:

The service did not respond to the start or control request in a timely fashion.
Run Code Online (Sandbox Code Playgroud)

.net c# windows

4
推荐指数
1
解决办法
627
查看次数

如何在C#中每2小时调用一次方法

如何在C#中每2小时调用一次方法

例如,可能每2小时发生一次点击事件

.net c# timer winforms

2
推荐指数
2
解决办法
5608
查看次数

标签 统计

.net ×2

c# ×2

windows ×2

batch-file ×1

file ×1

timer ×1

winforms ×1