Link to home
Start Free TrialLog in
Avatar of Roger-T
Roger-T

asked on

How can I control the network card speed in win2k by using VB6.0

Dear all,
I have one question need your help. How can I control the network card speed(10Mbps or 100Mbps)in win2k by using VB6.0.If it is possible? Can you give me some suggestion or provide me related document?

Your help will highly appreciate
Thanks & Regards
Avatar of Frog357
Frog357

I just helped someone with this earlier, try this page:
https://www.experts-exchange.com/questions/20506497/Bandwith-control-software.html

It's possible to do this in VB, it's just a registry modification.

This allows you to throttle the computer so it doesn't use all available bandwidth.
Avatar of Roger-T

ASKER

Hi,
Many thanks for your quickly response, i will try it

Regards,
Avatar of Roger-T

ASKER

Hi,
I can't find the code "Psched " in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\(A) and "Psched\Parameters\Adapters\[GUID]" in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(B) in win2k. Should I create it? I have do that according to you mentioned in winxp but it seem not useful.I have a few question about the instruction. 1).create the key "Psched"
in (A)and create a new REG_DWORD value named NonBestEffortLimit,right? 2).what is the [GUID] number? can you give me more explanation? 3).add a new REG_DWORD value named NonBestEffortLimit in [GUID] same with 1,right? 4).If I want to switch the connection speed, I need to modify the value in (A)or (B) or only select one?

Please give me more instruction!
Thanks and Regards,  
Avatar of Roger-T

ASKER

Hi,
I can't find the code "Psched " in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\(A) and "Psched\Parameters\Adapters\[GUID]" in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(B) in win2k. Should I create it? I have do that according to you mentioned in winxp but it seem not useful.I have a few question about the instruction. 1).create the key "Psched"
in (A)and create a new REG_DWORD value named NonBestEffortLimit,right? 2).what is the [GUID] number? can you give me more explanation? 3).add a new REG_DWORD value named NonBestEffortLimit in [GUID] same with 1,right? 4).If I want to switch the connection speed, I need to modify the value in (A)or (B) or only select one?

Please give me more instruction!
Thanks and Regards,  
ASKER CERTIFIED SOLUTION
Avatar of Frog357
Frog357

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Roger-T

ASKER

Thanks Froq357 clear explanation,
I don't have the QoS install on my PC. I need to do the link test 10 or 100Mps via network adapter to a board, if the link speed is 10 full(or helf) mode that show on the computer, the LED will show like yellow on the board and if I switch the link speed to 100 full(or helf) mode by manual on the computer, the LED will show like green. So I think it is OK without QoS and this is why I need to control the link speed by programming.  
   
The GUID must include one key "DriverDesc" and the data like "D-link DFE-530 TX PCI Fast Ethernet Adapter(Rev B)" that the data is the description show on the computer, right?
 
I can't found "Psched\Parameters\Adapters\[GUID]" in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ directory in win2000. I also need to create the key "Psched","Parameters","Adapters" and "[GUID]" ,right? if so,I will try it again.

Thanks and Regards,



Roger-T:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
Avatar of DanRollins
Moderator, my recommended disposition is:

    Accept 's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
Moderator, my recommended disposition is:

    Accept Frog357's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer