Joann_In_VA's Q&A profile
Visual C++ CString char/wchar_t conflict
I'm encountering a strange issue that I have not seen before. I recently built a new MFC app with VS .Net 2003. I am using the MBCS character set - e.g. UNICODE is not defined. The problem is that when I step into CString code down into the CSimpleStringT level, in atlsimpstr.h, it thinks it has wchar_t traits. However in the CStringT code (in cstringt.h), it thinks it has char traits. So, for example, I step into CStringT::Left() and see char traits, then Left() calls GetLength(), which is defined in atrsimpstr.h. Then when I step into GetLength(), suddenly it thinks it's a wchar_t string and returns 0 as the length. I tried rebuilding from ...Show All
SQL Server Transfer Access database into SQL Server 2005 Express
Hi, A question regarding SQL Server 2005 Express edition. Is it possible to export Access databases into SQL databases without using programming (e.g. using SQL and programming languages) I understand you can do this with DTS, but the Express edition seems not have DTS. Many thanks Yuelin Hello i found a way of getting around of it: using the Upsize Wizard from Access. I have successfully "upsized my Access databases onto SQL 2005 express. good luck Yuelin ...Show All
Smart Device Development Error with the deploy tools and imageList
When I deploy an application PPC with a toolbar and an imagelist, I have an exception: System.NotSupportedException was unhandled Message="System.Drawing.Bitmap" StackTrace: at System.Resources.ResourceReader.LoadObjectV2() at System.Resources.ResourceReader.LoadObject() at System.Resources.RuntimeResourceSet.GetObject() at System.Resources.ResourceManager.GetObject() at System.Resources.ResourceManager.GetObject() at Test.Main.InitializeComponent() ...Show All
Visual Studio Team System Build Failed on RC
Hi all This is for RC. I'm trying to setup my first build. My solution contains primarily a web-site, it also contains 3 other projects held in 2 other TFS applications, here is my BuildLog.txt: Build started 29/03/2006 10:22:55. __________________________________________________ Project "c:\dev\Builds\Online Planning Applications\Save Feature\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='Save Feature_20060329.2' DropLocation='\\mem-app-cen-181\tfsbuild\Online Planning Applications\Save Feature_20060329.2' Target Initi ...Show All
SQL Server publishing downloading report model
Hi friends is it possible download a report model (.smdl) from a report server and also how to publish a report model i know how to do this from report manager page but i need to do this programmatically (from C#). any ideas please. Thanks. publish model using SOAP method CreateModel , then bind it to a data source using SetItemDataSources ...Show All
SQL Server help sql 2005 express
I have a computer_1 with sql 2005 express with app working fine, from another computer I want to connect to sql 2005 express in computer_1 using tcp/ip or named pipes, in computer_1 is enabled tcp/ip and named pipes, but when I connect using microsoft sql server management studio express I get this error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error ...Show All
SQL Server Help with auto printing reports using Report Services
I'm at a breaking point, so I'm hoping someone can help me! I am new to Microsofts SQL Server suite, and from what I've used so far, I love it... except for the sheer complexity of it. I've only been tinkering for 2 weeks now, so excuse me if I'm a bit ignorant. I'm trying to develop an application, and part of that application is when data is submitted to the database, a report needs to be generated, and automatically printed. I thought that this would be quite easy using SQL 2005, but I've found that isn't the case. Before I continue, let me just say that I NEED the report to automatically print out; I've had a lot of people say to me 'Jus ...Show All
Microsoft ISV Community Center Forums Run-time error 3706:
We have front end application which is developed in PB and resides on Citrix server. One of the module in PB application opens a screen which is developed in VBA. When we upgraded the citrix server and Ms Office on the server to higher version, the module which is developed in VBA is not working and gives the following error. Run time error – 3706: Provider cannot be found it may not be properly installed. Here is the detail. Server Citrix XP release 3 OS   ...Show All
Visual J# connection to the remote computer by socket
the computer which i want to access from my home is the computer of mine in the company. and i want to do this with socket programming.i will execute a java program listening the port 5101 for example. my intranet IP is 10.10.20.84 so how can i create the socket Socket clientSocket=new Socket("***.***.***.***",5101); // public IP or Socket clientSocket=new Socket("10.10.20.84",5101); // private IP in the company which one i will use to create a socket Hi, you should give the ip of the machine which you want to connect to. Make sure that the machine is accessible from outside n/w. Thanks, Jaiprakash ...Show All
Visual Studio Team System Unable to add existing unit tests to a solution
We are using Visual Studio Team System for Developers. I have created a new solution from a number of existing projects, many of them class libraries and some of them webservices, but also existing projects that contain unit tests for each of the class libraries. In the Test View window, it says "Currently no tests are available to display in test view". I have two options: Create New Test or Open Existing Tests. Create New Tests will create a new solution item (a .vsmdi file) and a new test project - there is no option of creating a new test in an existing project. If I go that route, there is no way that I can see to includ ...Show All
SQL Server Command Line connect to SQL Server Database
I am trying to connect to the SQL Server database from the command line or from a cmd script on Windows - Is there a way to do this I am new to SQL Server and I am trying to create a script that can check to see if the database is up and then send me a message if it is down. osql.exe is command line client which allows you to establish a connection to SQL Server. Please try osql -E for trusted connection, or osql -U<login id> -P<password> -S<instance name> you can skip -S parameter if you have installed a default instance. In addition, use osql -U<login i ...Show All
Smart Device Development .NET Studio 2005 and Windows Mobile for Smartphone 2003 SE
I have been looking around a bit, and fiddling on Visual Studio 2005 and I have had no success yet. Is there a way to make an application that is solely compatible with Windows Mobile for Smartphone 2003 SE using VB .NET 2005 Just wondering since I know VB .NET 2005 is .NET 2.0 and I think Smartphone 2003SE is .NET 1.0 compatible. Any help on the matter would be greatly appreciated. (had none of these problems of .NET compatibility when I was back using embedded visual tools 3.0 back in the old days ) Yes, by choosing Smart Phone 2003 project type. VS 2005 supports development for both NETCF V1 (SP and PPC only) and V2. Please m ...Show All
.NET Development Simple quesiton: Custom datatypes
I have a WebService class with the following methods: [WebMethod()] public void SendInfo( MyInfo theinfo) { //implementation details } [WebMethod()] public MyInfo GetInfo ( ) { MyInfo theInfo = new MyInfo(); // implementation details return theInfo; } MyInfo is a class that I have generated using xsd.exe (its fairly straight forward) Now when I want to use these two webmethods from a client application in C# I select "Add Web Reference" and enter the endpoint URL. This works great and it generates the necessary methods and data structures accordingly. The only problem is that I seem to get two seperate classes generated ...Show All
Visual Studio Team System I cannot create unit test for my application?
I found an article here, http://msdn2.microsoft.com/en-us/library/ms243171(VS.80).aspx My application is written by VC6 originally and I already migrated my projects to VS 2005. After migration, the project setting do not have /clr . That is, I did not enable Common Language Runtime Support. Is that mean, I can not create unit test program for my application Is that mean, there are some limitation when using the unit test features in VS 2005 The article mentioned that : Unmanaged . If your production code is unmanaged, it needs to be callable from a static library, an .obj file, or a DLL entry point. Class methods that are embedde ...Show All
Visual Studio Crystal reports XI R2 and Visual Studio 2005 issues
Has anyone got this error after updating (fresh install) to Crystal Reports XI R2 with reports in Visual Studio 2005 I am posting here because I am not sure if it is a Crystal reports XI R2 bug or a Visual Studios 2005 problem. I thought it might be that my programming was wrong so I tried the samples that come with R2. If anything these should work since the people who developed the software wrote the examples. Even the examples gave me these same errors. Custom Tool is CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator I have these refernces: CrystalDecisions.CrystalReports.Engine - v2.0.50526 CrystalDecisions.Enterpris ...Show All
