This method cannot accept an assigned value (its lacks like an assigns parameter. )
HTMLViewer1.LoadPage=("/home/…/public_html/cgi-bin/JOURNAUX/"+Session.Cookies.Value(“initialmessage_lan”)+"/"+dossier+"/"+PopupMenu1.Text)
dim f As FolderItem
f = GetFolderItem( "/home/curseur/public_html/cgi-bin/JOURNAUX/"+Session.Cookies.Value("initialmessage_lan")+"/"+dossier+"/"+PopupMenu1.Text)
HTMLViewer1.LoadPage=(f)
Dim s as String = "/home/........./public_html/cgi-bin/JOURNAUX/"+Session.Cookies.Value("initialmessage_lan") _
+"/"+dossier +"/"+PopupMenu1.Text
Dim f As FolderItem = GetFolderItem(s, 3)
HTMLViewer1.LoadPage(f)
[quote=311484:@Alain Lortie]This method cannot accept an assigned value (its lacks like an assigns parameter. )
HTMLViewer1.LoadPage=("/home/…/public_html/cgi-bin/JOURNAUX/"+Session.Cookies.Value(“initialmessage_lan”)+"/"+dossier+"/"+PopupMenu1.Text)
What’s happen here?
Alain[/quote]
Its telling you
You can’t say “HTMLViewer1.LoadPage=”
get rid of the =
[quote]Dim s as String = “/home/…/public_html/cgi-bin/JOURNAUX/”+Session.Cookies.Value(“initialmessage_lan”) _
+"/"+dossier +"/"+PopupMenu1.Text
Dim f As FolderItem = GetFolderItem(s, 3)
HTMLViewer1.LoadPage(f)[/quote]
Parametres “HTML” expects type string, but this class folder.