cheap calculator, OS X

A section for all development and testing programmes and customised browsers written by SillyDog701 community. Featured products including Donzilla, Firescape, DJGM Distro, and Netscape Streamline.

Moderator: Don_HH2K

Re: cheap calculator, OS X

Postby Antony » Sun 21 Aug, 2005 9:06 pm

DJGM wrote:Tried it just now . . . same problem occurs.
It was due to my stupidness. I built it for Development (Debug), not for releasing :oops:
See that's why.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.6.2 (KHTML, like Gecko) Safari/412.2.2
User avatar
Antony
diamond member
diamond member
 
Posts: 14343
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Don_HH2K » Sun 21 Aug, 2005 9:09 pm

Antony wrote:Cool!

Does your calculator work?


Yes, it works. It's a complete rewrite using the same interface as your calculator. With respect to you as the original designer in the About dialog, of course.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 Donzilla/0.7 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Andrew T. » Sun 21 Aug, 2005 9:45 pm

What exactly is .NET Framework? Is it something like a Visual Basic runtime?
UserAgent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
User avatar
Andrew T.
diamond member
diamond member
 
Posts: 1228
Joined: Fri 14 Mar, 2003 11:37 pm
Location: Somewhere beyond the sea

Postby Don_HH2K » Mon 22 Aug, 2005 7:58 am

Andrew T. wrote:What exactly is .NET Framework? Is it something like a Visual Basic runtime?


.NET Framework is a collection of components distributed across programming languages. It is intended to simplify dynamic applications that can be run under multiple platforms that support the .NET environment. This includes IIS's ASP.NET, Windows CE .NET, and any version of Windows that supports .NET. It gets interesting when you see a .NET application running off a web server using ASP.NET, or when you can easily run a .NET application on a handheld without porting the code to a different language.

Then there's the whole .NET initiative, where you'd see the .NET Framework, .NET Server (aka Windows Server 2003), and .NET Passport all working together to provide a user with a dynamic application that downloads personalized content off the Web.

Visual BASIC 6 and Visual BASIC .NET are not compatible with each other, although Visual Studio 2005 has a built-in project converter to convert most VB6 code to VB.NET.

So, yes, it is a Visual BASIC runtime, but it's also a runtime for numerous other languages like C++, C#, J#, etc... I would be building for an earlier version of the Framework than v2.0 Beta, but unfortunately Visual Studio 2005 does not yet have the ability to target earlier versions of the Framework as 2003 did. Of course, if anybody has a VB6 compiler, I can post the source to a VB6 version.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 Donzilla/0.7 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Pu7o » Thu 25 Aug, 2005 8:04 pm

I have Visual Basic 6, so if you want to, you can post the sources to a vb6 version and i'll compile it.

By the way, you're not making this in Microsoft Office, are you? If you are, you should check out the free Visual Basic 5 Control Creation Edition (available here). It doesn't allow you to compile the programs either, but at least it gives you access to the full Visual Basic programming language, rather than the small subset that Microsoft Office has).
UserAgent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.90 (like Gecko)
User avatar
Pu7o
Macfox
Macfox
 
Posts: 2014
Joined: Thu 06 Jan, 2005 12:03 pm
Location: Portugal

Postby Pu7o » Thu 25 Aug, 2005 8:46 pm

Well there's no need for you to send the vb6 sources, i've done it myself. Get it here.
UserAgent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.90 (like Gecko)
User avatar
Pu7o
Macfox
Macfox
 
Posts: 2014
Joined: Thu 06 Jan, 2005 12:03 pm
Location: Portugal

Postby Pu7o » Thu 25 Aug, 2005 9:34 pm

And there's a Linux/GTK2 version here ;)
UserAgent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.90 (like Gecko)
User avatar
Pu7o
Macfox
Macfox
 
Posts: 2014
Joined: Thu 06 Jan, 2005 12:03 pm
Location: Portugal

Postby Antony » Thu 25 Aug, 2005 10:22 pm

Screenshot of Pu7o's Cheap Calculator:

Windows version:
Image

Image

Linux GTK2 version:
Image

Image
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.6.2 (KHTML, like Gecko) Safari/412.2.2
User avatar
Antony
diamond member
diamond member
 
Posts: 14343
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Don_HH2K » Fri 26 Aug, 2005 12:12 am

I can create backports to VB6 in Office. I make the programs with Visual Studio 2005 Beta 2. I've heard of compilers for Office's VB, but I've never tried them. Office's VB6 provides enough of VB for me to create a port, as long as somebody else imports the source code without a project file.

Here's what'd be handy... an XUL port :wink: (who knows, maybe I will work one an XUL version, and maybe an XAML version for those with the Avalon runtime).

That isn't the only VB programming I've done, BTW. I also have programs in VB.NET to estimate the cost of a self-built computer, convert various domestic and Metric units, and a currently unpublished screensaver that displays HH-related news via RSS.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 Donzilla/0.8PR1 (WML/1.3)
Last edited by Don_HH2K on Fri 26 Aug, 2005 12:15 am, edited 1 time in total.
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Antony » Sun 28 Aug, 2005 5:48 am

Don_HH2K wrote:That isn't the only VB programming I've done, BTW. I also have programs in VB.NET to estimate the cost of a self-built computer, convert various domestic and Metric units, and a currently unpublished screensaver that displays HH-related news via RSS.

Image
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412.6.2 (KHTML, like Gecko) Safari/412.2.2
User avatar
Antony
diamond member
diamond member
 
Posts: 14343
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Don_HH2K » Sun 28 Aug, 2005 3:32 pm

I have no idea how you got that, because it worked fine for Softpedia and a few people that told me about their experience with it.

Is that the source archive? I bet it has to do with the fact that the TAR file is an exact dump of part of an NTFS volume instead of something that OS X can read.

EDIT -> Yes, this is the problem. It fails in a similar manner with the TAR command-line tool on Windows 98, but works fine in Windows Server 2003 and Windows 2000, with the same tool.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 Donzilla/0.8PR1 (WML/1.3)
Last edited by Don_HH2K on Sun 28 Aug, 2005 3:49 pm, edited 1 time in total.
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Antony » Thu 16 Feb, 2006 11:03 am

CheapCalculator 0.2 is out!

It's ugly, but it fixes a stupid bug (division did not work).

[img=left]http://moz.sillydog.org/archives/pic/MacOSX_Universal_35px.gif[/img] I set it to Universal Binary, since I don't have an Intel based Mac I can't verify if it will run correctly on Intel based Mac.

:dl: download CheapCalculator 0.2
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14343
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Pu7o » Thu 16 Feb, 2006 1:03 pm

The About window says "Version 1.0". And it works fine on my Intel Mac OS X.
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.1) Gecko/20060216 Firefox/1.5.0.1 Firescape/0.2b1 wml/1.3
User avatar
Pu7o
Macfox
Macfox
 
Posts: 2014
Joined: Thu 06 Jan, 2005 12:03 pm
Location: Portugal

Postby Don_HH2K » Thu 16 Feb, 2006 3:05 pm

If anyone wants to post a screenshot of the interface and tell me what operations it supports, then I'd be more than happy to port it.

Or, an idea for an interface (and you'll know where I stole this from) . . .
Image
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Pu7o » Thu 16 Feb, 2006 3:20 pm

Here's a screenshot of CheapCalculator 0.2

Image
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.1) Gecko/20060216 Firefox/1.5.0.1 Firescape/0.2b1 wml/1.3
User avatar
Pu7o
Macfox
Macfox
 
Posts: 2014
Joined: Thu 06 Jan, 2005 12:03 pm
Location: Portugal

PreviousNext

Return to SD701 DevZone

Who is online

Registered users: Google [Bot]