Search found 141 matches
- Tuesday 17th August 2021 9:50pm
- Forum: General
- Topic: Convert VB.net to Gambas
- Replies: 7
- Views: 4159
Re: Convert VB.net to Gambas
where to start? first of all gambas is not a loose as VB. So the first thing is you CAN NOT dim anything in the middle of code or conditionally. ALL dim must be done in the beginning of a function or sub. You will also find that all the weird things you do in VB are not necessary in gambas. The best...
- Monday 16th August 2021 9:32pm
- Forum: General
- Topic: SQL Advice
- Replies: 3
- Views: 2627
Re: SQL Advice
We often overlook the simple solution. In this case it is "Do it yourself" I have many boolean or tinyint I use in my point of sale. What I did was made a function that takes whatever the value is and converts it to a straight out boolean. So it accepts, "T", "F", "...
- Friday 23rd July 2021 5:49pm
- Forum: General
- Topic: message window on wrong monitor
- Replies: 7
- Views: 4269
Re: message window on wrong monitor
I ended up making my own inputbox and message so I can control where they go on a monitor or which monitor. The built in input and message do not have that ability and show up in unpredictable places. I modeled mine after the built in using same parameters so all I had to do was search and replace t...
- Thursday 22nd July 2021 8:18pm
- Forum: General
- Topic: message window on wrong monitor
- Replies: 7
- Views: 4269
Re: message window on wrong monitor
in this case workspaces and monitors are very different. so that would not work. I have attempted to use extensions that will move things to the right place but they do not affect dialogs which is what this is. when using multiple monitors the x and or y attributes are essentially doubled making the...
- Thursday 22nd July 2021 5:53pm
- Forum: General
- Topic: message window on wrong monitor
- Replies: 7
- Views: 4269
Re: message window on wrong monitor
I was actually looking to do that today but using the internal is just so much easier. However I was planning on making a universal message and input box setup in the mean time.
- Wednesday 21st July 2021 11:20pm
- Forum: General
- Topic: message window on wrong monitor
- Replies: 7
- Views: 4269
message window on wrong monitor
I have programs written to take advantage of multiple monitors on a system. The problem I have is that I do not seem to be able to control where a standard message window appears. It seems to always appear on the wrong monitor leaving people looking for where the message is at so they can hit ok or ...
- Tuesday 6th July 2021 6:36pm
- Forum: General
- Topic: Email with smtp a pdf
- Replies: 6
- Views: 3987
Re: Email with smtp a pdf
You are truly the god of gambas. I had a feeling it was something easy but I was looking in the wrong spot. Thank you for the help it is working perfectly now. This was for a Point of Sale that I developed and use written in gambas. Keep the great work up.
- Tuesday 6th July 2021 12:24am
- Forum: General
- Topic: Email with smtp a pdf
- Replies: 6
- Views: 3987
Re: Email with smtp a pdf
application/pdf is what I already set the mime type to. Which is what your link suggests although not specifically for gambas. But I already have it as I thought it should be. I should have made it more clear. Below is the line doing the attachment. e.Add(User.Home & "/" & StoreNam...
- Monday 5th July 2021 11:01pm
- Forum: General
- Topic: Email with smtp a pdf
- Replies: 6
- Views: 3987
Email with smtp a pdf
I have a working smtp setup for my program. What does not work is when I attach a pdf file it sends but it is unreadable as it is sent as plain text. I can't find a list of mime types and most notably the mime type to set in the smtp client for sending a pdf file. Any help?
- Wednesday 14th October 2020 9:06pm
- Forum: General
- Topic: Can't run on Pi any longer
- Replies: 25
- Views: 17745
Re: Can't run on Pi any longer
Problem solved. Thank you everybody. I used the pcode option and even though it did not work, I tried it again on a 3.15 system and made the executable there. Copied it over and back to full functionality. Thank you for the information it will be committed to my notes for future use.