473,320 Members | 2,004 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,320 software developers and data experts.

.Net 2002 Open a text file and append

Thank you in advance for any and all assistance. I'm trying to take text that
has been copied onto the clipboard in my vb.net 2002 application and paste into
a file that a command button opens, and append it to the bottom of the file. In
VB6.0 I was able to it with clipboard and file open commands along with
sendkeys. I'm having a terible time in .net 2002 to get it to work.

I would appreciate any help. Thank you again.

Michael
Nov 20 '05 #1
3 3034
* lu*************@aol.com (Lumpierbritches) scripsit:
Thank you in advance for any and all assistance. I'm trying to take text that
has been copied onto the clipboard in my vb.net 2002 application and paste into
a file that a command button opens, and append it to the bottom of the file. In
VB6.0 I was able to it with clipboard and file open commands along with
sendkeys. I'm having a terible time in .net 2002 to get it to work.


Have a look at the 'Clipboard' class and the classes in the 'System.IO'
namespace ('StreamWriter').

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Thank you for the tip. I have the textbox that is able to be copied to the
clipboard, but I get StreamWriter undeclared. I've tried dimensioning the
statement. Please give me some assistance?

Michael
Nov 20 '05 #3
* lu*************@aol.com (Lumpierbritches) scripsit:
Thank you for the tip. I have the textbox that is able to be copied to the
clipboard, but I get StreamWriter undeclared. I've tried dimensioning the
statement. Please give me some assistance?


I have posted a solution as a reply to your other thread. Please always
stay in the same thread with the same problem.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Niklas Uhlin | last post by:
Someone please explain why Session_Start fires multiple times / retains SessionID values between sessions, when you open an ASP.NET page from MS Word. For details of the problem, see below: 1....
7
by: Lumpierbritches | last post by:
Thank you in advance for any and all assistance. It is greatly appreciated. I would like a command button in VB.Net 2002 to open a text file, then to allow text from a textbox on the current form...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
2
by: Frav | last post by:
The Reps team have been experiencing that Access 2002 unexpectedly quits while working and also lots of Corruption Failures and "Record lock can not update" messages since the upgrade from...
3
by: DG | last post by:
Is there a documentation on how to build Word documents with just writing XML? Footer, header, tables, insert images, fonts, ect....
3
by: Wolfgang Meister | last post by:
I would like to append text to a file which might exist or not. What is the easiest way to open or create it depending if it exists or not and to set it into an "append" text mode?
4
by: varsha desai | last post by:
Hello there, I want to change some data(which is in one line only) of text file using VB 6.0. Which is the best method for it? Another question is I want to delete last two, three lines...
1
parshupooja
by: parshupooja | last post by:
Hey All, I am working in asp.net c# and Javascript. I building javascript dynamically. Actually When user click on button I want new window to open with Yahoo map. If I want map with in a page it...
0
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.