Terence Curd's Q&A profile
Visual C# Convert Decimal to String???
this .txtCommission.Text = ( decimal )_SalesPersonToEdit["Default Commission"]; How do i convert this string to a Decimal, I have tried using ToString() but that does not work and I also tried to use Convert.ToDecimal(string) = object....and that didnt work eithier any help on this situation! thanks! Oh that line of code does not work...I am trying to assign that text back to my row of data in my Sql Table which is of type decimal...And i get the error can not convert string to decimal....with that line of code.... I thought that was specific enough....thanks for the help! ...Show All
Windows Search Technologies Quick questions from a new user
Just downloaded WDS for use with Office 2007 Beta2Tr... Where do I find out which version of WDS I'm running The file I downloaded has a version of 6.1.22.4... How do I get the indexing to stop I pause it for 8 or 12 hours and it starts up again, slowing down my whole PC... I've been a long time X1 user and have loved it... I'd like this to work since it's so integrated into Office. Thanks for the support! Lon Hello Lon, You can see the version of WDS that you're running by looking in the registry under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search [CurrentVersion] - this will show the full version number of WDS. As for pausing indexing, you can cause it to sn ...Show All
Smart Device Development Installed custom CE 5.0 device SDK does not show up on Visual Studio 2005
We created an SDK for our custom device in CE 5.0 Platform Builder and installed it on a PC running Windows XP. But the installed SDK does not show up in the 'Installed SDKs' list in Visual Studio 2005 when I am trying to create a native application for our device. Would anybody have any ideas as to what could be going wrong Could it be something I have installed on my machine I would greatly appreciate your advice. Thanks for your time.... I'm having the same problem. I create an OS Design in PB 5.0 using "Mobile Handheld" as the template, and the generated SDK, once installed, does not appear in the VC2005 smart devices project wizard. I have also verified that my SDK does not appear in this file: WCE.VCPlatform.conf ...Show All
Visual Basic How to work this code?
AUI = 0 UserItems(AUI + 1) = "Steel Sword" Form2.Label (AUI). text = "Steel Sword" Form2.PictureBox1 (AUI). Image = Image.FromFile( "C:\Documents and Settings\bob\My Documents\Visual Studio 2005\Projects\Strong Knight\Strong Knight\Resources\steel.bmp" ) AUI = AUI + 1 In the real out put of the code. This is an inventory, the user buys an item, and based on how many items they haev the new item is added after the latest one, which is a label for the name of it, and the picture of the item. oops...replace dim MyLabels with Public MyLabels also as far as progamtically adding controls.... Dim f as New Form2 Dim l as new label Dim p as ...Show All
Windows Forms designer errors: Object reference not set to an instance of an object
Hello, I am getting the following error when I try to open the designer for some of the forms in my project. I have no clue why this is happening. thanks Object reference not set to an instance of an object. at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.EnsurePopulated(Boolean fPopulateProject) at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchNormalEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& assembly) at Microsoft.CompactFramework.Design.DeviceTypeResolutionService.SearchEntries(AssemblyName assemblyName, String typeName, Boolean ignoreTypeCase, Boolean reflectionBased, Assembly& ass ...Show All
SQL Server Is it possible to do?
I am searching through forums but cannot find the answer. I have reports on the Intranet. I do not need to restrict it. Everyone should be able to see everything. The problem is that if I assign anonymous access to the reporting server, I cannot manage it. Whatever I do, it would give me an error message saying that account IUSR_SERVER has not rights to do anything. I cannot use form authentication because I send parameters using url. Any solution that I could use Can I create a user that has restricted access to reporting and use authentication using url Any other ideas Thank you. Igor L. Kravchenko. I understand it. Is there any way that I can ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rendering To Textures in Beta2
I used Texture2D's heavily with the usage RenderTarget, however in Beta 2 its like a whole new API. I understand that Surface no longer exists and RenderTarget/2D should be used. The problem is, the whole mentality is backwards compared to what im used to. From what I see I should create a RenderTarget2D and set that as a render target, then do rendertarget.GetTexture() if I want to set it. Thats fine. However, how do I copy between render targets There is no StretchRect or equivelent function I can see, which I used alot before. Surely I dont have to go about getting a texture, setting it, creating a 'copy' effect, setting a new render target, resolving the new render target just to copy from one to another Is there no alte ...Show All
Windows Forms closing application
on desktop taskbar when user select any application and make a right click on mouse, it displays pop menu. Is is possible to catch event for c# application when use select "close" or "close group" menu item under this pop menu also it there anyway to disable this "close" or "close group" menu items I just testing an application, all I used was the following: private void Form1_Closing( object sender, System.ComponentModel.CancelEventArgs e) { e.Cancel = true ; } I had 6 in a group and none of them closed but the window can't close :) ...Show All
SQL Server MSDE 2000A Upgrade to SQL Express SP1 with Merge Replication
Hello, I have the following scenario. An application using SQL Server 2000 SP3 on the server side and clients using MSDE 2000A (SP3a) on the client machine. Since the client is offline quite often merge replication is used to keep the clients in sync. Now we try to upgrade to SQL Server 2005 SP1. The publisher and distributor upgrade (on the same box) worked fine and all clients could still synchronize. Fine :-) Now we try to upgrade the clients to SQL Express SP1. Now the problems start :-( 1) After the upgrade the entry within the Synchronization Manager is gone (we can overcome this by using sp_MSregistersubscription or by manually disable and enable Synchronization manager on the subscription properties) 2) Initial Synch ...Show All
Visual Basic Strange Problems with VS2005
Hello All, I'm trying to figure out why VS2005 is acting strange and if anyone else has seen these problems.... Sometimes when I run a solution using the Debuger the system will not step into a function. it just steps over it as if it has executed it. I have checked to see if there is a unhandled exception causing the problem but there is not I have even added a breakpoint to every line in the function including the function header and it still will not recongnize the breakpoint. Then as quickly as the problem has started it will stop and I will be able to step into the function. Additionly The VS environments seems very unstable I report at least 2 compiler errors a day requireing me to restart. Lasty I'm not sure if this is just an ...Show All
SQL Server Amazon Web Service Call with Web Service Task
With the new improvments to the web service task, we can now use variables as arguments in web service calls. I am trying to setup a call to the amazon web service ECS. I am trying to do a simple sellerlookup. I have played with the settings and gotten nowhere. I get one of two error when I try to execute. I can always use a scripting task or write my own task, but I would like to use the built in task if it is possible. Has anyone used AWS with SSIS [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Object reference not set to an instance of an object.. at Microsoft.SqlServer.Dts.Ta ...Show All
Software Development for Windows Vista Issue on deploying an ASP.net 2.0 application to Vista edition RTM
Hi All, I tried to deploy an Asp.net 2.0 application and on using the same i get following issue. I had used Classic .net application pool Following is the exception on accessing the url ... What's the possible fix. and steps. i had tried all the work around but could not achive. Please suggest... Server Error in Application "Default Web Site/RMSSETUP" Can you can you confirm that when you ran option #1 that the web.config is migrated and uses <system.webServer>/<handlers> and not <system.web>/<httpHandlers> Its possible the APPCMD.EXE tool requires admin and/or it can't get access to the web config. Thanks. ...Show All
Visual Basic how to invoke method in a class from a C++ dll in vb.net
I know we can invoke a global method from a dll( written by C or C++) in vb.net like you invoke windows APIS, but I want to know if i can reuse classes that implemented in a Dll written by C++. thanks in advance I wonder that if we can use a dll that typically already built in VC++6.0 rather than rewrite directly in VB.NET. By now ,i haven't found the right way to make this work. ...Show All
Visual Studio Team System Error 29112
During TFS Single Server install I'm getting Error 29112. Team Foundation Report Server Configuration: Report Server is not properly configured ...Use Report Server Configuration tool ... And the install backs out. So, I fire up Report Services Configuration and get to the Database Setup step and I recieve these error messages: Verifying Database Version The database version (C.0.8.40) does not match your Reporting Services installation. You must upgrade your Reporting Services database. Creating upgrade script for database version C.0.8.40 Couldn't generate the upgrade script. There is no upgrade script available for this database version. Tell me more about this problem gives this: ReportServicesConfigUI.WMIProvider.WMIProviderExceptio ...Show All
Commerce Server rebuild catalogs fails when running as administrator on vista
I fought with this one for awhile until i figured out what was going on. I'm running VS2k5 on Vista as Administrator. Calls to Rebuild on a VirtualCatalog would fail with the following error: System.Runtime.InteropServices.COMException was unhandled Message="Impersonation Failed for the long running operation. The COM API 'CoImpersonateClient' failed with error code '0x80070005'. Please check the COM security settings of the process." Source="Microsoft.CommerceServer.Shared" ErrorCode=-2147467259 StackTrace: Server stack trace: at Microsoft.CommerceServer.Catalog.ICatalogRebuild.RebuildCatalogs(String siteName, Guid operationId, String[] catalogNames, Boolean ignoreInventorySystem, Boolean forceRebuild) at ...Show All
