Open website in new window

In my VB code if I use location.href(“http://myapp.com”) my app opens this website in the current window.

How can I open the site in a new window and leave my app where it is?

Here’s how:

window.open("https://www.w3schools.com", "_blank", "toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=400,height=400");

More on all the options here:

help…

for transfer file between pc windows and device, in nsbasic/ce, commands like:

AddObject “newObjects.utilctls.SFMain”, “fs”

example

  If Not fs.fileExists(PathProg&"\"&FileConfig) Then...........

  Set file = fs.OpenFile(PathProg&"\"&FileConfig) 

  Set Dir = FS.CreateDirectory(PathInp)   

 file.WriteText ‘comment......’

now, in nsb/appstudio how to use ???

regards
   Baghino Giorgio
   Linea Computer, Foggia Italy

This appears to be different topic that the title of the thread. Could you open a new issue instead?

Thanks … easy when you know how.

Just to clarify I placed this in JavaScript … End JavaScript in my vb code in an onclick event.

Using a vb variable to make the url code dependent works fine also.

Thanks again

Thanks again

regards

giorgio baghino

Hy

I’m migrating from nsbasic/ce in nsb/appstudio.

I need to use commands ‘Tech Note 09: File System Control ’ of nsbasic/ce (as from attached)

in nsb/appstudio.

HOW CAN I DO? WHERE CAN I FIND TUTORIALS.

I can’t find anything…

thank you e regards

 giorgio baghino

 linea computer

    FG Italy

(Attachment TN09.htm is missing)

@baghino, this has nothing to do with “Open website in a new window”. Could you open a New Topic for this question?

When you do so, you should also explain how you plan to use the files.