D domz Member Apr 28, 2021 #1 The code source below is originated in this site furom.. I change the source to my created Php File to Move Uploaded Photo To A Folder (pc localhost with xampp) source: 192.168.254.147 - my pc ip address My problem when compile the code (see pic) ..I got an error which I think EventName As String is not indicated ...But As I change it... The Code compiles The problem is .. If I clicked the "choose File button" no file chooser opens But when I manually visit php file from 192.168.254.147 USING chrome browser(android).. I can choose and upload with NO Error. I'm a beginner..Can Someone tells me the problem? Attachments Capture.PNG 40.8 KB · Views: 597
The code source below is originated in this site furom.. I change the source to my created Php File to Move Uploaded Photo To A Folder (pc localhost with xampp) source: 192.168.254.147 - my pc ip address My problem when compile the code (see pic) ..I got an error which I think EventName As String is not indicated ...But As I change it... The Code compiles The problem is .. If I clicked the "choose File button" no file chooser opens But when I manually visit php file from 192.168.254.147 USING chrome browser(android).. I can choose and upload with NO Error. I'm a beginner..Can Someone tells me the problem?
DonManfred Expert Licensed User Longtime User Apr 28, 2021 #2 The error say ", expected" so i guess you need to give one or more parameters to addwebchromeclient? Upvote 0
josejad Expert Licensed User Longtime User Apr 28, 2021 #3 domz said: The code source below is originated in this site furom.. Click to expand... Hi: Where did you get the example? In order to test it. domz said: My problem when compile the code (see pic) ..I got an error which I think EventName As String is not indicated Click to expand... When you start typing, you get the help with the parameters you need. As you can see, addWebChromeClient needs two parameters. It should be Code: Copy WebViewExtras1.addWebChromeClient(WebView1, "WebView1") 'for example Last edited: Apr 28, 2021 Upvote 0
domz said: The code source below is originated in this site furom.. Click to expand... Hi: Where did you get the example? In order to test it. domz said: My problem when compile the code (see pic) ..I got an error which I think EventName As String is not indicated Click to expand... When you start typing, you get the help with the parameters you need. As you can see, addWebChromeClient needs two parameters. It should be Code: Copy WebViewExtras1.addWebChromeClient(WebView1, "WebView1") 'for example
Peter Simpson Expert Licensed User Longtime User Apr 28, 2021 #4 Your error clearly says a description is expected which is obviously a parameter of some sort. In your error line where is says WebView1, try the following. Change Code: Copy WebView1 to Code: Copy WebView1, Null or to Code: Copy WebView1, "" Basically try adding a parameter. I don't use WebViewExtras, this is just an attempted logical guess from myself Upvote 0
Your error clearly says a description is expected which is obviously a parameter of some sort. In your error line where is says WebView1, try the following. Change Code: Copy WebView1 to Code: Copy WebView1, Null or to Code: Copy WebView1, "" Basically try adding a parameter. I don't use WebViewExtras, this is just an attempted logical guess from myself
DonManfred Expert Licensed User Longtime User Apr 28, 2021 #5 Peter Simpson said: to Click to expand... setting no Eventname makes no sense then to use webchromeclient at all if you do not get any events raised. Upvote 0
Peter Simpson said: to Click to expand... setting no Eventname makes no sense then to use webchromeclient at all if you do not get any events raised.