hazz's Q&A profile
Visual Studio Team System The problem during Getting local variable in a method
Hello,everyone. Now ,I use the FxCop1.35 TO custom my Rule. Today while I custom my rule that get the local variable in a method, I found some problem. firstly,I custom a method: private string sendQQ(string qqNum) { return qqNum; } secondly,I custom my rule: public override ProblemCollection Check(Member member) { Method method = member as Method; if (method == null) { return null; } LocalList list = null; if (method.Instructions.Length > 0) { list = method.Instructions[0].Value as LocalList; } if (list != null) { for (int i = 0; i < list.Length; i++) { Local local = list ;//list is a local variable ...Show All
SQL Server Keep existing object unchanged or Create Schema at subscriber =false?
Hi, I have the same database(3GB) in 2 physical locations in usa and europe I need to create a publisher and subscriber between these 2 database without sending any snapshot because i have the same data in the 2 sides, is it possible Thx Jim Hi, Thx for your reply, i made a publication and i added a rowguid with null option in target data (with or without update rowguid from source DB) and later on a created the subscription , and the system gave me the same error (i can\t make backup on source db because because i can't send any data or any snapshot) Any other idea Regards, Jim ...Show All
SharePoint Products and Technologies Sharepoint Designer 2007 Issue on x64
My apologizes if this is in the wrong place. Running Vista Ultimate x64 with Office 2007 and SharePoint Designer 2007. Every time I open up SharePoint Designer I get: Configuring Microsoft Office SharePoint Designer 2007 And it does that for 90 seconds or so then starts it up. It does that from a shortcut, from the Start menu, from Start Run or from an HTML file and Open With... I see nothing in the event logs or anything anywhere else I can think to look. It does not do this on another machine running x86 version. Thoughts Uninstalled and reinstalled to no avail. I see on the public newsgroups there are a few other people having issues with this as well. At least it's only SPD for now..... ...Show All
Visual Studio 2008 (Pre-release) Setting EventTrigger's SourceName to C# Object?
I have an event trigger who's routed event is DoubleAnimationUsingKeyFrames.Completed. The actual DoubleAnimtionUsingKeyFrames object is created in the xaml's code-behind file in C#. What's the proper syntax for setting the event trigger's sourcename property to that C# object I've tried a straight-forward SourceName="myDAK" but the app throws a runtime error with the following message: 'DoubleAnimationUsingKeyFrames.Completed' value cannot be assigned to property 'RoutedEvent' of object 'System.Windows.EventTrigger'. Value cannot be null. So I'm guessing the problem is it can't find "myDAK". Suggestions Did you ever get this to work I am also trying to start an animation out of the ...Show All
SQL Server Get 'DB Error 10083' with SQL Server 2000
Setup: SQL Server 2000 sp3 on a Windows 2000 machine, transactions running through an ODBC connection running SQLSRV32.dll version 2000.86.1830.00 Transactions: Being generated via a Citrix server (MetaFrame Presentation Server, Enterprise Edition 4.0(Build 2198), Service Pack 2005.04.... This sits on top of an install of Windows 2003 terminal server installaion. Error: Appears to only be happening on a ADD(Insert) .... Any thoughts on this would be a big help. Dave This is not a SQL Server error message. You need to check your data access layer. Here are few guesses on what the problem is: 1. You are issueing insert statement but expecting a result set to be returned. SQL Server will r ...Show All
Visual C# Deploy Crystal Reports
Hello I have developed a windows application in VS.NET 2005. I have added some Crystal Reports.I made a setup project for deployment, and added the merge modules required for Crystal Reports. It is working properly. The problem is , I have to edit the App.config file during installation of my project.It is working properly in machines having VS.NET 2005 installed. But in machines having only .Net Framework, some error occures during installation and it rolls back. If I remove the Custom Action of editing the config file it is working properly. The erro message is "Unable to get installer types in the <project_name.exe> assembly. -->Unable to load one or more of the requsted types.Retrieve the LoaderEx ...Show All
Visual Studio Tools for Office Communication between smart tags and custom task pane
Hi, Anyone an idea on how to make a smart tag (not created the vsto way because of document level limitation) talk to custom task pane (created using vsto se) either indirectly or directly Many thanks for your ideas! /Dirk It may not be possible to get to the custom task pane (CTP) from the smart tag (ST). However, you may be able to get to the ST from the CTP through the (in Word 2007, at least) Application.SmartTagRecognizers property. You could then expose a custom COM interface on the ST that the CTP can query for once it has obtained the correct SmartTagRecognizer instance. The CTP would itself expose a custom COM interface and pass a reference to the ST using the ST interface. The S ...Show All
Visual C++ Suggestions needed whether ON_WM_TIMER should be added to CView class or not
I want to upate my application's (an SDI app. using VC++ 2005, MFC) view at a regular interval, say at 1sec. using timer event handler. Here five event IDs are set ( using SetTimer(...) ) with five different intervals (one of which is 1sec.). The view needs to be updated after processing some data recived from a device. I am facing some problems while updating view. Regarding this, I want to know the answers of the following questions: 1. What should I use; ON_WM_TIMER of CMyAppView class or of CMyAppMainFrame class of my app. Which one is better 2. I added ON_WM_TIMER to CMyAppView class for testing purpose, but sometimes flicker takes place while updating the view (used InvalidateRect(&MyRect, FALSE) to do this). How can I r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. So obvious, but can't find it in the FAQ
OK, just got back from vacation and finally got to start playing with the much anticipated XNA beta. Somebody please tell me the previous posts were wrong and I'm just missing this in the FAQ -- they wouldn't really release a game development kit that can't import 3D models, would they I mean, this is such an obvious thing... I'm just missing it in the FAQ, right Somebody, please.... Jurak wrote: This seems to be coming up alot. XNA is NOT a high level game development kit. XNA IS a cross platform (Xbox 360 and Windows) low level game development api. Torque is writing a higher level game development kit on top of XNA. Wait for that if you w ...Show All
SQL Server TargetQueue get disabled automatically ?
I have a weird problem going on : my SB configuration involves 3 servers. Server A sends a message to Server B. there's a stored proc on Server B that is being activated (using Activation), does some processing and sends the message to server C. on C there's another SP that is activated and it's supposed to insert a record into a table. My problem is that on Server C, the record doesn't get inserted when activation is set to ON. when activation is off on C and I run the proc manually, everything works fine, but when activation is on, the record doesn't get inserted. after this happened I tried to fire the proc manually and I got the following error : Msg 9617, Level 16, State 1, Procedure spMSG_ReceiveMessagesOnSubscriber, Line ...Show All
SQL Server SQL Server Express Edition versus SQL Server Developer's Edition
I recently purchased a copy of Visual Studio 2005 Professional last month and it came with SQL Server Developer Edition. However, I noticed it also installs the express edition. If I choose not to install the Developer Edition (Im quite new to SQL) can I deploy a database I develop in the express edition on a regular SQL server Regards and thanks, Matt Hi, yes you can. The "upgrade" for another version is simply doing a backup and a restore on the computer. But as you already purchased the develeoper edition along the Visual Studio product, I would suggest you using the developer edition for developing and the ease of administration. Depending on the edition you want to deploy later along wi ...Show All
Windows Forms Posting search results to datagridview dynamically
Can someone help me out with this one I would like for my datagridview to display results of a search as i am typing the search criteria in a textbox kind of like the auto expand property that is available in MS Access. For example if I type 'jo' in the textbox even before the user hit the search button I would like for the datagrid to display all first names that start with Jo (john, johnson, jolene, jon, johann, johanson, joan, joanne, jobeth, job etc) but as the user continues on typing 'joh' the datagrid will refresh itself with only names like john, johnson, johann and johanson. As the user continues on with 'johns' only johnsons will get displayed in the gridview. I have a search form working right now but it seems too static becaus ...Show All
Windows Forms StatusStrip - SizingGrip problem
Hi I've added a StatusStrip control to a form. Within this I added a ToolStripProgressBar , and set it's Alignment to "Right". Now I have the progress bar next to the SizingGrip. If I now set "SizingGrip = False", the sizing grip is removed, but there still is an empty area left. I now have an ugly space between the progress bar and form border. How do I get rid of this area Kind Regards Ok, then we have the same problem ;) Maybe having both sides gap-free is impossible... ...Show All
Windows Forms How to create an instance of System.Windows.Forms.AxHost.State ?
I am writing an user control, it would add the ActiveX control by checking the installed version of Office Web Component SpreadSheet (currently there are OWC11, OWC10, OWC components). After checked the installed version of OWC, I create the instance of the axXXX library which generated by vs.net 2003 & add this instance to UserControl.Controls. If I do nothing more then it would be OK, but I wish to set the CSVData property of the instance after the constructor of the UserControl finished. I got an error said that OcxState of the OWC instance is valid. I noticed when I drag & drop the OWC control into the UserControl, the designer would generate the code such as : owc.OcxState = ((System.Windows.Forms.AxHost.State) ...Show All
Windows Live Developer Forums Seamonkey
Hi I am currently using Seamonkey 1.1 as my default browser (Mozilla) and e-mail client. I am no techie, but when I was using SM 1.0.7, I had no problem being able to use the full version of Live mail and my personalized home at Live.com. After my upgrade to SM 1.1, I am not able to use these features. I have tried asking this question in the feedback section of Live.com, twice. So far there has been no response. I know the website says compatible only with IE 7 and FF 1.5. But since the features were available with an earlier version of Seamonkey, I am kind of surprised to not being able to do so now. Is there a workaround to this issue Thanks Hi, Have you checked with the seamonkey team to find out ...Show All
