Mark Kucera's Q&A profile
Visual Studio Replacement Disk - Visual Studio 6
How do I obtain a replacement copy of Visual Studio 6 Necessity dictated that U reformat my hard drive. When I tried to reinstall VS 6, i discovered that the 1st disk was damaged. I have the original box that it came in, but not the sales reciept. A couple of years ago, my office developer disk got scratched. MS sent me a new disk for the price of the media, US$5. Give sales support a call. ...Show All
Visual C# Overlaying Class Instances?
Hi guys, I've written a Su Doku solver in C#, and the current solution uses three classes: A Grid class, which contains a 3x3 array of a Subgrid class, which itself contains a 3x3 array of a Square class. When performing row or column based manipulations, the index calculations for a row to get the related Subgrids and Squares are long-winded and look a bit messy. What I was wondering is, is it possible to create instances of different classes, that all operate on the same underlying data Could I have a Grid class that contained a 9x9 array of Square instances, for performing grid-type operations, and then Row, Column and Subgrid c ...Show All
.NET Development Firewall\NAT friendly remoting
Native TCP and HTTP channels use one TCP or HTTP connection for ferrying calls only in one direction. If you want to invoke client’s object from the server, the server must connect to the client’s port. That is, if your server needs to inform several clients or a specific client about an event generated by the server itself or by any connected clients, then a TCP or HTTP connection is opened from the server to every client. Thus a client has to listen to the specific TCP port and open additional connections in order to receive calls from the server. This scheme spawns firewall, NAT and proxy-related problems because such connections are usu ...Show All
SQL Server SQL Configuration holding connections to DS
Hello All, I have about 160 packages in my system, all using about 20 shared datasources. When changing one of the datasource's connection (changing the server name), I need to open every one of my packages and press OK to allow the remapping to the new server. (this is something I don't understand: wasn't this the meaning of using a share datasource in the first place what's the advantages in that case ) So, I have heard about Package configuration, and how it supposed to support all of this, But I don't understand something: The configuration is set to a certain package. If I have 2 packages, using the same two (of four) Datasources ...Show All
SQL Server Subscription Missing
We are seeing a problem with the users of our application. If the user closes our application from running programs (as best as we can tell as we cannot repro in dev) and SQL Mobile is in the middle of an async sync, sometimes when the application restarts it fails to load the properties for replication from the database. We are using code that is nearly identical to the samples provided by MS for performing replication async. Basically, the database still exists on the device and the application can use it just fine, but when a sync starts, the database is already there, so it tries to load the properties at which point we get a message sta ...Show All
Visual C++ Ref Class Question
Hello, I have a question regarding the way intellisense works with ref classes. I have a class like so: public ref class Man abstract sealed { public: public ref class Size { public: static int Height; & ...Show All
Visual C++ Setting Classpath.
Hi all, I'm kinda new to C++ and was wondering if anyone could help me with this problem I'm trying to call a C++ function from a Java class, which I'm doing from the command prompt. I was wondering do you have to set the classpath variable in order to compile C++ programs from the command prompt. I set the variable for java and It's working fine, do you have to do the same for C++ and if so could someone point me in the right direction on how to do so. Thanks in advance Neil No, you do not. When the native method is invoked on the Java object, the JVM will invoke the function with the corresponding exporte ...Show All
Visual Studio Inheritance Restriction?
Hi all, I' am having some troubles. maybe somebody can help me out. When compiling my DSL I got the folowing error: Architecture.ServiceModel.Designer' already contains a definition for 'ServiceOperationHasRequestMessageAddRule This error is caused by the "ViewFixupRules.cs" file. I already tried to find a double definition in the model but cannot find it. Also there is NO double "ViewFixupRules.cs" file in the project. The problem is caused on a class that has an embedding relation. The class itself inherits from another class. an early picture of the model can be found on my blog (first picture of posting DSL 4)( http://www.edwardbakk ...Show All
Visual C# get duration form WMA & WMV
hi all, how can I get the meta data for wma or wmv files like (duration). can any one help thanks Hi This blog entry should answer your question: http://blogs.msdn.com/tims/articles/100730.aspx Michael ...Show All
Windows Forms adding list box to combo box
I am trying to add a list box to a combo box control so that the user can select one or more items and the results display in a datagrid. When I add the list box to the combo box, it disappears. Has anyone accomplished this or can point me in the right direction. Thanks. ...Show All
Visual Studio Team System Incredibly (astronimically) slow performance on new RC of TFS
We upgraded from beta3 to RC on TFS. Also ran the 2.0 hotfix. I uninstalled the client (had no instances of vs2k5 running) and installed the new RC team explorer client. I also installed the 2.0 hotfix on my local computer. Now the SQL server runs on 100% load.. 'TfsVersionControl.dbo.prc_QueryItemsExtendedLocal;1' is running It loads the solution fine to a certain point, but then freezes. Getting latest from team explorer goes fine. Branching is successful, opening the branch, however, was not successful. It resulted in the same kind of freeze / cosmic slowness. On 1 out of 10 times, I managed to load the solution. From there it was fa ...Show All
SQL Server Incorrect Aggregations
I have a cube displaying incorrect aggregations. Can anyone tell me why my aggregations are incorrect Can anyone tell me what I should be looking for Here is what it looks like: Assets Current Assets Cash Cash Account 1 100 Cash Account 2 200 Cash Account 3 300 Total 700 Accounts Receivable A/R Account 1 100 A/R Account 2 0 Total 700 Inventory Inventory Account 0 Total 700 Total 700 ...Show All
Visual C++ convert int to string
Hi, I want to make the following code work but I can't find a method to convert the int to a string. Any ideas string ErrorMessage( int intRec, string strKey){ return (DateTimeStamp()+ char (7) + "Record number" + char (7) + intRec+ char (7) + " contains an invalid Key:" + char (7) + strKey+ ".\n" ); } char(7) is typecasting the value 7 to some unprintable character, and there is no overloaded + operator on std::string that handles character operands. You need to use the itoa function, but when you do so you have to provide a separate buffer in which to do the conversion.  ...Show All
Visual Studio Why isn't there a "no filter" option in dexplore?
Dexplore Express beta 2. For Visual C#/C++/WebDev (and probably SQL/J#/VB) Express. I can't seem to find the "no filter" option for Document Explorer. This means I must browse the indexes and contents using a filter. In VS 2003, you had the option of not having a filter so you could see all the topics in the help collection. However, for VS2005, there is no way to see all the topics. To workaround this, I have to use FAR to add my own filters, because the edit filters option seems to be missing too. The Beta 2 Visual Studio 2005 Express Editions shipped with an issue that prevented the .NET Framework API reference ...Show All
.NET Development Error adding web service reference
The wsdl file is legitimate. I verified it on Mozilla, but not on IIS6.0. When I try to create a client, I try the utility to get the web reference. At this point, I get this message. I go and look at the specified folder. I see TempWebDirectory. It does have this directory with the long code(file name), but I do not see the rest of it. Every time I try to use the utility, I get another directory with a code but always empty. Is interoperabiliyt far away Message form VS IDE follows: Could not find a part of the path "C:\Documents and Settings\computer user\Application Data\Microsoft\Visual Studio\7.1\TempWebDiscovery\ 4c008bf ...Show All
