Thread 25 of 25 | | Thread Starter | | |  Brian Prestwood | C#?Assuming C# is intended to compete with Java, I wonder why Microsoft didn't just focus on VB. Now that VB has implementation inheritance it is a viable option for OOP. | 3 replies. Last post: |  dprothero | [QUOTE]Originally posted by Brian Prestwood:, [b]My theory is that any MS C++ shops are/were looking closely at Java as an alternative with a smaller learning curve. Microsoft knows VB's poor reputation among C++ programmers will prohibit them from converting the C++ shops to VB shops. C# makes it easy for MS to keep these customers. [/b][/QUOTE], , Abosultely. C# is what VB can be, but only to have another language without the stigma of VB., , ... |
|
 1545 Hits | |
Thread 24 of 25 | | Thread Starter | | |  Donald Collins | Hungarian notationI'm reading "Programming in C#" (O'Reilly) and the book states that Microsoft doesn't recommend using Hungarian notation for C#.  Can anyone explain why? Does Prestwood Software have a coding convention for C#? I'd be interested in seeing it. , , Donald Collins | 2 replies. Last post: |  Scott | Hungarian notation in code has always presented a readability issue. Yes, Microsoft was very gung-ho about Hungarian notation back in the era preceeding object oriented programming, but the change of heart really has to do more with standard practices of object oriented programming, rather than readability., , , In C#, as with all current OO languages, the use of global variables is almost non-existent. Instead, you're dealing with objects that... |
|
 1560 Hits | |
Thread 23 of 25 | | Thread Starter | | |  cheddar | MVC in C#Anybody using patterns in C#, particularly the MVC pattern? | 2 replies. Last post: |  cocoh | Hello everyone! , , I'm a java developer and I've been given a client project (in a client-server system). I've also been given a choice between Java and C# as the development language for said project. I like java very much, but I was curious about C#, so I decided to try it ( a few days ago )., , The project goes like this:, The client application communicates with the server using a socket (the server is written in another language, btw), and ... |
|
 8389 Hits | |
Thread 22 of 25 | | Thread Starter | | |  cheddar | abstract keyworddo methods defined with the abstract keyword have to be defined inside of an abstract class? I am converting some vb.net code and the MustOverride keyword doesn't appear to directly translate., , TIA | 2 replies. Last post: |  cheddar | Thx for the answer sandman. What I was trying to figure out was abstract methods in non-abstract classes. I am backing up and going through a c# patterns book. I hope the controller pattern holds the solution., , BTW, where in No Cal are you? |
|
 2315 Hits | |
Thread 21 of 25 | | Thread Starter | | |  cheddar | AttributesAm I to understand correctly that Attributes can omit the word Attribute when they are referenced? I.E. Although WebMethod is used all the time the correct name of the class really is WebMethodAttribute? This seems a little useless. | 1 Reply: |  adamlum | Dropping the 'Attribute' part of the is just a convention that is commonly practiced. You can use the full class name WebMethodAttribute as well without any trouble.
If the class name minus the 'Attribute' substring is some sort of keyword or reserved word or something like that, you'll of course have to use the full name in that case. |
|
 2840 Hits | |
Thread 20 of 25 | | Thread Starter | | |  JayPen | ProjectI am student in a programming class, but was looking for some. I am developing a project that involves building a program that when I type in a state it will display the information about the state in the display box. I have all the information about the states in a bin file and I am trying to first declare a form-level record structure, but when I follow the code that is in my book it doesn't work. I am also trying to code the display button so that it will display the correct information in the display text but in a certain format. If anyone has an examples, suggestions, or anywhere I can go that can be more of help then my text book I would really appreciate it. Thank You | 1 Reply: |  mprestwood | If you're still having this issue, can you post the code sample? |
|
 1886 Hits | |
Thread 19 of 25 | | Thread Starter | | |  JayPen | State ProjectI am student in a programming class, but was looking for some help. I am developing a project that involves building a program that when I type in a state it will display the information about the state in the display box. I have all the information about the states in a bin file and I am trying to first declare a form-level record structure, but when I follow the code that is in my book it doesn't work. I am also trying to code the display button so that it will display the correct information in the display text but in a certain format. If anyone has an examples, suggestions, or anywhere I can go that can be more of help then my text book I would really appreciate it. Thank You | 1 Reply: |  Rick Carter | Please don't make multiple posts with the same content., , What programming language are you using?, , You're more likely to get help if you post a few lines of the code you are using, and say what error messages you're getting. |
|
 2135 Hits | |
Thread 18 of 25 | | Thread Starter | | |  adlerhealthcom@webtv | Code decides on what class/component to useI am developing an application in C#. A feature I want to insert is to have the code choose what objects to use., , The following scenario should make the question more clearer:, Lets say I was developing a kiosk application for software retailers that would allow instore shoppers to browse and find products faster. We will assume this application will be a boxed package. Since its a prepackaged program, it has to be set up with no customization to the program itself. There will be only one release. (I understand that with the new model of distributed programming, this wouldn't be appropriate, but just to get the point across, lets take everything as face value)., , The point is, the software can't be customized by me every time a new client makes a purchase., , The retail industry is diverse in data storage models. This posses some problems. One firm might be using a SQL Server connected to the retail chain headquarters. Another firm might be using a proprietary program that just trac... | 1 Reply: |  cheddar | so let me see if I understand. You front end application wont change from client to client but you intend for it to persist or read from their existing datastore? If this is the case you will need to write a mapping program for the client to use. Ideally this app would take the connection information from them. You would have them specify the db name, the db type and user information. The app would them retrieve the schema from the db. Then the u... |
|
 1458 Hits | |
Thread 17 of 25 | | Thread Starter | | |  le-cardinal | Byte stored in reverse orderHi all,, , I would to read a byte (unsigned char) and to store it in reverse order (b8...b1 becomes b1...b8)., What is the best solution in Code and Time performance to writ this in C?, , Thanks for yours reply,, Daniel | 1 Reply: |  Bryan.V | in general, this function will reverse a single byte. public static byte reverse(byte b) { byte answer = 0; for (int i = 0; i < 8; i++) { &nbs... |
|
 2079 Hits | |
Thread 16 of 25 | | Thread Starter | | |  dotnetguy | Printing at the client end (.NET)Okay ..I know we can print from within the browser (that parts fine ..however I would like the client to be able to print a file directly by clicking on the link in the browser ...can this be emplemented in a winforms application in the dot.net environment ??, , Still learning !! | 1 Reply: |  KBerry | There may be a way to achieve what you want via an applet, however javascript might meet your needs:, , A javascript approach requires that the text to be printed first appear within a browser window. From your , , main page your "print text file" button could open the text in a new browser window, and javascript within , , htte page could call window.print() from the body onLoad(). If the browser containing the text to print was minimized, the c... |
|
 1432 Hits | |
Thread 15 of 25 | | Thread Starter | | |  dprothero | Delphi Programmers Take HeartThe father of Turbo Pascal and Delphi, Anders Hejlsberg, is also the architect of Microsoft's new language C#. The similarities of C# to Delphi are just uncanny. While COM was always a chore in C++ and unbelievably limiting in VB, Delphi really put MS to shame with its built-in language support for interfaces and rich hierarchy of classes you could descend from to create any type of COM object you wanted., , Delphi has always been the answer to the question, "how to I get the power of C++ with the ease of VB?" Now C# also falls into this category. This probably will make staunch Delphi supporters critical of C#, offering the "only now are they catching up" attitude. However, Delphi has long been a difficult sell to uneducated managers. While it would seem noble to "not give up the fight" and constantly strive to use Delphi wherever possible, this strategy can be be very limiting. Tools are tools. Its the ingenuity of people that make a project work. Delphi is a wonderful tool, yes. How... | 1 Reply: |  DanErvin | Well, being a Delphi programmer from when it was first out, I was leery at first to move away from Borland's Products for development. After doing abit of reading up on it (as well as finding out that Anders was a lead man) I have got to say that I am actually looking forward to adding the C# environment to my programming skills. It also gives me a reason to actually install Win2K on my workstation since it won't run on Windows98., , ----------... |
|
 1442 Hits | |
Thread 14 of 25 | | Thread Starter | | |  Brian Prestwood | Where's the .NET API AlphaI didn't find the .NET API Alpha the MSDN pre-release said would ship in the October update. Did it ship?, , ------------------, Brian Prestwood MCSD-MCT, Vice President, Prestwood Software & Consulting, Chair, Sacramento Visual Basic User Group | 1 Reply: |  dprothero | You can download it here:, , [URL=http://msdn.microsoft.com/downloads/default.asp?URL=/code/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml]Click Here To Download[/URL], , , ------------------, David Prothero, Owner / Consultant, [URL=http://www.prothero.com]Prothero Consulting[/URL], (209) 956-9180 |
|
 1186 Hits | |
Thread 13 of 25 | | Thread Starter | | |  dprothero | Introducing the .NET ArchitectureMicrosoft has something new up their sleeve and it's very exciting. The new .NET architecture is a new framework within various web services can be offered. Rather than launch into a lengthy description of what .NET is on my own, I will offer a list of URLs here to offer for your reading pleasure., , The Official .NET Home Page, [URL=http://www.microsoft.com/net/]http://www.microsoft.com/net/[/URL] , , Great .NET Info for Programmers, (including the Alpha 1 Preview Download) , [URL=http://msdn.microsoft.com/net/]http://msdn.microsoft.com/net/[/URL] , , Video Introduction to .NET , [URL=http://msdn.microsoft.com/theshow/Episode006/]http://msdn.microsoft.com/theshow/Episode006/[/URL] , , Please read through these materials if you are interested in .NET. I look forward to hearing your comments., , , ------------------, David Prothero, Owner / Consultant, Prothero Consulting, (209) 956-9180, , [This message has been edited by dprothero (edited 11-01-2000).], , [This message has been edite... |
 1096 Hits | |
Thread 12 of 25 | | Thread Starter | | |  dprothero | C# Introduction and OverviewFor the past two decades, C and C++ have been the most widely used languages for developing commercial and business software. While both languages provide the programmer with a tremendous amount of fine-grained control, this flexibility comes at a cost to productivity. Compared with a language such as Microsoft« Visual Basic«, equivalent C and C++ applications often take longer to develop. Due to the complexity and long cycle times associated with these languages, many C and C++ programmers have been searching for a language offering better balance between power and productivity., , There are languages today that raise productivity by sacrificing the flexibility that C and C++ programmers often require. Such solutions constrain the developer too much (for example, by omitting a mechanism for low-level code control) and provide least-common-denominator capabilities. They don't easily interoperate with preexisting systems, and they don't always mesh well with current Web programming prac... |
 889 Hits | |
Thread 11 of 25 | | Thread Starter | | |  dprothero | ASP+ Improves Web App Deployment, Scalability, SecASP has been rebuilt from the ground up. The result? Active Server Pages+., ASP+, with a host of new features, provides for easier to write, cleaner code that's simple to reuse and share. ASP+ boosts performance and scalability by offering access to complied languages; development is more intuitive thanks to Web Forms; and an object-oriented foundation facilitates reuse. Other important features include page events, Web Controls, and caching., Server Controls and improvements in data binding are also new with ASP+. Libraries for use with ASP+, and the Microsoft .NET Framework which allows custom business functions to be exposed over the Web, provide more new development opportunities., , [URL=http://msdn.microsoft.com/msdnmag/issues/0900/ASPPlus/ASPPlus.asp]Click Here for the Full Article[/URL], , , ------------------, David Prothero, Owner / Consultant, [URL=http://www.prothero.com]Prothero Consulting[/URL], (209) 956-9180 |
 933 Hits | |
Thread 10 of 25 | | Thread Starter | | |  dprothero | Introduction to Web FormsThis article introduces Web Forms, the ASP+ framework that enables developers to create programmable Web pages as part of an overall Web application., , [URL=http://msdn.microsoft.com/library/default.asp?URL=/library/techart/webforms.htm]Click Here for the Full Article[/URL] |
 904 Hits | |
Thread 9 of 25 | | Thread Starter | | |  dprothero | Visual Studio .NET IntroductionVisual Studio .NET includes exciting features, some of which are enhancements to previous versions and some of which are brand new. A few of the most significant additions are the new Microsoft programming language called C#; a new, smarter integrated development environment; new object-oriented features in Visual Basic .NET; and development lifecycle tools., This article provides an overview of these features, as well as a look at Web Services, Web Forms, and new versions of ADO and ASP. It takes a first look at dozens of important new Visual Studio features that aid in the design, development, testing, and deployment of solutions built with Visual Basic, C++, Visual FoxPro, and C#., , [URL=http://msdn.microsoft.com/msdnmag/issues/0900/VSNET/VSNET.asp]Click Here for the Full Article[/URL], , , ------------------, David Prothero, Owner / Consultant, [URL=http://www.prothero.com]Prothero Consulting[/URL], (209) 956-9180 |
 1022 Hits | |
Thread 8 of 25 | | Thread Starter | | |  dprothero | Introducing Windows FormsWith all of the current talk about the Web, it may appear that the Microsoft« Visual Studio« development system has de-emphasized support for building traditional Windows«-based applications. Actually, Microsoft is investing heavily in Windows-based application development., , Windows Forms is a new forms package that enables developers building Windows-based applications to take full advantage of the rich user interface features available in the Microsoft Windows operating system. Windows Forms is part of the new Microsoft .NET platform and leverages many new technologies including a common application framework, managed execution environment, integrated security, and object-oriented design principles. In addition, Windows Forms offers full support for quickly and easily connecting to Web Services and building rich, data-aware applications based on the ADO+ data model. With the new shared development environment in Visual Studio, developers will be able to create Windows Forms applica... |
 1075 Hits | |
Thread 7 of 25 | | Thread Starter | | |  dprothero | Get Books on .NETThere is a web site:, [URL=http://www.dotnetbooks.com]http://www.dotnetbooks.com[/URL] , , Where you can get all kinds of books related to .NET technology. It looks pretty good!, , , ------------------, David Prothero, [EMAIL]david@prothero.com[/EMAIL], , A [URL=http://www.prestwood.com]Prestwood Software & Consulting[/URL] Partner |
 1014 Hits | |
Thread 6 of 25 | | Thread Starter | | |  dprothero | Microsoft Releases Visual Studio.NET BetaMicrosoft has released the Visual Studio.NET Beta:, [URL=http://msdn.microsoft.com/vstudio/nextgen/beta.asp]http://msdn.microsoft.com/vstudio/nextgen/beta.asp[/URL] , , , ------------------, David Prothero, [EMAIL]david@prothero.com[/EMAIL], , A [URL=http://www.prestwood.com]Prestwood Software & Consulting[/URL] Partner |
 1152 Hits | |
Thread 5 of 25 | | Thread Starter | | |  k9industries | Two dimensional arraysI am a rookie c programmer and I wanted to know how can I get rid of repeating numbers., For example in a two dimensional array I have 5 rows and 7 columns. The numbers are produced randomly. How can I avoid the numbers from being repeated. Let's say I have 1 6 6 9 12 15 29. What should I do to stop the 6 from repeating itself. , , I thank you for your response in advance, |
 1420 Hits | |
Thread 4 of 25 | | Thread Starter | | |  Larry J. Rutledge | Visual Studio.NET Beta 2Microsoft has released the newest version of its Visual Studio tools: Visual Studio .NET Beta 2. Built on the Microsoft .NET Framework, Visual Studio .NET provides a complete development environment for building XML Web services and applications - and the new Beta 2 version gives developers an in-depth look at forthcoming features and innovations. Find out more about Visual Studio .NET Beta 2, and how you can order it or receive it through your MSDN(R) Universal Subscription., , [URL=http://www.msdn.microsoft.com/vstudio/nextgen/default.asp]Microsoft Visual Studio .NET Beta 2[/URL] |
 1423 Hits | |
Thread 3 of 25 | | Thread Starter | | |  Larry J. Rutledge | Microsoft .NET Framework SDK Beta 2[b].NET Framework Beta 2[/b], , Microsoft has released Beta 2 of their .NET Framework SDK. In addition, you can now download a redistributable package so you can execute your new .NET applications on clients that don't currently have the Framework SDK installed., , Here's the info from Microsoft's .NET page:, , The Beta 2 release of the Microsoft .NET Framework Software Development Kit (SDK) includes the .NET Framework redistributable package. The SDK includes everything developers need to write, build, test, and deploy .NET Framework applications - documentation, tools, compilers, and samples., , The Beta 2 release of the Microsoft(r) .NET Framework redistributable package includes everything you need to run .NET Framework applications, including the common language runtime, the .NET Framework class libraries, and ASP.NET, , [URL=http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000451].NET Framework SDK[/URL], , [URL=http://msdn.microsoft.com/downloads/de... |
 1322 Hits | |
Thread 2 of 25 | | Thread Starter | | |  Mike Prestwood | Anders on C# versus JavaThe following is a clip from another web site I thought everybody might enjoy. It was authored by Peter Coffee., , 'When I met with Microsoft language architect Anders Hejlsberg, he described C# (C sharp) as "the first true component-oriented language in the C/C++ family." The programming model of components with associated data (properties) and behaviors (events) is supported more naturally by C#, than by Java, he said. "[Java] emulates properties with naming conventions for access methods and emulates event handlers with adapters and plumbing," said Hejlsberg. Both Java and C++ enable a component-oriented style of programming, he agreed, but he drew the distinction that in those languages, "components are not first-class"ùmeaning that in C#, simple operations such as changing the label on a graphical button control are handled with simpler syntax and fewer lines of code because the button is a component that takes responsibility for its own look and feel. Component orientation, said... |
 1738 Hits | |
Thread 1 of 25 | | Thread Starter | | |  Mike Prestwood | Microsoft DevDays 2001 only $99Microsoft is holding a great one day seminar on .NET for only $99. With the 2 for 1 early bird special it's only $50 each. Two tracks 10 1 hour courses (attend your choice of 5). This one is a no brainer. Go to it., , Four of us from Prestwood will be at the Nov 6th SF event so let us know if you'll be there too., , [URL=http://msdn.microsoft.com/events/devdays/?Submit=Return+to+DevDays+2001+Homepage]Click Here[/URL] for more info. |
 1542 Hits | |
|