Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1422 connectés 

  FORUM HardWare.fr
  Programmation

  Bouton parcourir avec VB6 [URGENT - PARTIEL IMMINENT]

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Bouton parcourir avec VB6 [URGENT - PARTIEL IMMINENT]

n°77526
blueman_82
Posté le 02-12-2001 à 19:58:53  profilanswer
 

Comment faire pour sélectionner le chemin d'une images à l'aide d'un bouton sous visual basic ???? je trouve pas

mood
Publicité
Posté le 02-12-2001 à 19:58:53  profilanswer
 

n°77558
karlkox
Posté le 03-12-2001 à 03:08:28  profilanswer
 

' Utiliser pour rechercher un repertoire
Private Const BIF_STATUSTEXT = &H4&
Private Const BIF_RETURNONLYFSDIRS = 1
Private Const BIF_DONTGOBELOWDOMAIN = 2
Private Const MAX_PATH = 260
 
Private Const BFFM_INITIALIZED = 1
Private Const BFFM_SELCHANGED = 2
Private Const BFFM_SETSTATUSTEXT = (WM_USER + 100)
Private Const BFFM_SETSELECTION = (WM_USER + 102)
 
 
Private Type BrowseInfo
  hWndOwner      As Long
  pIDLRoot       As Long
  pszDisplayName As Long
  lpszTitle      As Long
  ulFlags        As Long
  lpfnCallback   As Long
  lParam         As Long
  iImage         As Long
End Type
 
Private m_CurrentDirectory As String ' Le repertoire courant
 
' Fonction pour rechercher un repertoires
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long
Private Declare Function SHBrowseForFolder Lib "shell32" (lpbi As BrowseInfo) As Long
Private Declare Function SHGetPathFromIDList Lib "shell32" (ByVal pidList As Long, ByVal lpBuffer As String) As Long
 
Tu as tout ce qu'il faut, maintenant à toi de jouer !

n°77586
Ciler
Posté le 03-12-2001 à 10:47:47  profilanswer
 

Peut tu fournir une explication plus précise de ce que tu veut faire s'il te plait ?
 
Tu veut que l'utilisateur puisse aller chercher l'image (ouverture d'une fenètre ouvrir)
Tu as déja le chemin, tu veut insérer l'image dans un contrôle...


---------------
And I looked, and behold a pale horse: and his name that sat on him was Death, and Hell followed with him. Revelations 6:8
n°77745
blueman_82
Posté le 03-12-2001 à 18:35:51  profilanswer
 

en fait g un formulaire, et je veux que l'utilisateur puisse aller chercher l'image (ouverture d'une fenètre ouvrir)

n°77746
[SDF]Poire
Vive Grumly
Posté le 03-12-2001 à 18:46:18  profilanswer
 

t'as un compo qui fait ça il me semble....


---------------
Des bons sites pour Delphi? http://forum.hardware.fr/forum2.php3?post=16838&cat=10 -- informaticien -- http://www.z0rglub.com/phpwebgallery/ -- Delphi :love:
n°77749
blueman_82
Posté le 03-12-2001 à 18:54:51  profilanswer
 

tu peux m'en dire un peu plus...je trouve pas

n°77757
[SDF]Poire
Vive Grumly
Posté le 03-12-2001 à 19:17:52  profilanswer
 

blueman_82 a écrit a écrit :

tu peux m'en dire un peu plus...je trouve pas  




Ca doit être un truc genre opendialog.... je sais + le nom en VB.... ça fait longtemps.... et il est + sur mon dur...


---------------
Des bons sites pour Delphi? http://forum.hardware.fr/forum2.php3?post=16838&cat=10 -- informaticien -- http://www.z0rglub.com/phpwebgallery/ -- Delphi :love:
n°79641
blueman_82
Posté le 08-12-2001 à 22:14:10  profilanswer
 

up

n°79662
[SDF]Poire
Vive Grumly
Posté le 08-12-2001 à 23:23:45  profilanswer
 

T'as pas encore trouvé ?


---------------
Des bons sites pour Delphi? http://forum.hardware.fr/forum2.php3?post=16838&cat=10 -- informaticien -- http://www.z0rglub.com/phpwebgallery/ -- Delphi :love:
n°79727
blueman_82
Posté le 09-12-2001 à 11:57:05  profilanswer
 

non pas vraiment.... tu peux me donner d'autres précisions ?

mood
Publicité
Posté le 09-12-2001 à 11:57:05  profilanswer
 

n°79728
[SDF]Poire
Vive Grumly
Posté le 09-12-2001 à 12:04:02  profilanswer
 

G pas VB d'installé, je suis sous Delphi.... donc.....


---------------
Des bons sites pour Delphi? http://forum.hardware.fr/forum2.php3?post=16838&cat=10 -- informaticien -- http://www.z0rglub.com/phpwebgallery/ -- Delphi :love:

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  Bouton parcourir avec VB6 [URGENT - PARTIEL IMMINENT]

 

Sujets relatifs
[HTML] Bouton submit de formulaire persoJAVASCRIPT HELP very urgent
URGENT asp (vb) problème de syntaxe[HTML] cacher une image, c possible? (urgent, comme tjs ;-) )
[FLASH] Rendre un bouton invisible[Pro du Html] faire un bouton add favoris + l'icon ds les favoris
[HS URGENT] Transférer une Base Oracle 6i vers un Oracle 9i[VB6] Creation d'un protocole ( style HDLC)
[Delphi] Urgent : Excel, changement de la feuille active[Javascript] comment désactiver un bouton?
Plus de sujets relatifs à : Bouton parcourir avec VB6 [URGENT - PARTIEL IMMINENT]


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR