Sunday, August 2, 2009

I'm new to programming; shall I go for Microsoft visual c#.net or Microsoft visual basic.net?

I need to know the difference between them so I can choose the best for my work

I'm new to programming; shall I go for Microsoft visual c#.net or Microsoft visual basic.net?
Both not too differ, since you are new to programming suggest you go for C# as it's more popular then VB.NET out there.
Reply:C# Report It

Reply:why not use Delphi ? no need to have something with the word Microsoft in the name of it if you use windows you will know of the problems it has so why add more to it by going with something made by the same company? i use Delphi as i found it to be easy to pick up and go simple commands and easy to use.
Reply:It wont differ much. but in my opinion, go for C#.
Reply:Both are same ,difference in Syntax.
Reply:you must find out which one is more popular in your country (or your town). they just a like, only different in syntax. the important thing is not which one you will choose, but the programming logics and basic. if you are good at one of them, you can easily learn and use the other one.


Can any body give me code for how to add data in datagrid programatically in asp.net with c#?

i want to learn how to add data in datagrid programatically in asp.net with c#. i want all code like connection string and all the thing i want to learn. please help i need it very urgently.

Can any body give me code for how to add data in datagrid programatically in asp.net with c#?
this is how we did it.....we filled it with objects through an object data source. You can get your source from anything though (pasting code here sucks....)








%26lt;asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllOrders"


TypeName="DBAccess"%26gt;


%26lt;FilterParameters%26gt;


%26lt;asp:QueryStringParameter DefaultValue="" Name="SearchParam" QueryStringField="Search"


Type="String" /%26gt;


%26lt;asp:QueryStringParameter DefaultValue="" Name="CategoriesParam" QueryStringField="Cat"


Type="Int32" /%26gt;


%26lt;/FilterParameters%26gt;


%26lt;/asp:ObjectDataSource%26gt;


%26lt;asp:GridView ID="GridView_Orders" CssClass="datagrid" runat="server" AllowPaging="True" AutoGenerateColumns="False"


DataSourceID="ObjectDataSource1" PageSize="15" BackColor="White" BorderColor="#CCCCCC"


BorderStyle="None" BorderWidth="1px" CellPadding="3" OnSelectedIndexChanged="GridView_Orders_...


%26lt;Columns%26gt;


%26lt;asp:CommandField ShowSelectButton="True" /%26gt;


%26lt;asp:BoundField DataField="OrderID" HeaderText="OrderID" SortExpression="OrderID" /%26gt;


%26lt;asp:BoundField DataField="CustID" HeaderText="CustID" SortExpression="CustID" /%26gt;


%26lt;asp:BoundField DataField="OrderDate" HeaderText="OrderDate" SortExpression="OrderDate" /%26gt;


%26lt;asp:BoundField DataField="ShipDate" HeaderText="ShipDate" SortExpression="ShipDate" /%26gt;


%26lt;asp:BoundField DataField="Shipper" HeaderText="Shipper" SortExpression="Shipper" /%26gt;


%26lt;asp:HyperLinkField DataTextField="Cost" DataTextFormatString="{0:c}" HeaderText="Cost" /%26gt;


%26lt;/Columns%26gt;


%26lt;FooterStyle BackColor="White" ForeColor="#000066" /%26gt;


%26lt;RowStyle ForeColor="#000066" CssClass="datagrid" /%26gt;


%26lt;SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" /%26gt;


%26lt;PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Center" /%26gt;


%26lt;HeaderStyle BackColor="#006699" Font-Bold="True" CssClass="datagrid" /%26gt;


%26lt;/asp:GridView%26gt;

















Then for your connection string....we put that in the web.config file. Looks something like this.








%26lt;?xml version="1.0"?%26gt;


%26lt;configuration xmlns="http://schemas.microsoft.com/.Net...


%26lt;appSettings/%26gt;


%26lt;connectionStrings%26gt;


%26lt;remove name="LocalSqlServer"/%26gt;


%26lt;add name="LocalSqlServer" connectionString="Data Source=192.168.11.11;Initial Catalog=Ecommerce1; User=namehere;Password=ttGurVBx" /%26gt;


%26lt;/connectionStrings%26gt;


%26lt;/configuration%26gt;


How do we decide an application in .net that it should be vb.net or c#.net?

how we have to make an decision on application that particular language or tool will be specific

How do we decide an application in .net that it should be vb.net or c#.net?
Check to see whether you'll be affected by vendor lock-in. Check if the development tools are open and free. Ensure the code is cross-platform so it has an element of future proofing and portability. Ensure you've got the support for the databases you require, such as Oracle.
Reply:every tool and language has its own advantages and disadvantages. one particular problem can be solved by many technologies but some of them will be more fast and efficient than the other. so it depends on the kind of problem. also i think c# should be chosen since the syntax is lot similar to c and java whereas vb.net has more english like words. but still both do the same thing.
Reply:...You make a VB.NET or C# project in Visual Studio according to your choice.

gifts

How to Box and Unbox in C# .Net?

In this article I will explain the concepts of Boxing and UnBoxing. C# provides us with Value types and Reference Types. Value Types are stored on the stack and Reference types are stored on the heap. The conversion of value type to reference type is known as boxing and converting reference type back to the value type is known as unboxing. Let me explain you little more about Value and Reference Types. Value types are primitive types that are mapped directly to the FCL. Like Int32 maps to System.Int32, double maps to System.double. All value types are stored on stack and all the value types are derived from System.ValueType. All structures and enumerated types that are derived from System.ValueType are created on stack, hence known as ValueType. Reference Types are different from value types in such a way that memory is allocated to them from the heap. All the classes are of reference type. C# new operator returns the memory address of the object.





Read more on Boxing and Unboxing in C# .Net at http://www.buzzycode.com/ShowArticles-id...


What county of oregon is the c-net guy missing in???

Josephine is where Merlin (the town that they are working out of) is, but the search is in Jackson County. If he went further down the Rouge River it would be in Curry county. As you can see, the area he's lost in is very close to the junction of the three counties.





Here's the link ot the families website with the latest info: http://jamesandkati.com/





Unfortunately, they have now found him and he did not survive.

What county of oregon is the c-net guy missing in???
The search is being conducted near Grant's Pass, Oregon, which is in Josephine County.

innia

What is the coding for programming C#.net?

when i typing in textBox and the message that i typed in the textBox will appear directly in 1 by 1 of alphabetic in Label.

What is the coding for programming C#.net?
can u give more explanation? ur question is not clear
Reply:Click on your textbox control and click on the property for it and then look for a lighting icon on the property window. Select the icon and look for the event called OnTextChanged. Double click the event and it will generate a method in your code.





Then add the following code inside the code area of the new method:





MyLabel.Text = MyTextBox.Text;





Note: MyLabel is the name given to your label control and MyTextBox is the name givien to your TextBox control on your form.


How to display the elements of XML file in a tree view using C# and ASP.NET?

help me in displaying the elements of sample.xml file in a tree view using ASP.NET and C#. Suggest some good sites that


gives detailed info on TreeView

How to display the elements of XML file in a tree view using C# and ASP.NET?
Search in MSDN library


How to make cd formate and hosting one web application done by asp.net using c#?

i have completed asp.net project that is web application .code behind c#.web application project want to make a cd formate (my project is online test abt IQ test contain multiple choice ).

How to make cd formate and hosting one web application done by asp.net using c#?
You can't run an ASP.NET application from a CD. ASP.NET requires a running instance of IIS, which requires Windows 2000 or later, which won't fit on a CD, nor provide you with the writable directories required by IIS.


How to call a webservices in vb or c#.net 2000 version from visual basic?

If you are asking about visual studio .net then I can help you. For using a web service, open you solution explorer and right click it. Then select "Add a web reference". As soon as you select this, an inbuild browser opens. Give the url of the web service or travel to that page using that browser. After successfully adding that webservice, a new class will be added. Use that class methods. Those class methods are nothing but the web service methods.





Enjoy...

gerbera

Hello all I am going to face the interview for ASP.NET, VB.NET and C #.NET so pls send Question / Answer?

i'm kind of lost at what you're wanting





do you want someone to send you question/answers that may be asked of you in an interview for .NET programming position?





if so i've listed some sites in the sources


How do I read a text file in C#.net from a linux box?

Someone told me I needed to install Samba on the linux box. I would then have to make my windows server a client of the Samba server ??? But even after that, how do I read the file in my windows service program ???


Thanks, Ken

How do I read a text file in C#.net from a linux box?
Not sure what you are trying to do.





But if you are wanting to do .NET stuff on a linux box try this.


http://www.mono-project.com/Main_Page


How can i make a checkbox readonly in c#.net?

Disable it by setting its Enabled property to false





%26lt;asp:CheckBox id="chkMyCheckBox" runat="server" Enabled="false" Text="You cannot check Me!" %26gt;%26lt;/asp:CheckBox%26gt;





You might also want to do that programatically





chkMyCheckBox.Enabled = false;


Which language provides a competitive edge for freshers:c#.net or JAVA?

They both have very similar syntaxes, that's all. In term of deployment, C# wins big. It's a lot easier to be expert in C# because you learn the Microsoft-way. Java is harder because too many frameworks from open-source A, B, ... etc. And, worse, each of them has totally different views on solving thing. I think this is why Java progresses slower than anticipated.

Which language provides a competitive edge for freshers:c#.net or JAVA?
Java..
Reply:JAVA.......................................











Get yourname.com in Rs. 199.00 p.a.


at


www.domain199.com
Reply:Java and dot net have a really good future buddy..specialize in any 1of them for a good future...


:)


All t best...
Reply:c++

rosemary

How can i make a program on Visual C#.net that provide 4 people play a card game online?

I can make that program for 1 user on 1 computer, but I dont know how can i make my computer to connect another computer via internet to play the game.

How can i make a program on Visual C#.net that provide 4 people play a card game online?
idk
Reply:You need to use socket.


Can anyone guide me in programming with visual c#.net?

FREE Visual C# 2005 Training CD


Learn Visual C#2005 from the leader in developer training. Each CD is three hours of training with a value of $115.


How to pass the value to the user control using c#.net with asp.net?

U nee dto create events n delegates.


public color p_setuserbackcolor


{


get


{


value;


}


set{


tetxbox1.backcolor=value;


}


}


Declaring delegate:


public delegate void abc(object s,eventargs e);


public event abc myclic;








Hope u get the concept n can use now

How to pass the value to the user control using c#.net with asp.net?
It necessarily depends on where the value is produced.


If it is on the client side like a field in a form, you can access Request object from the user control, hence the value. You can also use Session object to pass values, but this will consume some memory depending on the value.
Reply:user control is also a class,so you can use the same way to pass the value to the user control as to the class.
Reply:I think you are asking about the Web User Controls, its better to use the session values.





Set the value on session on the Page_Load()





use the session value in the User Control Code.


Exception when I run a program developed with C# .net 2.0?

I used visual studio 2005 to developed an application. it was working well. recenty i used "Computerinfo" class of "Microsoft.VisualBasic.Devices" namespace. for which I had to add a visual basic dll as reference. But my problem is when I run the program from Visual Studio 2005 IDE It works fine. but after publishing It throws an exception with 'detail', 'quit' and 'continue' button.





************** Exception Text **************


System.Management.ManagementException: Provider load failure


at System.Management.ManagementException.Th... errorCode)


at System.Management.ManagementObjectCollec...


at System.Management.ManagementObjectCollec...


at Microsoft.VisualBasic.Devices.ComputerIn...


at Microsoft.VisualBasic.Devices.ComputerIn...


at MountUp.MainUI.MainUI_Load(Object sender, EventArgs e)


at System.Windows.Forms.Form.OnLoad(.....

Exception when I run a program developed with C# .net 2.0?
I recall reading somewhere that not all of the "My" objects available to VB function properly in C#. Since most of the objects provided through the "My" keyword are available to C# through other means, it's probably better in the long run to spend a little more time to write the code for that directly. You didn't say exactly what property you were trying to access when the exception occurred, but from what I can see that's available through the ComputerInfo class you'll probably have to resort to pinvoke to get most of that info.

wallflower

Is there any online video tutorials to learn C# / .NET?

Like this...





http://www.vtc.com/products/csharp.htm

Is there any online video tutorials to learn C# / .NET?
learnvisualstudio.net
Reply:try this it might be helpful..good luck....


http://www.asp.net/learn/videos/default....


What is the equivalent to Math.Random() in C# .net?

if you follow the top post it is not random for multiple calls in the same timespan. Use the following to fix that





System.Random objRandom = new System.Random(((int)((System.DateTime.No... % System.Int32.MaxValue))));








public int GetRandomNumber(int Low,int High) {





// Returns a random number,


// between the optional Low and High parameters





return objRandom.Next(Low, (High + 1));





}

What is the equivalent to Math.Random() in C# .net?
The following code returns a random number:











int num = random.Next();





The following code returns a random number less than 1000.











int num = random.Next(1000);





The following code returns a random number between min and max:











private int RandomNumber(int min, int max)


{


Random random = new Random();


return random.Next(min, max);


}


Is it safe to download free music from c/net download.com?

yes

Is it safe to download free music from c/net download.com?
I think that it is best and safe to download music from that site but don't try to download some spy software from it because it contained spyware and viruses.


if u don't believe then u can check by this method go to www.download.com and type there "Power spy 2006" and save the file oin your computer then scan it with Norton Antivirus it will show u the risk of spyware. But yes don't insatll it otherwise it can put a spyware in ur computer but i thinks that it is best for music download ok i also thinks that u get it!


Take care
Reply:yeah of course





try " www.emp3s.com "
Reply:that site is one of the safest sites you could ever dream of DLing from. go for it! :)


How to convert the VB6.0 programs to C#.net programs if there is any website to convert?

There's no such site, as far as I'm aware.


I don't think it's possible to convert from VB to C, because it would be too difficult (READ: impossible!) to do such a thing (they are too different programing languages, one is compiled, one interpreted...). You'd better try to understand the algorithm(s) in the programs and rewrite the code!

How to convert the VB6.0 programs to C#.net programs if there is any website to convert?
probably not. The only possibly conversion you can have is maybe into assembler. I've never heard of a program that would translate between languages. Languages are different and they don't have the same functionality. So translating between such different languages is pretty much impossible. You would have start from scratch.





Sorry for the bad news.

hollyhock

What's a more marketable programming language: Visual C#.NET or Visual Basic.NET?

.net is more marketable right now if you know it because it has been being used for a longer period of time, but with C# the capabilities and visuals that you get are razor sharp and allow more implementation, but it will be a while before it becomes really powerful. Businesses are always hesitant of new technologies until they are sure + they don't want to send employies for training so if you learn it now in a year, when you are good it will be taking off even more so than it is now, plus you will be able to market yourself with the newest, latest and greatest knowledge.

What's a more marketable programming language: Visual C#.NET or Visual Basic.NET?
Visual C# . NET is definitely more marketable. As you might know, the demand for .Net Programmer is very high right now and it just keep getting better. Today, .Net framewok is a complete for application development where everything come in handy. You no longer need to download third party software to complete your application. ...
Reply:C# is replacing VB, most of the new tools etc MS releases support C#(like the XNA framework, no support for VB, C# only)
Reply:C# is the better choice as it resembles both C++ and Java. Moreover, because of this, you would do well to learn it as it will prepare you for a potential move to Java.





I say that from experience as I was an old ASP/VB/Com developer that moved to C# in 2001 and am now on a Java J2EE team.
Reply:The older computer languages are always more in demand but competetion is all the more keen. Spoting the trend toward C# can give you a leg up on ALL the competetion. Like the Nike phrase...JUST DO IT!


Welcome , How to work Server and client with C#.NET or VB.NET?

Your question is too broad and vague. Can you be more specific?

Welcome , How to work Server and client with C#.NET or VB.NET?
I want to build chat Report It



Which is the best book for learning c#.net?

I think Brian has it right with either


the Wrox book:


http://www.wrox.com/WileyCDA/WroxTitle/p...


(note that some of the more recent Wrox books are having some Q/A problems, I am not sure about this one)


or, the O'Reilly book:


http://www.oreilly.com/catalog/learncsha...





I also like the Deitel series:


http://www.deitel.com/books/csharphtp2/





A wonderful book to learn (and to learn by doing) Windows Applications is this one:


http://www.amazon.com/gp/product/1932394...





You will probably need a more general C# book alongside it if you have never programmed C# before.





But, if you go through Brown's book, you will know WinForms and how to program Windows applications.

Which is the best book for learning c#.net?
You usually can't go wrong with either a Wrox or O'Reilly book.





Wrox:


http://www.wrox.com/WileyCDA/WroxTitle/p...





O'Reilly:


http://www.oreilly.com/catalog/learncsha...
Reply:There are several books you will get in the market but if you are the biginner for C# language then I would like to recommend the book "Wrox Publications Beginning C#" . This is the best book for beginners, as it guides you through the basics of .net framework as well the fundamentals of C#.
Reply:you can easily find ebook on internet and buy the book as per your taste after viewing it.


How can I authenticate my website developed in asp.net and c#.net (Practice) with the help of win.config?

Hello all you greate Pro.


I am developing a three pages website for practice. I have used Login page, AdminHomePage,and Containt Page.





Home.aspx kept in Root Folder, Login.aspx contain in Admin folder and AdminHome.aspx in Secure Folder.





I Configured win.config as follows.





%26lt;location path="Admin/Secure"%26gt;


%26lt;system.web%26gt;


%26lt;authorization%26gt;


%26lt;allow users="?"/%26gt;


%26lt;deny users="*"/%26gt;


%26lt;/authorization%26gt;


%26lt;system.web%26gt;


%26lt;/location%26gt;





I also write codes in Login.aspx Login Buton as follows





protected sub btnLogin(....)


{


if(FormAuthentication.Authenticate(txtus...


{


Session["SesIS"]=Session.SessionID


FormsAthunticate.redirectfromloginpage(t...


}


}


}

How can I authenticate my website developed in asp.net and c#.net (Practice) with the help of win.config?
Look over you code:


%26lt;allow users="?"/%26gt;


%26lt;deny users="*"/%26gt;





try





%26lt;allow users="*"/%26gt;


%26lt;deny users="?"/%26gt;





This will allow all authenticated users and deny any unknown users..


You are allowing anonymous users then denying all users.





Go to http://www.msdn.com or http://www.asp.net to learn more.

cabbage

What's your opinion about Microsoft Visual C++.net??

for writing programs and create games....!!!





any alternative??

What's your opinion about Microsoft Visual C++.net??
Ehhh... I'd have to disagree strongly with the previous user.


If you're coding a game, 99.9% chance it will be in C/C++/C# (unless its a mobile game).


How do I know this? I'm a programmer at Electronic Arts.





As one of my professors once said, "Java is what a programming language should be, but its also what a program should NOT be." This is because you have much lower-level control with C/C#/C++ - the very things that make it harder than Java are the things which make it more powerful.





I should mention, though, that games can be made in practically every language. If you just want to "make a game," sure, go ahead, use whatever you want (but do your homework - each language has its particular advantages). Heck, games can be made in Flash or Shockwave if you want. It depends on what you're trying to do. If you want to make a PC game like most people think of, though (like just about every game you've ever played) its a very very safe bet it was made in C/C++/C#.





As for Visual Studio .NET, I like it. But its personal preference. Some people prefer other IDEs (as they are called), but VS .NET is a good standard.
Reply:It's fine. There are many alternatives to it.





What language you write in should be dictated by what you want to do and what language gives you confidence. For games, what language you use depends largely on the engines you want to use.
Reply:It is a pretty good program, especially with the newer version (2005).





I am not a big fan of C++, though. If you are just starting out, I would definitely recommend Java. It is simpler (but can still be just as powerful as C++) and there are much more support for it.


Where to find exercise solutions to visual c++.net how to program by dietel?

yoc can find huge solutions in this site


www.codeproject.com


if you need any help contact me


Plz introduce online refrence about ajax for c#.net?

Here:


What are the access modifier in dotnet(C#.net)?

check the link:

What are the access modifier in dotnet(C#.net)?
you know in advance programming may have a lot variables and values,so we should define a scope for accessing to them.


access modifier helps us to do it.


access modifier define the scope of access of a object such as variables,classes,methods,events ,... .





for example:


public %26gt;%26gt;%26gt;%26gt; object is accessible from anywhere of your code


private %26gt;%26gt;%26gt;%26gt;object is accessible from the class which object is defined in and subclasses.


protected %26gt;%26gt;%26gt;%26gt;object is accessible from which object is defined in and inherited classes

phlox

I want to validate a textbox in c#.net for windows application?

The textbox should take only numbers,backspace and Enter key.when i press the enterkey after entering the number in textbox it should invoke a method.(priority of this question is high and urgent.)

I want to validate a textbox in c#.net for windows application?
Use Validator control in asp .net


What are the access specifier in dotnet(C#.net)?

check the link....

What are the access specifier in dotnet(C#.net)?
you know we have objects (such as classes,methods,variables,


events,...) in programming, so we should define scope for accessing them.





access modifier(or specifier) helps us with that.


we define access scope of an object via access modifier.





for example:


1)public %26gt;%26gt;%26gt;%26gt; object is accessible from anywhere of your code within the namespace


2)private %26gt;%26gt;%26gt;%26gt; object is accessible from the class which object is defined in,and all subclasses of it


3)protected %26gt;%26gt;%26gt;%26gt; object is accessible from the class which object is defined in, and all inherited classes





attention:


if you want to access it from another name space should use "static" after public %26gt;%26gt;%26gt; "public static"





I wish it would be helpful
Reply:Upto my knowledge,





private,


protected,


protected friend,


public,


friend





These are the access specifiers in dot net


I am looking for a good book on C# and C#.net prefarably by indian author. even foreign authors will do?

I recommend these books for learning C#


What's the eistiest way in Console C#.Net to shut down the program?

Use the Environment.Exit() method.

verbena

Cross tab report of crystal report in c#,.NET?

please help me to solve this


me table values are follows:


name, type, result


a 1 0


b 2 0





Crystal Report should look like


. name


type result


such as





. a b


1 0 -


2 - 0





thanx

Cross tab report of crystal report in c#,.NET?
I'm still a noob when it comes to cross-tab reports/queries, but to me it seems like a cross-tab is best utilized for sums or counts of two-field groups. For instance, you could use a cross-tab to generate counts of each type grouped by each name. But once you add the result variable, I think a cross-tab is no longer appropriate.





To do what you're describing, I would just lay out the report using a table instead of a cross-tab.


Which is the best standard book for c++,.net please tell?

books prefered

Which is the best standard book for c++,.net please tell?
For the c++ the best book is by Robert Laffore.


It is of Galgotia Publication and book name is Object Oriented Programming in Turbo C++ Balagurusami is also good book but for using that book you should have a good knowledge of C++.


Robert Laffore is best for beginners as well as experts
Reply:i think BALAGURUSWAMY is the best 4 c++
Reply:Bruce Eckel's MindView, Inc: Thinking in C++ 2nd Edition by Bruce Eckel


This two volume book, which covers Standard C++, is available free on-line. ... you for your book 'Thinking in C++' which is, with no doubt, the best book I ...


http://www.mindview.net/Books/TICPP/Thin...
Reply:T Ramachandran is the best books for C++.


Download some books which mey be useful to u from here


http://www.download-googlesearch.blogspo...
Reply:Balaguru swami is for kid. beat book on c++ Author "kanitkar"
Reply:Collection of Free-e-Books on C++ Programming Language





1. C++ GUI Programming with Qt 3 ( Author:Jasmin Blanchette, Mark Summerfield ISBN:0131240722 Pages:464 Publication Date:January 15, 2004 Publisher:Prentice Hall PTR )





2. Visual C++ 6 Unleashed ( First Printing:July, 2000)





3. An Introduction to C++ Programming( Author:Björn Fahller)





4. An Overview Of The C++ Programming Langauge( Author:Bjarne Stroustrup)





5. How To Think Like A Computer Scientist With C++( Author:Allen B. Downey)





6. Introduction to OOP Using C++( Author:Peter Müller)





7. A Beginner's C++( Author:Neil Gray)





8. Programming in C++ - Rules and Recommendations( Author:FN/Mats Henricson and Erik Nyquist)





9. Thinking in C++ Volume 1 - Introduction to Standard C++( Author:Bruce Eckel)





10. Thinking in C++ Volume 2 - Practical Programming( Author:Bruce Eckel, Chuck Allison)





11. C++ In Action - Industrial Strength Programming Techniques( Author:Bartosz Milewski)


How to prevent user to browse to previous page everytime after logout in ASP.NET using c#. Please help, urgent

The language using is ASP.NET in c#, try to using session but cannot work. Please give me some code example. Thanks a lot.

How to prevent user to browse to previous page everytime after logout in ASP.NET using c#. Please help, urgent
You'd think you could capture the back button event in ASP.net, but that isn't so. But there's a couple tricks you can use.


The first one is to use a javascript like this one:





%26lt;script language="JavaScript"%26gt;


%26lt;!--


javascript:window. history.forward(1);


//--%26gt;


%26lt;/script%26gt;





It will send the user forward one page, so hitting back brings them right to where they are.





Another way is to create a blank page. For example if you have a 4 page site, and the 4th page is the logout screen. Add a 5th page with nothing on it. When the user goes from page 3 to page 4, they hit page 5 first. So the "Next" button on page 3 says Response.Redirect("Page5"). The only thing in Page 5 is in the page load event, which says Response.Redirect("Page4"). It goes by so fast the user never sees it and doesn't know he went through one page on the way to another.


So now the user is on page 4 and hits the back button to go to page 3, but it actually loads Page 5, which immediately sends the user to page 4.





Try both of those and see if one suits you.
Reply:the easiest way would be to have a javascript tag to go forward as follows: This is more of a pseudo code, so you can expand on it.





%26lt;html%26gt;%26lt;head%26gt;


%26lt;script language="javascript"%26gt;


href.location=go.forward();


%26lt;/script%26gt;





%26lt;/head%26gt;%26lt;/html%26gt;


Please tell me where can i find c#.net programs for web page creation?

There are several sites and tutorials out there to show you how to accomplish your goals in C# for the web (ASP.NET)





Typically I would just search for the specifics of what I'm looking for.





For example: C# marquee tutorial.


to look up how to do a marquee in c#





If there's anything specific you need help with you can email me and I'll try and help you find what you need.

snapdragon2

Has anyone enrolled or completed the visual c# .net program at penn foster career school?

If so please tell me about your experiences, good and bad, and if you completed it, how well were you able to find a job afterwards?


How can i save an image using c# .net? just a save button with a save functionality,...?

it can be save in a specific location like desktop, etc. ...thankyOU

How can i save an image using c# .net? just a save button with a save functionality,...?
You will need to use the image class in the system.drawing namespace.





// Construct a bitmap from the button image resource.


Bitmap bmp1 = new Bitmap(typeof(Button), "Button.bmp");





// Save the image as a GIF.


bmp1.Save("c:\\button.gif", System.Drawing.Imaging.ImageFormat.Gif);





// Construct a new image from the GIF file.


Bitmap bmp2 = new Bitmap("c:\\button.gif");





// Draw the two images.


e.Graphics.DrawImage(bmp1, new Point(10, 10));


e.Graphics.DrawImage(bmp2, new Point(10, 40));





// Dispose of the image files.


bmp1.Dispose();


bmp2.Dispose();


How to set start up form in c#.net?

Assuming you know how to use the command line to compile or using an IDE:





using System;


using System.Windows.Forms;





namespace MyNamespace


{


class Program


{


[STAThread]


static void Main()


{


Application.Run(new Form());


}


}


}





This code will create a new System.Windows.Forms.Form and run it. You will have to extend the Form class and add the controls you want and then run a new instance of that class instead of Form.





Alternatively,


Download Visual C# 2008 Express from


http://www.microsoft.com/express/vcsharp...


and you can create a Windows Form Application and Visual C# 2008 Express will generate the base code for your form. You can then use the builtin designer to easily create your own form.

How to set start up form in c#.net?
In visual Studio, you set it in the project properties.





In the SDK





Quick example without VS:





namespace Microsoft.Samples.WinForms.Cs.SimpleHell... {


using System;


using System.Windows.Forms;





public class SimpleHelloWorld : Form {





[STAThread]


public static int Main(string[] args) {


Application.Run(new SimpleHelloWorld());


return 0;


}





public SimpleHelloWorld() {


this.Text = "Hello World";


}


}


}


What is a method in C#.NET?

An example would be great.

What is a method in C#.NET?
A method (not just in C#, but also in other object oriented languages) is a function that is part of a class. It is for this reason sometimes also referred to as a member function.





class Test


{


    public int Add(int x, int y)


    {


        return x + y;


    }


}





In this example, Add() is a method of the Test class.
Reply:method is function that it can capsuled your code and run some related code in it.for example in windows application when you click any button it execute a method that do something(running some code)

avender

Can you give suggestions about c-net.com?

There are free downloads, supposidly on this site. There were several things that said "freedownloads." Can you suggest free, really truly free downloads for dvd and cd burning?

Can you give suggestions about c-net.com?
http://www.deepburner.com/?r=download
Reply:I like ImgBurn for CDs and DVDs





http://imgburn.com/





By "truly free", do you mean "open-source"? If so, see InfraRecorder."





http://infrarecorder.sourceforge.net/





By the way, SourceForge is an excellent place for free software:





http://sourceforge.net/index.php


If 1st Radiobuttonlist 'item' is check, 2nd radiobuttonlist is enable/disable(asp.net with C# using JScript)

It has 2 Radio ButtonList Control...


If 1st RadioButtonlist have 3 buttons and 2nd will 3 Buttons...


1st radiobuttonlist item will select the 2nd will enable/disable the radiobuttonlist control....


(By Using ASP.Net with C# and also Using JavaScript)

If 1st Radiobuttonlist 'item' is check, 2nd radiobuttonlist is enable/disable(asp.net with C# using JScript)
This might help get you started on working with the Radiobutton class





http://msdn2.microsoft.com/en-us/library...


How do you embed standard C code in a C++ .NET app?

extern "C" {


/* C code */


}





(not just for MS tools, part of the C++ standard)


What are the differences between c#.net and java?

Java and C# more or less match with each other.Java is influeced by C++ whereas C# is enhaced version of C++. C# derives from C/C++ with modernization and type safety- to adapt the changes in environment and to implement advances in the art of programming.


In Java the return type ofmain() is void whereas in C#, We are not restricted only to void we can also also have int.


In Java pointers does not exist and was not designed to be compatible with any other languge. Although the default for C# code is safe mode , we can declare classes or method to be unsage This enable us to use pointers , structs andstatically allocated arrays.Both the safe mode and unsafe code run in the managed space , which implies no marshalling is incurred when calling unsafe code from safe code.


In Java the main(), if there are no parameters required we still need to incle the command line parameters array. This is not the case with C# we can declare Main() as


public static void Main(){...}


Although Java supports constructors, it doesn't have destructors. Whereas in C# we have destructors to release all the expensive resources even though we have garbage collector, which does the same - isn't invoked immediately after the variable goes out of scope, but only at certain intervals or memory conditions.





In Java it is not possible to declare unsigned integers whereas in C# POS type system i.e., intended to support the complete implementation of a wide range of programming language makes us impossible to declare unsigned integers.








check this page for more

What are the differences between c#.net and java?
"The CLI and C# have many similarities to Sun's JVM and Java. They are strong competitors. Both are based on a virtual machine model that hides the details of the computer hardware on which their programs run. Both use their own intermediate byte-code, Microsoft calling theirs Common Intermediate Language (CIL; formerly MSIL) and Sun Java bytecode..NET in its complete form (Microsoft's implementation) is currently only fully available on Windows platforms and partially available on Linux and Mac, whereas Java is fully available on nearly all platforms." - Wikipedia





Basically, .NET is made by Microsoft where you have to buy their development software and usually works only on Windows. Java is made by Sun and works on Windows, Mac, and Linux, and free development software is available such as Eclipse http://www.eclipse.org/ and others.
Reply:C++ (pronounced "see plus plus", IPA: /siː plʌs plʌs/) is a general-purpose programming language with high-level and low-level capabilities. It is a statically typed, free-form, multi-paradigm, usually compiled language supporting procedural programming, data abstraction, object-oriented programming, and generic programming.





C++ is regarded as a mid-level language. This indicates that C++ comprises a combination of both high-level and low-level language features.[1]





Dr. Bjarne Stroustrup developed C++ in 1979 at Bell Labs as an enhancement to the C programming language and named it "C with Classes". In 1983 it was renamed to C++. Enhancements started with the addition of classes, followed by, among other features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. A new version of the standard (known informally as C++0x) is being developed.








.net (network) is a generic top-level domain (gTLD) used on the Internet's Domain Name System. The .net gTLD is currently operated by VeriSign. Registrations are processed via accredited registrars and internationalized domain names are also accepted (see details).





.net is one of the original top-level domains (despite not being mentioned in RFC 920), created in January 1985. It was initially intended for use by network oriented entities such as Internet service providers. Currently, there are no formal restrictions on who can register a .net domain name. Therefore, while still popular with network operators, it is often treated as a second .com.





In addition to being an abbreviation for "network", "net" is also a romanisation of the Russian word нет ("no" or "not", also commonly romanised as the more acoustically appropriate "nyet"), and a domain name like "object.net" can be interpreted as "there is no object". Some domains exploit this pun, for example mozga.net (brain absent) or putina.net (not Vladimir Putin) and DamoW.net (there is no Damien Walsh).





Some online poker or other gambling sites operate real-money games at a .com address and games without actual stakes (promoted as being for fun or education) at the same name in .net. This can be used to get around legal issues regarding the advertising of online gambling in the United States, since the .net site can be promoted legally, but such promotion helps make people aware of the name of the real-money site even in jurisdictions where such things are of questionable legality.








Java is a programming language originally developed by Sun Microsystems and released in 1995 as a core component of Sun's Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode which can run on any Java virtual machine (JVM) regardless of computer architecture.





The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun made available most of their Java technologies as free software under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java and GNU Classpath.





Java's design, industry backing and portability have made Java one of the fastest-growing and most widely used programming languages in the modern computing industry.
Reply:I've never done C#, but I have done C++. Let me tell you, if they are anything alike, they are both very similar to Java. The syntax is a little different, but there are plenty of similarities.





C#.net is part of the .net framework, which is all microsoft. Java, however, is made by Sun Microsystems and is compatible with different platforms. .Net is good if you are learning other Microsoft based languages, such as vb.net

violet

Which of these are better in REAL JOB WORLD?C#.NET or VB.NET?

I am using VB.NET and I really like it and it is best now a days coz every one wants the better Grapgical user Interface for their system. Other thing about VB.NET is, you don't need to do much more coding. Software will do every thing for you and in built classes and objects would support every thing that you wanna do.





I prefer VB.NET.

Which of these are better in REAL JOB WORLD?C#.NET or VB.NET?
C#.NET is the more marketable skill. C++ was the standard for years, but the .NET platform has made C# extremely popular. You can get a job doing either C# or VB, but you will earn more money with C#.





In my last job at a major tax and finance software company, they selected C#.NET as the platform on which to standardize their development.


Which is the best book for visual basic&c++,c,.net?

I have some links below - not exactly books but useful video and pdf resources for the above from Microsoft. Hope they are also useful

Which is the best book for visual basic%26amp;c++,c,.net?
for vb Unleased VB


c++ Robert Lafore





c Spirit of C
Reply:For c++ use OOPS by EBalaguruswami
Reply:I dont use C++ but thers good tutorials here


http://3dbuzz.com/vbforum/sv_home.php
Reply:Sams Teach Yourself Visual Basic in 21 Days


Teach Yourself C++ in 21 Days


and other books of same series


Friday, July 31, 2009

What is the major difference between vb.net&c#.net?

vb.net


http://en.wikipedia.org/wiki/Visual_Basi...





c#


http://en.wikipedia.org/wiki/C_Sharp





Comparison


http://www.codeproject.com/dotnet/vbnet_...


http://www.harding.edu/USER/fmccown/WWW/...


http://www.dnjonline.com/article.aspx?ID...


How Much C# Does ASP.NET Development requires?

I believe ASP%26gt;NET comes with its own controls etc.. Now I read that C# is sometimes requires to write code that ASP.NET does not provide. My question is simple.:


I know that at this point C# is needed but how much C# should i know? The basics? I am sure that to develop ASP.NET you don't need to know as much C# than if you are a C# software developer.





Thank you.

How Much C# Does ASP.NET Development requires?
.NET (dot net) is a framework which is used, typically, for web development. To that end, you can choose a few different languages to code in. C# and ASP are two such languages. If you are writing a .NET application, you do not need any knowlege of C#. You may choose to write the application in another language if you'd like.
Reply:You will need C# as if you are a software developer because thats what a web developer is; a software developer.





In general how much C# you will need depends on what you want your application to accomplish.





With ASP.NET controls you might end up writing less code, however you you will still need to write C#.





You will not need to go and read an in-depth C# programming book. Just learn the C# as presented in an ASP.NET book for beginners as you go. Usually that suffices for a beginner.





Hope that helps.
Reply:ASP.net isn't a language on it's own. it's part of Microsofts dotnet framework. It supports C#, VB.Net, J# and maybe others. I'm using vb.net myself but c# can be more powerfull if you want to create usercontrols etc. But 99.9% you can stick with vb.net which is a neat language. You'll learn it within a few weeks, you can follow microsofts excellent video-tutorials to get you started
Reply:Boy... a question straight to my heart...





Having just been through this dilemma not more than a month ago, I can tell you that ASP.Net only requires C# (or any other language) if you want to actually do more things than you can get from drag/drop elements and setting properties. If you want any database interaction that isn't 100% canned, you NEED custom programming.





How much do you need? Well, that depends upon what you are doing. Simple processing of webforms to handle what the user inputs requires some or all of the fundamentals of the launguage: Types, Variables and Constants, Expressions, Statements, and Operators. If you want to do any database interaction that isn't canned, you need Classes and Objects, Preprocessor Directives, Arrays, Indexers, Collections, Strings and Regular Expressions.





The only thing you don't need that a desktop application developer does is a knowledge of Windows Forms and how to interact with them. But I find it does help to be at least familiar with the concepts.





Feel free to contact me if you need help. Also, here are a couple of good books for you to read...

peony

How tocompare the dissembled code of C# .Net and Java languages?

This article compares the same program written in the C# and Java languages and then compares the dissembled code of both languages.





Read more on C# .Net and Java at http://www.buzzycode.com/ShowArticles-id...

How tocompare the dissembled code of C# .Net and Java languages?
You cannot compare and make out anything out of it.


Any different tech tv aside from C|NET TV?

http://www.cnettv.com

Any different tech tv aside from C|NET TV?
all the podcasts that tech tv has done since the screensavers show was done. they're all on itunes


How to upload images to MSAcess using asp.net and c#.net?

This would require quite a large answer but I found an article on msdn on how to do it using vb. It wouldn't be too complicated to convert it to c#.





What you need to do it store the image in a BLOB (Binary Large OBject) data type in Access.








Anyway, the article can be found here:





http://support.microsoft.com/kb/103257





Hope this helps


How to minimise runtime errors in c#. net?

I have made a web application, where it needs to connect to database and inserts the details from the two textboxes provided in the aplication. but while in runtime, it generates an error message that





"Sql server doesn't exists or access denied"





All the connection are coded inthe file manually.

How to minimise runtime errors in c#. net?
The connection string should not be hardcoded. It should be stored in a configuration file in one centralised place so that are not obliged to recompile your application every time you need to modify the connection string.





In your case the problem is obviously in you connection string. The error generated is quite self explaining.





In general, runtime errors cannot be avoided but rather handled. You should place code that is susceptible to throw exceptions in try - catch blocks. Code within the try scope is referred to as protected code.





For more info on try catch statements in C#, check out this link:


http://msdn2.microsoft.com/en-us/0yd65es...
Reply:Make sure the connection string defined for the connection object is valid. Check the name of the website or its IP in the connection string and try it in a WebForm and see if it works. If yes, then use it in your web application. Good luck.
Reply:Yep I got to say the same thing


Check the Web.Config file for your connection string..

long stem roses

Api windows ( or source code with c#.net ) for hibernate system and wake up computer with modem ring ?

You can look up the C++ Windows API Power Management functions here:


http://search.msdn.microsoft.com/search/...


-


-


Which is the best language among c#, .net , java ?

i m confused about the language which is best and the scope of language is bright !! but im not able to decide yet !


actually, i want to learn the language which have the capability of hacking and software develpoment ?





so plz plz help me in chosing the language !!!!!!!!!!!!!!!

Which is the best language among c#, .net , java ?
C# has the almost the same synthax as java


both are good
Reply:JAVA obviously, as it involves the creative mind of the programmer. If a programmer is good, that would be reflected by his program and vice-versa.


But .NET technology is developed to make the job easy for the programmer by providing him assistance in reducing the acctual code to be written.


C# is a new kid on the block. Is still to be tested rigourously in the inndustry but is not a promising choise for sure.
Reply:Clarification:





C# is a language designed to be used within .Net


.Net is an application framework platform similar to Java platform


Java is a platform with a single possible development language called Java.





None of them are good for hacking, .Net does have IL pseudo-assembly language I suppose .Net is better on this.





Java is better for regular development.
Reply:as ankit above has said.. its always java..
Reply:Wikipedia is a reliable site to compare C#, .net, java :


http://en.wikipedia.org/wiki/Comparison_...


http://en.wikipedia.org/wiki/Comparison_...
Reply:Go though this link:





http://www.veridicus.com/tummy/programmi...


Hi, I have a problem with C#.NET, any body can help?

I've created a textbox, i want user to enter password on this field,the problem is that the text entered is visible, how can I show those stars (*****) instead of visible password? plz help!!!

Hi, I have a problem with C#.NET, any body can help?
there is a property called "Password" for textbox..





Dude, start using search engines :)
Reply:%26lt;asp:TextBox id="MyText" runat="server" TextMode="Password" /%26gt;


How to make cd formate and hosting one web application done by asp.net using c#?

i have completed asp.net project that is web application .code behind c#.web application project want to make a cd formate (my project is online test abt IQ test contain multiple choice ).

How to make cd formate and hosting one web application done by asp.net using c#?
What application format are you using?

gifts

I have a program coded in C#.net 2003. I need to compile and run this application in Red Hat Linux 9.?

How can i do this?


Pls give me information about a relevant compiler and the procedures I must follow to do this.

I have a program coded in C#.net 2003. I need to compile and run this application in Red Hat Linux 9.?
You can use .Net with a program on Linux called Mono. It allows you to run .NET on Linux.


How to make cd formate and hosting one web application done by asp.net using c#?

i have completed asp.net project that is web application .code behind c#.web application project want to make a cd formate (my project is online test abt IQ test contain multiple choice ).

How to make cd formate and hosting one web application done by asp.net using c#?
Just copy the application to the CD.





Backup the database and copy the backup file to the CD.





Deploying the application on another computer is as simple as copying the application to the root folder of the target computer and marking it as an application under IIS.





The DB has to be restored.





The connection strings in your application (which you should have placed in your web.config file should be changed).





Any other configuration settings should have been placed strictly in your web.config file (so that you do not have to recompile your application when deployed to another server).





Hope this helps.

innia

I'm designing a website using C#.net and i keep getting this error "newline in constant"..help please..

i double click the error to see where it is but it just keeps on highlighting the last parts of some of the lines..when i try to retype the whole statement, it's still there..it usually comes out when i write down codes concerning the dbase..

I'm designing a website using C#.net and i keep getting this error "newline in constant"..help please..
This means that while your assigning a value to a string, you pressed enter (new line).





To avoid this use the @ marker in the beginning of your string like this:





string CommandText = @" My text goes here and inclues a new line


but it doesn't matter because I marked it with an @


";





When you put an "@" at the beginning of a string, your telling the compiler: "there are no special characters in this string.


Just put exactly what I type into the string."





Hope this helps!
Reply:May be you can contact a C# expert at websites like http://getafreelnacer.com/
Reply:post the code or go to a c# forum
Reply:please post the code so i can fix it.


I'm designing a website using C#.net and i keep getting this error "newline in constant"..help please..

i double click the error to see where it is but it just keeps on highlighting the last parts of some of the lines..when i try to retype the whole statement, it's still there..it usually comes out when i write down codes concerning the dbase..

I'm designing a website using C#.net and i keep getting this error "newline in constant"..help please..
please post the code so i can fix it.
Reply:May be you can contact a C# expert at websites like http://getafreelnacer.com/
Reply:post the code or go to a c# forum
Reply:This means that while your assigning a value to a string, you pressed enter (new line).





To avoid this use the @ marker in the beginning of your string like this:





string CommandText = @" My text goes here and inclues a new line


but it doesn't matter because I marked it with an @


";





When you put an "@" at the beginning of a string, your telling the compiler: "there are no special characters in this string.


Just put exactly what I type into the string."





Hope this helps!


What is the difference between microsoft c#.net and microsoft visual studio.net?

the name

What is the difference between microsoft c#.net and microsoft visual studio.net?
Microsoft Visual Studio .Net is a programming suite with which you can program in all the .Net languages (C#, VB.Net, ASP.Net, J#, etc.) it comes also with some tools, depending on the version.





I'm not sure what you mean by Microsoft C#.Net... C# is the name of one of the programming language that Microsoft has developped for the .Net Framework.





They have a tool called Microsoft Visual C# Express that is free and is a tuned down version of Visual Studio that lets you only program with the C# language.
Reply:in microsoft visual studio.net


you will get microsoft C#.net...


c#.net is one of the tools in vs.net...


Whats the best college for programming language (c, c++, .net etc.) in this i want to graduation. tell me.?

Truly good programmers use the right tool for each job and it can be different each time. Once you know one language it is easy to pickup another language, so it doesn't matter which language you choose. I enjoy C# for rapid access development of windows applications. I use C with my embedded systems, because it is fast, efficient, and it is the only compiler provided with the ColdFire processor we use.

Whats the best college for programming language (c, c++, .net etc.) in this i want to graduation. tell me.?
All of them should be decent. In all honesty, most that I've seen are sub-par, including renowned institutions. Many are behind on up-to-date practices and teach you enough to get your feet wet. Look for ones that try to school you in old-school concepts instead of ones that just teach you current trends. MIT is probably the best, as well as other engineering schools.

gerbera

How can i working with USB ports in c#.net or vb.net?

Directly addressing them will be really hard. If the device is a filing system you can manage it in the usual file-system way. If it's something else there are usually libraries for handling such devices, either specifically from the device manufacturer, or generically from MS.





For example cameras and other graphical input devices can be accessed through MS' media libraries.





Custom weather balloon devices ship with their own libraries.


How to add ,save,view the image using c#.net with asp.net?

You can take various approaches to this, but your question seems unclear, so here are the links.... hope one of them does it for you!


Help me to create user system in ASP.Net & C#.net which will be check through out the all pages?

Sorry for Bad English :(


=================


Hello You all greate Web Guru





I am a new bee in Weblogic so dont know much more about the live expriment. I have reffered many books but did not get more information on the user management.





I have created a website of 5 pages. First page is login. I have user FormAuthenticationTicket System. Refered from http://support.microsoft.com/kb/301240/e... . But here is one problem after authentication it automatically redirect to default.aspx not my Securepage.aspx.





- How can I solve this problem





Here I want to following task.





1- At startup when I checked out Remember Me Option Directly Login to user account.





2- I want to check User and its Session in Every page until Browser will not close.





For example as yahoo login system works......





Thanks in advance

Help me to create user system in ASP.Net %26amp; C#.net which will be check through out the all pages?
I usually create a class that derives from System.Web.UI.Page and has overrides for the OnPageLoad() event handler. The class has a member which provides the properties for seeing if a user is logged in.





Simply change any of your pages then to derive from this new class, and they'll make use of your custom login code.


What is the future of asp.net,vb.net and c#.net?

dear friend





no body can predict future but the response .net framework is getting is good and i will say it is good career if u wanna choose it , cos just like java it is platform independent , more support on internet of .net in comparison to java , more tools and toys to play with

What is the future of asp.net,vb.net and c#.net?
Safe for atleast next 5 yrs
Reply:Ur asking about what is the future of Microsoft in next 40 years


asp.net,vb.net and c# are powerful technologies to develop applications and lots of organizations and companies are providing support for these technologies


If u wanna proof then visit www.asp.net and click on resouces button


u will find lots of microsoft partners there

rosemary

How can I write ASP.Net and C#.Net code to donwload a secure file?

I am practicing on the programming in file section in which . I am performing following task..


1- Uploading File(ABCD.bak) in a separate forlder.


2- It can not be donwload without giving USer ID and password.





But I can not write the code to donwload this uploaded file after giving UserID and password. I have written following code for download but it is now working.





Response.write("%26lt;a href=/abcd/abcd/abcd.bak%26gt;Download%26lt;/a%26gt;");





Please suggest me if you want.....





Thanks in advance

How can I write ASP.Net and C#.Net code to donwload a secure file?
Asp.net supports user authorization..


if you are using visual studio 2005, it has a login/register control..





the way it works.. first you create your asp.net project, then you can go to website-%26gt;asp.net configuration. that will open a page to configure your asp.net project. from there you can select security and create users/roles. also you can create folders which are only avaiable to sertain groups. like you would have guests and members.





I don't remember all the details now, you'll have to look more into this.


Where can I download Visual C# .NET 2003?

I wouldn't suggest 2003. It uses the .net framework 1.1 and is getting to be outdated. You can download a free version of 2005 here which uses .net framework 2.0.


http://msdn2.microsoft.com/en-us/express...





This is an express edition, but it fits most needs.


Hi can you help me with this? programming using algorithm in VB.net and C++... plz...=)?

the problem is%26gt;%26gt;%26gt; input 10 numbers, then arrange them in ascending and descending order. e.g.


input: 2,6,7,4,9,8,1,0,3,5





output: ascending%26gt;0,1,2,3,4,5,6,7,8,9


descending%26gt;9,8,7,6,5,4,3,2,1,0








VB.net and C++ are the prog. lang. to be used... thankz!

Hi can you help me with this? programming using algorithm in VB.net and C++... plz...=)?
With VB.net





Put the entries into an array: Dim NumArray as Integer(10)


Then sort the array: Array.Sort(NumArray)


or descending: Array.Reverse(NumArray)





There should be a C++ library for arrays as well, just not familiar with them.
Reply:#include %26lt;stdio.h%26gt;





//return p,q in ascending order


void Order(int *p,int *q) {


int temp;


if(*p%26gt;*q) {


temp=*p;


*p=*q;


*q=temp;


}// use %26lt; for the other way


}





//Buuble sorting of integer array A[]


void Bubble(int *a,int n) {


int i,j;





for (i=0; i%26lt;n; i++)


for (j=n-1; i%26lt;j; j--)


Order(%26amp;a[j-1], %26amp;a[j]);





}





void main() {


int i,n=10;


static int a[] = {0,2,9,5,4,8,7,6,3,1};





cout%26lt;%26lt;"\n\n Initial table A:\n";


for(i=0; i%26lt;n; i++)


cout%26lt;%26lt;a[i];





Bubble(a,n);





cout%26lt;%26lt;"\n\n Sorted table A:\n";


for(i=0; i%26lt;n; i++)


cout%26lt;%26lt;a[i];





cout%26lt;%26lt;"\n\n";


}





//end of file bubble.cpp
Reply:?hun?


Any good download sites lie c-net and softpedia or just places to download somthin cool for free?

http://freewarehome.com/


http://download.com


http://www.goloads.com/


http://www.majorgeeks.com/


http://www.tucows.com/

Any good download sites lie c-net and softpedia or just places to download somthin cool for free?
You download ARES software from softpedia.


it is very useful for downloaading.you can search for your softwares and download them.It is also faster
Reply:www.tucows.com
Reply:here are they.....

wallflower

Connecting to Yahoo Messenger with C++.net?

if u can explain u r question lil bit further it wolud b answereble.

Connecting to Yahoo Messenger with C++.net?
YOUR TRYING THIS AT WORK ARTN'T YOU SHAME ON YOU!!


What are the advantages of C#.NET 2005 over Visual Basic 6.0?

difference betn vb and vb.net


http://www.andreavb.com/forum/viewtopic....


difference between c# and vb .net


http://support.microsoft.com/?kbid=30847...

What are the advantages of C#.NET 2005 over Visual Basic 6.0?
The VB6.0 is easy for programming, but its not suitable large size application.





The C# is easy to program like VB6.0 and it is powerfull like C++. (Because its using OOPs).


Casting string to array in C#.net?

i have done this casting.


what's wrong with it?


exception is-unable to cast string type to array


public Array getRange(string startCell, string endCell)


{





Range range = currentWorksheet.get_Range(startCell, endCell); //Get the cells


//Array array = (System.Array)currentWorksheet.get_Range... endCell);


System.Array array = (System.Array)range.Cells.get_Value(null... the values of the cells


return array;


}

Casting string to array in C#.net?
Umm, it'd help if you say what type of array you're trying to create. If you just want an array of chars then use ToCharArray:





string myString = "This is a string";


char[] myChars = myString.ToCharArray();


What are the (UNIX operation system,Visual C++net,and C++programming)good for?

Unix is an operating system, it can be used as a server or desktop operating system.





Visual C++/.net is a Microsoft product used for creating applications that run on windows based computer.





C++ programming is a (an object oriented) computer programming language that can be used on either Unix or Windows based computers to create software applications.





Dont confuse C++ (the computer language) w/ Visual C++ (which is an application used to build C++ projects or software applications)..

hollyhock

I Need Help in using c#.NET to create Crystal Reports?

i need it like step by step process so that i can do it my own

I Need Help in using c#.NET to create Crystal Reports?
check out planet source code - great site for tutorials. http://www.pscode.com


Where can i find e-book about C#.NET + ASP.NET?

try this:


http://www.chipollo.info

Where can i find e-book about C#.NET + ASP.NET?
If you fancy to use e Book than try Lime wire software. You will find more book than you need.


Try it.


Bye.


Which is better for a beginner? vb.net or c#.net?

VB.Net is much easier. I started with VB.Net and so far it is the easiest to understand and learn. But at the same time it is not a powerfull and C++, C#, or Java. I would start there though. Then work your way up.





VB.Net





Private Sub Button2_Click(ByVal sender As System.Object, _


ByVal e As System.EventArgs) Handles Button2.Click


PB.Maximum = 1000


For a As Double = 0 To 999


PB.Value += 1


lblCurrent.Text = (String.Format("{0:000}", a))


lblCurrent.Update()


'Format the number, to get the numbers like you want


'Add them to a listbox


lstNumbers.Items.Add(String.Format("{0:0... a))


Next





End Sub





--------------------------------------...


C#








private void Button2_Click(object sender, System.EventArgs e) {


PB.Maximum = 1000;


for (double a = 0; (a %26lt;= 999); a++) {


PB.Value++;


lblCurrent.Text = string.Format("{0:000}", a);


lblCurrent.Update();


// Format the number, to get the numbers like you want


// Add them to a listbox


lstNumbers.Items.Add(string.Format("{0:0... a));


}


}

Which is better for a beginner? vb.net or c#.net?
Either. Actually in the absolute, C# has a slightly more difficult syntax, however that doesn't mean that VB.NET is better for a beginner.





C# is more in demand and not only that, learning its syntax will allow you to easily understand the syntax of many other languages you will likely use with C# for example Javascript.





It is also known that it is easier for C# programmers to read VB.NET code than vice versa.





I suggest you go for C#.
Reply:of course its VB.


Better you have some object oriented programming concepts and go for VB
Reply:v.b





but honestly.. i recommend visual foxpro.. easy to understand easy to use.. easier that v.b.. but similar to v.b
Reply:C#.net


Ihave problems with class in c++.net and also with cin and cout?

and what would that be?

cabbage

How to send sms P.C(Net) to Mobile?

how to send sms comptet to mobile in any web.

How to send sms P.C(Net) to Mobile?
Hi from ur name it seems u are an indian like me


so in india


there are many sites


1%26gt; U can use Yahoo Messenger(10 sms)


2%26gt;Rediff messenger ( 3 sms per no)


3%26gt;www.yaari.com (daily 10 sms)


it is a friends site and (it has invitation based signup so for invitation contact ) it alllows u to send free sms in India.


and nowadays many mobile providers give unlimited sms


u can try them.
Reply:www.interzar.com it does it kk
Reply:You can send SMS messages from a computer using Yahoo Mobile.





A few caveats:





1) You can send only 10 messages a day from each Yahoo account. I think this is to control spam messages.


2) Although sending messages is free, the recipient may get charged by their mobile carrier, depending on their service plan.


3) The messages are sent anonymously, and the mobile user can't reply to you.


What are the advantages of C#.NET 2005 over Visual Basic 6.0?

It's a cleaner, more modern language; it compiles 'tighter' and faster; it's better at handling certain common situations; it has capacity for C/C++ style tricks with "unsafe" code.





Plus, C# developrs tend to make more money.


What is better to learn visual basic.net or c#.net ?

i want to know which language is better for me to learn as i worked with visual basic 6 before .

What is better to learn visual basic.net or c#.net ?
Learn both at the same time.


I use both at my position and they


are very much similar anymore.


But if you want to choose one over the other, go C#
Reply:VB.NET is not only easier, but it does much more for you than C#. I have programmed in both, and I find VB.NET much easier.





Advantage of VB.NET go to Advantages of C# go to http://www.vbrad.com/article.aspx?id=65





Advantages of C# go to http://www.vbrad.com/article.aspx?id=63
Reply:c#.net is the modern way. visual basic is just for the old users that find it hard to learn the new stuff.
Reply:VB6 and VB.NET aren't that different. C#.NET is likely you're best one to learn...
Reply:I prefer C#. It's nice and clean, and it's similar to Java, C, C++. VB 6 was nice to work with, but VB.net has a kludge feel about it.


What's wrong with my C#.net code ,im trying to join a bunch of string and integers together.?

udate.Text = "Hello, " + DateTime.Now.DayOfWeek.ToString().Substr... 3) %26amp; " " %26amp; DateTime.Now.Day %26amp; ", " %26amp; definemonth() %26amp; " : You are not logged in.";


The error is at "Hello, " part it said ''Operator '%26amp;' cannot be applied to operands of type 'string' and 'string"

What's wrong with my C#.net code ,im trying to join a bunch of string and integers together.?
Concatenation in C# is done with + not %26amp;

phlox

Are there any C# .Net programmers in North Andover, Massachusetts?

Want to form a study group, or localized support group? Perhaps meet in person say on a monthly basis, share code, common libraries etc?

Are there any C# .Net programmers in North Andover, Massachusetts?
I was thinking they were called D flats.


What is compiler name for c#.net&vb.net?

Visual Studio .NET

What is compiler name for c#.net%26amp;vb.net?
Good question! not many really goto the core of .net and explore it .





for C# its the csc.exe ,C# compiler


and for vb is vbc.exe , vb compiler





You can find these exes in your visual studio 8 folder.


so if you are working in C# IDE ,your csc compiler will fire up when you compile and convert it to MSIL code which the CLR feeds in on and converts it to Native code..ie your 10101 machine code.
Reply:ken s has givn names of exe's those are not compiler names!


eg.. Turbo C compiler has exe tc.exe compiler name :Turbo C





from exe's it seems name is C# compiler and Visual Basic Compiler








i am not aware of particular names (and i dont think they have(they must be having some code name though) it), but i knw :


each language has its own compiler...


no 1 name


though the entire environment is called Common Language Runtime ...


a lang makes use of 2 compilers:


(1) microsoft's compiler for that particular language


(2) JIT


1 compiler is common to all the languages...Just inTime compiler which converts Microsoft Intermediate language to executable code....................


If i chose C#.NET then chances of geting selected into large companies is les as compare to JAVA.Is tat true?

U can choose as per ur own wish!


for dot NET C#, VB.NET, J#,.... any dotnet language.


for J2EE only Java.


J# is same as Java(simply Microsoft's Java, U can use Microsoft's packages as well as Sun's java packages in J#).


C# is similar to Java.


C# is a Hybrid of Java and C++ with some special features added.





In IT Industry(Large Companies) both C#(.NET) and Java(J2EE) are Used to build Softwares. Also C# and Java are much similar.


U can choose any of them, and shift from one another easily.





______________________________________...


Microsoft Visual J# .NET





Microsoft Visual J# .NET is a development tool that developers who are familiar with the java-language syntax can use to build applications and services on the .NET Framework. It integrates the java-language syntax into the Visual Studio .NET shell. Microsoft Visual J# .NET also supports the functionality found in VJ++ 6.0 including Microsoft extensions. Microsoft Visual J# .NET is not a tool for developing applications intended to run on a Java Virtual Machine. Applications and services built with Visual J# .NET will run only in the .NET Framework. Microsoft Visual J# .NET Redistributable Package is the redistributable package for Microsoft Visual J# .NET. The Redistributable Package will only run applications and services developed with Microsoft Visual J# .NET; Java-language applications written with other Java-language development tools will not run with the Microsoft Visual J# .NET Redistributable Package. Visual J# .NET and Microsoft Visual J# .NET Redistributable Package have been independently developed by Microsoft, and are not endorsed or approved by Sun Microsystems, Inc.





[Courtesy : Microsoft Corporation]





The Java Advantage





By nature java is a pure OOP language. It is the base language to develop applications and services using J2SE , J2EE and J2ME. Java is used for mission critical applications , web applications , intranet sites , etc. By the announcement of Microsoft's Visual J#.NET , the java developer now enjoys access to both the Technologies such as .NET and J2EE.





Simply J2EE Vs .NET can be expressed as follows,





J2EE : One Language (java) , Multiple Platforms.





.NET : One Platform (Windows) , Multiple Languages.





Note : up to now Microsoft officially released CLR for its Windows Platform Only. We should not consider the Mono project for Linux platform by Novell Ximian because it is not supported/authorized by Microsoft.

If i chose C#.NET then chances of geting selected into large companies is les as compare to JAVA.Is tat true?
There is nothing like that.


One who is a pro in what he knows rather than ity bits of everything


is more precious.


c#.net is more powerful language than java.java is only used in distributive computing


How to search "LIVE PROJECTS" online on .net, asp .net using C# .net???

Hi ther!





How can a live project be searched online... like i was looking for Health care management system project and Banking related projects... I need the Dataflow diagrams, the description of the projects like how is the flow of the projects.. what and all modules are involved the desingning like stuffs i need the documentation part of both projects if any one knows where i can get those stuffs please let me know.. or if any one has pls let me know... I had searched for URL's that were posted in Y! answers i didnt find it useful.. Plssss Help me out...





Thanks in Advance!

How to search "LIVE PROJECTS" online on .net, asp .net using C# .net???
you can find what you looking for from


http://smtechnology.org/
Reply:You can search at project assignment help website like http://oktutorial.com/ .

verbena

I'm hoping to study .Net . What shall I study VB.Net or C#.Net? My wish is to work in Web Developing side.

C# is more powerful. So I'd go for that. But...





I would recommend considering learning a language that isn't tied to one company/operating system.





The web has always been open source and hopefully always will be. Microsoft is also losing business share at the moment (albeit very slowly). If you want to be in web development for long periods of time you'd be much better off learning PHP or Python or any system that is open or isn't tied to Microsoft.

I'm hoping to study .Net . What shall I study VB.Net or C#.Net? My wish is to work in Web Developing side.
C# pays better. At least in the Midwest, where I'm located, there is a huge demand for it. I can't remember the last time a headhunter called me looking for VB.Net skills.





But that aside, I enjoyed the time I spent programming VB.Net. It's a good lanugage and easy to learn especially if you have experience with classic ASP. But the market eventually made me switch over.
Reply:definitely c#, because in a sense you're learning more languages than just it.





vb.net is smiliar to visual basic and vbscript,,, which are languages that are rarely used and almost out-dated(except for some IT scripting purposes)





but with c# it'll be easier for you to pick up on java, javascript, c, and c++,,,, and these are the languages to learn and know





in my opinion.
Reply:either one. VB.Net might be a little easier for beginners. But, it is easy to learn the second language after learning the first.