Search found 83 matches

by sadams54
Wednesday 18th August 2021 6:12pm
Forum: General
Topic: Convert VB.net to Gambas
Replies: 7
Views: 606

Re: Convert VB.net to Gambas

What I want to do is create a function that would upload a black and white image to a Epson, NCR, IBM printer (each uses differ ESC/PoS codes but the conversion is the same) And I am also trying to convert a DLL that add promotions support to my EPoS application in windows. I sent you a private mes...
by sadams54
Wednesday 18th August 2021 6:06pm
Forum: General
Topic: Convert VB.net to Gambas
Replies: 7
Views: 606

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. Sorry fella that's just not true. You can Dim anywhere you want inside a function. You can eve...
by sadams54
Tuesday 17th August 2021 9:50pm
Forum: General
Topic: Convert VB.net to Gambas
Replies: 7
Views: 606

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...
by sadams54
Monday 16th August 2021 9:32pm
Forum: General
Topic: SQL Advice
Replies: 3
Views: 383

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", "TRUE","FALSE" etc and returns a bo...
by sadams54
Friday 23rd July 2021 5:49pm
Forum: General
Topic: message window on wrong monitor
Replies: 7
Views: 746

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...
by sadams54
Thursday 22nd July 2021 8:18pm
Forum: General
Topic: message window on wrong monitor
Replies: 7
Views: 746

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...
by sadams54
Thursday 22nd July 2021 5:53pm
Forum: General
Topic: message window on wrong monitor
Replies: 7
Views: 746

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.
by sadams54
Wednesday 21st July 2021 11:20pm
Forum: General
Topic: message window on wrong monitor
Replies: 7
Views: 746

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 ...
by sadams54
Tuesday 06th July 2021 6:36pm
Forum: General
Topic: Email with smtp a pdf
Replies: 6
Views: 706

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.
by sadams54
Tuesday 06th July 2021 12:24am
Forum: General
Topic: Email with smtp a pdf
Replies: 6
Views: 706

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 & "/" & StoreName & SlsID & ".pdf"...