Home All Groups Group Topic Archive Search About
Author
19 Mar 2006 4:06 PM
Shayaan Siddiqui
Hello

I have a classroom project and we have to convert a software from VB to
Java. (JSP). How feasible is this?

Shayaan

Author
19 Mar 2006 5:46 PM
Ralph
"Shayaan Siddiqui" <ssiddi***@ridgewood.k12.nj.us> wrote in message
news:C042EBB8.FCE%ssiddiqui@ridgewood.k12.nj.us...
> Hello
>
> I have a classroom project and we have to convert a software from VB to
> Java. (JSP). How feasible is this?
>
> Shayaan
>

"Feasible"?

Any 'program', which is merely a collection of data and algorithms to chew
on that data and then present results, can be written in any language - thus
any program written in one, can be re-written in another. It is just a
matter how much time and resources you have available.

-ralph
Author
19 Mar 2006 5:44 PM
Shayaan Siddiqui
What would

Private Declare Function SendMessage Lib "user32" _
                    Alias "SendMessageA" (ByVal hWnd As Long, _
                    ByVal wMsg As Long, ByVal wParam As Long, _
                    lParam As Any) AsLong
Private Declare Function PostMessage Lib "user32" _
                    (ByVal hWnd As Long, ByVal wMsg As Long, _
                    ByVal wParam As Long, lParam As Any) As Long


Translate to? I know Java doesn't have hWnd or wParams...

On 3/19/06 12:46 PM, in article N8OdnUCKUdcuCoDZRVn***@arkansas.net, "Ralph"
<nt_consultin***@yahoo.com> wrote:

Show quoteHide quote
>
> "Shayaan Siddiqui" <ssiddi***@ridgewood.k12.nj.us> wrote in message
> news:C042EBB8.FCE%ssiddiqui@ridgewood.k12.nj.us...
>> Hello
>>
>> I have a classroom project and we have to convert a software from VB to
>> Java. (JSP). How feasible is this?
>>
>> Shayaan
>>
>
> "Feasible"?
>
> Any 'program', which is merely a collection of data and algorithms to chew
> on that data and then present results, can be written in any language - thus
> any program written in one, can be re-written in another. It is just a
> matter how much time and resources you have available.
>
> -ralph
>
>
Author
19 Mar 2006 6:09 PM
Ralph
Show quote Hide quote
"Shayaan Siddiqui" <ssiddi***@ridgewood.k12.nj.us> wrote in message
news:C04302A7.1A69%ssiddiqui@ridgewood.k12.nj.us...
> What would
>
> Private Declare Function SendMessage Lib "user32" _
>                     Alias "SendMessageA" (ByVal hWnd As Long, _
>                     ByVal wMsg As Long, ByVal wParam As Long, _
>                     lParam As Any) AsLong
>  Private Declare Function PostMessage Lib "user32" _
>                     (ByVal hWnd As Long, ByVal wMsg As Long, _
>                     ByVal wParam As Long, lParam As Any) As Long
>
>
> Translate to? I know Java doesn't have hWnd or wParams...
>
<snipped>

Sure it does, they just don't look the same. Or rather the WinAPI has them
and Java uses different libraries to access them.

If you are going to do Java on a Windows platform you will need to take a
look at Swing (possibly AWT). All of which is beyond any revelance in this
newsgroup. You need to check out a Java newsgroup and Windows Java websites.

hth
-ralph