Jacawa's Q&A profile
Visual Studio Team System FxCop.exe Error on Open
I've installed FxCop 1.35 and was using it for a couple days. Now, every time I try to open FxCop it opens with the following error: FxCop.exe has encountered a problem and needs to close. We are sorry for the inconvenience. FxCopCmd.exe runs fine. It will generate the issues correctly. I've re-installed, renamed the manifest (as suggested in a existing post), with no success. When I click on an existing fxcop file I get the error: Control does not support transparent background colors Any ideas how to resolve the issue Can you try deleting the files contained within C:\Documents and Settings\davkean\Application Data\Microsoft FxCop\1.32 If that doesn't work, make sure you se ...Show All
Software Development for Windows Vista How can i resolve problem in vista..
Hello All, I have used AddToRot function to register the graph and it can be shown on GraphEdit in WinXP, but this appraoch is fail in Vista. And i try to register proppage.dll then use AddToRot function to register the graph and it cann't shown on GraphEdit.Does anybody know what can I slove this problems dear all, i also have the same problem, i have installed Vista SDK and registered the Proppage.dll via regsvr32, it still fail. does anyone can help me to clarify it. thanks ...Show All
Windows Forms bootstrapper ExternalCheck order
Is it okay for the ExternalCheck of one prerequisite to depend on an earlier prerequisite I'd like to write an external check program (for a SQL Express SP1 install with a custom instance name) in .NET. Before running this installer, the end user might not have .NET installed. Are all of the InstallChecks executed before anything is installed, or are they interleaved with the installs themselves Thanks. Yes... it's a bit fancy though, you need to use something called "schedules". Check the J# bootstrapper package for the best example. It requires .NET Fx to be installed. It's a little different since the External check is not a .NET based binary, so there might be a complication... but ...Show All
Visual C# Console.Write + Windows Application
Hello I want to do simple logging. I have a Windows Application project with forms. When I add this to my form: Console.Write("some text") nothing happens. I would like to see the text printed in a console or VS 2005. Cheers You can dynamically create and destroy a console window using PInvoke to call the Windows API: [DllImport("kernel32.dll",SetLastError= true )] [ return : MarshalAs( UnmanagedType.Bool )] static extern bool AllocConsole(); [DllImport("kernel32.dll",SetLastError= true )] [ r ...Show All
.NET Development File search
Is there anything in the .net library that would allow me to search for a file on a pc, ie. sql2005 installer I need a method that allows me to search specific locations for specified files rather than just checking a predefined path ie File.Exists(filename) as the user may have moved those files to a different location. ta Mark Just keep in mind that this could take a heck of a long time, so it'd probably be best if you did it in a background thread. Providing progress information would also not be possible with AllDirectories, it's either running or finished. Of course, if you rolled your own directory recursion for the search, you'd get progress, but probably at the expense of overall speed. ...Show All
Visual Studio Express Editions How do I specify Data files for ClickOnce deployment?
Hi to all, I have an application that uses 2 CSV files. The application sucessfully runs on my development system, but bombs when Run after ClickOnce deployment. The data files, contacts.csv & bowl.csv, are located in a folder named Resources in the project. I right clicked each file and set the Build Action Properties to Content. I then opened the project properties and on the Publish tab, I clicked Application Files. I set the Publish Status for both files to Data File. I read the data using the following code: Private myPath As String = "..\..\Resources\" Dim SR As System.IO.StreamReader Dim txt As String = "" Dim FileURL As String FileURL = myPath & [Enum].GetName( GetType (CSVfile), FN) & &q ...Show All
Visual Basic data storage
As posted in another thread, I'm planning to build an accounting program. I'm wondering what would be the best way to store the data, using databases or perhaps XML There will be over 50 administrations and several users. Would one database per administration be most efficient considering one administration will usually be accessed by one user at a time Using XML probably means smaller file sizes and therefore less network traffic, but databases offer more functionality. Anyone has experience with this Any help would be welcome. Regards, Eric Okay, I see what you are saying. I thnink you need to think about your overall goal. It may be that these businesses are the same (structure wise), but it may be e ...Show All
Internet Explorer Development Customizing Toolbar in IE7
I am having a small problem. I have TWO search boxes on my browser.. One for Google toolbar, and the one that was originally there on IE7... I set my default to google. I cannot find how to get rid of the original search bar (to the right of the address bar) and just keep the google toolbar search box.. There is no option that I can find to just have the top row be an address bar..Any suggestions.. I cant even tell google toolbar to take away its search box, it is automatic.. It is ridiculous to have TWO search boxes on the toolbar.. Anyone know a way I've tried everything I know.. Thx JP If you ask me, you get less options with the new, and not being able to remove stupid features (search bar)  ...Show All
Visual Studio 2008 (Pre-release) focus rectangle on a viewport in wpf
hi, i want to know if there exists a method to draw a focus rectangle on a viewport in wpf If no, how can i manage to do this thanks in advance, Pascal hi You want to put viewport in grid.. then you use custom viewport . i have done this already. My problem is that when NowPlaying video doesnt got focus from other components on the User interface . i set the focus for viewport . this code snapshots for your problem : mce = host.MediaCenterEnvironment; host.ViewPorts.Video.Rectangle = new System.Drawing. Rectangle (20, 100, 300, 280); host.ViewPorts.NowPlaying.Visible = true ; mce.PlayMedia( MediaType .Video, str5, false ); host.ViewPorts.NowPlaying.Fo ...Show All
SQL Server Network share/Multi user deployment
Can a SQL Server 2005 Compact Edition database file be deployed on a file share and be accessed by multiple (5-10) concurrent users This is a current scenario being implemented at several sites using MS Access databases. Each client would have the SQLce engine installed on it and would only access the database via a managed C# application. .... which is another good reason to use datasets with CE rather than the much pushed recordset model.... ie open connection fill dataset close connection would allow a certain amount of sharing Brian ...Show All
SQL Server The following system error occurred: .
Sending deployment script to the server... Error -1056899072 : The following system error occurred: . Error -1055784860 : Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Adventure Works DW', Name of 'Adventure Works DW'. Hell I got that errro when tryying to deploy a demo cube to the server. Its strange because when I try to male the data source it connects perfect, so I dont know what to do Can this blog help you ( http://www.sqljunkies.com/WebLog/edwardm/archive/2006/05/26/21447.aspx ) Start with checking the impersonation mode for the data source. Try default. HTH Thomas Ivarsson ...Show All
Smart Device Development how to capture tv stream with closed captioning CC to an ASF?
Hello, For educational purposes I need to capture tv streams with closed captioning enabled! For the moment I am able to captre streams with captioning to any format (the easiest is ASF). However I can not capture with cc enabled. Can you provide the graphedit guidance in how to connect the overlay mixer to asf writer! appriciated your help. ferar This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise pleas ...Show All
.NET Development Regular expression hang
Hi there, if I execute this sample code Console .WriteLine( "Start" ); Regex regularExpression = new Regex ( @"<%!( <declaration>(.|[\s])*)%>" ); regularExpression.Match( @"<%! %>Check that all declared methods can be called next to relevant statement so sure it is executed" ); Console .WriteLine( "Before hang" ); regularExpression.Match( @"<%! %>Check that all declared methods can be called next to relevant statement so sure it is executedCheck that all declared methods can be called next to relevant statement so sure it is executed" ); Console .WriteLine( "After&q ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Who is using XACT?
If you are using or considering XACT for your product, could you let us know Recently we heard from a developer who was about ready to ship an XACT title, and we had no idea. We try to provide as much direct support to early adopters as we can, help them with any problems they bump into, etc; we can also adjust and prioritize our features based on real-world usage. So, if you're using XACT "secretly", please come out the woodwork and let us know, and maybe we can help. Thanks! Dugan Porter - Game Audio Team - Microsoft This posting is provided "as is" with no warranties, and confers no rights We would use it, if some compression that sounded better, and compressed more, than MS-ADPCM was available. WMA will do in a pinch; ...Show All
Visual C++ Problems with my project
I have 3 problems I am unable to resolve regarding operating visual studio .net 2005 I created an MFC application project using VC++ using the wizard. 1. My project got messed up in the solution explorer panel somehow. Now, instead of having folders called Source Files, Header Files, etc it is saying Release, Debug, res, and hlp. Its just a listing of the directory structure now, and the folder contents shown include intermediate build files like the precompiled headers, obj files, exe file, etc. How can I get it back to regular again without having to totally recreate the project again And, more importantly, what causes this change to happen in the first place 2. Even though I changed my project's .ico file in the resources, m ...Show All
