magrute's Q&A profile
Visual Studio Team System migration a code analysis policy settings to solution
This appears to be a bug. I have a code analysis check-in policy defined on my team project in foundation server. Now when I try to migrate the code analysis policy settings so as to apply them to all projects in my solution, it doesn't seem to work smoothly. To make it work, I have to go to each project's settings and manually remove the "Code Analysis" settings even if they have only been migrated from server previously. If there are any checked rules in the project's code analysis settings, then it doesn't get updated by the team-project policy I am trying to migrate. Looks like a bug to me. Please confirm. thanks. Hi Ajay, I pinged ...Show All
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : Private Sub PicBox_On_Click( ByVal sender As Object , ByVal e As EventArgs) If PicBox(x, y).Image = Tiles.picPerson.Image Then &nb ...Show All
.NET Development Error 25015 while installing .NET Framework 2.0
Hi there, I try to install .Net Framework 2.0 and encounter this error : Error 25015.Failed to install assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.VSA.dll' because of system error: The filename, directory name, or volume label setup syntax is incorrect. Please help! Pl. make sure that no Antivirus is running while installing. Disable all AV services & then try installing the framework. ...Show All
Visual Studio 2008 (Pre-release) LINQ CTP (May 2006) is here!
We have the new CTP for you on the LINQ home page . There is one combined MSI for VB and C# developers that contains plenty of goodies: lots of features that you had requested and we had planned in VB, C#, System.Query, DLinq and XLinq. New component - LINQ over DataSet. New samples, visualizers. I will leave it to you to explore the details and give us feedback. Thanks for your interest and excitement since last PDC. This is what keeps us going. Dinesh Kulkarni Program Manager - The LINQ Project Hi Dinesh! This is just beautiful and highly looked forward for! Do you have a separate url for the readme file so we may e ...Show All
Visual Studio Express Editions form1.show() problem
Well, than how can I either: 1) Make form2 as like a "separate" form that is not affected by closing of form1 2) Make another form and make that as the master form without deleting everything from form1 and remaking form1... That would be bit too much work. Thank You! Keehun Nam u can do this: create another new form first sample code: dim myform2 as new form2 myform1.show() hope this can help ...Show All
Visual Studio Team System KB913393 file for 64 bit 2003 R2 OS?
Hi, Is there a x64 bit version of the KB913393, the one on the install media doesn't want to install. Running Windows 2003 x64 R2. .NET Framework 2.0 is installed ok. Thanks Paul Hi Paul, I do not know if there is, but TFS is not supported on a 64bit OS. In the install guide, check the Team Foundation System Requirements topic. If you were using a Dual-Server install, you could use the 64 bit machine for the data-tier, and i don't think you will get an error that the hotfix is missing. Thanks, Brad ...Show All
Visual C++ C1083 Cannot find file
Hello, This goes back to VC++ 6; I have a client who has the error: fatal error (C1083) cannot find file; it is a file in a folder on a network; it has been externally linked. There are a bunch of header files but this one it can't find. Any idea why it can't find a custom header Thanks. If the header is in a different directory, you have to specify that path to the header in the project properties, under C/C++ Settings->Additional Include Directories. (That's for VS2005... you'll have to hunt for VC6 if it's different). ...Show All
Windows Forms Execute subroutine on Windows Form from a User Control on that form
I have created a survey that uses a single Windows Form and several User Controls. When the user makes a selection on the User Control, the answer is saved. Right now, the user moves to the next question by clicking on a Next Button located on the Windows Form... Can I execute the Next Button subroutine located on the Windows Form when the user do ...Show All
Game Technologies: DirectX, XNA, XACT, etc. retrieving more than 4 values per texture lookup
Is it possible to have a texture with more than 4 values per texel My problem is, I need to look up a chunk of many values (about 16) multiple times per pixel and I like to do that quickly. In my setting more than three 2d texture lookups each time (= 12 float values) is the maximum I can allow without a significant performance drop. Also if anybody has experimented with 64 or 128 bit textures I'm interested to know about the performance of a lookup compared to a 32 bit tex lookup. Maybe it is reasonable to pack more values into those larger formats If that is possible at all. Nico It works when I ...Show All
Windows Forms How to pass VBA Collection to COM DLL from .NET C#?
How to pass VBA Collection to COM DLL from .NET C# I'm trying to pass a VB collection from .NET (C#) to COM Component. Please help me.. ...Show All
Visual C# How to wrap a OleControl using AxHost?
Hi All, I have a previous program in which have a window containing a OleControl. I used Win32 SDK "OleSave" to keep properties of the OleControl into a file. When the window is opened, properties of the OleControl can be loaded and set by "OleLoad". Now, I want to migrate the previous program to .NET using C#. I know that System.Windows.Forms.AxHost can wrap a OleControl well. How can I get those properties stored by "OleSave" Thanks, LHW As far as i know you can't, what do you need to be saved You can create your own saving logic and save the values you want to a f ...Show All
SQL Server is this possible in SSIS?
I got a OLE DB source pointing to 1 table and 1 flat file destination. currently this is how i export data from 1 table to 1 flat file. To make things easier, I was wondering whether i can have only 1 OLE DB source pointing to few tables pointing to few file destinations so I dun need to create 1 SIS project for each table data exporting. anyone can help me Unfortunately not because the metadata i.e. the columns involved in the transform need to be the same. So you can't have 1 data flow in a loop that is reconfigured for different tables and destinations. If the source is SQ ...Show All
Windows Forms Oledb and Excel, reading/writting data
Hi, I have found a million code samples of how to read/write into an excel file using oledb from a visual basic .Net application. I manage to read/write into the file, that's not a problem, on the other hand, I am having problems reading the first row of a range. Somehow, the first row of a range is always considered to be a column header. Fo ...Show All
Visual Studio Team System Tools->options vs. project properties vs dynamic selection
I think there is some opportunity for improvement in the location of options and settings. For making schema comparisons, the option to ignore various features of the database are set in the application scope Tools->Options area. This doesn't make much sense to me. While you could set standard or default options there, I think that those choices will vary significantly from project to project or comparison to comparison. These settings should be at least at the project properties level and, in my opinion, it would be even better, along with project and application scope settings, if you had the option of setting the ignore choi ...Show All
Visual C# Fastest possible update of a Bitmap
Hi Assuming image is a Bitmap, is this the quickest way (outside of hardware) to manipulate the bytes bmData = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppRgb); scanline = bmData.Stride; Scan0 = bmData.Scan0; q = (int *)(void *)Scan0; *(q + offest) = someByte image.UnlockBits(bmData); Thanks Ah, yes... that is a good way. I do something similar (but not quite that good--I'll have to update my approach :) You're correct that it doesn't require the use of "unsafe" code, but it does require Full Trust, which is almost the same thing... -Ryan / Kardax ...Show All
