Effet de pop up

Résolu
romain030988 Messages postés 3 Date d'inscription mercredi 25 février 2004 Statut Membre Dernière intervention 24 mars 2006 - 24 mars 2006 à 10:25
cs_JMO Messages postés 1854 Date d'inscription jeudi 23 mai 2002 Statut Membre Dernière intervention 24 juin 2018 - 24 mars 2006 à 15:04
Bonjour, sur www.lesproviders.com, il y a une sorte de pop up (au lancement du site), mais réellement s'en est pas un; il ne s'enlève pas avec un anti pop up c'est une sorte de fenetre intégré à la page.
Comment font t'il cela?
Merci

2 réponses

cs_DARKSIDIOUS Messages postés 15814 Date d'inscription jeudi 8 août 2002 Statut Membre Dernière intervention 4 mars 2013 130
24 mars 2006 à 11:04
Heu, c'est quoi le rapport avec VB ???

Il vaudrait mieux que tu aille poser ta question sur les forums consacrés aux sites web tel que celui de Php ou à la limite sur celui de Java (je ne serais pas étonné que cette fenêtre soit une applet java).

_

<spa></spa>
3
cs_JMO Messages postés 1854 Date d'inscription jeudi 23 mai 2002 Statut Membre Dernière intervention 24 juin 2018 27
24 mars 2006 à 15:04
Bonjour,
Dans certains scripts VBS, comme il n'y a pas de progreesbar, j'utilise:

' ################## AFFICHER UNE FENETRE D'INFORMATION
strComputer = "."
Set objWMIService = GetObject("Winmgmts:\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor")
For Each objItem in colItems
intHorizontal = objItem.ScreenWidth
intVertical = objItem.ScreenHeight
Next
Set objExplorer = CreateObject("InternetExplorer.Application")
objExplorer.Navigate "about:blank"
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Left = (intHorizontal - 800) / 2
objExplorer.Top = (intVertical - 100) / 2
objExplorer.Width = 500
objExplorer.Height = 180
objExplorer.Visible = 1
objExplorer.Document.Body.Style.Cursor = "wait"
objExplorer.Document.Title = fic & " - " & Now
objExplorer.Document.Body.InnerHTML = "
Création du fichier
""" &_
fic & """
en cours , merci de patienter.
"
''''''''''''''''''''''''''''''
'Ouverture base Access copiée à partir du server OxaLys
Set Db = CreateObject("ADODB.Connection")
Set Rs = CreateObject("ADODB.Recordset")
Db.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & MaBaseJor
Rs.Open MaRequete ,Db
'..actions de mon script.....
Set Rs = Nothing
Set Db = Nothing
'Set WshNetwork = Nothing


' ################## FERMER LA FENETRE
objExplorer.Document.Body.Style.Cursor = "default"
objExplorer.Quit
Set WshShell = Nothing
Set Fso = Nothing
Set objExplorer = Nothing
Set objWMIService = Nothing
3
Rejoignez-nous