mr hankey's Q&A profile
Visual Studio 2008 (Pre-release) WSE and WCF
Hi there, Lots of discussion going on nowadays on WCF and WSE 3.0. but my question is, do we really want WSE 3.0 if we are using WCF Regards Salman If you have choice to write apps in WCF,we don't need WSE 3.0,some of these questions discussed here(you can consider WCF as WSE 4.0+more) http://msdn.microsoft.com/msdnmag/issues/06/01/ServiceStation/default.aspx -Thank you Madhu ...Show All
Windows Forms Inside datagridview - filter value of 1 combobox based on 2 combobox selected value
Hi friends, Please note that both the comboboxes are unbound and are inside the datagridview. I have a datagridview with 2 comboboxcolumns - one showing the "category" and other the "sub category". Category and Sub Category are related tables - 1 to many. When I select the value from Category comboxbox, the sub category comboxbox should only display values which are applicable based on the selected category. An ...Show All
SQL Server Add user to Local Group Error
Guys, I need help installing SQL Server 2005. I meet all of the pre-req's and setup seems to run normally until it starts installing the services and database engine. I receive the following error: SQL Server Setup was unable add user NT AUTHORITY\NETWORK SERVICE to local group SQLSERVER2005DTSUser$server. It repeats the error for for the other groups that are created with SQL install. Am i missing something that's obvious I couldn' ...Show All
Windows Forms How do I use Treeview to represent a folder and its contents?
I have been looking everywhere, and even though it seems like something that would be pretty common, I cant even figure out how to get started doing this. I just want to have a treeview that loads a certain folder and its contents, and let ...Show All
Smart Device Development Bluetooth & Winsock...doesn't always connect?
Hi guys, For a while i've been browsing through this forum in search of an answer for this ( and google ) but still i can't seem to get this resolved! Basically i've written a DLL That will wrap up the Bluetooth+OBEX Connection and Sending files for me, so i just have to call one Function from my Win32 App or a .NET Application. Now, the problem is, when i try and connect to phones on the PDA, it more often than not fails with -1 return ...Show All
Windows Forms How to programatically change system color settings
Is there a way in a Windows Forms C# program to programatically change the system colors for the current context Like setting the Control color property in the SystemColors namespace during program initialization to a certain value, which would allow all&nbs ...Show All
SQL Server replmerg.exe
Hello All, I am having problems with my merge replication job. I have recently upgraded sql server on of my test server from 2000 to 2005. Ever since I couldn't get this job to run. I keep getting the following error. ------------------------------------------------------------------------------------------- Date 11/30/2005 2:57:00 PM Log Job History (TEST_Merge_Sync) ...Show All
Visual C++ C2248 error when migrating my project from VC7(2003) to VC8(2005)
My project compiles in .net 2003, but when compiling in .net2005, i got tons of errors like this. error C2248: 'std::vector<_Ty>::_Myfirst' : cannot access protected member declared in class 'std::vector<_Ty>' with [ _Ty=unsigned char ] c:\program files\microsoft visual studio 8\vc\incude\vector(1243) : see declaration of 'std::vector<_Ty>::_Myfirst' with [ _Ty=unsigned char ] thanks for helping ...Show All
Visual Studio Tools for Office Package Wizard Startup Error
I think I have installed the components required but when I attempt to run the Package Wizard I get this error: "An unexpected error has been encountered in procedure PrepWizard of module modWIZ_ExpressionEntryPoints" Run-time error '-2147319765': Automation error Element not found. Package Wizard will close now. Do you want to ope the error log file Does anyone know what I may have done incorrectly or what component I m ...Show All
.NET Development Parsing data from MSQL to TextBox
ok I have the following code System.Data.SqlClient.SqlConnection conn = new System.Data.SqlClient.SqlConnection("SERVER=localhost;DATABASE=test1;UID=username;PWD=dbpassword"); System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand("SELECT * FROM tbl1 WHERE IDNum = '"+txtIdNum.Text+" LIMIT 0, 1', conn"); System.Data.DataSet ds = new System.Data.DataSet("MyDataset"); Ho ...Show All
Visual Studio Team System Type definitions overwritten every night
A small problem has come to light. I successfully exported and modified the Task.xml and Bug.xml type definitions. I then imported the changed template successfully. Subsequent changes to the templates were made and imported via witimport.exe. Any changes I made were reflected in any new bug or task added to the test project. We already had an existing project up and running, setup with the original basic MSFAgile template. When it came to use ...Show All
SQL Server Failed to generate a user instance of SQL Server
Hello Everyone, I have instaled SQLExpress September on my Windows Server 2003 Standard. and I work on a windows XP SP2 for development using Visual studio Web Edition (Beta2) which comes with sql server 2005 too. I've built my application and tested it on my computer and everything went fine. But When I copied the application to the server, it showed the following error: "Failed to generate a user instance of SQL Server due to failure in retr ...Show All
Visual Studio 2008 (Pre-release) CommunicationObjectAbortedException
This is an error I receive while returning an object over a service (net.Tcp binding). The object is an LLBLGenPro EntityCollection. The EntityCollection contains EmployeeEntities. I can successfully return such a collection if the size of the collection is smaller than about 20 entries. But if it is any bigger I get the following error: An error occurred while transmitting data. System.IO.IOException: The read operation failed, see inner excep ...Show All
Visual C++ Candidate function(s) not accessible strange case
When trying to call a __gc class static function in an assembly which has CLR and non-CLR types in its signature, I get a Candidate function(s) not accessible error. In an assembly, using /clr:oldSyntax: TSEShared.h -------------- // TSEShared.h #pragma once #include <string> using namespace System; namespace TSEShared { public __gc class Global { public: static std::string ToCppString(System::String *); }; } TSEShared.cpp ------- ...Show All
Smart Device Development Unable to sign assembly - 'No Provider Was Specified'
I've been working on a .NET CF 2.0 project in VS2005 for a few weeks without any problems at all. Today, our IT staff switched our user accounts over to a new AD domain, and now when I try to build my project I get a strange error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CompactFramework.Common.targets(42,9): error MSB3482: SignTool reported an error 'Failed to sign obj\Debug\MobilePDA.exe. SignTool Error: ISignedCode::Sign r ...Show All
