MKan's Q&A profile
SQL Server SQL 2005 Mirroring... Remote Broker ID does not match the ID on the principal
Hi, I'm trying to get database mirror working with SQL 2005... but I'm not having much luck. Any pointers would be appreciated. I've got 3 separate machines in a work group configuration. There isn't a primary dns suffix so I'm just using the simple machine names. I've configured the certificates, logins/users, and end points. On the mirror I do the ALTER DATABASE SET PARTNER and that works. On the primary I do the ALTER DATABASE SET PARTNER and ...Show All
Visual Studio Tools for Office The current .NET security policy does not permit ...
Hi there how can i fix my excel VSTO .NET 2005 Problem the error message is " the current .NET security policy does not permit the customization to run. do not change the security policy in your computer.... ". i tried to run the follwing BATCH file C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\caspol -pp off -ag 1.1 -url " file://D:\folder\ *" FullTrust -n File C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\caspol -pp on pause but didn' ...Show All
SQL Server Using variables of Connection Manager, Connectionstring
Hello, I'll spare everyone my diatribe about MS and Booksonline... I considered myself pretty good at Server 2000 DTS. It certainly has it's shortcomings, but there are a couple books on the market that helped a lot. I'm now trying to learn Integration Services, and not getting very far. There are two books out so far. one is poor, the other worthless. What I want to do seems very simple. That is to loop through a series of .txt file ...Show All
Visual Studio Team System TF 30177 Team Project Creation failed
Hi, I have installed Visual Studio Team Foundation Server (Dual server deployment). When I try to create a project team, I get the following error TF 30177 Team Project Creation failed Message: Unable to connect to Windows SharePoint Services at VCORDEVTFS01. The reason for the failed connection cannot be determined at this time. The error log is as follows: .1/5/2006 11:30:35 AM | Module: Work Item Tracking | Thread: 11 | Wor ...Show All
Visual Studio 2008 (Pre-release) Anybody managed to find a workaround for the "Black Window" bug in the Nov CTP?
I think I'll create this post as a checkpoint where people can post any info on this bug. For a background, some of us using the November CTP for WPF and either Visual Studio 2005 or C# Express, are experiencing a black window when running the simplest of WPF apps (i.e an app that does nothing but window.Show()). Other people experience it intermitently in XamlPad itself. A few links to the problem... [1] [2] ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Flying bird using DirectX
I'm 3d beginner. I need to make a flying bird using DirectX. I don't know if to draw such a complicated object in DirectX or to create it using some external tool, like 3dmax, and to make it flying with DirectX. In any case, I don't know how to start (I have latest Direct SDK and Visual Studio 2005). Instead of using 3d max (Very Expensive, unless you have it already, or have money to burn) I would look at s ...Show All
Windows Forms Product Activation Logic
Hi, I had been programming such content in VB for several products using different approaches. Now I will be doing a similar logic in C# for the first time. I just don't want to re-invent the wheel, i.e., if the .NET Framework classes do have some libraries which can help me finish this off the sooner the better. Any suggestions/advises will be greatly appreciated. Nope, no interest in commercial activation products. I want to develop my own (in ...Show All
Visual Studio Express Editions Random/Sequential files and listbox input
Hi, I am writing a VB program in which a user writes some data in some text boxes (eg, name, address, ID, list of rented books). On a button click the data must be taken and saved to a file (cant be database, so a sequential or random file), a line per persons record. The results must be displayed in a listbox, person record per line. When you load the form, the files loads to the listbox and record index 0 to the textboxes. You can change a tex ...Show All
Visual Studio Express Editions export whole program/project to work on another pc?
hi dudes, sorry i'm very much vb.newby... can someone please explain how i can export my project i'm writing in spare time at work to my home pc, intact with all code and interface design in place please in vb.net express i have tried saving the project and then copying the whole project folder home but this doesn't seem to work properly when i open a file - there's so many, anyway! another thing i thought i might try was to export proj ...Show All
Visual C# Creating edit boxes after reading a XML file
I'm new to C# and still learning. I have one question: I have a XML file that describes several fields. For each field a edit box needs to get displayed on a form. How can i create edit boxes in runtime Kind regards, You probably want to look at XML Deserialization. After you get the XML data into an object, you just do something like foreach (Data data in XMLData){ Field tmp = new Field(); ...Show All
Visual C++ Impossible to implement interface class in different dll
I have the following type of scenario (a .net style interface class with a pointer to a native class in one of the function signatures) //native #ifdef MYDLLEXPORTS #define NATIVE_API __declspec ( dllexport ) #else #define NATIVE_API __declspec(dllimport) #endif #ifdef __cplusplus_cli public #endif class NATIVE_API INative { }; //managed public interface class IManged ...Show All
Visual C# what is #if used for?
hi all, going through some company templates i discovered this statement, i figure it logs something if debug is set, but how does the #if work, and is this just evaluating if its compiled in debug or release or is there some other switch thanks #if DEBUG Engine.SqlQuery.StartLog(); #endif If I remember correctly, the '#if DEBUG' states that all inbetween code, will be run and executed when in debug mode (F5) This however doe ...Show All
Visual C++ WM_SIZE message problem
Hi: i just begin to learn MFC,and i got a problem about WM_SIZE message.i start a new VC6 MFC Wizard project ,use all the defaul setting of the App wizard,except it is a single doc project,and the base class of the CTestView class is CFormView instead of CView.after the frame work is constructed ,i add a control to the form view,whatever control,say a button,whose id is IDC_BTN_TEST.i'd like to keep the size of the button the same wi ...Show All
.NET Development how to set the dataset's namespace
hi, I'm use the Dataset Desinger of Visual Studio 2005 to design a dataset. Then, I compile the project. The desinger generate a typed dataset class. But the dataset class is inside the global namespace. How to set to generate the typed dataset class in a customed namespace. The namespace above is C# namespace. Not the XML namespace. thanks. Hi, When you create a typed dataset, the generated dataset class inherits the Dat ...Show All
Visual C++ msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin Thank you for sharing the solution to this msvcr80. ...Show All
