Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-17 Thread Caveat
That's good news (for Sudeep) Jussi! I never bothered to google StretchBlt (the Blt part made it sound more complicated than it really is). tsk tsk ;-) Kind regards, Caveat On 17/12/13 14:15, Jussi Lahtinen wrote: > I think you can have same functionality with Draw.Picture(). > http://gambasd

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-17 Thread Jussi Lahtinen
I think you can have same functionality with Draw.Picture(). http://gambasdoc.org/help/comp/gb.qt4/draw/picture?v3 Jussi On Tue, Dec 17, 2013 at 8:03 AM, //SCLPL/ Sudeep Damodar < sudee...@scantechlaser.com> wrote: > HI All, > Thank for your valuable comments .i have one doubt i have to declar

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-17 Thread Caveat
Sounds like you have some more reading to do. Start here: http://www.lmgtfy.com/?q=gdi32+linux Come back to us when you have already done a little research and have SPECIFIC questions... Your approach to this conversion project puts me in mind of someone translating Russian to Italian word for

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-16 Thread //SCLPL/ Sudeep Damodar
HI All, Thank for your valuable comments .i have one doubt i have to declare one library function.im used in my vb program like this Public Declare Function StretchBlt Lib "gdi32"(ByVal hDC As Long, _ ByVal X As Long, _ ByVal Y As Long, _ ByVal nWidth As Long, _ ByVal nHeight As Long, _ ByVal hSrcD

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-16 Thread Jussi Lahtinen
Prefer objects. In class file called Coordinates: XVal As Float YVal As Float laseron As String mode As String And elsewhere: Private MyCoordinates As New Coordinates Or, if you need array of coordinates: Private MyCoordinates As New Coordinates[] Jussi On Mon, Dec 16, 2013 at 8:57 AM,

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-16 Thread Bruce
On Mon, 2013-12-16 at 09:55 +0100, Caveat wrote: > http://msdn.microsoft.com/en-us/library/030kb3e9%28v=vs.90%29.aspx > > That should get you pointed in the right direction... > > Kind regards, > Caveat > > On 16/12/13 07:57, //SCLPL/ Sudeep Damodar wrote: > > Hi all > > > > How to use Type in g

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-16 Thread Caveat
http://msdn.microsoft.com/en-us/library/030kb3e9%28v=vs.90%29.aspx That should get you pointed in the right direction... Kind regards, Caveat On 16/12/13 07:57, //SCLPL/ Sudeep Damodar wrote: > Hi all > > How to use Type in gambas.my VB Code is given below > > Private Type coordinates > XVa

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-15 Thread //SCLPL/ Sudeep Damodar
Hi all How to use Type in gambas.my VB Code is given below Private Type coordinates XVal As Double YVal As Double laseron As String mode As String End Type When im compile i got error AS is missing ,if i put AS its gets some other error,so i have to know what is Type syntax in Ga

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-14 Thread Bruce
On Sun, 2013-12-15 at 11:37 +0530, //SCLPL/ Sudeep Damodar wrote: > Hi All, > > How to make .deb file in gmabas > > Best Regards > > Sudeep @IDE ^Project|Make|Installation Package @Wizard #Follow the instructions until step 3 Select Debian #Follow the instructions or if that is too hard, press

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-14 Thread //SCLPL/ Sudeep Damodar
Hi All, How to make .deb file in gmabas Best Regards Sudeep On 12/14/13, Jussi Lahtinen wrote: > There are paint and draw method, both can do that easily. > http://gambasdoc.org/help/comp/gb.qt4/draw?v3 > http://gambasdoc.org/help/comp/gb.qt4/paint?v3 > > I personally find draw method as more

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-14 Thread Jussi Lahtinen
There are paint and draw method, both can do that easily. http://gambasdoc.org/help/comp/gb.qt4/draw?v3 http://gambasdoc.org/help/comp/gb.qt4/paint?v3 I personally find draw method as more intuitive. Jussi On Sat, Dec 14, 2013 at 7:25 AM, //SCLPL/ Sudeep Damodar < sudee...@scantechlaser.com> w

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread //SCLPL/ Sudeep Damodar
Hi All Thanks for comments.i have one doubt im going to build laser marking application in gambas .for example just like weld mark software .in this case i want line ,circle , rectangle this like control how i get this like controls in gambas Thank n Regards Sudeep On Fri, Dec 13, 2013 at 11:4

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Jussi Lahtinen
> -funtions or subs that make changes in the parameters need to be called > with Byref > Only if the parameters are not objects (objects are always passed as byref). Usually need for byref means broken object model. - "this" = "that" usually means "this" will have the same value of "that" > and

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread terco IDE
You can't convert it, you need to port it. A good thing is to have someone that's already into Gambas (I'm lucky to have the help of the guys at gambas-es.org), but if you are not doing open-source, you're in your own. We're porting a big program like this: 1st create the main form, with menus

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Rob Kudla
On 12/13/2013 08:30 AM, Jussi Lahtinen wrote: > Rob, you haven't use Gambas for years? Nope, don't even have Gambas installed anywhere except on the host that runs gambasdoc.org. I still think Gambas is a great language (I'm still reading the list every day, after all) and if I were writing deskt

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Jussi Lahtinen
Rob, you haven't use Gambas for years? Anyway, I had pretty huge project and I did the conversion largely by hand. Here are the differences (the article contains partly old information, example Mid$() works now as in vb): http://gambasdoc.org/help/doc/diffvb?v3 It's much about converting "End

Re: [Gambas-user] how to convert VB Project file to Gambas

2013-12-13 Thread Rob Kudla
On 12/13/2013 02:33 AM, //SCLPL/ Sudeep Damodar wrote: > dnt have any idea about Gambas.so i have vb6 project .so i have to know > about how to directly convert vb6 project to Gambas.can you have any option > like this in Gambas I started writing such a thing 10 years ago, for .vbp and .frm file

[Gambas-user] how to convert VB Project file to Gambas

2013-12-12 Thread //SCLPL/ Sudeep Damodar
Hi, This is sudeep.im going to learn Gambas. I familiar with vb programming.i dnt have any idea about Gambas.so i have vb6 project .so i have to know about how to directly convert vb6 project to Gambas.can you have any option like this in Gambas .please touch with me Thanks N Regards Sudeep