473,386 Members | 1,773 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,386 software developers and data experts.

Maximize

hi again,

i have a form that works and does everything that it should. it just doesnt
open maximized. Microsoft Word was surely written in C# and they managed it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany
Nov 17 '05 #1
7 1381
Try changing the WindowState property of your form to Maximized to have it
start up that way.

Also, Word, like most of Office predates C# and .NET and are actually
written in ‘old school’ C++ if I recall correctly.

Brendan
"Alvo von Cossel I" wrote:
hi again,

i have a form that works and does everything that it should. it just doesnt
open maximized. Microsoft Word was surely written in C# and they managed it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany

Nov 17 '05 #2
hi,

thanks for the answer.

anyway, wouldnt word 2003 be written in C# and perhaps a little Visual basic
(if it is possible to combine 2 languages)? i reckon it would but i am quite
new to programming so i don't know as much as you do.

cheers
--
Alvo von Cossel I of Germany
"Brendan Grant" wrote:
Try changing the WindowState property of your form to Maximized to have it
start up that way.

Also, Word, like most of Office predates C# and .NET and are actually
written in ‘old school’ C++ if I recall correctly.

Brendan
"Alvo von Cossel I" wrote:
hi again,

i have a form that works and does everything that it should. it just doesnt
open maximized. Microsoft Word was surely written in C# and they managed it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany

Nov 17 '05 #3
out of curiosity, what make you think that Word was written in c# ?
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:88**********************************@microsof t.com...
hi again,

i have a form that works and does everything that it should. it just
doesnt
open maximized. Microsoft Word was surely written in C# and they managed
it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany

Nov 17 '05 #4
When Microsoft (like most companies) goes to write a new version of a piece
of software, they rarely throw out all of the old code and build the new
product from scratch. If they were doing so, then yes, they could easily
build Word in C#, VB.NET or any other language for that matter, but they
don’t throw it all out, and because of all of the legacy code that remains it
becomes near impossible to rewrite it in a different language (because of the
costs involved) and they are forced to remain within it for the most part and
stick to the original language. It is still possible to use other languages
to build add-ons which often happens, but for the main app, it’s C++ and will
be for quite a while.

In the .NET world it is possible to combine languages to a certain extent.
You can build a class in C# and compile it to a DLL that is used by another
class you wrote in VB.NET and that is compiled to a 2nd DLL. A little later,
you might decide to use both in a Managed C++ application. All is possible
because all .NET languages compile to the Microsoft Intermediate Language
(aka MSIL), and at the MSIL level, all languages are equal and can share code
freely with each other, when using older languages such as C++ and VB, it is
possible, just not as easy.

Brendan
"Alvo von Cossel I" wrote:
hi,

thanks for the answer.

anyway, wouldnt word 2003 be written in C# and perhaps a little Visual basic
(if it is possible to combine 2 languages)? i reckon it would but i am quite
new to programming so i don't know as much as you do.

cheers
--
Alvo von Cossel I of Germany
"Brendan Grant" wrote:
Try changing the WindowState property of your form to Maximized to have it
start up that way.

Also, Word, like most of Office predates C# and .NET and are actually
written in ‘old school’ C++ if I recall correctly.

Brendan
"Alvo von Cossel I" wrote:
hi again,

i have a form that works and does everything that it should. it just doesnt
open maximized. Microsoft Word was surely written in C# and they managed it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany

Nov 17 '05 #5
In message <D1**********************************@microsoft.co m>, Alvo
von Cossel I <Al************@discussions.microsoft.com> writes
hi,

thanks for the answer.

anyway, wouldnt word 2003 be written in C# and perhaps a little Visual basic
(if it is possible to combine 2 languages)? i reckon it would but i am quite
new to programming so i don't know as much as you do.


It might have been if Microsoft did a ground-up rewrite every time they
release a new version of Office, but as far as I know, they don't. That
would be insane.

You can confirm that Winword.exe isn't a .NET executable by trying to
open it with Ildasm.

--
Steve Walker
Nov 17 '05 #6
hi,

well,

1. i've heard that it is
2. Why not? microsoft would use their own language to write their own software
3. C# is supposed to be C++ made easy
4. What can you do with C++ that you can't with C# (except for, maybe,
operating systems and program for Mac)?

just out of interest, can you create the IntelliSense snippets with C#? And
was Internet Explorer 6.0 written in C#? i understood that it was from an
article in Microsoft.com but it wasn't too clear.

--
Alvo von Cossel I of Germany
"Ignacio Machin ( .NET/ C# MVP )" wrote:
out of curiosity, what make you think that Word was written in c# ?
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:88**********************************@microsof t.com...
hi again,

i have a form that works and does everything that it should. it just
doesnt
open maximized. Microsoft Word was surely written in C# and they managed
it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany


Nov 17 '05 #7
Hi Alvo,

beside of what is that on this thread over Word and C#:
I did some word automation in C# for Word 2003.
It all is done with COM-Interop and all the classes are very COM-style.
If Word was written in .NET it surely had a .NET-API for automation.

"Alvo von Cossel I" <Al************@discussions.microsoft.com> schrieb im
Newsbeitrag news:88**********************************@microsof t.com...
hi again,

i have a form that works and does everything that it should. it just
doesnt
open maximized. Microsoft Word was surely written in C# and they managed
it!
how does one make the form open maximized?

help me if you can. please!
--
Alvo von Cossel I of Germany

Nov 17 '05 #8

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

Similar topics

0
by: w.p. | last post by:
I use code below: 1) frame receive too many maximize events on create and on close child window - why? 2) how to catch key events for wxMDIParentFrame ? 3) childWin.SetSize() in OnMaximize send...
1
by: Sanjay Seshasainam | last post by:
How can I maximize a process window I am using the Process class in System.Diagnostics. I can identify the specific process I want using the window title after that I want to maximize the...
1
by: Ralph | last post by:
Hi My users are going to toggle back and forth between DataSheet and Form view. This eliminates the need for a pile of queries <g> Anyway, I would like my form to be viewed at the current size...
7
by: Colleyville Alan | last post by:
I have an app that uses Access to grab various PowerPoint slides using the followhyperlink command. I have set the PPT window to run in a minimized state: FollowHyperlink link Set oPres =...
4
by: lauren quantrell | last post by:
I have an Access 2K popup form to which I have added buttons to run DoCmd.Maximize The problem is the form opens full height on the screen, with the bottom of the form hidden under the Windows...
1
by: Brandon | last post by:
Hello there. I'm currently working on a moderately complex Visual C# windows application that I have run into a bit of a problem on. To start things off, the application has normally been run...
3
by: guy | last post by:
VB2005 I have an MDI application, which displays modal forms correctly, and starts up with the MDI form maximized however for non modal forms behavious is unusual all forms have MaximizeBox,...
5
by: Mrozu | last post by:
Hi When I maximize a form in VB.Net 2003 the bottom of the form gets hidden by the start bar (so my status bar is invisible). How can I get my app to maximize to the usable screen area above...
4
by: EmilH | last post by:
Hi, Can anybody show me how to minimize/maximize a window dynamically? I placed buttons for each of these commands and want to place the code which will minimize and maximize the window. ...
3
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
I give my user a button to change the properties of the size property of maximize screen size. How can I programmatically cause the maximize screen function to happen after changing the property...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
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...

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.