Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Request (no not a team request!)

Author
Message
Data
19
Years of Service
User Offline
Joined: 26th Nov 2004
Location: Winnipeg,Canada
Posted: 28th Jan 2006 04:56
Hi,

I have a question and request. My question; is it possible to make a program that can go into a document in MS Word and find every '<'. Then number it(1,2,3 etc.) so you can see the number in front of it? My request; Can someone possibly make this for me or knows somewhere where I can get it?

Data

http://jimmyr.co.uk
"THere is no spoon"
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 28th Jan 2006 05:06 Edited at: 28th Jan 2006 05:07
CTRL+F, replace

[edit]nvm, miss read[/edit]

Still do able, but word uses formating, so replacing all the < may replace a < that is needed.

Merranvo, The Cool One
Noob Justice League, Cause We Have More Fun
Support Merra XJ9, cause the name is cooler.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 28th Jan 2006 05:37
The only way I know of is with ascii characters, but unfortunately, this is what a word doc looks like in ascii


You would have to find a way to read the binary properly.

This sounds like a familiar programming assignment, you could always just paste the text into notepad and then use the READ STRING command.

Are you talking about just DarkBasic? Because if you can I would recommend going and downloading Visual C++ Express 2005 and using that to write it. It's probably just me, but searching strings in C++ seems a lot easier than in DarkBasic.


I'm going to eat you!
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 28th Jan 2006 05:50 Edited at: 28th Jan 2006 05:51
That is blank or something, the TEXT is regular text. So you don't need to read anything but strings.

SHAPE \* MERGEFORMAT

Merranvo, The Cool One
Noob Justice League, Cause We Have More Fun
Support Merra XJ9, cause the name is cooler.
Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 28th Jan 2006 12:35
Um encrypted code in word lol

where i went on holiday to
www.portaventura.es and also http://themepark.nl/ubbthreads/showflat.php?Cat=0&Board=UBB7&Number=661483&page=0&fpart=all
Data
19
Years of Service
User Offline
Joined: 26th Nov 2004
Location: Winnipeg,Canada
Posted: 30th Jan 2006 04:13
ok if I pasted it into notepad how do I use the Read String command?
And no it doesn't matter what language its in. So I could do it with Visual C but 1 problem, I don't know how! Also this is not for me by the way nor is a school assignment. Not sure what Account inactive and Merranvo are getting at.

http://jimmyr.co.uk
"THere is no spoon"
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 30th Jan 2006 04:59
When you have a question about code post it in the Darkbasic or Darkbasic Pro area.




mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 1st Feb 2006 17:42
being a kind person i'll write a c app for you, i'll post the source and the exe if you don't have a compiler, i'm using devc++ but it should equally work in vc2005 if you start a console application

http://ccgi.lochviewwest.plus.com/design1
AMD athlon 64 3000+, 1GB ddr400, abit kv8, 400GB total hdd, ati radeon 9800se 128mb, 2x17" tft(@1280x1024).
mm0zct
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: scotland-uk
Posted: 1st Feb 2006 18:15

there you go

http://ccgi.lochviewwest.plus.com/design1
AMD athlon 64 3000+, 1GB ddr400, abit kv8, 400GB total hdd, ati radeon 9800se 128mb, 2x17" tft(@1280x1024).

Attachments

Login to view attachments
Data
19
Years of Service
User Offline
Joined: 26th Nov 2004
Location: Winnipeg,Canada
Posted: 2nd Feb 2006 03:21
thank-you

http://jimmyr.co.uk
"THere is no spoon"
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 2nd Feb 2006 21:20
I guess the language does matter. You didn't like the Darkbasic code I posted that does what you requested?


Login to post a reply

Server time is: 2024-11-16 12:57:31
Your offset time is: 2024-11-16 12:57:31