Search found 426 matches

by cogier
Sunday 05th April 2020 10:02am
Forum: Web
Topic: how to use WebImage on Gambas 3
Replies: 4
Views: 384

Re: how to use WebImage on Gambas 3

I can only think that your web browser has cached the page. Try deleting the cache. You should be able to do this from the web browser settings page.
by cogier
Saturday 04th April 2020 3:06pm
Forum: Web
Topic: how to use WebImage on Gambas 3
Replies: 4
Views: 384

Re: how to use WebImage on Gambas 3

Hi diaxotora and welcome to the forum.

You need to put a picture(image) in your programs 'Public" folder. then you can use something like. WebImage1.Image = "test.png"

Image
by cogier
Friday 03rd April 2020 5:00pm
Forum: Lounge
Topic: Gambas on Windows
Replies: 15
Views: 1832

Re: Gambas on Windows

Hi Bill,

See if the Gambas daily tips are on a hidden window behind all the others.
by cogier
Friday 03rd April 2020 4:05pm
Forum: Lounge
Topic: Gambas on Windows
Replies: 15
Views: 1832

Re: Gambas on Windows

I have had the opportunity to reinstall Window 10 so I thought I would make a note of how to install WSL and Gambas. 1/. Follow the instruction here to install WSL and Ubuntu on Win 10 (The following instructions may not work if you choose a distro other than Ubuntu. I am fairly sure that the other ...
by cogier
Sunday 29th March 2020 4:50pm
Forum: Project showcase
Topic: The DirLister Project
Replies: 4
Views: 305

Re: The DirLister Project

I have had a look at this program. I haven't quite worked out how it works but I will have another look later. Observations: - Line 7 Public CRLF As String = Chr$(10) & Chr$(13) You can use gb.CrLf for this. I saw no images as line similar to this point to a non existent folder PictureBox1.Picture =...
by cogier
Sunday 29th March 2020 12:55pm
Forum: General
Topic: Forum sections required
Replies: 6
Views: 292

Re: Forum sections required

An .odt would do the trick?
That's fine. I can convert it to PDF.
by cogier
Sunday 29th March 2020 12:48pm
Forum: General
Topic: Working with CSV files
Replies: 6
Views: 737

Re: Working with CSV files

I am a fan of CSV files. Over time I have discovered the power of Gambas so I can now upload a CSV file, ignoring blank lines and dealing with the inverted commas, in one line.
Dim sData As String[] = Split(File.Load("MyFile.csv"), gb.NewLine, Chr(34), True)
by cogier
Sunday 29th March 2020 12:13pm
Forum: General
Topic: [Solved] Read last line from Process
Replies: 5
Views: 312

Re: Read last line from Process

Run this code in a new 'Graphical' application. Hopefully it will help you. hProcess As Process TextArea1 As TextArea Public Sub Form_Open() BuildForm Go End Public Sub Go() hProcess = Shell "tree" For Read As "Process" End Public Sub Process_Read() Dim sLine As String Read #Last, sLine, -256 TextAr...
by cogier
Sunday 29th March 2020 11:42am
Forum: General
Topic: Forum sections required
Replies: 6
Views: 292

Re: Forum sections required

I assume that Charlie is the "Director" of the show so this I guess goes to him. I suppose I am, I do pay for the site which seems to be growing slowly and happy to do so. I want two sections added to "Board Index": Forum management and user requests Designed for Admin announcements, various reques...
by cogier
Sunday 29th March 2020 11:28am
Forum: General
Topic: How to find if a path contains a valid file name
Replies: 6
Views: 333

Re: How to find if a path contains a valid file name

You can reduce the code to: -
Print IsDir(User.Home &/ "00.mp3")