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

what's the code for changing Screen?

I want to move from one Screen to another screen. Can you tell me about it.
Sep 10 '09 #1
9 1767
markmcgookin
648 Expert 512MB
Probably...

(Hint: More information helps with responces)
Sep 10 '09 #2
Hey Mark,
Can you plz give me a big hint.
I m unable to understand your hint.

Thanxxxxx for replying me.
And Nice picture budy
Sep 10 '09 #3
markmcgookin
648 Expert 512MB
Kapil,

We don't know what you mean by "Move from one screen to another" is this on the PDA? How does a PDA have two screens? What OS are you using? What device is it? What language are you writing in?
Sep 10 '09 #4
I am writting in C#.
and my mean that I have two forms. How I hide form1 and how to display form2 while form2.show property is not working in Windows Mobile 6.
So now can you help me.
Sep 11 '09 #5
markmcgookin
648 Expert 512MB
First of all Form.Show(); is a method not a property, so make sure you are putting () after the .Show.

You need to create an instance of the form

Expand|Select|Wrap|Line Numbers
  1.  frmYourForm form = new frmYourForm(); 
then you need to call it's .show method

Expand|Select|Wrap|Line Numbers
  1.  form.show(); 
Is this what you have tried? Are there any SPECIFIC errors?
Sep 11 '09 #6
Thank You Dear, Thats it what I am Looking for.
Thank you very much for helping me in my other problems too.
Sep 11 '09 #7
markmcgookin
648 Expert 512MB
No problem, that's what we are here for :)
Sep 11 '09 #8
Hey Mark, Can you tell me that how can I take a value of one form to another.
my mean for this purpose there are a lots of technique in ASP.Net where from I. but ASP.Net is a Web development Area.

I had worked in VB6 too. I gives us the facility of Modules in which we can put global variables.

Whats in C# for. I have a variable and I need its value on the other form How can I do it?
Sep 11 '09 #9
markmcgookin
648 Expert 512MB
In the constructor for your 2nd form (the bit at the top that is the same as the file name

i.e.
Expand|Select|Wrap|Line Numbers
  1. public frmMyForm()
you need to allow it to accept an argument/variable.

so it would need changed to

Expand|Select|Wrap|Line Numbers
  1. public frmMyForm(string _yourVariable)
then when you create the form in your first form you should pass it in

Expand|Select|Wrap|Line Numbers
  1.  frmMyForm newForm = new frmMyForm(strVariable) 
then it will be passed into your new form
Sep 11 '09 #10

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

Similar topics

3
by: John Hrusovszky | last post by:
I am brand new to VB and attempting to teach it to myself, and in playing around with an application I am writing, I am loading 1 screen, and then when the user hits "begin", change the...
3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
1
by: Mad Scientist Jr | last post by:
I have a textbox control (for simplicity call it Text1) with autopostback turned on. It has a couple validators: RequiredFieldValidator_Text1 RegularExpressionValidator_Text1 The Text1...
6
by: Darian | last post by:
I am wondering how (if it is possible of course) I can change a users screen resolution to a certain size when running my application and then change it back when they exit my application. For...
12
by: DanG | last post by:
We're running Visual Studio 2003 version 1.1.4322 SP1 to build a web application. Something strange started happening this morning on one of my co- workers' Development Environments. The...
4
by: VK | last post by:
As per discussion in the thread http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/117e4f3a30f4d1c3 I'm proposing to add new FAQ entry: ...
0
by: A. User | last post by:
All, I created an Access 2000 MDE application in 1024x768. A user of mine, who is running Vista with Office 2007, can not see the entire application- the right most side is off the screen. No...
33
by: Adeel Hasan Akbari | last post by:
Hi! I'm new to this field. Actually i'm a new programmer. And i've never worked in C. It is my humble request to you to provide me with the source code for Spaceball (the game in which there's...
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...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.