writing platform independent s/w

Micro

Member
Joined
May 23, 2013
Messages
8
Programming Experience
Beginner
Hi,
i am beginer to vb.net coding.i have wrote a s/w in vb6 and want to upgrade in vb.net using vs2008 and also platform independent.In the vb project I have used API calls to draw line,circle,arc on a picture box.I have wrote my main logic functions in modules and class modules and used global variables.Is it required to write main logic code in dlls? I want all functions with getting parameters and returning parameters.And how can I manage the API calls?
I am little confused about platform independent code and its requirements!
can anybody help me on this topic?
 
What exactly do you mean by "platform independent" and "API calls"? If you mean that you want your software to run on platforms other than Windows and you're currently making calls to the Windows API then you're clearly out of luck and have to completely rethink your design.
 
hi
yes I want to run my software on other platform. I want my basic code same and can change the front end s/w and able to use the basic code as it is.
is this possible?
thanks
 
If you want to use C# or VB.NET to write cross-platform code then you need to look at Mono. It reproduces most of what is available in recent versions of the .NET Framework, although some features are missing. GDI+ would normally be used to draw in a WinForms app via the Graphics class. I'm not sure if it's exactly the same under Mono but there's an easy way to find out.
 
Back
Top