- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Programmer
34 Posted Topics
Re: [QUOTE=NILESHMPRABHU]How Do I Make My Vb Executable Filel In To A Service So That It Starts As Soon As System Starts. Also If This .exe File Is Closed, I Want To Shut The System. Please Help.[/QUOTE] There are 2 easy ways - 1 put it in the startup menu of … | |
Re: Qbasic is still used quite a bit. It is still taught in many schools around the country and is good for that purpose. Many people have problems with qbasic on XP though not everyone. I think QuickBasic compiled programs will still run (more or less) on XP. I say more … | |
Re: [QUOTE=Katie G]Newbie to QB - I have an assignment to create a grade sheet for one student. Must list name, instructor, class, test grades 1 through 5, average, low grade, high grade and new average with lowest grade dropped. I am so confused about arrays. I am using examples from … | |
Re: Though I use PowerBasic for windows instead of VB, i'm sure the record length for random files is quite large as it is with PB. Of course it should be kept in mind that many times the larger the record, the more likely wasted space is increased which is inherent … | |
Re: I have to disagree with you on several points. It is still used a lot. Check out all the forums that are still active. It is still taught in school as a first programming language. It is very similar in syntax to PowerBasic for windows which is much better than … | |
Re: [QUOTE=divminds]What if a program required autoexec.nt to run? Would you then have to change the path in the new program to System32? The Autoexec.nt is a system file and should be kept where it is MrWhy has a safe idea of modifying Autoexec.nt check his threads out.[/QUOTE] The way I … | |
Re: St$="Hello my name is John Doe" if right$(st$)<>" " then st$=st$+" " for k%=1 to len(st$) if mid$(st$,k%,1)=" " then words%=words%+1 characters%=characters%+1 next print "total characters=";characters% print "total words=";words% (in a sub) declare sub getwords(st$,wds%) xst$="Hello my name is John Doe" GetWords xst$,words% print "words= ";words% SUB GetWords(st$,wds%) if right$(st$)<>" … | |
Re: First search for Qbasic.exe on your computer. Qbasic was included starting with DOS version 5.0 and was also on the Win95 and Win98(i think) CD-ROMs. If you find it, be sure that either you are in the folder containing Qbasic.exe when you are at the prompt or that it in … | |
Re: Error 58 is File already exists. (you can do ERROR #) where # is a number to find out the error message for that error number Without the code, it will be impossible to debug. (You can also get a list of run-time errors and the associated error messages in … | |
Re: The easiest way is to use a fixed font in your listbox. Otherwise, try tabbing with chr$(9) | |
Re: You can download a text calendar I wrote from my web site [url]http://thunder.prohosting.com/~oasys/frameex1.htm[/url] on the files page. I also used the following in an accounting program as a "reminder" file put "boxes" accross the screen with sunday - saturday as heasings. Use Sunday.fil, monday.fil etc to store actual info. print … | |
Re: If you are using QB (QuickBasic), so often wrongly called Qbasic, then Call Absolute (as well as Call Interrupt) are in the QB library QB.QLB In that case, start QB with QB /L libraryname (no library name is required for QB.QLB as it is the default) If you are, in … | |
Re: CLS RANDOMIZE TIMER OPEN "test.txt" FOR INPUT AS #1 DIM wds$(1000) count% = 0 WHILE NOT EOF(1) LINE INPUT #1, LL$ FOR K% = 1 TO LEN(LL$) IF MID$(LL$, K%, 1) = " " OR K% = LEN(st$) THEN count% = count% + 1 wds$(count%) = RTRIM$(MID$(LL$, LastK% + 1, … | |
Re: Russell, There are still plenty of QB sites out there many of them having downloads of programs. The ABC archives are still out there too (All Basic Code). which has code dating back to the early to middle 90's. There are some tutorials around too. How good I don't know. … | |
Re: Dont know about VB but for PB for windows it should be easy open filename$ for binary as #1 get$ #1,lof(1),info$ numberoffields&=parsecount(info$) dim myarray$(numberoffields&) for k&=1 to numberoffields&:myarray$(k&)=parse$(info$,k&):next:close #1 something like that (default of parse is comma delimiter) | |
Re: If you can open the old code in notepad, then copy by highlighting/then right click ->copy, you can paste it into qbasic/quickbasic with the following. (be sure the line lengths are not over 255 characters, and that they end in CRLF. Also don't try to do it all at one … | |
Re: Well Qbasic is basically free since it came with msdos from version 5 - Windows 98 /MSDOS 6.2 It's around on several web sites. Versions 4-7.1 of Quick Basic are available too (free). Whether it is technically legal to download them is another matter. | |
Re: Or, Shift+Arrow keys to highlight, Control(CTRL)+Insert to copy then Shift+insert to paste. BTW nice pic Dani. | |
Re: Then i'd recommend installing win98 instead of XP. As ms moves away from 16bit DOS things will probably get harder and harder for QB BTW it's QB.EXE not Qbasic.exe for QuickBasic 4.5 If you compile it on 98 then run it on xp you'll probably have better luck especially with … | |
Re: Don't leave out PowerBasic for windows which rivals C (perhaps better) in tight code (no bloatware). Also the best tech support on the planet. | |
Re: PowerBasic has 2 windows compilers (and a DOS compiler). The windows versions allow inline asm. Very affordable and the best support. | |
Re: [QUOTE=Ivan Ruiz]I Am A Vb On Excell User, I Am Trying To Make A Macro In Visual Basic But I Do Not Know How To Run A Msdos Comand Over Vb In Specific I Want To Excecute A "ping" Command Over A Macro That Help Me To Se If A … | |
Re: You could store the tables in data statements but then you would have to recompile the program if changes were made. I would think that either 1) a text file containing the tables or 2) a separate entry program for the tables (to keep the tables in a relatively safe … | |
Re: You might try my tips page to see if there is any help there [url]http://thunder.prohosting.com/oasys/frameex1.htm[/url] then go to the tips page. | |
Re: [QUOTE=red_evolve]I am almost done with my project and I'd like to obtain some advice on this. How do I go about packaging (if this is the right word to use) the whole application? As such, I have some extra active-x components which I'd have to add into the System32 folder … | |
Re: [QUOTE=The Beholder]I'm stuck on retrieving bytes from a register using qbasic, specifically how do they get the Low byte and High byte from this: 'al%=lowbyte of ax, al%=highbyte of ax, al%=outregs.ax and &hff ah%=outregs.ax \ 256 I can understand that with call interrupt you can read or write to general … | |
Re: [QUOTE=The Beholder]Hello I only know qbasic and some c++ and a little asm, I have never programmed for windows, I recently ordered a book on qbasic with an introduction to visual basic 5.0. What should I be prepared for? what is this about forms? and what does object oriented really … | |
Re: [QUOTE=QB_Pete]Thanks Bentkey, any others with simlar responses, please reply. Pete[/QUOTE] 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, … | |
Re: [QUOTE=GB4mytime]Can anyone tell me how to write files or output to an excel file with tabs etc. Thanks, GB4[/QUOTE] i've been able to write a comma-delimited file for use as an excel spreadsheet quite easily. Even put a Total at the end of one column (only number column). It does, … | |
Re: [QUOTE=akela]I need to write a program in Quickbasic that will send hex in 1 byte format over the serial port. They have a plasma display where my dad works, and since my dad hasn't coded in basic for years, he commissioned me to do it, but I have no experience … | |
Re: [QUOTE=Natso]I head about a qbasic program that could make files undeletable... it only worked on ME or something though. Anybody here happen to have that code:?:[/QUOTE] I don't know what OS this will/will not work on. Should work on 95,98,NT,ME using shell "attrib +- attribute filename" +r sets read-only attribute … | |
Re: I've got an accounting program I wrote (basically a General Ledger). I have an option to send the postings to a spreadsheet. I use a comma delimited file. This works fine. The user can include up to 6 fields, the last being the amount field. I want to be able … | |
Re: The easiest way to 'delete' a record in a random file is to write (put) for RN&=Record&+1 to NR& (number of records) Get #1,RN&,UDT PUT #1,RN&-1,UDT next then have some way of controlling what the total records are (NR&) and reduce it by 1, such as a separate file containing … | |
Re: A little ahead of yourself aren't you ? 1965 Darmouth College Beginners All-Purpose Symbolic Instruction Code. I stand corrected. 1964 May 1 according to Dartmouth web site. |
The End.