Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vince

Pages: [1]
1
QB64 Discussion / Re: Problem with file path
« on: August 06, 2021, 11:21:43 am »
I now know there was a logic error with the IF statement (my bad, thanks Spriggs).

Once I made that change I was still getting an error with the _putimage (Illegal function call). I changed the SCREEN statements mode to 32 (noticed bplus had that in the SCREEN statement) and it worked OK. So there were a couple of problems there.

Thanks for all your responses, appreciated.

2
QB64 Discussion / Problem with file path
« on: August 06, 2021, 06:54:10 am »
I am scratching my head with this very simple issue (possibly an issue on my part). I thought that when a file of any kind is referenced from your compiled program that it is relative to where your .EXE file is. I have run the following bit of code and it keeps erroring when it gets to the _loadimage line. The file is in the same directory as the .EXE and it is spelled correctly. I have even tried to use the full path to load the file, but that also fails.

DIM i AS LONG

i = _LOADIMAGE("as.png")
IF i < -1 THEN PRINT "Error loading image..": END
_PUTIMAGE (0, 0), i

I just keep getting the "Error loading image.." message

Call me stupid, I don't mind, as long as I can get past this.

3
QB64 Discussion / Re: [dev build] Path issue
« on: July 30, 2021, 01:56:40 pm »
Hi Fellippe

I am assuming I have an old build. My build is From Git f5d70bf.

4
QB64 Discussion / Re: [dev build] Path issue
« on: July 30, 2021, 01:40:59 pm »
I don't mean to butt into your thread, but I have the same issue. In the Open dialog box, if I click on a file or folder within the current directory it navigates without error seemingly.

If I select a drive, whether that be C: or one of my external USB drives, I get the same error as Richard. If I then click 'No' to continue, it exits QB64, or gives another error if I click 'Yes' to continue.

5
QB64 Discussion / Re: Using SHELL for external program
« on: September 10, 2018, 07:07:03 am »
Hi all

Thanks for your responses. I tried all suggestions, but the batch file worked a treat. The command I ran in the SHELL command, it turns out, was not being recognised as an internal or external command. probably no surprise there, but I just couldn't be certain.

Thanks for all your input though.

Vince

6
QB64 Discussion / Using SHELL for external program
« on: September 09, 2018, 04:20:23 pm »
Hi all

I am trying to run a program using the SHELL command, but the command is not running. Problem is I cant event determine what the issue is because the message that comes up in the DOS box after executing the SHELL command, disappears so quickly.

Is there any way I can stop the SHELL cmd window disappearing so I can read the error, if there is one. Or if anyone has any other idea how I can see this result of the SHELL, that would allow me to determine the problem.

Thanks

Pages: [1]