在Windows 7和VB6上使用Shell函数 [英] Use shell function on windows 7 with vb6

查看:141
本文介绍了在Windows 7和VB6上使用Shell函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在Windows7上从vb6(带有Shell()函数)运行"net share"命令,但系统显示一条消息拒绝访问".错误在哪里?

Hi,

i run "net share" command from vb6 (with Shell() function) on windows7, but system shows me a message "Acces denied". Where is the error? Help me!

推荐答案

这里有很多错误

1-VB6一直都是垃圾,十年来已经过时且不受支持.我无法想像今天有任何明智的理由让任何人使用它,而不再受遗留代码的困扰

2-因为Windows7是新版本,并且安全性是新的重要功能,所以我敢打赌他们不会费心尝试使它们的新操作系统与过时且不受支持的语言一起使用API​​.
There''s many errors here

1 - VB6 was always rubbish, and has been obsolete and unsupported for a decade. I can''t imagine any intelligent reason for anyone to use it today beyond being stuck with legacy code

2 - because Windows7 is new, and security is the big new feature, I bet they are not bothering to try to make their new OS work with APIs in an obsolete and unsupported language.


这篇关于在Windows 7和VB6上使用Shell函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆