cwmacro's Q&A profile
Windows Live Developer Forums v3 and ssl
Hello, I just rolled out the new v3 maps in our https app and noticed that I'm now getting warnings asking the user if it's okay to download unsecure data. As with MapPoint, is there a way to set the http connection to indicate https Thanks, Jeff ...Show All
Visual Studio Express Editions Deploying VB 2005 applications easily?
Hello folks, I've written some VB Express 2005 applications and I'm looking for the best way/method of deploying them. Many of the machines I'm running these applications on do not have internet access and thus, do not have .net 2.0. Is there a way I can re-compile these programs in c++ express 2005 to relieve this requirement, or can I include ALL of the dependencies on a CD Thanks! I know this works in regular Visual Studio 2005, but I'm not completely sure about the Express version - I hear their Click-once deployment is basically identical. In the Solutions Properties page, click the Prerequisi ...Show All
Visual C++ IsNumeric Check
Hi, I have a CString or wchar_t, i would like to be able to check if it is numeric. I cant seem to find the method to do this, any one know it I thought it was IsNumeric() or something like that. Cheers Will Hey, thanks for your help. The isdigit method works. I have a string something like 1234, i wanted to check that each part of the string was numeric, as i will breaking it up for various reasons. so.. CString s = _T("1234"); for (int a = 0; a<s.GetLength;a++) { if (isdigit(s.GetAt(a)) { //code &nb ...Show All
.NET Development HTTP status 407: Proxy Authentication Required +ISA Server
Hi, We're getting the follow exception thrown when calling our web service: System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). I've found this article, but the problem is we don't want to edit machine.config as a pre-req. http://support.microsoft.com/ id=307220 So does anyone know how to replicate these attributes through code Thanks. I don't want to do this: NetworkCredential nwkCred = new NetworkCredential("username","password","domain"); myProxyClass.Proxy = new WebProxy("p ...Show All
Visual Basic Newbie confusion Assert.AreEquals
I used the VS Test Suite to generate a unit test called, "AddOne", that adds 1 to an integer. Here's my test method: >>> Dim expected as integer Dim actual as integer dim myValue as integer ... ... ' should fail : 10 + 1 <> 51 myvalue = 10 expected = 51 actual = target.Addone(myvalue) Assert.AreEqual(expected, actual, " Failure message") ' should pass myvalue = 50 expected = 51 actual = target.Addone(myvalue) Assert.AreEqual(expected, actual, " Failure message") ' should fail myvalue = 50 expected = 11 actual = target.Addone(myvalue) Assert.AreEqual(expected, actual, " Failure mess ...Show All
Visual Basic How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! You can use Process.Start from process A to start process B. This method will return a new Process object. You can then call WaitForExit on the returned process object to block process A until process B is done. Best r ...Show All
SQL Server SSMSE Cannot show requested dialog
In Database Properties | Permissions when I highlight a "user or roles" and click "Effective Permissions" I get an error dialog as indicated below. Given that this is beta software, is it a known bug, or is it something I'm doing John =================================== Cannot show requested dialog. =================================== Could not load file or assembly 'file:///C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\sqlmgmt.dll' or one of its dependencies. The system cannot find the file specified. (mscorlib) ------------------------------ Program Location: at System.Reflection.Assembly. ...Show All
Visual C# project encounter errors when Ctrl+F5, but runs well when F5
Hi all, I have a application taht migrated from VS 2003 to VS 2005. It runs well when F5 (start debugging) but not when start without debugging. It shows "System.NullReferenceException was unhandled. Object reference not set to an instance of an object." at Thread dbThread = util.TestConnection(settings.SqlServer, ui.UserName, ui.Password, new TestConnectionResultHandler(utilHandler.TestHandler)); dbThread.Join(); ******* stops here ******** Does anybody have any idea Thanks a lot! Liya ...Show All
Visual Studio Express Editions I need to make a backup of my project - how?
I will shortly be re-formatting my HDD and so I need to make a backup of my project and be able to re-install it later. I've looked through forums and help files but can't find any straightforward answers (I could do it easily in VB6). Any help appreciated. Thanks. Your entire project is contained in a single folder, so all you need do is copy or archive that folder to whatever location you want. All projects will by default be contained in "My Documents\Visual Studio\Projects" and the subfolder will have the same name as you project. If already had a previous version of VS installed then ...Show All
Visual Studio Express Editions Installation problem with 2.0 Beta
I had previous .Net Framework 2.0 beta 1 installed and followed instruction of beta 2 installation from http://lab.msdn.microsoft.com/vs2005/uninstall/ But, I keep getting error message Microsoft .NET Framework 2.0 Beta 2 Setup has stopped because item listed above could not be downloaded And I followed trouble shooting from instruction below. Then I still get same problem. Any idea Eddie Hello Eddie, Try the manual un-installation instructions found here: http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx ...I had the same kind of problems, followed these instructions, installed .Net2 Beta 2 and everything worked great a ...Show All
Software Development for Windows Vista How do I get the context of the workflow instance?
Hi, I have a client sending an xml message to a SequentialWorkflow through a remoted service. The service exposes some methods which each triggers an event. The workflow has several Eventsink activities each “listening” to a specific event. When the event is triggered from the service, the xml message is sent to the workflow through the eventargs and is also stored in a local service variable (System.Collection.Generic.List). I can use this service variable to access every processed message. 1. Is there any way to invoke the workflow instance to get my xml message directly from the runtime instead of s ...Show All
Visual Studio 2008 (Pre-release) What abt Dynamic Where condition??
Is there any facility to create dynamic where condition for queries. i.e. Let's say, user will pass couple of filter condition for few fields(may vary in number and pattern) and we need to filter based on that condition... something like creating dynamic query in SQL. If not, is there any way to achive this kind of functionality. Thanks. Gaurang Hi Gaurang, See this thread . You can add as many where clauses you want as they get concatenated (depends on the statement though). ...Show All
Visual Studio Team System Build server and test projects
I've got a solution with 3 projects, a windows app, a class library, and a test project. When I create a new build type to build this solution, the build seems to fail building the test project. The relevant (as far as I can tell) part of the log is: Target "CustomTest" in project "TeamBuild.proj" Done building target "CustomTest" in project "TeamBuild.proj". Target "Test" in project "TeamBuild.proj" Using "TestToolsTask" task from assembly "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.MSBuildTasks.dll". Task "TestToolsTask" Loading d:\teambuilds\Test Project 1\Test Project M ...Show All
SQL Server ListAvailableSQLServers does not show local instances
Hi all I am using SQL DMO method ListAvailableSQLServers to get the list of all the SQL server available to the local machine. For some reason, I get all the servers except the instances installed in the local machine. - The are all started. Any help thanks. you can use the registry for search local instances Example: //Registry for local RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Microsoft SQL Server"); String[] instances = (String[])rk.GetValue("InstalledInstances"); ...Show All
SQL Server Does the Advanced Services setup include Service Pack 1?
The subject says it all. Yes, Express Advanced is SP1. In order to correctly upgrade from Express Edition to Express Edition with Advanced Services, follow the instructions in the SQL Express blog at: http://blogs.msdn.com/sqlexpress/archive/2006/04/20/UpgradeToAdvanced.aspx If you've already tried to upgrade and received the error "Login failed for user 'sa'" then you will need to follow the instructions in the SQL Express blog at: http://blogs.msdn.com/sqlexpress/archive/2006/04/20/580312.aspx Regards, Mike Wachal SQL Express team ---- Please mark your thread as Answered when you get ...Show All
