473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Help! Changing Text with vb

3
Hi, I'm completely new in Visual Basic,
My problem is this:

I want to create a simple application wich will open specified text document and edit it's specified place.

For begining , it will be good if someone tells me how to make the application open the specified text document when the button is pressed.

Thanks,
Mar 29 '07 #1
6 1225
yoda
291 100+
Hi, I'm completely new in Visual Basic,
My problem is this:

I want to create a simple application wich will open specified text document and edit it's specified place.

For begining , it will be good if someone tells me how to make the application open the specified text document when the button is pressed.

Thanks,
wats the code you have so far? under the cmd button put
Expand|Select|Wrap|Line Numbers
  1. Show.text1.txt
or wat ever your document is called, i think that will work but if it doesn't then don't get mad at me cuz i'm not really a VB Guru.

Yoda
Mar 29 '07 #2
yoda
291 100+
u can all ways start a thread that says "How to open text document in VB6" and u might get some more answers or you can search the website for this title and see wat comes up.

regards Yoda
Mar 29 '07 #3
vijaydiwakar
579 512MB
u can all ways start a thread that says "How to open text document in VB6" and u might get some more answers or you can search the website for this title and see wat comes up.

regards Yoda
This task can be done with the help of object of word and/or
use OLE object
Try it
Good Luck
Mar 29 '07 #4
astral
3
Thanks For Your answers,

I found out how to open text file in vb, but the problem is:

The text file I opened contains some data and my application is written to modify the specified place of this text and save it then.

Any Ideas?

Regards,
George
Mar 30 '07 #5
vijaydiwakar
579 512MB
Thanks For Your answers,

I found out how to open text file in vb, but the problem is:

The text file I opened contains some data and my application is written to modify the specified place of this text and save it then.

Any Ideas?

Regards,
George
use ole it will open file for u and ur able to modify and save it also
Mar 30 '07 #6
astral
3
use ole it will open file for u and ur able to modify and save it also
Thanks vijaydiwakar!
I used OLE object as was shown in one of the tutorials and it helped me.

RESPECT.
Mar 31 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
9
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with...
6
by: d.warnermurray | last post by:
I am doing a project for school that involves creating help files for a html authoring tool. If you could help me with answers to some questions it would really help. 1. What tasks do you expect...
0
by: tbatwork828 | last post by:
If you were like me trying to figure out how to launch context sensitive help topic by the context id, here is the link: http://weblogs.asp.net/kencox/archive/2004/09/12/228349.aspx and if...
3
by: Colin J. Williams | last post by:
Python advertises some basic service: C:\Python24>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> With...
7
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting list. But there isn't any information available...
5
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time...
8
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my laptop. All the settings look the same on both...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About. The application...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.