Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 08-06-2010, 02:29 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2010
Posts: 2
Question vb.net or C# to enable/disable LAN


Hi all

im having dataone 500 plan.So to automate the night download have written code in vb.net to restart modem, enable/disable the network connection, start/stop softwares etc..It was done for the windows XP machine and worked fine for last 1 year..Now i installed windows 7 but not able to access the network connections from vb.net..Can some one help me out? Vb.net or C# code please

Thanx and regards
CsK
mr.csk is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-06-2010, 11:54 PM   #2 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 828
Default Re: vb.net or C# to enable/disable LAN

can u post ur program code?? may be some changes are required. also in which edition of vb.net you wrote this code. i mean in vb.net 2005 or 2008 or in any other edition??
abhijangda is offline   Reply With Quote
Old 09-06-2010, 12:43 AM   #3 (permalink)
Super Moderator
 
asingh's Avatar
 
Join Date: May 2008
Location: New Delhi
Posts: 5,548
Default Re: vb.net or C# to enable/disable LAN

^^
You must be calling some API, that could have changed. Check it out again.
__________________
MSI P45 Platinum(BIOS v1.7B)|Q9550[E0]@3.85Ghz@1.320V[453x8.5]MCH@1.184V|ICH@1.55V|DDR_V_Ref_A_B@1.05V|NH-D14|Corsair TWIN2X4096-8500C5(5-5-5-15)@1089Mhz@2.14V
2xHD4890[Xfire]@1000/900[MEM/GPU]|Corsair 650TX|Seagate180GB+80GB+WD1TB|SONY-DVD-R|CM690|2x120mm Scythe Ultra Kaze|DELL S2409W|APC 1100VA|Scythe Kaze Server
Windows 7 Ultimate RTM - 64BIT|Catalyst 10.5 (8.14.10.0753) forced with RadeonPRO|PS3 160GB|Sony 40EX520|AC Ryan POHD Mini|APC 800VA|APC 800VA|D425KT|CM100 Elite|2TB WD|Acer D255

Test your spoiler tags before submitting
asingh is offline   Reply With Quote
Old 20-06-2010, 08:58 PM   #4 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: vb.net or C# to enable/disable LAN

Run it as administrator.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline   Reply With Quote
Old 20-06-2010, 09:37 PM   #5 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Smile Re: vb.net or C# to enable/disable LAN

Quote:
Originally Posted by dheeraj_kumar View Post
Run it as administrator.
+1

Run it as admin
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
vamsi360 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getin Admin Access in LAn Ron Software Q&A 8 24-04-2010 10:03 PM
Sending image from VB.net to Matlab and vice versa furia_bhavesh Programming 0 12-04-2010 11:51 AM
LAN port not working suniltr77 Hardware Q&A 2 25-01-2010 08:08 PM
Requirements for Setting Up A Home Network caje143 Software Q&A 2 05-04-2007 04:52 AM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2