elmira's Q&A profile
Visual Studio BUG: Problem with the file item saving
Hi there, We develop a package for custom language. Our package is MPF based (December 2006 CTP). I’ve got a problem with the file item saving. Error messages are shown (see details below). DESCRIPTION: Sometimes I get the error message when I try to save the changed file in my project. I get two error messages in dialogs one by one: The first error with ‘Microsoft Visual Studio’ in the dialog caption says that “The operation could not be completed” .And then the second error with ‘Microsoft Visual Studio’ in the dialog caption too says that “Value does not fall within the expected range” To find the reason for that error I have set checked ‘Thrown’ for all exceptions in Exceptions ...Show All
SQL Server Replication Configuration?
Our website and sql database are hosted away from our offices and is updated via the web by customers and by us in our offices. However due to our slow internet connection we would like to bring a replication server into our office and have the two databases talk to each other when a change occurs.(Customers updating the public database and us update a local one). I have seen sites mention circular replication is troublesome and may not work, is this the case or is it just a matter of correct configuration Any advice, tips etc would be appreciated. Thanks John Also i have one more quick question..how frequent is update on the both the server if both server are frequently update ...Show All
Visual C# Need Help: Using c++ managed DLL in a C# class library
Hello, Can someone help with this simple (l hope) query I have looked at this forum on creating a managed C++/CLI DLL for use in C#. This is working fine in a C# console application, however, when l add the same C++/CLI DLL reference to a C# class library, l cannot see any members and get the following error on compilation: error CS1519: Invalid token '(' in class, struct, or interface member declaration 1) Here's the C++/CLI managed DLL code compiled using /clr. #include "stdafx.h" #using <mscorlib.dll> using namespace System; using namespace System::Collections; namespace TestWrapper { public ref class MyTestClass { public: MyTestClass(); ~MyTestClass(); void SetString(String^ str); String^ GetS ...Show All
SQL Server Problems connecting to local SQL server [HELP!]
Hi all, I have the developer edition of Visual Studio 2005. After successfully installing it in my local machine, I wanted to create a small application which connects to a database. I accessed the Server Explorer tool, right clicked on Data Connections and brought up the Create New SQL Server Database option. The issue now is that I don't see a list of servers in the "Server Name" drop down box although in the Server Explorer itself, I have a server listed (your-c6b5e4eabc - The default computer name of my local machine). I am given to believe that SQL server is unable to make a connection because I have not configured something which is essential. I hope someone can point me as to how to make databases using SQL se ...Show All
Visual Studio Express Editions How to tell is Capslock is on
Hello Ive noticed that in word, it shows in the statusbar if capslock is off or on. How do i go about doing this also any ideas on scroll lock and num lock Thanks v. much, James the previous post I gave you the solution :-) if My.Computer.Keyboard.CapsLock = true then MessageBox.Show("Caps lock is on") else MessageBox.Show("Caps lock is off") end if ...Show All
Visual C++ This code snippet makes no sense...
I've come across some code syntax I've never seen. It compiled, but I don't know how, or what it even does! I've been reading a book about DirectX, and in one of the examples, this little piece of code was present: D3DXMATRIX *D3DXMatrixIdentity(D3DXMATRIX *pout); "D3DXMATRIX" is a type, of course. And "D3DXMatrixIdentity" is a function, of course. Now I don't see how this works. Okay, to break it down, first we have a type, which is D3DXMATRIX, then we have the indirection-operator (which I assume is a pointer), and then we have a function (perhaps a call) with a new D3DXMATRIX (pointer) as it's only parameter. How the heck does this work It isn't just a regular function-call. It isn't a function-call that' ...Show All
SQL Server SP1 Install Caused Problems
Had a couple questions about some Event ID 6702 errors on the server I’ve been getting recently. I can’t seem to find any intelligible information on Microsoft’s site about it; however, I did find this: http://support.microsoft.com/kb/842006/en-us#XSLTH5294121122120121120120 There are no replication partners for all I know on this server. As far as the A records that it wants me to check, when I take a look at dnsmgmt -> Forward Lookup Zones -> DI-COMM.local, there are several A records for all the machines on the network. The support doc is telling me to delete all A records except those corresponding to the actual server. As far as I know, I NEED these A records for the name lookup to resolve to IP. Wh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I install XNA Game Studio Express over Visual Studio Std or TS?
I understand the support for VS Express to use XNA Game Studio Express, but as a professional developer, but a hobbyist game developer I don't want to have to install VS Express. Any plans or hacks to get it to install over VS instead of VS Express Sounds like it's time to create another partition on the hard drive so I don't have to muck with my current VS installation... thank goodness for multi-boot support in modern operating systems. ...Show All
Visual Studio Team System How to get changeset history in a given period
I just wanna get the history, e.g., from Jan 1st to May 1st. But I didn't find any command matched this, is it possible thx. If you chose the Get Specific Version option, you will have the ability to select the type in the Get dialog. Select ellipse next to the changeset filed and you will get the Find Changeset dialog. You can select the created date option atht will let you select a date range. If you click Find, you will get a list of all the changesets in the date range. Unfortunately you cannot drill into the changesets to see the details, but you will have the changeset numbers. -paul ...Show All
Visual Studio 2008 (Pre-release) Where is support for multi-monitors?
From what I've read, there is no support for enumerating multiple monitors and getting their bounds in WPF like there was in Windows Forms. Is this something that will be added for v2 of WPF This is critical functionality for certain applications. All the functionality that was in the Windows Form's Screen class needs to be implemented in a pure WPF way as well. By WPF pure do you mean without links to the Winforms dll I seem to remember that winforms ships with .net 2 whcih is a requirement for .net 3, so if the functionality is important, I don't think there would be much problems in linking to it The second issue is mainly knowing what to do with screen resolutions and the fact that wpf's measurement system is not based on ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Threaded code shows no speedup on XBox 360: More to it than Threading namespace?
I wrote some Mandelbrot code that I can divvy up into multiple threads. On my multiprocessor dev box, I get the expected speedups. Identical code on the XBox 360 shows no difference in calculation speed. Does the XNA Framework actually distribute the processing, or is it serially multitasking on a single core The first thing you call in your new thread has to be Thread.SetProcessorAffinity , otherwise the new thread will be scheduled on the same hardware thread as the thread that spawned it. Check out the XNA documentation for more info. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Build speed with many projects
I've been working on my first large XNA project and am finding that building my projects takes forever. I have both my Windows and 360 projects in the same solution, and there are 5-6 projects each. Normal setups like this in Visual Studio are a incredibly quick to build on average, but with GSE I notice that it seems to be invoking MSBuild for every project regardless of the solution configuration or dirty state. For example, if I have platform set to x86, my build output window still scrolls the 360 projects, each one taking 1-2 seconds to find out it's not set to build. Worse yet, it does this for every project, every time I build, even if I just made a one line change in an assembly with no dependencies; builds take 25-30 seconds! M ...Show All
Windows Live Developer Forums Check for land / disable zoom
Hey I have 2 questions, that I'm hoping you can help me with. 1. Is it posible to determine if a specific position is land or water 2. Is it posible to disable the mouse wheel zoom function Or just disable zoom Unfortunately I don't know too much about Javascript, but I'll ask around here at work [Vertigo] and see what i can come up with, we have some pretty amazing gurus! ...Show All
SQL Server ADOMD.NET AdomdDataReader + ASP.NET 2.0 gridview?
Anybody had any success with populating an ASP.NET 2.0 gridview using ADOMD.NET AdomdDataReader I am trying the following code: Dim oSb As New StringBuilder Dim sMDX As String Dim sCnnString As String = "DataSource=localhost" Dim oAdoMdCnn As AdomdConnection Dim oAdoMdCmd As AdomdCommand Dim oAdoMdRdr As AdomdDataReader '...build oSb sMDX = oSb.ToString sCnnString = "DataSource=localhost" oAdoMdCnn = New AdomdConnection(sCnnString) oAdoMdCnn.Open() oAdoMdCmd = New AdomdCommand(sMDX, oAdoMdCnn) oAdoMdRdr = oAdoMdCmd.ExecuteReader() Dim oTable As New DataTable oTable.Load(oAdoMdRdr) gvResults.DataSource = oTable gvResults.D ...Show All
Visual Studio Product update SandcastleGUI (freeware)
The November 2006 CTP version for Sandcastle is now available for download at http://www.microsoft.com/downloads/details.aspx FamilyId=E82EA71D-DA89-42EE-A715-696E3A4873B2&displaylang=en . Please visit http://blogs.msdn.com/sandcastle/archive/2006/11/11/announcing-november-sandcastle-ctp.aspx for details on what's new in this version. I will also post additional blogs about this version. Cheers. Anand.. Hello, I would like to inform you that the lastest version of SandcastleGUI (v1.12) is available on my website. This product is an free userinterface for the Microsoft's Sandcastle that creates help documentation for .NET assemblies. http://www.inchl.nl/SandcastleGUI The 1.12 version has two new feat ...Show All
