Please support our Legacy and Other Languages advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2004
Posts: 10
Reputation: QB_Pete is an unknown quantity at this point 
Solved Threads: 0
QB_Pete QB_Pete is offline Offline
Newbie Poster

Beyond Qbasic...

 
1
  #1
Jul 13th, 2004
OK, not the best title but in essence true. I have programmed in Quickbasic since 1995. I love the language, but changes in printers, the adddition of USB ports, and the change to DOS emulation on the 2000/NT/XP platforms indicate a need for another language. I wrote a VB.NET console application to work on all Windows printers. As soon as I tried to place it from my XP (Has Visual Net Studios on it) to my 98, I got a message that I would need to install the .Net Framework on my 98 before I could run the program. Quickbasic, as you all probably know, has a stand-alone exe option. You make an exe, distribute it to another computer, and it runs.

My question is this. What other languages would be able to take advantage of the Windows systems (like the Windows printer driver) but would not require any other product downloads to the host computer to run the exe?

Any discussion is welcome,

Pete
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 321
Reputation: bentkey is an unknown quantity at this point 
Solved Threads: 8
bentkey bentkey is offline Offline
Posting Whiz

Re: Beyond Qbasic...

 
1
  #2
Jul 13th, 2004
Borland Delphi for one. You have options of creating everything in a stand alone executeable or using either run time dlls or packages.
bentkey MCSE,CCNA

SupportWindow Remote Desktop Software
Bytewiser Data Systems
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 10
Reputation: QB_Pete is an unknown quantity at this point 
Solved Threads: 0
QB_Pete QB_Pete is offline Offline
Newbie Poster

Re: Beyond Qbasic - Thanks!

 
0
  #3
Jul 13th, 2004
Thanks Bentkey, any others with simlar responses, please reply.

Pete
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 40
Reputation: Buff is an unknown quantity at this point 
Solved Threads: 0
Buff Buff is offline Offline
Light Poster

Re: Beyond Qbasic - Thanks!

 
1
  #4
Jul 13th, 2004
Originally Posted by QB_Pete
Thanks Bentkey, any others with simlar responses, please reply.

Pete
Power Basic has a Console Compiler that makes text mode programming easy.

It has a DOS-like feel and many of the commands and statements are the same or with minor changes. You have the added capability of using windows
api, etc if needed or wanted. No runtime modules required, tight code, and
the BEST support on their forum.

take a look at powerbasic.com

There are also plenty of third-party add-ons if you want or need them.

check out LPRINT ATTACH
for your printer.
Reply With Quote Quick reply to this message  
Join Date: May 2003
Posts: 307
Reputation: big_k105 is an unknown quantity at this point 
Solved Threads: 2
Team Colleague
big_k105's Avatar
big_k105 big_k105 is offline Offline
PFO Founder

Re: Beyond Qbasic...

 
1
  #5
Jul 13th, 2004
C++ its would beable to do everything you want it to and would be a stand alone exe file and you can get compilers free for it
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 1,135
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Solved Threads: 6
Team Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: Beyond Qbasic...

 
1
  #6
Jul 13th, 2004
You can still use VB.NET and package up in an installation to include the .NET framework so the user wouldn't have to download it and install it. If you still want to stick to the BASIC language, I suggest you try Visual Basic 6.0.
Check out my blog at http://www.shinylight.com for more stuff about web dev.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 10
Reputation: QB_Pete is an unknown quantity at this point 
Solved Threads: 0
QB_Pete QB_Pete is offline Offline
Newbie Poster

Reply to Inscissor

 
0
  #7
Jul 14th, 2004
I read about "How to Deploy" .NET applications and one of the options was to use .dotnetfx.exe to install the .NET Framework. I looked up the size of the file and it was some 23MB! My contention against using VB.NET is that 23MB is too much run-time code to include with a 1 MB business application that would run on it's own through DOS. If Microsoft ever provides the .NET Framework as a standard for all their future platforms (Longhorn is next in 2006) then they may have a decent product. Right now, unless I am way off-base about the size of a .NET Framework installation, I think they missed the mark for any developer that wants to make commercial applications.


Thanks for the reply. Comments to the contrary welcome,

Pete
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 10
Reputation: QB_Pete is an unknown quantity at this point 
Solved Threads: 0
QB_Pete QB_Pete is offline Offline
Newbie Poster

Reply to C++ suggestion.

 
0
  #8
Jul 14th, 2004
Yes, I have considered that language. In fact. I have a URL to download a free C++ compiler called (of all things) "Bloodshed." The author assures everyone he just picked the name to get his product noticed. I'll give it a try, in spite of the name.

Sometimes I wonder why JAVA is not given more publicity. From what I have heard, that language will work on any platform. Anyway, it is great to have these forums to talk stuff like this over. There is just never enough time to learn about everything that is out there, otherwise.

Thanks,

Pete
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 10
Reputation: QB_Pete is an unknown quantity at this point 
Solved Threads: 0
QB_Pete QB_Pete is offline Offline
Newbie Poster

Reply to Buff

 
0
  #9
Jul 14th, 2004
I know a Buff that posts on Qbasic.com. In any event, thanks for reply and yes, I have looked over Power Basic and also one called Liberty Basic. Liberty basic requires you distribute their run-time module or some such gimmick. I know a Jonathan S. that has Power Basic and used it to write a printer program. From our discussions, he said the source code for his project was about 50K. The VB.NET one I made is 8K, but apparently you need 23 MB of run-time code downloaded to get it to work - lol. I do like Basic and with dlls and Window support, Power Basic might be the ticket.

It seems to be the new Unicode compatible printers that do not support ASCII characters (and therefore will not support LPRINT in QB that create a printing problem. LPRINT still works on XP to parallel printers that support the ASCII character set.) Also, USB ports are not supported in QB. I SHELL out these situations to NOTEPAD and use the /p switch to print. The only problem is that to control the margins, you have to set them manually or design a program to mess with the registry, where these settings are stored. Amazingly enough, RTF files can be written to set margins for WORD, but the switches that set these margins are ignored by Notepad and Wordpad. You cannot automatically print in WORD, because it does not recognize the /p switch! Just some added info, in case you're interested.

Thanks,

Pete
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 40
Reputation: Buff is an unknown quantity at this point 
Solved Threads: 0
Buff Buff is offline Offline
Light Poster

Re: Beyond Qbasic...

 
0
  #10
Jul 15th, 2004
I'm sure I'm the same one you are talking about.

PowerBasic requires no runtimes and now supports LPRINT.
It also has an LPRINT attach that can use a portname used by windows.
(i.e. not limited to LPT1,etc)

As I said again, support is the best too on their forum.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC