|
-
Feb 7th, 2007, 04:27 AM
#1
Thread Starter
New Member
Accessing and working on .c, .h files from VB
Hi all,
I need to find few strings in .c/.h files which are part of a VC++ workspace and replace those strings with my new strings. I've stored the "strings to be found in the files" in one column and "strings to be replaces in the files" in 2 adjacent columns in excel worksheet. Can anyone help me how to proceed with this.
- Kavitha
-
Feb 7th, 2007, 08:27 AM
#2
Frenzied Member
Re: Accessing and working on .c, .h files from VB
The .c and .h files are just ascii formatted files.
You load them like any textfile and store them in a string variable.
Be advised though, mindless use of the Replace function (or ctrl+c_ctrl+v) can seriously mess up your c code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|