Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Phone book
#21
i tried it out, its nice Smile
Reply
#22
Thanks for he comments.

I see you are a linux lover. I had a vist from a guy in our local Radio Club yesterday who uses nothing else but Linux, and will not ever try a Windows Emulator. So are you running QB with Linux and evern FB

He promises to drop around a Linux boot up disk he claims I can run without upsetting Win XP, is that true. If so perhaps it would be safer for me to go online usung it, as they do not appear to go around to spreading Viruses with Linix!!

Gordon
Reply
#23
Quote:....Viruses with Linix!!

Gordon
Whats linix :lol:. Anyway, yeah, if you dont wanna install a bootloader like LILO or GRUB then you can make a boot floppy which will boot linux everytime you put that in and boot into linux. You dont need to actually upset WinXP to run linux. Just freeup a partition or stick in an old HD and install Linux on it. To uninstall its as simple as booting with the XP start up disk and issuing:

fdisk /mbr
Reply
#24
I am scared **** or partitioning my drive with the he stuff already on it, but I will look into how to use a floppy boot disk, or perhaps I could create a CD to boot up. I was amazed to hear there must be some 30 verisons of Linux developed, many contain all the software needed like MS Office 2000 etc, but at my count ther are only some 6 versions of wonderfull Windows.

The guy turned up with some kind of linus supposed to work with Windows in the same window and desktop, except it had no instuctions which came in a magazine. I tried to install something, and finished up having to restore a backup!!!

Gordon
Reply
#25
google for cooperative linux. Download and install it. If you wanna try out linux use a live distro like knoppix. It runs off the CD. No need to install anything on the harddisk. And I share your concern regarding installating linux on your harddrive with windows and other stuff already in place. I personally would recommend installing linux on a PHYSICALLY separate harddisk. And stay away from FC3. It has some VERY weird installation issues. (That must sound weird coming from a redhatter :lolSmile
Reply
#26
Quote:[...] some 30 verisons of Linux developed, many contain all the software needed like MS Office 2000 etc, [...]

An MS product on Linux? Maybe you are thinking OpenOffice or soemthing of the like. Linux would never have MSOffice.


Just needed to point that out
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#27
Thanks for your advice. I will email these posts onto a couple of guys in the Radio Club who use Linux to see what hey can do to help. Here is a list of all the BUMFF on the CD given to me, copied from the INDEX.HTML with the links. I have not yet fathomed out how to copy and paste any images into these posts, apart form plain TEXT . One day I might get another 40 Gig hard drive to install Linux, because this one has a tendency to crash if it needs Defraging at all, even though I only use about 10 Gig of it.

Gordon


Visit the web site Subscribe online
Magazine
Distros
Games
Help
Office
System
Essentials
Magazine
Mono
TheGimp

Distros
CoLinux

Games
AlienPool
Freebooters
Project:Starfighter

Help
Tutorials

Office
OpenOffice.org

System
ConKolivasKernelPatchset
Distcleaner
Gimp-print
Ndiswrapper
PortableOpenSSH

Essentials
Allegro
ALSA
Avifile
CheckInstall
CSV
GLib
glibc
GTK
gtkmm
Guile
Kernel
lesstif
libESMTP
libmcrypt
Libsigc
libstdC++3
libXML
Mesa
ncurses
OggVorbis
RAWRITE
SDL
SmartBootManager
SVGAlib
Reply
#28
ehhhmmm :-? you guys are kinda gettin of subject.
Any way i got this far cept it does funny things when you try the delete thingie

Code:
DECLARE SUB delete ()
DECLARE SUB reader ()
DECLARE SUB addfile ()

TYPE searchtype
  FullName AS STRING * 20
  Number AS STRING * 12
END TYPE
DIM SHARED search(1 TO 100) AS searchtype


TYPE phonetype
  FullName AS STRING * 20
  Number AS STRING * 12
END TYPE

DIM SHARED phone AS phonetype


1
CLS
reader

PRINT
PRINT "1: Add new file"
PRINT "2: Delete File"
PRINT "3: Exit"
DO
a$ = INKEY$
LOOP UNTIL a$ = "1" OR a$ = "2" OR a$ = "3"
SELECT CASE a$
  CASE "1"
  addfile
  CASE "2"
  delete
  CASE "3"
  END
END SELECT
      
GOTO 1

SUB addfile

phoneLen = LEN(phone)
OPEN "C:\phone#.dat" FOR RANDOM AS #1 LEN = phoneLen
numcontacts = LOF(1) / LEN(phone)
CLS
INPUT "What is the name of the person you want to add? ", phone.FullName
INPUT "What is their phone number? ", phone.Number
PUT #1, numcontacts + 1, phone
CLOSE #1


END SUB

SUB delete


INPUT "Type the name of the person you want to delete ", searchname$


'get name from file
OPEN "phone#.dat" FOR RANDOM AS #1 LEN = LEN(phone)
numcontacts = LOF(1) / LEN(phone)
FOR i = 1 TO numcontacts
GET #1, , search(i)
NEXT
CLOSE #1

'add spaces to name so it fits the name in the file
namelen = LEN(searchname$)
namelen = 20 - namelen
FOR i = 1 TO namelen
searchname$ = searchname$ + " "
NEXT


del = 0

'look for the name to delete
FOR i = 1 TO numcontacts
IF search(i).FullName = searchname$ THEN
del = i
EXIT FOR
END IF
NEXT
IF del = 0 THEN PRINT searchname$; " is not in your phone book": SLEEP

'delete the name and write the rest back to the file
KILL "C:\phone#.dat"
OPEN "C:\phone#.dat" FOR RANDOM AS #1 LEN = LEN(phone)
c = 0
DO UNTIL c = numcontacts
c = c + 1
IF c = del THEN c = c + 1
IF c = numcontacts THEN EXIT DO
PUT #1, , search(c)
LOOP


CLOSE #1



END SUB

SUB reader


OPEN "C:\phone#.dat" FOR RANDOM AS #1 LEN = LEN(phone)
CLS
numcontacts = LOF(1) / LEN(phone)
FOR i = 1 TO numcontacts
  GET #1, , phone
  PRINT phone.FullName, phone.Number
NEXT
CLOSE #1

END SUB

PS:
Im tryin to figure this out without lookin at another program. Kinda somthing that helps me get better at programming. Big Grin
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply
#29
My Linux Lover friend came around again yesterday with a DVD and covering Linux magazine by some Nerds. The DVD contains Knoppix 3.4, Slackware 10.0, Gentoo 2004.1, Arch Linux 0.6 Widgit Edition, Dyne : Bolic 1.3, Feather 0.5.3. All very confusing, especially at much of it in German!

They appear to claim you only need to create a CD containing the contents of any of the folders, such as Knoppix, and lo and behold if you change your boot-up CMOS to boot-up on CD, it will open running Linux. Needless to say it does not work and reverts to Windows XP installed, because the Knoppix stuff appears to contain no necessary System files for start-up

The do say something a bout using a ISO below while running Linux, except I cannot even get Linux to run!!

Gordon

Burning ISO images
You can create the full CD discs by burning the appropriate ISO file to a blank CD in a CD writer. Under Linux you can find out what your writer is referred by running

cdrecord -scanbus

This will then indicate the three figure code such as 0.1.0 or 0,2,3 You can use this to point to the correct device.

Cdrecord dev=n,n,n
/path/to/image.iso

an actual example would be drecord dev=0,0,0/mnt/cdrom/kboppix34.iso
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)