eTape's Q&A profile
Visual C++ Error messsage
The version of SP is 20040803.231319. It has been suggested that I post my query in another forum. This I will do. Thanks for responses. I changed the following files: C:\ProgamFiles\BTBroadbandDesktopHelp\Smartbridge C:\ProgramFiles\BTBroadbandDesktophelp\classis\bin C:\ProgramFiles\BTBroadbandDesktophelt\de\jsharp\bin C:\ProgramFiles\Motive\Common I didn't touch any of the files in Document\Settings What does BTW stand for ...Show All
SQL Server Merge 2 columns from the same table
Hi *, I have a table with 2 columns A1 and Firm. A1 holds "dirty data" and there are no NULL values. Firm holds "clean data" for some of the rows in A1 but not for all. So there are quite a few NULL values in this column. I want to replace the value in A1 if there is any data in Firm (value <> NULL). Rigth now, I solve this issue with a simple VB.NET script: Public Class ScriptMain Inherits UserComponent Public Overrides Sub Input0_ProcessInputRow(ByVal Row As Input0Buffer) ' If Row.Firm_IsNull Then Row.Standard = Row.A1 Else Row.Standard = Row.Firm End If ' End Sub End Class Any ideas how to solve this issue without custome code Thanks! It sounds to me like you can use Derived Co ...Show All
Visual Studio Express Editions Tearing my hair out over a LNK2019
Ok, let me explain my sob story: I am working with the Intel Performance Primative trying to do an FFT as fast as possible. My original compiler was Metrowerks Codewarrior. After reading the IPP manual, I succesfully implemented the IPP code into a DLL using Codewarrior. It is pretty darn fast. After talking with a CS friend of mine, he recommended using the Intel Compiler for even faster code, which is a plug-in for the Microsoft compiler. So I installed my old copy of Visual Studio .NET 2003 C++ compiler with the Intel Compiler on top. Alright, now to the fun part. I use the EXACT same code that I used in Codewarrior, and the VC++ compiler refuses to link succesfully. My code is basically (by basically, I have left out a ...Show All
Visual Studio 2008 (Pre-release) No endpoint found.
hi, I am getting the following error when i try to connect to the service running as a window service. The error is as follows : "no endpoint found on the specified address" Actually the service has some data contracts and also some database interactions. I am able to get the response when i just call a method that returns just a string but when i call the actual method that has the datacontracts and database interactions i am getting the connection error. For me to resolve the error i am not able to debug into the service running so that i am not able to locate the exact point where the exception is being raised. Thanks in advance. Regards, Rajesh since it is runtime debugging ...Show All
Windows Forms swap rows of a Datagridview!
HI I want to swap the contents of two datagridviewrows. I am using VC++ .NET Visual studio express edition . Any suggestions how I can do it Cheers! I'm not familiar with VC++.NET, for C#, do in this way: //swap row 2 and row 3 for ( int j = 0; j < this .dataGridView1.Columns.Count; j++) { object tmp = this .dataGridView1[j, 2].Value; this .dataGridView1[j, 2].Value = this .dataGridView1[j, 3].Value; this .dataGridView1[j, 3].Value = tmp; } you can take my thought, and translate it to VC++, Zhixin Ye ...Show All
Visual Studio 2008 (Pre-release) Business entity contstuctor never called
We are working on a application that has the business entity classes on both the client and server in a WCF implementation. We used the svcutil.exe with a reference (/r) to the business entities to generate the proxy class for the client. We have a private dictionary to hold validation errors on the class and instantiate the dictionary in the constuctor. The IsValid method returns true if there are no errors in the error dictionary. The validation code in the setters checks the "value" and if it does not pass validation it adds a message to the error dictionary, if it does pass validation it removes errors from the dictionary if they are present. The problem that we are haveing is that the constructor is never called, so ...Show All
Visual Studio Tools for Office how to remove VSTO plugins from office applications
I'm working on a VSTO plugin for word, but my plugin appears to have loaded many times in office. So i now have 6 Database menus (the menu my plugin added) in microsoft word. I've deleted all copies of the plugin .dll file from my hard drive, but the plugin still loads. How can i remove the plugin from office and have it only load when i want to debug it this is exactly right i'm not checking for the menu or removing it on the plugin shut down. I'm working with VSTO SE and office 2003. my code for creating the menu is as follows <code> private void AddMenuItems() { try { Microsoft.Office.Core. CommandBar menubar = this .Application.CommandBars.ActiveMenuBar; Office. C ...Show All
Visual FoxPro Wait Window "" timeout 0.01 and Sleep(10) in VFP-9
At times my VFP processing requires *rest(s)* it seems. (report processing/printing, various functions, .BeforeRowColChange events, etc.) I've *discovered*: Wait Window "" timeout 0.01 && ... helps at times while the preferred: Windows API Sleep() routines && ...I've had NO success with API Sleep() declarations Any general or specific feedback concerning *rest(s)* in VFP-9 is appreciated. Andy, I've tried your code (verbatum) and with multiple other lines of refresh as well. All this to no 'correct' solution. Unfortunately, I'm deficient with the VFP-debugger and have been compiling a My.Exe (vs. a My.App) (with a conjoined MySplash.exe) ... and/or may be a little obsessive-compulsive here. Thus I altere ...Show All
SQL Server Modify next identity range
i have a publisher and a few suscribers running with sql 2003 I use automatic range handling to manage some identity columns in some tables How can I to modify manually the value of the next range that the publisher will assign to the next suscriber that need a range See topic "Managing Identity Values" - http://msdn2.microsoft.com/ru-ru/library/aa237098(SQL.80).aspx . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Math Help
I'm Trying to calculate an angel then convert it into float. Here Is my code so far Double MyY; Double MyX; Double MyAngel; Double Myangel; Double myangel; public void Anglr() { MyY = (dest.y - origin.y); MyX = (dest.y - origin.x); MyAngel = Math.Tan^(-1)(MyY / MyX); Myangel = Math.Round(MyAngel); float.Parse(myangel); } This has th problem can't convert from double to string. And I can't get the value in the first place. Math.Tan^(-1) is meant to be tan to the power of -1 this also gives me an error. any suggestions rako77 wrote: I'm Trying to calculate an angel then convert it into float. Don't convert your double to a string before converting it to a flo ...Show All
Visual C# How do I wait for a flag?
Hi, I am having a problem with my program. The program is intended to run three tests on a device. Each test uses the same program, but different parameters. The program reads data from 2 RS232 devices every 10 seconds, using a TIMER object. This same object calibrates the data, displays it, stores it to disk and tests against the test paramters. I start my program, having set the first set of parameters. I then start my TIMER and run code in the TIMER Tick event until a set of conditions apply. This may take between 15 minutes to several hours. When the correct conditions apply, I set a flag to show that the test has completed. I then change the test parameters and start again. My problem is how to wait for the first tes ...Show All
Community Chat ideas for teh l33tn355 that is vista
hey-o!i gotta question, if you could do something to vista that would make it even cooler (if that even is possible), what would you do i'd animate the little windows pearl so that when you moused over it, it did something interesting~!!what would YOU do Would be great to have a choice of window managers like you do on linux. Some days I want clean and responsive and others I really fancy eye candy. I know you can switch from aero to windows classic but it's hardly the choice I was looking for. :) ...Show All
SQL Server Table transfer errors
Hello, I am trying to transfer a database from one server to another using the Import Export wizard in SSIS and I am consistantly getting this error on 2 different tables so far. - Execute the transfer with the TransferProvider. (Error) Messages * ERROR : errorCode=-1073451000 description=The package contains two objects with the duplicate name of "output column "ErrorCode" (79)" and "output column "ErrorCode" (14)". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) This error message is beyond cryptic and when I click on the link it sends me to a web page the just tells me that there is no informat ...Show All
Visual C++ Testing code
I'm a new user to Visual C++. Once I've compiled and built a file how can i run it to see it in action Thank you. It almost works, but the command prompt disappears a split second after it loads before it shows the result of the code. If I choose Ctrl+F5 the command prompt remains but instead of just showing the results it says, Hello World!Press any key to continue . . . Does this seem right. It seems kinda clunky to me. ...Show All
Windows Forms run time error (book1.xls) invalid attachament type but works when continuied
I have a vb app that creates a xls book1.xls and then sends an email and attaches book1.xls then goes and then goes to the next customer and drops book1 and creates a new book1. my problem is that during the run (200) customers i get an error at this point Dim oAttch As MailAttachment = New MailAttachment(sfile, MailEncoding.Base64) but i click continue and it still attaches book1.xls and will loop through 10-20-30 customers then pop the error again I press continue it my go to the end of the list or it may go 1 - and pop again then i click continue it attaches book1 and rusumes is there a way I can check for a specific error code error code -2147467259 and just tell it to contiinue I am u ...Show All
