473,606 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I create the "Save" option in vb.net(Visual Studio 2008)?

Ajay Bhalala
119 New Member
It's urgent please help!

I want to create the "Save" option for the small
Notepad(in vb.net)

I have created this as follows...

Expand|Select|Wrap|Line Numbers
  1. If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
  2.             My.Computer.FileSystem.WriteAllText(SaveFileDialog1.FileName, RichTextBox1.Text, True)
  3.         End If
but there is a problem in the "Save" option...

If the user once save the file, then the user make changes in this file in which he was saved...
and then he save the existing file with the changes then one more time "Save As" dialogbox is opens and file is saved as another new file.

In short, the "Save" option is work like the "Save As" option. So How can I create the "Save" option in vb.net(Visual Studio 2008)?

And I also want to create the following options for the notepad

In Edit Menu
• Undo
• Delete
• Find
• Find Next
• Replace
• Go To
• Time/Date

In Format Menu
• Font
Hoe can I open the font dialog?

In View Menu
• Status Bar
Which property I have to use to show or hide the statusbar?

In Help Menu
• View Help
• About Notepad
Can I open the notepad help as the dialog-boxes?
I mean there is any method available for the "notepad help" like the show dialog method?

please help me for this...
It's urgent please help.
Nov 15 '14 #1
1 1362
Ajay Bhalala
119 New Member
Please anyone can help me on this topic? I want the help from any of you. please help.
Nov 20 '14 #2

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

Similar topics

by: fiona | last post by:
Reading, Berkshire, UK 05 June 2007 - Crainiate Software make details available of the release of Objecto Framework 2.0, an upgrade to their enterprise business component framework, designed to make it easy for programmers to create agile persisted business objects that are reusable, customisable and scalable, without additional developer tools. Objecto uses object persistence and managed database technology to allow developers to...
by: =?iso-8859-1?Q?Vicente_Garc=EDa?= | last post by:
Hi all, I have a great problem. I have been installed Visual Studio 2008 Professional on two computers. One works perfectly. On the other computer I don't know what happens when I click on FILE --NEW --WEB SITE because Visual Studio does nothing. It makes me not case! The same thing happens if I create a blank solution and attempt to add a WEB SITE. Other Visual Studio 2008 functionalities in principle works well. What could happen?
by: Colin J. Williams | last post by:
The readme.txt has: All you need to do is open the workspace "pcbuild.sln" in Visual Studio, select the desired combination of configuration and platform and eventually build the solution. Unless you are going to debug a problem in the core or you are going to create an optimized build you want to select "Release" as
by: Steve Harclerode | last post by:
I have a Windows service that I wrote with Visual Studio 2008, and I would like to create a deployment file for my client. There used to be an option "Add Installer" in the properties window when I created the service, which apparently has been moved or removed. I looked for new instructions to install services with VS 2008, but I don't see them on the web. Can anyone point me to the right place to be able to accomplish this? I tried...
by: Abhijit D. Babar | last post by:
Hello, I have insatlled Visual Studio 2008. I have to create DLL in Project type Visual C++. Which Template i have to select to reate dll, MFC DLL or Class Library?. I have to call or import this dll in Windows Forms Application. How can i do this. Please give details procedure to do this.
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ************** Exception Text **************
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008 and it states:
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or place a stop directive in the code which ends up doing the same thing. The problem with this is that you can't debug browser side Javascript in the same debug run. You get a "The breakpoint will not currently be hit. The document is not loaded." if...
by: Curious | last post by:
I installed Visual Studio 2008 Express Edition. I created a new project and picked "Empty Project" as project type. Then I don't see any file in this project. Normally Visual Studio would present a default file with a "main". However, I don't see any default method/file. Any advice on what to do the next?
by: Mangotree | last post by:
when i click on create Project in visual studio 2008 , it says " A default tools version 2.0 was specified , but its definition could not be found. " How to solve this problem?
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.