The Answers for The common questions in this forum

Permanente The Answers for The common questions in this forum

Permanente

Tutte le risposte

  • mercoledì 24 maggio 2006 20:35
     
     
     Q : when i write a program does my client have to have .net Framework? \ can't i write independent program without asking my clients to download .net Frameworks?

     

    A : No

    actualy you don't write program from scratch in .net framework you use (FCL)Framework Class Libraries , and engine  

    so your project will not run untill you provide the engine and the supportive libraries ,

     as well as the programs that made with java need JVM to be running on your computer , the programs that you will write in VB.net need  .net framworks to be running on your system

    best regards

  • mercoledì 24 maggio 2006 20:41
     
     

    Q : My Project doesn't save!! , When i run my application i can edit my database but when i stop debugging i find my database records still the same with no changes?

    A: Actualy you have 2 databases not one

    the  origional one in the project folder (that you see in your IDE) 

    the second one in your projectFolder/bin/debug folder , its just for testing 

    every time you run your application the testing database will be replaced by fresh copy from the origional one so every time you debug you lose the previous changes

    so you have some options to be able to see your database changes

    1) see your changes  in the database that lies in debug folder not the one in your  project folder

    2) select your database in your solution explorer and go to properties tab >> copy to output folder property >> select copy if newer

    like that you stop the new copy every time you run your project , so willb be able to see your previous changes as long as you didn't change your database design, but still can't see the changes in the origional database in your solution explorer , the changes have been make to the copy in the debug folder

    hope this helps

  • mercoledì 24 maggio 2006 20:42
     
     
     Q: what are the express version limitations, compared to other versions?

    A: you can find the answer here

    http://msdn.microsoft.com/vstudio/products/compare/default.aspx

    hope this helps

     

  • mercoledì 24 maggio 2006 20:46
     
     

    Q : My project take too much Resources (RAM's) Is that logic? , i have developed small application but it take lots or computer ram?

    A : i was wondering too about this, i used to answer this question like this  minmize your application and maxmize it again and see the difference , and i used to think there are some sort of memory leaking or something like this , till i found this article and it told me exactly what's going on

    http://www.itwriting.com/dotnetmem.php

    hope this helps

  • mercoledì 24 maggio 2006 20:53
     
     

    Q: is it possible to do Reporting in visual C#  Express Edition?

    A: unfortunatly V C# EE (IDE) doesn't support Crystal Reports and dosn't support Add-ins. so that you can't add reporting tool to your IDE .

    there is a reason for that , reporting is a profesionals work but EE IDE meant to be a light weight version for students only , if you want this ability you can upgrade to higher version of visual studio,

    but there are some ways to do reporting for learning purpose not for professionals work, so you will find most of them not trivial thing and inconvenient so you can't depend on them for production

    Best regards

  • mercoledì 24 maggio 2006 21:08
     
     
     Q : is there a way to add Chart to my Form? or i want to Draw my OWn chart?

    A : you can take a look to those links it have a good examples and a simple tutorial

    1. Samples and tutorial for how to do it
    2. Nplot is a free charting library for .net you can find Nplot documentation here
    3. there are also some samples in registeration benefits portal page you can use them  but first you have to register your EE copy also  look for the license( its not free to distripute) but you can take them as guide for you
    4. you can use MSChar.ocx library
    5. to draw them yourself

    hope this helps

  • venerdì 26 maggio 2006 21:27
     
     

    hi,

    Just an idea! Will it be a good idea to make this as a comment and post it as announcement, so that the people in this forum can monitor this thread and also append new faq's for C#? IF you think it is a better idea, then please make it as an announcement, so that we can point newbies to this thread for reference.

    Thank you,
    Bhanu.

  • mercoledì 21 giugno 2006 19:29
     
     

    Q: How do I create a setup project for my C# application?

    The only supported setup mechanism within the Express Editions is ClickOnce which allows you to deploy your application to a web server or be distributed via CD or disk as well as support automatic updating after it is in the hands of users.

    While ClickOnce is good for most simple applications and installations it does not provide the same level of control that you have with standard Visual Studio created Setup projects that are available in Visual Studio 2005 Standard Edition or higher. In cases where more control is needed it can be a good idea to build ones own setup program externally of Express with free products such as: