RLGilby's Q&A profile
Visual Studio Team System Project creation fails
Hi, I'm getting the following error when creating a new project in TFS: Event Description: Task "Currituck.WITs" failed Exception Type: System.Web.Services.Protocols.SoapException Exception Message: Server was unable to process request. ---> Violation of UNIQUE KEY constraint 'UQ_ADObjects__DomainName_SamAccountName'. Cannot insert duplicate key in object 'dbo.ADObjects'. SoapException Detail: <soap:Detail xmlns:soap="http://www.w3.org/2003/05/soap-envelope" /> SoapException Full Info: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Violation of UNIQUE KEY constraint 'UQ_ADObjects__DomainN ...Show All
Visual Studio 2008 (Pre-release) WBAs and web services
I have read that WBA applications will not support integration with web services via WCF (Indigo), at least not for release 1. I've seen mention of using ASP.NET-based web services (ASMX) instead, but no references to examples of how to do this. Is anyone aware of a simple example that demonstrates how a WBA can talk to an ASMX-based SOAP web service I dont' have any samples however there is no difference between using ASMX in a WBA and using it in a Windows Forms application - open your project then add web reference etc. ...Show All
Visual Studio Implementation for IVsMultiViewDocumentView interface for "Design" and "HTML" view
Hi, [Visual Studio Integration/Extensibility in C# question this] I am looking for a sample implementation for IVsMultiViewDocumentView interface for "Design" and "HTML" view for my custom editor. Even your code instructions would be great, if not a sample. Point me in the right direction. I have an XML file which can be edited/managed using my "Design" view and "XML" view will show the current underlying XML file. I searched msdn forums, groups and so far I don't have a complete picture. To avoid receiving a similer reply, I am adding links (all google search results) here which talk about this, but ...Show All
SQL Server Passing data between multiple Data Flows
OK, it's the first of the month...that must mean it's time for another dumb question! I'm trying to "componentize" an SSIS package with multiple Data Flows, and I can't figure out how to get the output of the results from one Data Flow into another. So, for example, at the end of one Data Flow, I have a Recordset destination, and I'm storing that into a variable. But I can't figure out how to access the contents of that variable in the following Data Flow. Can this be done, or am I going about this the wrong way What is the scenario you are trying to enable, Artus The first post in this thr ...Show All
Microsoft ISV Community Center Forums Just curious (an Excel VBA question)
Is it possible to have a userform on an excel workbook add information into the code itself Here is what I am looking at. I have a workbook that has a user form. In this user form is a dropdown combo box that has account numbers in it. What I want to know is is it possible to allow a user to add information into the combo box (such as a new account number that will be used often) and have it so that it is listed the next time the user uses the workbook If so, how could I accomplish this Thanks Tiger Hello Tiger, In Excel you can base the values shown in a combo box on a range in a sheet. The ...Show All
.NET Development Exception with System.Type.GetType(...) function
Hello all, I have a strange problem with the System.Type.GetType(...) function. When I do : try { string maChaine = "System.Windows.Forms.Button"; Type ty = Type.GetType(maChaine, true); } catch (Exception ex) { label1.Text = ex.Message; } An exception raises ; the message is (I translate ...) "Impossible to load the type System.Windows.Forms.Button from the assembly WindowsApplicationXXX, Version xxx, ... Why this exception Have you an idea One way might be: Assembly winForms = Assembly.Load("System.Windows.Forms); Type button = winForms.GetType("System.Windo ...Show All
Windows Live Developer Forums MSN PROBLEM
ive recently bought a brand new laptop and installed msn messenger ( from the msn site). When i go to sign in it really lags alot, and it never actually signs in... Sometimes i get a error message 80040111 and sometimes it just asks me to try again. Ive tried uninstalling and reinstalling it hundreds of times not to mention deleting any addons or patches. Ive tried to update that DLL file aswell but still get the same message. Windows messenger on the other hand works fine... along with msn messenger on my mates laptop as i have no worries signign into that. Ive also took any firewalls off etc aswell its really pissing me off tbf now aswell ...Show All
SQL Server Excel Destination Number Conversion Error
In my SSIS project I am populating an Excel spreadsheet with several worksheets. When I define a worksheet in Excel Destination Editor, I use Create Table SQL statement to create a worksheet. Most of the fields are defined as numbers, however when job runs my numeric fields appear as text in Excel with yellow warning sign - 'The number in this cell is formatted as text or preceeded by an apostrophe'. I need my numbers to appear as numbers. Is there a workaround for this Are you specifying Import Mode by using IMEX=1 in your connection string This forces all data to text. The Excel driver does store what ...Show All
Visual C++ Writing a Specific CRC32 Signature on a File
Just say I know the CRC32 Signature that I want to put on my file but I don't know how to specify it in my code so that when it signs the file it signs it using that specific signature that I specified, like if I open a file called "dune.map" and I know that the signature is supposed to be "DE545GHJ" how would I put that in my code so that when I click "sign" it signs the file using that specific signature, but then I want to open another file called "backwash.map" and I know that the signature for that file is "DDFGSFFG" how would I specify it in the code so that when I want to sign it i ...Show All
Visual C# style of form
Hi, How Can I change the style of the form I think for example style of control box. Thanks Just set the Form.FormBorderStyle property to None and the borders are gone now, now it is just a control box. ...Show All
SQL Server (Report Model Deployment Error) The value of parameter 'DataSources' is not valid
I've got a report model I am trying to move from a development server to a production server. I published it to my development RS, exported the SMDL file, then uploaded it to the production server. At that point, I tried assigning the data source to the model and got the error: The value of parameter 'DataSources' is not valid in the browser. Looking in the logs, the following trace is there: w3wp!library!7!12/12/2005-13:23:00:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.LogonFailedException: Logon failed., ; Info: Microsoft.ReportingServices.Diagnostics.Utilities.LogonFailedException: Logon fail ...Show All
SQL Server SQL 2005 64 Bit generate exception
I am using SQL 2005 64 Bit and i can get it generate an exception, but i cant find out where to send the dump report to so that Microsoft can look into the problem. Its not causing an issue to us as we use the 32 bit and this was just an investigation, but it might help others if the team can fix it. Any ideas of where to send the dump report. Derek, You can send product feedback via http://lab.msdn.microsoft.com/productfeedback/default.aspx This includes filing bugs and uploading an attachment to the bug. ...Show All
Visual C++ ActiveX control width and height
I need to find out the width and the height of an ActiveX control. Once the control is drawn on the screen, getting the size is no problem. However, I need to know the size BEFORE the control is drawn, since I need to create a graphics backbuffer for off-screen drawing. (Ideally, in the constructor or the WM_CREATE message handler.) Theoretically, I would just want the values of the WIDTH and HEIGHT parameters of the HTML <object> tag that instantiates the control. Is there a way to achieve this I tried to get the control's extent using the m_sizeExtent member variable and convert that with the AtlHiMetricToPi ...Show All
Visual C++ Detecting compile in Studio 2005 vs. Studio 2003 or 6.0
I share common source code with several other projects that compile in Studio 2003, Studio 6.0, Borland, or (gasp) an embedded Green Hills compiler. Is there a #define I can look for so that I can fix all the deprecated CRT functions when I use the code in Studio 2005 (and so I can leave the old unchanged version in place for all the other folks) Something like #ifdef STUDIO_2005 strcpy_s(DestString, sizeof(DestString), SourceString); errno_t err = fopen_s(&fp, Filename, "r"); #else // for older compilers strcpy_s(DestString, sizeof(DestString), SourceString); &n ...Show All
Windows Forms Prevent a user closing the app
How do I prevent the user from using Alt+F4 to close an app David Legg // Assume this is my form this.Closing += new CancelEventHandler(this.Form_Closing); private void Form_Closing(object sender, CancelEventArgs e) { e.Cancel = true; } ...Show All
