gamer6000's Q&A profile
Visual Studio Team System How to View line numbers in SQL Editor
Hi, In errors and warnings lists there is a line number given where the error or warning occured. When I click on the error or warning it takes me to the correct sql script but I cannot find anyway to jump to the line number or at least turn on line number in the editor. Is this possible to view line number in sql editor if so how Thanks Don Thanks GertD! I have been looking for this option in SQL Server management Studio also. You solved both for me! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. An XNA WIKI Page For XNA Users And Game Enthusiast
Dear All. I thought of starting something and contribute to the community of developers and hobbyist who are going to use XNA so I started an XNA WIKI page for all of you to share your knowledge with other XNA users. And let’s code for fun. I just started the page few minutes ago so please help editing with me as this is a WIKI page so all of us can participate and edit. And www.learn-xna.com will be a good place for info too, cant help it when I have a chance to plug my site, working on getting some videos up this weekend ...Show All
Windows Forms DataGridView and TabControl bug?
I've come across some odd behavior involving DataGridView controls and TabControls. Have I stumbled across a bug, or is there something I don't understand about these controls My app uses a TabControl with five TabPages. Each TabPage has its own DataGridView, which I bind to DataTables in the main window's FormLoad event. I set the HeaderText property of each column of the DataGridViews at run time, because I don't know in advance what the columns will be. I get the header text from the DataColumn Caption properties in my DataTable. Data binding works fine on all grids, as do other properties, such as caption alignment for the DataGridViewColumns. But the HeaderText assignment only works for the grid on the first TabP ...Show All
.NET Development Namespace prefix " SOAP-ENV" not defined
I am working on an application that is getting the above error (Namespace prefix " SOAP-ENV" not defined) on an intermittent and non-reproducible basis. The application is trying to obtain data from an external source through web service proxy code generated from WSDL obtained from the service provider. The code may run several (non-specific amount) times successfully and then fail. Or it may fail the first time after a rebuild and then if executed again right after the failure, will work fine. Any ideas what is cousing this Mike We'll need a little more information to diagnose this. Do know what web services platform the service is running Do you have any message traces from t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bug in texture content importer (alpha generation)
It appears that a texture will be made chroma-keyed, even if you don't select the chroma-keyed texture processor. When importing a pre-saved DDS from Photoshop, pure magenta color turns to black (which in DXT1 can mean alpha), even when using the plain "texture (mipmapped)" processor. Bug filed at: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=237899&SiteID=226 First of all: Chroma keying is an evil, that shouldn't happen at all. It is very ill defined in the case of filtering. If you want alpha, you should author alpha in the first place. I can see how you might use it in 2D sprites, just because of inertia, but having it turned on for model textures is just a Really Bad Idea. Second: If I ad ...Show All
.NET Development how to add a space after each four character in string
is there any way to do that ... adding something something ( actually space ) after some number of chars in string (actually after four chars in a string) There is not any native method that will let you do that, but the following code should work: using System; namespace ConsoleApplication1 { class Program { static void Main( string [] args) { string x = "abcd" ; string y = AddSpace ...Show All
Visual Studio 2008 (Pre-release) Memory Issues
Hi everyone!!! I have develop a service the acts as a bussiness layer, I never noticed that it consumes a large memory amount, but I was testing with a little concurrent client number (12) not too much, well 2 o 3 hours later I have seen one of my nightmares comes true: the service process grown up to 900MB!!! Yes belive me!! Well first at all I think: "I'm really a bad programmer and I'm not using well the Framework, let's review the code", I found 2 or 3 issues but nothing critical, then I tried again and guess what The same result, I was investgating the memory issues debugging with windbg and I noticed that no a lot of objects where maked to get collected, specially wcf related objects, and well the GC is working but real ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct3D mobile and Macromedia Flash
Hi! Does anybody know if Flash 7 (mobile edition) takes advantage of MS Direct3d mobile to bust the performance in Flash apps We are testing an application on Win CE device and the performance of the flash app has been being really poor. We expected an improvement after installing Direct3D, but the performance was the same (poor). Any clue Thanks in advance ...Show All
Visual Studio Controls Toolbox not showing in Visual Studio 2005
Hi, Using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual C# 2005 77626-009-0000007-41642 Microsoft Visual C# 2005 Microsoft Visual Studio 2005 Tools for Applications 77626-009-0000007-41642 Microsoft Visual Studio 2005 Tools for Applications Microsoft Visual Web Developer 2005 77626-009-0000007-41642 Microsoft Visual Web Developer 2005 Toolbox does not display most of the controls This is even after "Rest Toolbox", "Reset all settings", and "Import selected environment settings". I have also uninstalled and reinstalled three times. The only way it ...Show All
Visual Studio Team System Can't run Team Build: Proxy Error (The ISA server denied the specified URL)
Hello I created a Build Type, set the Machine Name to the build machine name, set the BuildDirectoryPath to C:\Build, and created and tested a drop location with full access to everyone (just to make sure). When I try to run the build, I get the following error: TF42056: The build service could not connect to the Team Foundation Server. The request failed with HTTP status 502: Proxy Error (The ISA server denied the specified Uniform Resource Locator (URL)). Additional info: I am using a virtual PC for the TFServer, and trying to use the same virtual machine as the build machine. I have the TF client installed on both my machine and the virtual one. Everything else is setup and works well, as far as I know. I must be doing so ...Show All
Software Development for Windows Vista InstallLocation in registry uninstall information is not being written when using VS2005 Deployment Project
Per Vista test case 19 of Vista Logo Certifications, HKLM\Software\Windows\CurrentVersion\Uninstall\{ProductCode}\InstallLocation can not be null. I am using a simple Setup and Deployment project in VS 2005, and I dont see any option to make that happen. I would have suspected that it would do it by itself. Use msitran.exe (from the Windows SDK) to apply the transform. So, the whole process is: - Open your msi in Orca. - Select Transform/New Transform - Create new row in CustomAction table: (Action) (Type) (Source) (Target) SetLocation 51 ARPINSTALLLOCATION [TARGETDIR] then add a new row to the InstallExecuteSequence table: (Action) (Condi ...Show All
Visual Basic a program run as part of the setup did not finish as expected
If I add a custom action to run a console application during setup, I get this error: There is a problem with this Windows Installer package: A program run as part of the setup did not finish as expected. How can I successfully get a console application to run during my product's setup Hi, BobishKindaGuy, "Managed" custom actions (that is, custom actions written using managed languages such as VB.Net or C#) are problematic. Windows Installer prefers native DLLs, a native EXE, JScript, or VBScript. For more details on this, use your favorite search engine on "managed customer actions" (there are some pointers online for how people have gotten this to work) and also check o ...Show All
Windows Forms Updating public value via pop-up dialog
Dear All, I have declared a public variable in my main form. Then upon pop-up dialog I want to be able to see the public value and update in the pop-up and later the update should be able to be seen in my main form. How to do it ya Dear Bonnie, I am trying your first method is not working is stays as my original value before I called the pop-up dialog. Thanks. ...Show All
Visual Studio 2008 (Pre-release) generate xaml from code
hi, I am creating children of a canvas from my code (C#) in runtime. Now, is it posisble to generate XAML from the current UI / Visual tree ...... I would like it as string...or stringbuilder Thanks and regards, brij The WPF control that i am supposed to print has several, properties The values in these properties are responsible for the rendering of the WPF control Now when i serialize it to XAML all of these properties get serialized as well, and thus gives me an excption while creating XPS document Like "System.windows.markup.nullextension" type object being added to array property is not expected type "system.int32" how do i resolve this Regard ...Show All
Visual Studio Tools for Office VSTO SE, Vista RC2, Caspol, Oh My
Hello, I've been playing with my VSTO 2005 SE Outlook addin under Vista RC2 using Office 2007 B2TR and the VSTO 2005 SE beta loader (I also run around a lot with scissors) My first issue has been with the installer. I get a 'Error: 2869' that requires my users to go and either turn off UAC (can you imagine!) or run the MSI with 'Run as Administrator'. Obviously I don't like this and would feel bad for lots of good reasons. What seems to fail is some custom action [RunInstaller] code that allocates the .NET Security Policy around my wee Add-in assembly. This code seems to work fine under XP before. I had a look at how the VSTO Team recommends doing it and saw the tutorial/examples of SetSecurity/CaspolSecurityPolicyCreator. I ...Show All
