C# Programing FAQ - Post here

asachan

Member
Apr 11, 2009
1,636
3
0
Athurugiriya
IF you have any problems Regarding

C#.net any version
C# + Database problems
.NET Framework Related Problems

Please post here. they will be answered by some one
 

whizzkid

Well-known member
  • Feb 21, 2009
    2,643
    172
    63
    Machan Visual Studio 2008 eken hadana C++ application run karanna .Net framework eka onada?
     

    whizzkid

    Well-known member
  • Feb 21, 2009
    2,643
    172
    63
    asachan said:
    C# 1 Line walin Digital Clock ekak hadanna puluwanda?

    samaharawita puluwan athi...mage yaluwek awruddakata kalin mata wihilukala Java walin media player ekak hadanna kochchara dawasak yanawasda kiyala...mokada C# walin windows wala "Windows media player" eka api liyana software ekata embed karanna puluwan line 2n withara...
    :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:


    By the way, Im also gonna learn C# as it's really easier to build GUI apps with C# than Java Swing...
     

    asachan

    Member
    Apr 11, 2009
    1,636
    3
    0
    Athurugiriya
    whizzkid said:
    Machan Visual Studio 2008 eken hadana C++ application run karanna .Net framework eka onada?

    Aniwaryenma one

    Mokada C#, C++.net , J# all depends on the freamwork
    They share the CLR so Framwork is required to run the C++ apps.

     

    asachan

    Member
    Apr 11, 2009
    1,636
    3
    0
    Athurugiriya
    whizzkid said:
    samaharawita puluwan athi...mage yaluwek awruddakata kalin mata wihilukala Java walin media player ekak hadanna kochchara dawasak yanawasda kiyala...mokada C# walin windows wala "Windows media player" eka api liyana software ekata embed karanna puluwan line 2n withara...
    :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:


    By the way, Im also gonna learn C# as it's really easier to build GUI apps with C# than Java Swing...



    private void timer1_Tick(object sender, EventArgs e)
    {
    textBox1.Text = DateTime.Now.ToShortTimeString() + ":" + DateTime.Now.Second.ToString();
    }

    just one line. Timer interval = 100MS
     

    whizzkid

    Well-known member
  • Feb 21, 2009
    2,643
    172
    63
    OH.... :(:(:(:(

    Did u notice that the .Net framework 3.5 is very large in size...It matters when delivering apps to those who has no .Net framework installed... :(:(:(
     

    asachan

    Member
    Apr 11, 2009
    1,636
    3
    0
    Athurugiriya
    whizzkid said:
    OH.... :(:(:(:(

    Did u notice that the .Net framework 3.5 is very large in size...It matters when delivering apps to those who has no .Net framework installed... :(:(:(


    yeah it's a problem . but i think it's only 145 MB in size. but i don't remember. my point is we can deliver our software with in a 600MB CD. it's the minimum size CD media.

    cos if you make a app with 500 Forms on it and lot of icons (let's say 500) , and you compact all the resources in one cab file it will not more than 50 MB in size .

     

    whizzkid

    Well-known member
  • Feb 21, 2009
    2,643
    172
    63
    asachan said:


    yeah it's a problem . but i think it's only 145 MB in size. but i don't remember. my point is we can deliver our software with in a 600MB CD. it's the minimum size CD media.

    cos if you make a app with 500 Forms on it and lot of icons (let's say 500) , and you compact all the resources in one cab file it will not more than 50 MB in size .



    Yes, what you pointed out is true....But it will be really funny if the application is very small, say 20mb and the framework is 145 Mb.... generally GUI apps are not very large in size unless it has loads of graphics, multimedia contents, etc...

    :) :) :) :) :) :) :) :lol: :lol: :lol:
     

    whizzkid

    Well-known member
  • Feb 21, 2009
    2,643
    172
    63
    By the way, I'm not a C# programmer... but I know Java up to some extent.. I just wanted to check this icon thing, but unfortunately I have uninstalled my Visual studio already as it ate up my hard.. :P:P:P:P:

    hmmm...C# programmers, experts and greenhorns are welcome to carry on this thread... :)
     

    asachan

    Member
    Apr 11, 2009
    1,636
    3
    0
    Athurugiriya
    whizzkid said:
    Yes, what you pointed out is true....But it will be really funny if the application is very small, say 20mb and the framework is 145 Mb.... generally GUI apps are not very large in size unless it has loads of graphics, multimedia contents, etc...

    :) :) :) :) :) :) :) :lol: :lol: :lol:

    Yes but the Client don't know that we are installing the framework at the installing time . cos we can add it to Prerequisite on Installer when we create the setup. so it looks like our setup will be 175 or more in size

    By the fact i know lot of ppl think that Size of the software increase the more functionality it has. it's a genaral thinking and no truth of it. look at Adobe suit CS4 it is a 8GB bundle. VS 2008 it self is 7.5 Gb . but the thing is VS 2008 got only 20 MB Icons and animation gifs .
     

    whizzkid

    Well-known member
  • Feb 21, 2009
    2,643
    172
    63
    asachan said:

    Yes but the Client don't know that we are installing the framework at the installing time . cos we can add it to Prerequisite on Installer when we create the setup. so it looks like our setup will be 175 or more in size

    By the fact i know lot of ppl think that Size of the software increase the more functionality it has. it's a genaral thinking and no truth of it. look at Adobe suit CS4 it is a 8GB bundle. VS 2008 it self is 7.5 Gb . but the thing is VS 2008 got only 20 MB Icons and animation gifs .

    yes that's true... :)