Srinivas Rao's Q&A profile
SQL Server 2003 vs 2005
I need some help. I have installed a SQL Server 2000. no Report server. Then I have installed Visual Studio 2003. I then Upgraded my SQL Server to 2005.. Then I installed Visual Studio 2005 (have both 2003 and 2005 now) A coworker has resigned and I have to edit a report, he has made in VS 2003 for a SQL 2000. How do I get the Report Server Add-on into my VS 2003 I have the Report Services Install, but it needs a SQL 2000 to install Any help would be greatly appreciated. /Brian ...Show All
Visual Studio Tools for Office Toolbar button on all mail items in Outlook 2003 using VSTO
I'm new to VSTO and Outlook programming. I'm having difficulty creating a toolbar button that will appear on all mail items (both new mail and received mail.) When I use the code in the Outlook programming labs for VSTO, it seems like the button only appears on the first window I open, and not on any other window. Does anyone have a quick snippet of code that can show me how to do this Thanks, Ike Hello Ike, well when programming Outlook there are some pitfalls. Maybe you can look on my VSTO Sample "X4UTools" that deals with multiple Explorers and Inspectors and also when you use Wo ...Show All
Visual C++ Microsoft Dynamic Link Libraries (dlls) - What ones must be given to the end user?
Compiler: Visual Studio.NET 2002 Hi everyone, You will probably think I am a bit dim for asking this question but it is one that does confuse me. How do I know what standard Microsoft dlls (Dynamic Link Libraries) must be sent out with my software so Windows users (even the previous Windows release users) can use my programs I was going to link statically (as I got the impression that doing so would automatically put the dll in the final executable). Then I got some errors which got resolved when I linked dynamically instead. So even though the optimal answer would be to link statically, please answer assuming I link dynamica ...Show All
Visual Studio Team System Problem caused by SQL 2005 Developer edition?
I'm receiving an error at the end of the TFS install: "Error 28805 Setup cannot finish the request to the SQL Server 2005 Reporting Service report server. Verify that the report server is installed and running, and that you have sufficient privledges to access it." This is a dual-server installation. The DB Tier was installed to a server with SQL 2005 Developer edition. The App Tier has the Reporting Services installed from the SQL 2005 Standard Edition CD. (Not my choice, the boss demanded it.) Browsing the forum I found this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=242318&SiteID=1 and tried ...Show All
Visual C# Sql Distinct
Hi How do we implement Sql Distinct in c# code i mean using something like rowfilter see here How to remove duplicate rows from a DataTable.... Andy John posted good code for removing duplicate rows Andy John wrote: using System; using System.Data; using System.Collections; namespace Demo_DataTableRemoveDupRows { class Class1 { [STAThread] static void Main( string [] args) { // create an example datatable with duplicate rows DataTable tbl = new DataTable(); tbl.Columns.Add("ColumnA") ...Show All
Smart Device Development Windows Mobile 5.0 - VS 2005 Designer Issue
When I create a WM 5.0 for Pocket PC form the designer does not display the WM for PC frame. What can I do to resolve this Right-click in the window containing the form and make sure the "Show Skin" option is turned on. ...Show All
Visual C++ cliext::map in stl.net
wrote in message news:88b90d39-670f-4567-aab7-cec032c66ae0@discussions.microsoft.com... Why do I get C2385 with this code hdp. #include "stdafx.h" #include using namespace System; int main(array ^args) { cliext::map m; //m[0] = 10; //m[5] = 50; return 0; } Because the stl stuff in this beta is not finished, you better stay away from it. Willy wrote in message news:fb5d2e5c-c59c-4288-b729-8863c960c0ab@discussions.microsoft.com... Thanks Willy. I don't understand why they decided to include an imcomplete implementation of stl. With the current impl ...Show All
Visual C++ static initialisation order
Is it possible to call a global object inside another global object constructor There are techniques which can make this happen(like construct-on first use).But can it work without these techniques I would like to know if the following code make sense which is in an MFC App in constants.h const CString BLANK = ""; in CApp.cpp #include constants.h CApp myApp;//CApp is the MFC global application class CApp::CApp() { m_Str = BLANK; } The code given above is found in an exe which is working fine for years.How is it working What is the technique involved for making sure that BLANK is initialized before myApp ...Show All
SQL Server Restore 2005 to 2000 Database
The machine I do development on has SQL Server 2005 installed. My client, however, is running SQL Server 2000. When I tried to restore the database, I got the error: The backed-up database has on-disk structure version 611. The server supports version 539 and cannot restore or upgrade the database. How can I restore a SQL Server 2005 database to a SQL Server 2000 database At least the opposit is working! So take a SQL Server 7, 2000 backup and restore it to a SQL Server 2005 Server. That is not true for master, model, msdb, but user database should work fine. For doing the restore one has to use the ...Show All
SQL Server Calling a .NET assembly
I have implemented a c#-dll and added it to the assembly cache. My question is if there exists some other way of calling functions in it other than using a script task Using a script task works well, but I think it would be nicer if there was some sort of dll-task analoguos to the web service task. Thanks for some comments! No, there is no "Assembly Task". Not sure what such as task would give you really as there are so many variations. I had considered one as a development, but I only see this as being worth the effort for a Transform, supporting limited single call methods. ...Show All
Visual C# Missing character in string
Hi to all! I miss a certain character in my string! The character is the symbol for female (this editor won't let me use it). It indicates the end of a page in a .txt file that is converted from a .pdf file. Has anyone an idea how I can still use it with a string.indexOf(symbol) *UPDATE* The question is actually, how can I select a form feed character (= ascii code 12 = page-break) from a string Kind regards, Nele As long as you know the character code for it you can write the character literal with an escape sequence, e.g. string.IndexOf('\xNNNN') ...Show All
SQL Server Difference between max length and length in DataType Schema
Using OleDb I can retrieve the Database Native DataTypes Schema with LoadSchema("DataTypes") In the CreateParameters column some variable fields such as varchar have CreateParametera of 'max length' while nchar has a CreateParameters of 'length'. Can someone differentiate between 'length' and 'max length' for me TVM BOL: " nchar [ ( n ) ] Fixed-length Unicode character data of n characters. n must be a value from 1 through 4,000. The storage size is two times n bytes. The SQL-2003 synonyms for nchar are national char and national character . varchar [ ( n ...Show All
Windows Forms Windows menu in simple MDI forms...
Hello, I am creating a simple MDI application using C# 2005. In the good old days, we could add a Windows menu and then set the MdiList property to true. The menu could then be used to automatically toggle b/w the MDI children & tile them etc. However, I could not find this property in the current version. Am I missing something elementary Oh! yeah...the menuitem is now a System.Windows.Forms.ToolStripMenuItem -Satya This has already been answered in post MDIList property missing Don't forget to search the forums first as there might already be an answer. If there is  ...Show All
Visual Basic overload resolution failed
This is from Wrox Professional VB 2005. I checked with the Wrox site and there is no corrections available for the book. This is a section on using reflection, inheritance and multiple interfaces. It seems most of the bases are covered, because up until these last errors the builds were successful. overload resolution failed because no accessible 'ShowDistance' is most specific for these arguments: ShowDistance(obj as Parent)not most specific ShowDistance(obj as Interfaces.Ishared)not most specific The actual code is this in form1 Private Sub btnInheritance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Ha ...Show All
Visual Studio Team System trace project alert
i subcribe to project alert and it not working. i am an admin. i have domain controller server database server team foundation server build server i notice smtp not install. where is best to install. domain controller or tfs server Tfs is usually configured to send email directly to Exchange or another smtp server on another machine. It is not necessary to have an smtp server running on either the domain controller or the tfs server. See the following posts for some tips getting email to work. http://blogs.msdn.com/psheill/archive/2005/11/28/497662.aspx http://blogs.msdn.com/psheill ...Show All
