Subject Html with long query
From Rob Horsman <rhorsman@outlook.com>
Date Sat, 18 Jul 2020 17:25:15 +0200
Newsgroups dbase.getting-started


Hello everyone

I have a problem opening an html file with a long query

file:///C:/coordinaten/index.html?b1=4.791667&l1=52.687500&b2=151.209900&l2=-33.865143

if I put this line ditect in the address bar of chrome it works fine,
but when i do it from the program it only opens index.html
What am I doing wrong ?

m_string=
"file:///C:/coordinaten/index.html?b1=4.791667&l1=52.687500&b2=151.209900&l2=-33.865143l2"
local mUrl
        mUrl=m_string
        if type( "ShellExecute" ) # "FP"
        extern cHandle ShellExecute( cHandle, cString, cString, ;
               cString, cString, cINT ) SHELL32 ;
                from "ShellExecute" + "A"
        endif
                 
                
       local nHandle
       private sd
       sd = set( "dire" )
       nHandle = ShellExecute(_app.framewin.hwnd, "open", mURL, ;
                null, null, 3 )
       if sd # set("dire")
        set dire to "&sd."
       endif
           return nHandle
                
                

Greeting Rob