Daniel Beravi's Q&A profile
Visual C# compared to C++, the difference ?
Compared to C++, 1. after C# coding is compiled and packaged into exe, run it, the speed, compared to C++, is same or not 2. after C# coding is compiled and packaged into exe, the user pc still need .net library to run it Thanks. Do you have more details what is the "right way" Do you have any link or performance tip Thanks. ...Show All
Visual Studio Team System To exclude or not to exclude!
Hi, I have been using FxCop for a couple of weeks now and I often find myself with a dilemma whether to exclude a message or not. The reason being is that it seems that some messages are aimed at people who developer libraries/controls for public consumption. This is not my situation the product is stand alone and will never be used as a library. A couple of errors spring to mind: DoNotExposeGenericLists and CollectionPropertiesShouldBeReadOnly. I just feel that there are situation where the usage of the assembly effects the decision whether to exclude the message or not and maybe some comments in the docs to give guidance would help I would be interested in your thoughts on this matter as I a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could C# be the future of gaming?
Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream Although I’m a huge C++ fan but.. XNA will be using C#, DirectX is now shipped with many samples tutorials for managed frame work, and the bench mark between C++VS C# graphic applications isn’t noticeable even sometimes its better on C# with all that I guess its time to migrate from C++ to C#... ...Show All
Software Development for Windows Vista Workflows dont travel with site templates
After I customize a site with a workflow with SharePoint Designer, save it as a template, and then create a site with it, the workflow is no longer there. Can anyone help with this Couldn't find a Publish Workflow. What I am doing is creating a list template with no workflows. Creating a new list with the template. Creating a blank workflow with the same name as the existing flow in the other site. Then I grab the relevant GUID's from the new and old wfconfig.xml file, and copy and paste the relevant files and parts of files from the old to the new workflows. After that I have to replace all the old GUID's with the new GUIDs. It is cumbersome but it works. ...Show All
Microsoft ISV Community Center Forums Installing Business Scorecard Manager 2005 on a SQL Server 2005 instance.
I'm trying to install BSM 2005 into a Win/2003 Server running SQL Server 2005 (everything) and the Web Service won't install because it reports the following: Failed Microsoft OLE DB Provider for OLAP Service (MSOLAP) 2000 SP4 (8.00.2039) as well, the Alerts won't install because of the message: Failed Microsoft SQL Server 200 Notification Services 2.0 SP1 Engine Components I understood that this version was compatible with SQL 2005. Any idea how to bypass these checks and install the software properly When installing Business Scorecard Manager 2005 server, I had the following Failed messages: --Failed Windows SharePoint services 2.0 or Microsoft SharePoint portal server 2003 --Failed Microsoft SharePoint ...Show All
Visual Basic Library
Hi, I want to build a file, where I have all my re-usable code available for several applications. (.dll) The code will be written in Visual Basic 2005 .NET. What is the best way to do this thank Prasant. I copied some code in a new class project, called it "library.dll". In another application, I set a reference to this dll file. How can I now use this code in the other application ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Two gfx-cards in parallel ?
Hello, i have a general question and hope somebody can give me an answer. Is it possible to run two instances of a D3D-programm on two different graphics-boards the same time The full-screen output of each program should be displayed on one monitor each - there should be two monitors connected to the two graphics-boards. The boards are two GF8800 GTX, built inside an SLI-Motherboard. Thanks, Enrico Zschau When SLI is active, DirectX recognizes them as one adapter. That's what SLI is for; using them in unison. I think you'd have to turn off SLI to do something like that. Also, one graphics card can handle multiple monitors on its own. ...Show All
Windows Live Developer Forums Virtual Earth and Mail Merges
I would like to create a mail merge and take the home address and create a "driving directions" map that pulls the appropriate "map graphic" route into the body of the e-mail/print/letter. I thought the Virtual Earth product would fit the bill and didn't want to re-invent the wheel. Any advice welcomed. Mick- Interesting idea. VE is not like other maping systems, like Mappoint, in that it doesn't generate a single image rendered on the server. Instead it is a fluid control built with map tiles and layers of pins and polylines. Step 1 would be to see if you can even host a VE control in an email. I doubt the javascript will work. Let me do a quick test.......no, I also tried using an image for the onload event. I go ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Camera track bend
Perhaps a bit of a tricky math question here... My camera has a current position and target, and a destination position and target. I have a "process" method, which moves the position a little closer to the destination every time it's run. This produces a smooth camera movement from point a to b... However, I want to give the user more of the scenery - as sometimes it's just looking at a wall. I plan to do this by keeping the camera target path the same, but bending the camera position path outward. Sort of like zooming out, away from the target, then back in again once the destination is reached. I have had several attempts at this, which include adding delta values to the Z and X axis' up to 50% of the way, then subtra ...Show All
SQL Server Error when attempting to backup to a second disk file
In SQL Server 2005, via the GUI, I wish to backup a database to an additional disk file (there is already an existing backup disk file for this database), so that I can have more than one backup. I've added the new disk file name, highlighted it, and clicked OK. I get an immediate error (see below). Note, the 2nd error message is specifying the existing backup disk file, not the new one I'm attempting to create. "Backup failed for Server 'WCS-DEV-TPA'. (Microsoft.SqlServer.Smo)" "System.Data.SqlClient.SqlError: The volume on device 'D:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\WCS_ADV_Longmont.bak' is not part of a multiple family media set. BACKUP WITH FORMAT can be used to form a new media set. (Microsoft.S ...Show All
Visual C++ does it require reboot after doing imm32::ImmInstallIME
I am developing the Input method editor application. After running the application installation that includes ImmInstallIME, does it require reboot to load the IME Thanks for your help. This issue is off topic for the forums. A better place is the Win32 dev newsgroups at http://msdn.microsoft.com/newsgroups . For the scope of the forums, please see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms Equivalent of ShowWindowAsync in .net
Does any body know equivalent of the following in .net ShowWindowAsync. Which is used to maximize the control by getting the handle. Thanks & Regards, M.S.Basha ...Show All
Visual C# proper constructor chaining direction
I was looking at some code at my work and with several overloaded constructors having the same code in each one, I thought, beautiful, perfect place to use constructor chaining. Except I'm not sure which direction is the proper way to go What I mean is, in the constructor, do you go from the general to the specific, using nulls for the missing parameters, or do you go from specific to general and then in the body of the constructor set the missing properties Where things get interesting is when you want to call the base constructor, should it go in one place If you're using constructor chaining, then you can do this, but where does it go, at the top or the bottom of the chain Here is a sample class that illustrates what I mean. ...Show All
Visual Studio VSS Server 6.0 & 2005 Side By Side
Can I install VSS 2005 Server on a machine thats running the VSS 6.0 server process Will there be conflicts in the registry, databases etc I'm not sure what you installed on the file server. Maybe the VSS admin tools The VSS clients manipulate the remote file shares directly; they're not talking to a VSS background daemon or anything like that, except in the case of the new HTTP remote access that shipped with VSS 2005. There is no difference between the VSS 6.0 and 2005 database formats. It's best not to have different client versions accessing the same DB if possible, but aside from a few corner cases (unicode file detection) it will work fine. Since the databases are just files, you can put as man ...Show All
Visual Studio Express Editions UGH....Save Function
I am not getting why this is not working. I have tried to get this to work, TallDude has done a great deal to help me better understand this all. But I am still having trouble to get this to work. I want to understand how the NotePad FIle>Save works. I am thinking, as TallDude as suggested, that they use StreamReader/Writer. So in that thinking I am strying to get the File>Save Function to work. Here is the entire code: Imports System.IO Public Class Form1 Public FilePath As String = "" 'Open Option Private Sub mnuOpen_Click( ByVal sender As Object , _ ByVal e As System.EventArgs) Handles mnuOpen.Click Dim open1 As New OpenFileDialog 'display only text files ...Show All
