Matrix_morpheus's Q&A profile
Windows Forms Install Certificate for WSE 3.0 Encryption via ClickOnce
I have an application that is made up of Webservices and a SmartClient that comsume those webservices. The clients will be installed over the internet so for security I was going to use WSE 3.0 and usernameTokens. This requires a X.509 certificate with the private key installed on the server and the public key installed on the client. Ideally the location on the client would be the Current User store. For the final release I intend to sign ...Show All
Visual Studio Team System Team Build Error using external references to virtual drive
Hi, I have a team project that uses external references to the virtual drive 'V'. The drive is correctly mapped at the Build Machine. The build fails with the following error: Solution: InventorySolution.sln, Project: Base.csproj, Configuration: Debug, Any CPU C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(0,0): warning MSB3245: Could not resolve this reference. Could not locate the assembly "xxx.Diagnostics.Tr ...Show All
Visual Basic Please help me get started
I work in a Visitor Center that is looking to install a couple of touchscreen kiosks (computers) for the public to use. Since the estimated cost to develop a separate program for each computer is too high for us to afford my boss suggested I look into basic programming software and see if I could do it. I have never developed a program or taken anything more than the basic computer class in college. I talked to Microsoft suppor ...Show All
Windows Forms Webbrowser1 document.click +vs2005
Hi, I have been trying for a few days to get a click event to work on my htmldocument but with no luck. Looked at many examples on the net but no help there. I can get it to work in C# but not VB. This is the code I have at present Dim doc As HtmlDocument doc = WebBrowser1.Document AddHandler doc.Click, AddressOf doc_click That is as far as I have got. I don't know how to handle the click event. Do I need to make a sub to handle that or ...Show All
Visual C# SQL Server on C# question
Hi, I want to be able to run, pause or stop a SQL Service (as in SQL Server Service Manager) from within a C# application. How can I do this The server I'm using is called DEANHPLAPTOP. I'm sure this can be done through the command line somehow in DOS but how can I do it in an application The end result I want is to have it so that the first form in the app (login form) starts the service if it's not already running and then stops it when t ...Show All
Smart Device Development Dll registered in v1 and v2 GAC blocks proper references in v2 project in VS2005
Hi all, I have a control library dll for NT and the same dll compiled for CE. They have the exact same name and version. They differ only in their public key token, which allows me to have a control from both in my IDE. I installed the NT dll in my v2 GAC as well as my v1 GAC. The problem is that when I add a control from the CE dll, VS2005 adds a reference to the NT dll to my project. I want VS2005 to add a reference to the CE ...Show All
Visual Studio Team System Method fails in unit testing with System.Resources.MissingManifestResourceException
I have a method I am testing that provides localized strings and wanted to provide a unit test to take it through its paces. I already have the method working and wired to a UI, but also wanted to write a unit test for the method so that others would know that it works and to provide a code example. What is strange is that the method works as expected when I run it in the UI, but the unit test throws a System.Resources.MissingManifestResourceExc ...Show All
Smart Device Development Copy Data from one form to another
Hello Friends, Iam new to this PocketPc App . I would like to know how to transfer data from One Form to another. I would like to ge the value of a textbox in form1 to form2. Thanx in Advance Cheers Biju S Melayil Just create a public proeprty on form1 which holds the value of the textbox. Then you can call this property from form2. Or add the value of the textbox on form1 as a parameter in t ...Show All
Visual Studio 2008 (Pre-release) XmlDataProvider error in XAML
Hi. I'm trying to bind to some XML in an XmlDataProvider, defined declaratively in the XML thus: <XmlDataProvider x:Key="ImageData"> <data xmlns="" > <text>TEXT</text> </data> </XmlDataProvider> Cider's giving me an warning, saying the XML elements within t ...Show All
Visual Basic Reading characters from a line
I was wondering (DESPERATELY) how to read only certain characters from a line of text and how to define where the code will start reading and how far into the line the code will read. and lastly - is it possible to store these specified characters in a variable I've been messing around with "Mid()" but its not doing exactly what I need it to. THANX Mid is going to strip your string, but y ...Show All
SQL Server Doing away with like '%%'
Here's the setup @searchcondition varchar(50) --is a parameter passed into a stored procedure IF(@searchconditions is null) BEGIN SET @searchcondition = '%' END ELSE BEGIN SET @searchcondtion = '%' + @searchcondition + '%' END select * from sometable where somecolumn like @searchcondition Now the procedure is fine if the user passes a string, but if it's null, it seems really inefficient to search for '%'. ...Show All
Windows Forms DateTimePicker in WinForm
Hi Is it possible to set dafault value is null for DateTimePicker Thanks Thyagu I also would love to see your version of the DateTimePicker control ...Show All
.NET Development Load Balancing Socket Connections
Hi, I don't know if this is even possible but here is the scenario I have: I have a server/client application connected via TCP. Lets say I have 5 clients applications. I have 2 server applications running behind a load balancer. Since it's TCP, lets say 2 of the clients make a socket connection to server 1 and 3 of the clients make a socket connection to server 2. Can I have server 1 send a message over the socket con ...Show All
SQL Server Get information from sysobjects in another database (CLR, MS SQL 2005)
Hi All, I've written a scalar function in C# for the MS SQL Server 2005 that has to have access to two databases in one instance of a server ("database1" and "database2"). I got information from database1, calculate the name of the database2 and got information from user's tables in the database2. But when I'm trying to get informatin from "sys.tables", "sys.columns", "sysobjects" I always get ...Show All
Visual C++ Very simple webserver code
I am making a very simple webserver -it does not need to have any sort of cross-platform compliance, it simply needs to work with IE6. I have the following code which is simply supposed to read in a web page stored on the disk and serve it to the client. Code follows (I cannot figure out how to format the text.. it's ugly): void SendLogin ( int clientNum ){ ifstream file ( ".\\HTM\\login.htm" ); if ( file == NULL ) re ...Show All
