Solved

a few c# simple windows application questions

Posted on 2011-03-04
8
251 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
Independent Software Vendors: 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 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