Maverick62's Q&A profile
SQL Server message lost
Hi... My service broker was working...all of a sudden it stopped working...so i figured out destination queue was disabled and I set it as ALTER QUEUE SERVERQUEUE WITH STATUS = ON , RETENTION = ON , ACTIVATION ( STATUS = ON , PROCEDURE_NAME = usp_OnReceiveMessage , MAX_QUEUE_READERS = 5 , EXECUTE AS OWNER ) Also altered my database for trustworthy after going through some posts previously. Now the message is sent...i dont see any message in my tranmission queue but i dont receive the message in destination server. When i checked endpoints... select * from sys.conversation_endpoints I see the last message with st_desc as conversing... how do I solve this... Thanks, Pramod ...Show All
Visual FoxPro Azeri(Latin) Locale in
How do I get the characters , , , (those with unicode > 255) in Azeri(Latin) in Visual Foxpro 7 or 9. Our software (developed in VFP7 & VFP9) cannot print or capture these characters well. We have a client who needs to use this locale but cannot because of this limitation. In fact even in the development environment the text editor does not translate them. Is there anything else I have got to do. Thanks. William, Crystal Clear Software ltd (Uganda) You may find something here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_foxhelp9/html/ab8fbdad-875f-4c41-883c-bb5afcf8c54d.asp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Stuck at Tutorial
I've been following the tutorial and I'm currently on 'Your First Game: Microsoft XNA Game Studio Express in 2D' and I was thinking about to move on to 'Step 5' but when I build my code there's a problem. * I have made a sprite and put it inside the project and that seems to be right so far. * The problem seem to be a line 24, public project(), as the program states: Class, struct or interface method must have a return type. Shall I add Void or, Return, or similar sign or do anyone have any idea, suggestions and possibly even, a solution, then I would be greatful to see what I've done wrong. Thanks, Here is the code: #region Using Statements using System; using System.Collections.Generic ...Show All
Visual Studio Team System Microsoft.Tools.FxCop.Sdk.Introspection.RuleUtilities.IsInterface -> Microsoft.FxCop.Sdk.Introspection.RuleUtilities.OOPS!..
I was using some old FxCop version with my custom rules set. After migrating to new FxCop i've got a kind of a stuck - after change Microsoft.Tools.FxCop.Sdk.Introspection old namespace to Microsoft.FxCop.Sdk.Introspection new namespace i've got realised that RuleUtilities.IsInterface is now obsolete. How can i check TypeNode whether it deals with an interface now Thank you in advance! I'm not sure what you mean by private variables, but if you are talking about getting access to a method's local variables, see the following FAQ: How do I access the locals of a method in a custom rule ...Show All
Visual Studio Team System Error using MSSCCI provider. <file>.sln not successfully written. ...
I down loaded the new MSSCI provider and insntalled it on a computer that has both VS2005 and VS2003. I opened our 19 project VS2003 solution and tried to add it to source control. I was prompted for the TFS server. Then after several messages in the output window, The following repeated several times. ---- Operation started at time 11:21:34 AM ---- ---- Operation completed successfully at time 11:21:35 AM ---- The system the then appears to be saving information into the solution, but I get the following message. The solution file 'c:\dge\Dev\Srver\Srver.sln' was not written successfully. Check that the location is available, the file is writable and there is enough room on the disk. I am not sure what is ment by the ...Show All
Visual Studio Express Editions Game Console Programming with VB
I am making an application that runs on the Nintendo Gamecube. I have no what kind of application it should be. (Windows Application, Class Library or Console Application) How do I program the player movement Any Help Well, it's obvious that it's utterly impossible to code VB for GameCube or any other consoles, but why don't you try looking for SDK's SDK stands for 'Software Development Kit'. What I suggest is google 'Gamecube SDK'. I searched 'PS2 SDK' and it returned a great site with ton of tools, tutorials and sample code (although I don't get most of the info). Also, keep in mind that anything you get from online is 99.99% opensource so it's not supported Nor it's the official SDK that ...Show All
Visual Studio 2008 (Pre-release) Duplicate DataContract while generating proxy
I have a DataContract name Customer present in a common assembly Customer.dll which is referenced by two services. When I use svcutil to create the proxy for the two services, The Customer type is generated in both proxies (which is valid!). Now, is there a way I can make sure that though I create proxies for both services, I need only one copy of Customer created (because they refer the same DataContract) Thanks. Kishore I was wondering if you might be able to help me with an earlier post. I received a build error with the message that System.ServiceModel.ChannelFactory does not contain a definitions for CreateChannel when I was setting up a web application to talk to my WCF service in th ...Show All
Windows Live Developer Forums Is this executed too fast for Firefox?
I have an example page here: http://tacticalshadows.com/jstest/maptest4563.htm This works fine and the located area is pinned under internet explorer, but it does not proceed to find the location in firefox. What gives This example doesn't show what I am trying to do in the long run, but shows what is keeping me from doing it. I am trying to in the page load, load a map that has a location pinpointed. The location is something I am passing to the page so when it loads I can just render the map accordingly. If someone has a way to do that for both ie and firefox then I would be interested in seeing how. I just don't understand why IE executes that find fine and firefox botches. Of course I figu ...Show All
SQL Server Proc with bad performance
Hello, I'm trying to rewrite the following proc for better performance. Which approach would be the best way CREATE PROCEDURE dbo.upTest(@ProvID int, @GewID int) AS IF @ProvID IS NULL AND @GewID IS NULL SELECT ProvID, Prov, GewID FROM dbo.Alg_Geo_Prov ELSE IF NOT @ProvID IS NULL SELECT ProvID, Prov, GewID FROM dbo.Alg_Geo_Prov WHERE ProvID = @ProvID ELSE IF NOT @GewID IS NULL SELECT ProvID, Prov, GewID FROM dbo.Alg_Geo_Prov WHERE GewID = @GewID ELSE SELECT ProvID, Prov, GewID FROM dbo.Alg_Geo_Prov WHERE (ProvID = @ProvID) AND (GewID = @GewID) GO Many thanks! Worf Worf: If your objective is to have straight-forward ma ...Show All
Visual Studio Express Editions How to *** the texts from multiple EditText controls
Hi, I have a dialog with some EditText controls I need the user fills with some information. After that I want to save that information ina text file. I need to know how to add the texts I get with GetWindowText(hEdit1, pszText1, dwBufferSize1), GetWindowText(hEdit2, pszText2, dwBufferSize2) etc. in one buffer, separating each text form another with "\n" in such a way my text file will contain one line for each field the user filled. If there's another way, better, to do this please let me know. Thanks, Simply make a Structure in your Code.because As i Assume After Some time you also want to retrive the data from the File and has to Write in your Edit Control bAck if yes So Simply read the ...Show All
.NET Development Read ReadBinHex
Hi, suppose i have an xml file which contain the following data: <items> <item> 0A141E2832</item> </items> how can i read the item element in ReadBinHex method from xmlTextReader please note that the item data is not a fixed length and this is the main issue. a sample code in c# may be helpfull for me. Thanks. XmlTextReader.ReadBinHex allows you to read in chunks, please see the code sample at http://msdn2.microsoft.com/en-us/library/system.xml.xmltextreader.readbinhex.aspx . ...Show All
SQL Server Need help after creating SSIS project
Hi, I have created SSIS project that imports .csv file into sql server 2005. SSIS package is saved successfully but now i want the table created in sql server 2005. So, how to get the imported data in sql server 2005. Can any1 help me out Thanx n Regards, Ruja :) Hi Rafael, Yes i have the mentioned components in my package data flow. And when i execute package, i m getting the following error : Source - LogFile_csv [1]] Error: The "output column "Delivery Status" (40)" failed because truncation occurred, and the truncation row disposition on "output column "Delivery Status" (40)" specifies failure on truncation. A truncation error occurred on the specified obj ...Show All
Visual Studio Team System Source control bindings
I have a scenario like where i have a ASP.net 1.1 web project created on a web server that is linked with VSS working folder. All my team members work from the webserver using VS2003 i.e, no one has source code on the local machines. When i Do the migration from VSS to TFS how can the similar environment can be set. So, let me try to see if I understand you scenario correctly. You have a bunch of ASP.NET 1.1 projects under VSS and you want to migrate the source code to TFS. You will need to install the Team Explorer and the TFS MSSCCI provider on each of the developer’s workstations. I think that the tool won't be too happy if you have two separate workspace mappings point to the same share location. Do y ...Show All
Visual Studio Express Editions Cannot instol VWD Express 2005
When i tried downloading VWD 2005 from microsoft website, it keeps telling me the vwd.exe is not a valid win32 intaller. I need this software seriously for practise. have you tried to download the ISO image and installing it from that It maybe better in the long run also: http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All
Smart Device Development Moving between Tabs - On click
Development - VS2003 (VB.NET) Device - Symbol MC70 I have a form with three tabs. Each tab contains a listview (Detail view). When I click from one tab to another I would like the focus to be set on the first item in the listview of that tab. When I use a function key on my device to move from one tab to another I can keep the focus on the listview by using the code below within 'SelectedIndexChanged'. But when I use the stylus to click from one tab to another, the focus is no longer on the listview. How can I set focus to the relevant listview on clicking of a tab If TabControl1.SelectedIndex = TabControl1.TabPages.IndexOf(tabHistory) Then lstHistory.Items(0).Selected = True lstHistory.Items(0).Focused = True lstHist ...Show All
