Could someone give an example of using inheritance vs composition and also when its best to use composition as opposed to inheritance.
Thanks for any replies.
So, it seems that VS 2010 does not support SRSS projects. At least not old ones....Does anyone know what the status on this situation is and whether one can author new SRSS reports using VS2010 or if one should just use VS2008 BIDS?
How come App_Code is not a choices in the Add ASP.NET Folder submenu in the VS solution explorer? I realize you can create one yourself manually by just renaming a New Folder, but what is the rational here? Is this not where you are supposed to put "utility" or "service layer" type classes?
On a MVC project side note. I do like the fact that there is a reference to System.Configuration out-of-the-box unlike the default ASP.NET Web Form Projects.
In XP 32bit Visual Studio 2010 I get the error below when I start debugging with IntelliTrace enabled. Doesn't IntelliTrace work in Windows XP or is there some setting which causes this error?
UPDATE:
The error occurs when I choose the second option to add call information in the IntelliTrace settings. There's nothing in the event log about this error. The question now is how to find out why VS is having trouble adding call information.
I've been doing a lot of editing in MS Dynamics CRM 4.0 using the web designer. I'm wondering if there is a more efficient way to edit workflows and wondering if VS 2008 could be used (and if it is more efficient). If so how?
Thanks!
I really like Visual studio. I think it is awesome IDE ever been made for developers. But color scheme in new VS2010 is really ugly, so the first thing i'd like to do after install is to change its color palette. I googled how to do this and found VS extension by Matthew Johnson [MSFT].
If you know another way to change color palette in VS2010, please let me know.
Hi All:
I am new to data warehousing and I am a little confused
plz provide some simple steps to create a cube and fill it and make querey on it
to know :
I have a database with the original data
and I have designed the star schema and made appropriate tables
I have created an analysis service project in VS 2008
and then I have made the data source -data source view-dimensions - and the cube
all that based on the star schema i have created previously
now: what should I do to:
fill this cube
make query on this cube
A good thing in LINQ to SQL was a fast and reliable way to map database tables and convert them into classes accessible from c# project. However it is no longer recommended to create projects using LINQ to SQL.
What is its substitute? What kind of tool should I use in VS 2010 today if I want to have the same functionality as I had with LINQ to SQL?
I have a small windows client application data bound to a single table backend.
I created a DataSet using the wizard in VS 2005, and it automatically create the underlying adapter and a GridView. I also have a RichText control and bound it to this DataSet. All well so far but, I need to replace certain characters(~) on the fly before the data is shown in the RichTextbox. Can this be done.
Hello...
I have a problem
after i setup windows 7 all old projects in c# vs 2005, the letters that written in arabic changed to a strange language
and i changed the language's settings in control panel to arabic then the new projects passed but the old projects have the same problem
In my datagridview , when in click on datagridviewComboBoxColumn to populate its dropdownlist it not show me dropdown list for that i need to click 2 times. at first time it just focus to datagridviewComboBoxColumn and on second click it populate its dropdown. but i want to populate its dropdownlist on single click. please help me out. i am using c#.net (vs 2005)
Hi all,
I've got an e-shop on a virtual server that's been used as a subdirectory for the last few years, but now I'm finally giving the VS it's own domain name. What I really need is visitors to the old URL to be transparently (and 301) redirected to the new URL with everything after /eshop/ maintained and apended to the new host.
I.e. http://www.example.com/eshop/page.php - http://www.newdomain.com/page.php
Any help would be greatly appreciated.
Hi,
Dll best practices document from Microsoft available Here recommends avoiding use of memory management function from the dynamic C Run-Time (CRT) within DllMain. But DllMain function of MFC Extension DLL is dynamically allocating the memory for CDynLinkLibrary in the code snippet available at MSDN "http://msdn.microsoft.com/en-us/library/1btd5ea3%28v=VS.80%29.aspx".
Is it a violation of Dll Best Practices or ok to use in MFC extension DLL?
thanks
I'm talking about VS 2010 Professional/Ultimate RTM (not express versions).
Google doesn't show much other than stuff about the beta 2 and RC versions.
Will it run OK on a Core 2 Duo E6550 2.33GHz with 3GB RAM and NVIDIA GeForce 8400 GS?
In Visual Studio 2008 I see hundreds of errors within my web app. If I open the offending page(s) within VS, I'll see dozens of items underlined in red - then the errors resolve themselves.
Any idea why this happens and how to resolve it?
I need to develop an add-in (as a bar) that will monitor user browsing data using Mozilla (priority) and other web browsers (chrome, safari etc.). I have already done this using IE, but need the same for Mozilla too? Any idea, if possible, as to how to integrate Firefox add-in with the ability to interact with my c# code, using VS.net 2005 or 2008?
Thanks
What's the recommended source control system for a very small team (one developer)?
Price does not matter. Customer would pay :-)
I'm working on Vista32 with VS 2008 in C++ and later in C# and with WPF. Setting up an extra (physical) server for this seems overkill to me. Any opinions?
I have turned on "Treat warnings as errors" for my VS project which mean that I get errors for missing documentation (nice reminder for this particular project).
However, part of the code is generated by a custom tool which does not insert xml documentation so I'm looking for away to ignore the missing xml documentation for the generated code only, not for the entire project. I have no influence on the actual file generated and cannot really insert anything in the file (as it is regenerated frequently by the tool) so I looking for something existing outside the generated file (the classes that are generated are partial, if that helps)
I'm creating a custom class to abstract out some of the repeated SOAP header work. I want to reference a Web Service Reference I just created in my custom class so I can create an instance of it. How do I reference it?
Notice I said I am trying to reference a Web Service "reference" (right click in VS and I added a "Web Service Reference" not a "Web Service"). So I'm trying to create an instance of that Proxy class that was created in MyCustomClass.cs
halo,
After making the set up of the application(developed using VS 2008 and MS Access) the installation another system works fine. But whenever I try to change the Password or id it shows an error sayin "operation must use an updateable query"
Thank you,
Indranil
Hi all,
I need to obfuscate a dll that is used in a ASP.NET project, the deployment project pruduces a setup.exe which I want to distribute. I have the VS 2008 Dotfuscator installed but when I build the deployment project the project that creates the dll is rebuilt before it is added to the deployment project and added to the setup.exe. Any suggestions on how I can get round this?
Many thanks
Lee
I need to detect the SO of the user in a web application (IE only). I am using the function BrowserDetect.OS from javascript, but it returns the same String ("Windows Vista") when called from Windows 2008 and Windows Vista, and I cannot distinguish the user SO. Is there a way to detect this difference?
http://msdn.microsoft.com/en-us/library/ms537503%28VS.85%29.aspx
What do you guys think? Should constants be capitalized? Or is that an archaic practice? So...
const int MY_CONSTANT = 5;
vs.
const int myConstant = 5;
Is it just me, or does VS 2008 not allow setting a breakpoint just on the setter of an auto-property?
It looks something like this:
public int CurrentFramesize
{
get;
protected set;
}
and if I try to set a breakpoint on the setter line, the whole auto-property turns breakpoint-red.