473,669 Members | 2,452 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to change Form1 module names

In creating content for a VC++.NET programming class, I'd like the students
to create a single form application starting with an Empty Project(.NET)
and then construct the application step by step naming each file as it is
being created. Code could be copied in from another similar application. I
would like thenaming of the files to be frmMain.cpp and frmMain.h The other
files can be copied in (ie stdafx.cpp and stdafx.h) The purpose is to
ensure they see the content and purpose of each of these code elements.

Could you suggest a clear method to accomplish the above?

Also, creating an application using the Windows Forms Application(.NE T)
template would be fine provided the names of the supplied code files can be
changed from Form1.x to frmMain.x in a clear and easy manner.

In your opinion, are most desktop windows applications started with the
above template?

Wouldn't it make sense to allow the developer to name the forms .cpp and ,h
files ?

Suggestions and advice is appreciated.

TIA
Bob
Nov 16 '05 #1
0 1214

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

Similar topics

5
1420
by: Larry Bird | last post by:
I've created a AlertDataClass below within the class I have tables and column that I've create. In the AlertDataAccess class I'm trying to insert data into my tables. AlertDataAccess is a Module that is trying to insert data into the tables. Within the AlertDataClass is subroutine that init and creates ColumnNames. In invoke the AddDataColumnNames() sub to create the column headers. Why can't I see the column names in my module that I'm...
7
1486
by: Terry Olsen | last post by:
I'm trying to make my app source easier to read & follow by breaking up the code into modules. One module has the fileIO routines, another module has the sockets routines, etc. However, I can't see any of the data from the main form. I need to send data entered into a textbox from form1 to a remote server via a routine in the sockets module. However, I can't see the textbox from the module. This is probably really simple, and i'm...
1
1904
by: Richard | last post by:
Hello there, I have a form that is called from a Sub Main procedure using application.run(Form1). On my main form there is a button to open an instance of Form2 and then at the same time hide Form1. So far so good.
4
4225
by: thomasp | last post by:
Using VB2005 Beta 2 If I use Application.Run(New Form1) in the below code. Then code like TAM.Form1.rtbAllAcq.Text = aryStatistics(0) that is used to update a richtextbox on Form1 does not work. There is now error but the contents never change. If I use Application.Run(Form1) then all works fine. I assume that this is because New creates a new form that TAM.Form1 does not reference. Is this correct? Will the following code cause me...
3
5930
by: Karan | last post by:
I am calling finalize when form2 loads and deactivates form1 which closes form1. However, same thing is not happening in form2 because finalize is already called. Does anybody has solution to it. This code works well for splash screen. I searched alot on net for codes but they don't work. for example- (1) Public Sub CloseForm(formType As System.Type) For Each oForm as System.Windows.Forms.Form in me.MdiParent.MdiChildren If...
4
9217
by: Charles | last post by:
Hello Everyone, I have been gettting great feedback from microsoft.public.vc.language group but after doing more searching I think my post should be directed to this group. I am trying to make a simple gif animation using VC++ and 13 different gif files and a timer. I am new to VC++ but played around with C++ for a few years. I am using Microsoft Visual Studio 2005 (VC++).
0
1261
by: Petded | last post by:
Hi im just starting to look at doing some visual c++ winforms stuff using the latest vc++ express edition download im generally familiar with c++. When i generate a winforms i want to name the forms with a relevant name, i know this is also the class name ,not only the title which i know can be changed using the text paramter, but i want to set custom form names at design time.
3
3084
by: JoelH | last post by:
This is really weird... I'm using Visual Basic 2005 Express I have a form - Form1 - with a control called txtStatusBox I have a module attached to the solution for storing some other code. This links to an Outlook MAPI folder (variable ContItems), that waits for new items to arrive. When a new message is delivered, the event is fired. However, when it tries to change the text in a textbox on Form1, the box remains unchanged:
0
8465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8383
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,...
0
8895
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8809
jinu1996
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...
1
8588
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,...
0
5682
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();...
1
2797
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2032
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1788
bsmnconsultancy
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.