Urgent, je suis bloqué

cs_fouroulou Messages postés 31 Date d'inscription jeudi 31 mars 2005 Statut Membre Dernière intervention 7 avril 2008 - 14 mai 2006 à 15:26
aminedelphi Messages postés 49 Date d'inscription samedi 26 janvier 2008 Statut Membre Dernière intervention 9 mars 2011 - 29 juil. 2008 à 01:35
<TD id=HB_Focus_Element vAlign=top width=\"100%\" background=\"\" height=250 body UNSELECTAB<>Bonjour,

j'ai posé cette question sur plusieurs forums, mais j'ai pas été convaincu,je la repose aujourd'hui autrement(peut être c'est mon jour de chance):

j'ai sur ma form :

- une DBGrid, un DBNavigator, une DBImage
- j'ai par ailleurs des photos(jpeg ou jpg)dans un dossier appelé photos qui se trouve dans le répertoire de l'application

la DBGrid comporte 3 colonnes:ID,Nom,Prénom

Ce que je voudreais faire:
afficher ces photos dans le DBImage, en cliquant sur le DBNavigator sachant que les photos sont nommées par le ID de la DBGrid

Merci encore et j'epère que je trouverai cette fois la réponse qui convient

2 réponses

neosystemsteam Messages postés 23 Date d'inscription vendredi 7 octobre 2005 Statut Membre Dernière intervention 28 juillet 2006 1
14 mai 2006 à 19:47
bonHHHH voilà t'a 2 choix:
1- Choix 1
* tu enregistre le chemain de l'image // SOLUTION 1
* tu rename l'image pour pour quelle convient avec l'ID
2- Choix 2
tu enregistre l'image dans ta base et fioni le problème
NB : les images doivent êtres des bitmaps (BMP)
0
aminedelphi Messages postés 49 Date d'inscription samedi 26 janvier 2008 Statut Membre Dernière intervention 9 mars 2011
29 juil. 2008 à 01:35
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ProgId" content="Word.Document" />
<meta name="Generator" content="Microsoft Word 11" />
<meta name="Originator" content="Microsoft Word 11" />
<link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CAmine%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" />
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:HyphenationZone>21</w:HyphenationZone>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tableau Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
Bonjour j’ai compris ta question j’ai la solution complète  a ton problème


si tu est encore intéresse ta qua m’envoyer un message pour
confirmation
0
Rejoignez-nous