Télécharger le zip
marche pas ( WINXP )
ben pareil marche pas sous xp, j'ai l'impression qu'il me sort des resultats differents lors de l'execution des dll je continu les tests et je vous dis quoi
Dommage, Win2000 marche presque, Le dll rnaui.dll que j'ai telecharge n'est pas le meme que celui de Arsena, L'error est que la function n'est pas trouvéPeu tu m'aider ArsenaGuy van der Velden
Il manque rnaui.dll ...
ouais domage ...Enfin, j'ai entendu parler d'un code utilisant rasdial ou qlq chose dans le genre ... ++
sais tu comment faire pour activé une connection au reseau local ?
Marche t'il sous windows 2000 ?
Pour une activation du reseau local (connexion internet via lan)en VBS: modifier eventuellement le nom de la connexion et du repertoire.Const ssfCONTROLS =3sConnectionName ="Local Area Connection"sEnableVerb ="En&able"sDisableVerb ="Disa&ble"set shellApp =createobject("shell.application")set oControlPanel =shellApp.Namespace(ssfCONTROLS)set oNetConnections =nothingfor each folderitem in oControlPanel.items if folderitem.name ="Network Connections" then set oNetConnections =folderitem.getfolder: exit for end ifnextif oNetConnections is nothing then msgbox "Couldn't find 'Network and Dial-up Connections' folder" wscript.quitend ifset oLanConnection =nothingfor each folderitem in oNetConnections.items if lcase(folderitem.name) =lcase(sConnectionName) then set oLanConnection =folderitem: exit for end ifnextif oLanConnection is nothing then' msgbox "Couldn't find '" & sConnectionName & "' item" wscript.quitend ifbEnabled =trueset oEnableVerb =nothingset oDisableVerb =nothings ="Verbs: " & vbcrlffor each verb in oLanConnection.verbs s =s & vbcrlf & verb.name if verb.name =sEnableVerb then set oEnableVerb =verb bEnabled =false end if if verb.name =sDisableVerb then set oDisableVerb =verb end ifnext'debugging displays left just in case...'msgbox s ': wscript.quitmsgbox "Enabled: " & bEnabled ': wscript.quit'not sure why, but invokeverb always seemed to work 'for enable but not disable. ''saving a reference to the appropriate verb object 'and calling the DoIt method always seems to work.'if bEnabled then' oLanConnection.invokeverb sDisableVerb oDisableVerb.DoItelse' oLanConnection.invokeverb sEnableVerb oEnableVerb.DoItend if'adjust the sleep duration below as needed...''if you let the oLanConnection go out of scope'and be destroyed too soon, the action of the verb'may not take...'wscript.sleep 1000
le source : http://groups.google.co.uk/group/microsoft.public.scripting.vbscript/msg/2b3fab1141c6c93e?dmode=source&hl=en
osus xp pro la deconnexion fonctionne mais pas la connexion ! Pour le fichier rnaui.dll voici un lien pour le downloader http://www.dll-files.com/dllindex/dll-files.shtml?rnauiQuelqu'un peut me dire s'il a réussi a faire fonctionner la connexion sous xp ?Merci
encore mieux :http://jc.bellamy.free.fr/fr/vbsdownload.html#connexion@+
Se souvenir du profil
Mot de passe oublié ? / Activation de compteCréer un compte
1 873 873 membres 156 nouveaux aujourd'hui 16 151 membres club