Solved

a few c# simple windows application questions

Posted on 2011-03-04
8
250 Views
Last Modified: 2012-08-13
hi all, im just about to begin converting my asp.net cms to a windows application

jsut a few dumb questions as this is my first effort...

1. so i have one main form then all other forms are childforms?
Ans:

2. how do i preview a a form? i keep pressing debug but it only loads the first form i created and i have no menu on that yey
Ans:

3. theres no repeater! i heard you can customise the datagrid to do the same though? can we make it look pretty?
Ans:

4. once ready to deploy do i create a package then distribute? also how would i preform updates?
Ans:

5. would the app be fine having to remoteley connect to an sql server?
Ans:

6. when i was creating a dataset it gave me a warning about no security on the connection, how do i apply it or is this not nessecary?
Ans:

Thanks alot guys
0
Comment
Question by:awilderbeast
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 35036436
>> so i have one main form then all other forms are childforms

That's depending of your application. Mostly we speak of childforms in an MDI-environment
http://msdn.microsoft.com/en-us/library/aa983667(v=vs.71).aspx

>> how do i preview a a form?

Or you have to set it as startup-form (Right click on the project go to properties. Under "Startup Object" select which form you want to use) or add a button/menu/... where you call the new form
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 35036449
>> once ready to deploy do i create a package then distribute? also how would i preform updates?

Deployment possibilities:
http://msdn.microsoft.com/en-us/library/6hbb4k3e.aspx
0
 
LVL 1

Author Comment

by:awilderbeast
ID: 35036466
ok so for example in a website id have

MAIN MENU
Home
Companies
Clients

SUB MENU - COMPANIES
Info
Staff
History
Attachments

so would i have one main form with main menu in
sub menu with the comanpanies sub loaded on click

then child forms for info, staff, history, attach...

or would everything have its own form?

Thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 35036494
>> Some c# windows questions --> and now you say: example in a website  ... :)

It's all depending of your own design... You can work with mainforms, you can work with other forms. It's all depending of the interaction that you need between your forms ....
0
 
LVL 1

Author Comment

by:awilderbeast
ID: 35036513
well im converting from website to app arent i :P

well for example after a company is loaded, the company ID needs to be available for all sub company forms

if i used main forms for all my pages, when i click a button to go to a different form the screen doesnt flicker or open another form ontop does it, it opens it in place (like a webpage would? lol)
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 35036553
You can do something like that, fe by using an MDI-application (see link earlier).

You than have a mainwindow, in wich you can show the subforms
0
 
LVL 1

Author Comment

by:awilderbeast
ID: 35036676
remaining questions

datagrid can i customise/style it?

remote connection to sql, is that good practice?

sql intergrated security how do enable that?

Thanks
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 500 total points
ID: 35036700
>> remote connection to sql, is that good practice?
What exactly do you mean with this ? Mostly I work with another server that is hosting the database (not local)

Customizing the Windows Forms DataGrid
http://msdn.microsoft.com/en-us/library/ms996485.aspx

How to: Access SQL Server Using Windows Integrated Security
http://msdn.microsoft.com/en-us/library/bsz5788z.aspx

0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question