AnubhavG's Q&A profile
Visual C++ Input data from an electronic compass in real time, how?
Hi, i want to input real time data from an electronic compass like this: http://www.ssec.honeywell.com/magnetic/datasheets/hmr32003300.pdfhttp://www.superrobotica.com/S320160.htm This is the first time i would do this, so i dont know what port or functions i should use. Can anyone give clues PD: the compass i link it not obligatory. Maybe you can tell me the features should have my compass to pass the data to Visual C++ cos that compass is not the best to connect to Visual C++... For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development DataTable.Load() Generates InvalidOperationException
Hello All: I am having a problem with the following code generating a "InvalidOperationException". The exception is thrown sometime, but not all the times. Does anyone have any idea why this code may be causing DataTable.Load() to throw that exception Thank you kindly. Jerry... p.s. Please forgive the cross-post. I must have inadvertantly posted this to WindowsForms. ***** Start Here ***** public partial class CollectionDetailStatusDataTable { public event TableFillingEvent TableFilling = null; private EventWaitHandle tableFilledWaitHandle = new ManualResetEvent(false); private CollectionDetailStatusTableAdapter tableAdapter = null; public CollectionDetailStatusTableAdapter Adapter { get { if (tableAdapter == nu ...Show All
SQL Server Sql Server Query on Web
i query sql on web what is error Microsoft OLE DB Provider for SQL Server error '80040e14' Could not find stored procedure 'WebSicilBilgisi'. /ebelediye/emlaksp.asp , line 225 It seems like the server you are querying is having trouble finding a stored procedure that is (probably) referenced in the asp page. As to the reason why, only those who are maintaining the asp page and the server would (hopefully) know... /Kenneth ...Show All
.NET Development Browsing for SQL Server
Im writing a Windows app that get data from a sql sever database. Im trying to see if there is a pretty little control that browses for servers in VS2005. Ive seen many apps that use a similar looking sql server browser ...it has a tree view with the SQL Server icons and stuff. Just shows all the SQL servers connected in a network. I couldnt seem to find it on the controls list..does anyone know how I can get this Hi, There is no such control built-in, but maybe there is a third party control vendor that sells such a control. Regards, Charles ...Show All
SQL Server HOW TO DELETE OLD BACK UP FILES AND TRANSACTION LOGS IN SQL 2005
SQL 2005 DOES NOT HAVE THE SAME FEATURE THAT WAS IN 2000 TO DELETE OLDER FILES OLDER THAN CERTAIN DAYS. I DO HAVE A JOB THAT CREATES A FULL DAILY BACKUPS BUT SINCE I DON'T HAVE ENOUGH SPACE, I WOULD LIKE TO FIND A WAY TO DELETE ALL OLD BACKUP FILES OLDER THAN X AMOUNT OF DAYS AND ALSO DELETE TRANSACTION FILES OLDER THAN X AMOUNT OF DAYS. IS THERE A TOOL TO DO THIS. CAN ANYONE HELP PLEASE. EMADKB There are multiple Microsoft Connect items around Maintenance Plans that we've addressed in SQL Server 2005 Service Pack 2. I am not sure why the Maintenance Plan clean up task is not working for you. In our labs, it is definitely working with pre-release service pack 2 bits. Add Cleanup Task to Wizard http: ...Show All
SQL Server exists vs nonempty
the AS2005 documentation states that nonemptycrossjoin is deprecated and exists or nonempty should be used instead. i am a bit confused by the intended usage for these two functions. the documentation says that exits performs what autoexits does. however, autoexits only pertains to attribute from the same dimension. on the other hand, sets from different dimensions can be passed to the exists function. if no measure group is specified, exactly how does exists eliminate tuples is exists(set_x, set_y) equivalent to nonempty(set_x, set_y) this might be a trivial question, but since i pretty new to MDX, i could really use some advice here. Mosha sums things up pretty well in this posting on his blog: http://sqljunkies.com/WebLog/m ...Show All
Visual Studio Team System TFS Warehouse Processing Error
First up, I have deviated slightly from the stock TFS install because we prefer to use Kerberos rather than NTLM for authentication. To that end, all TFS services and app pools are running under a domain account and SPN's for the HTTP service (both NETBIOS and FQDN) have been registered under that account. C:\>setspn -L DOMAIN\TFSSERVICE Registered ServicePrincipalNames for CN=tfsservice,OU=Service,OU=Generic Accounts,OU=User Environment,DC=domain,DC=company,DC=com: HTTP/SERVER1 HTTP/server1.domain.company.com All was working well, until recently when the warehouse process packed up. Processing was generating this error in the Windows Application Log: Event Type: Error Event Source: TFS Warehouse Event Category: ...Show All
Windows Live Developer Forums FF Polyline ReArraging?
I am having very strange behaviour in FF which seems to take the LeftTop edge of the last Poly I add and reArrange all of my other Polys' starting at that LeftTop edge, strangley keeping their proper shape...in certain cases even cropping the regions. Live Example: http://mssa.coba.usf.edu/mapControl/ Use IE to see proper result first, then watch it go nuts in FF. I'd paste the source, but the pages are all ASPX and ASCX - you all can see a good "glued" version of the code being delivered to your browser. Is there something I need to do differently, maybe do it on separete layers or what Yep, this is a known issue and a bug has been filed about it. As always, I can't say anything about when you'll see the ...Show All
Visual Basic Office component?
Imports Excel = Microsoft.Office.Interop.Excel i have add the reference but its still cannot work.meanwhile i try another developer pc but its work the error is invalid namespace, it is mean the sys lack of some kind of office component im using vs 2003 enterprise developer and micosoft office 2003 standard edition Looks like you might be running into a known issue with the office interop libraries. Try reading the following article and see if it helps you with your problem. http://support.microsoft.com/ scid=kb;en-us;827476&spid=2488&sid=50 ...Show All
Visual C++ anyone can help please?
i have wrote the following function , maybe the function is too large that it occurs stackoverflow when i first run the program. So i have to breakdown the function into 6 small functions. But a __gc error occurs when i try to seperate the codes into small functions can anyone can help me please I really dunno how to solve that __gc error~ thanks private: System::Void searchBtn_Click(System::Object * sender, System::EventArgs * e) { Color pixelColor; int bitmapArray [640][480]; int windowSize; int checkedPixel; int greyRangeMax; int greyRangeMin; int markerCount; int centerX; int centerY; new bitmap rectangle System::Drawing::Bitmap * showBitMap = new System::Drawing::Bitmap(640, 480, System::Drawing::Imaging::Pi ...Show All
Windows Forms winform app - project references
I noticed some strange behavior with a recent large winforms project ive been assisting with. The project makes reference to Nunit, which in this case is probably a older version and I didnt have nunit installed yet anyway, no suprise there. However, some of the other references had a yellow exclmation beside them in the solution explorer also, but when i clicked on them the yellow exclmation went away. These references are to assemblies in a subfolder of the project, so there shouldnt have been any problems finding them when the project loads, right ...Show All
Visual Studio 2008 (Pre-release) HwndSource & the Adorner layer
I have wired up an MFC app to display a WPF panel as a view using the HwndSource mechanism. It all works fine, except nothing on the adorner layer (which I use extensively) is visible. Is this a limitation of the integration technique or is there some way I can see adorners Thanks, Jeremy Okay, after a bit of flailing, I determined that adorners are working just fine in this context. The problem was that certain dependency properties were tied to config file settings which did not exist in the context of this MFC host application, and therefore the adorners had an opacity of zero, causing them to be invisible. Thanks to all who responded. However, I have another question which is tangentially rel ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How Shadow works?
Hi. I'm new in DirectX. I have a simple car that move along a road. I want shadow of the car falls on the road. which technique should used that shadow of an object falls to other objects in the scene thanks.. Stencil shadows can be fine in some scenes. Projective shadow mapping seems to be the winner these days. Simple, fast, self-shadowing, doesn't require crazy overdraws as stencil... But it has its downsides also. Oh, and it's one of the very active researches in real-time CG... ...Show All
SQL Server There was an unexpected failure during the setup wizard.
I keep getting this error message at the same point everytime I try to install SQL 2005. I have tried everything I can find on the website and nothing works! Any ideas Not sure what you were asking or saying, did you want to see the file Microsoft SQL Server 2005 9.00.1399.06 ============================== OS Version : Microsoft Windows 2000 Server Service Pack 4 (Build 2195) Time : Fri Jul 14 12:43:51 2006 Machine : DINGO Product : Microsoft SQL Server Setup Support Files (English) Product Version : 9.00.1399.06 Install : Successful Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0001_DINGO_SQLSupport_1.log -------------------------------- ...Show All
Windows Search Technologies Can't Open files with the taskbar toolbar
Hi, I have a folder of TIFF files (Several thousand) indexed, and when I search with the taskbar toolbar thing, and I click on a result, Nothing happens. If I do the same thing in the full search window, the file will open. Any ideas on how to fix this Thanks Same here, though the problem is not limited to tiff files. Also, right-clicking a result does not give the context-menu (like 2.6.5. did). As far as I can see, _only_ shortcuts (*.lnk) _do_ work (both opening with left-click and context-menu with right-click). The full-screen search window is ok indeed. ...Show All
