Comment lancer IE

edokt Messages postés 137 Date d'inscription mercredi 12 janvier 2005 Statut Membre Dernière intervention 30 septembre 2008 - 23 mars 2006 à 14:09
cs_mcoelho Messages postés 1 Date d'inscription mercredi 23 juin 2004 Statut Membre Dernière intervention 31 mars 2006 - 31 mars 2006 à 18:06
Bonjour



J'ai une application win mobile

Est ce que c'est possible d'ouvrir une page web quand on click sur un bouton de l'application



Merci

1 réponse

cs_mcoelho Messages postés 1 Date d'inscription mercredi 23 juin 2004 Statut Membre Dernière intervention 31 mars 2006
31 mars 2006 à 18:06
Essaye çà :
[DllImport("coredll.Dll")]



private
static
extern
int CreateProcess(
string strImageName,
string strCmdLine, IntPtr pProcessAttributes, IntPtr pThreadAttributes ,
int bInheritsHandle,
int dwCreationFlags, IntPtr pEnvironment, IntPtr pCurrentDir, Byte[] bArray, ProcessInfo oProc);







public
class ProcessInfo
{

public
int Process;

public
int Thread;

public
int ProcessID;

public
int ThreadID;
}



private
void btnInfo_Click(
object sender, System.EventArgs e)
{
ProcessInfo pi =
new ProcessInfo();
CreateProcess("iexplore.exe", www.google.fr, IntPtr.Zero, IntPtr.Zero, 0, 0, IntPtr.Zero, IntPtr.Zero,
new Byte[128], pi);
}

MC
0
Rejoignez-nous