Noogard's Q&A profile
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 th ...Show All
Visual C# Why should we have to declare the delegate in both places
In delegate I am a newbie. I want's to ask why we have to declare delegate in both places where we are making and where we are calling it e.g in this tutorial http://www.eggheadcafe.com/articles/20040313.asp why i have to declare delegate string NotifyDaddy(DaddysCar car, decimal damageAmount); in both palces No, do not have to declare the delegate in both classes. The declaration in "DaddysCar" is completely useless. #edit, lol I was too late ;) ...Show All
.NET Development RSA. Encrypt with private key , decrypt with public key
Hello, I am trying to use RSACryptoServiceProvider to encrypt a value with the private key ( so i can be the only one to encrypt values ) , and give out a public key so any user can decrypt this value. I have read the RSA does support this.Also the implementation of digital signature in RSACryptoServiceProvider actually uses the keys in the above manner,but manually using the private key to encrypt and public to decrypt generates a "bad key" exception. Is what i am asking possible using the RSACryptoServiceProvider If not is there any other way to achieve this kind of behaviour Thank you ...Show All
Visual C# Problem starting applications based on Skype Starter Kit for C#
Hi All, I downloaded the Skype Starter Kit, I added the reference to the SharpLogic.Skype library and when the application starts I got this exception: "Could not load file or assembly 'SharpLogic.Skype, Version=1.0.2299.29912, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)" I'm using VS2005 and Skype 2.0 Can anyone help me please Regards Paolo Hi Ed Thanks for the tip, I had the same problem and after ...Show All
Windows Forms Circuit design control/framework
Hi I'm looking for a control, framework, etc... to allow the user to create circuits graphically. And to be able to add new components to a toolbox at runtime. For example, electrical, lan cabling, telco cable network, ... Data to be store in sqlserver database. I think XD++ MFC Library from ucancode software is a good choice for you,UCanCode&n ...Show All
Windows Forms DataGridViewColumn.HeaderText
After binding a DataGridView to a datasource and looping through the columns to update the headertext, some captions get modified and some don't. Sample code copied from ms-help: For Each column As DataGridViewColumn In EmployeesDataGridView.Columns column.HeaderText = String.Concat("Column ", column.Index.ToString) &n ...Show All
.NET Development Appending from file to file
Hi, Im having a lil problem with 2 xml files. Im trying to append from file to file with C#. One xml file is on my pc, the other one is on the server. The xml file on the server gets input for appointments. They look like this: [code] < xml version="1.0" standalone="yes" > <Agenda> <Appointment> <Id> 1 </Id> <Date> 20060604 </Date> <Time> 120000 </Time> <Subject> whatever </Subject> <Description> fffffffffffffffff </Description> <Place> testt </Place> <Modtime> 182204 </Modtime> </Appointment> <Appointment> <Id> 2 & ...Show All
Windows Forms How to-create VS.NET Solution/project files at runtime
Hello i m developing application in c# which will generate 3 tier asp.net application based on database is provided what i want is to generate visual studio web project, so that i can add my generated forms & classes in the project these are in the form of folders after that i want to compile this generated solution at runtime any idea any pointers One way could be to take existing empty ASP.NET project files and modify them, you can use XmlDocument for that as project files are valid XML. You will then call msbuild to compile the project. http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx ...Show All
Visual Studio Express Editions Slow screen redraw
I am in inexperienced programmer who has an application that displays many (50-60) controls on a form. The application is a production planning system, that requires many controls displayed on screen (1 for each job qued on individual machines) Whenever the form is re-draw, it is painfully slow, I have set the doublebuffer ControlStyles etc, but are unable to fix the issue. This issue is running on a P4 2.8GHZ / 500MB PC. Can anyone assist I have attached an example of my problem (not my actual application, but the samle gives the same issue). The sample simply displays many controls onto a form. When you force a redraw ie ALT ...Show All
Windows Forms Detecting key presses upon application startup
Hi all. I'm looking for a way to monitor the keyboard at application startup. It's a winforms app, but the startup object is an ApplicationContext class, so I can't use Control.ModifierKeys. I need to detect the keypress before any forms are created, so it has to be a system level call. Any ideas appreciated. Regards, Chris After some ...Show All
Visual Studio Tools for Office Outlook Programming
I want to modify outlook 2000 appointment form and add custom functionality to it. Can anybody guide me on how to do this Also, I want to fetch some data from SQL server and show it in outlook calendar. I tried creating new form in vb.net and show it in place of default appointment form as suggested in http://www.devx.com/OfficeProDev/Article/29261 but it is not working for me. Thanks in advance, Abhijeet. Hi Abhijeet: This is actually a non-VSTO related question. You can, however, post this on the MSDN office.developer.automation newsgroup. Here's the link: http://msdn.m ...Show All
.NET Development Soap Extension - ChainStream has a null request stream
Using VS 2005 and .NET 2.0 I'm trying to adapt the code from this article http://msdn.microsoft.com/msdnmag/issues/03/03/WebServices/ and this article http://www.codeproject.com/cs/webservices/SerializationFun.asp for use on a winform client. Winform works without the SoapExtension implementation. But when I hook into the web reference (reference.cs) by adding an attribute [XmlStreamSoapExtension()] to the method, something is breaking the request stream and makes it null. ChainStream is given a null stream to work with. Any ideas what might be causing it ...Show All
Visual Studio Team System Install went fine - but not all features appear to work
Help! First let me say kudos to the development team for the improvements to the isntall process. I went through the TFS Beta 3 install on a clean Windows 2003 server with sp1 applied. I followed all the instructions in the guide (Single server install) and everything appeared to go well. I have been able to successfully connect to the sharepoint portion of a team site using the client (explorer) installed from the Beta 3 install cd, so I have verified that is working. However I am encountering issues when attempting to connect to the server for source code control with VS2005 Beta2 (Team suite edition). I have notice ...Show All
Windows Forms Bringing Modal dialog to front when disabled main window clicked
I have a .NET application which can display several independent main windows (basically different documents). When one of them launches a modal dialog, all of them are disabled. I can live with that (it's a single-threaded application for the forseeable future). But, it's possible to get into a state where the modal dialog and its owner window are hidden by other applications. If I then click on a main window that is NOT the owner of the modal dialog, the system just beeps; it does not bring either the dialog or the owning main window to the front. Unless the user knows to select the correct main window from the task bar, the applicatio ...Show All
Visual Studio Tools for Office Getting the Character Style for a word
I'm stumped. Google doesn't seem to have the answer so I'm going to ask here... The range's "get_Style()" returns the first style that it finds. Most of the time, this is the paragraph style. However, I really need to look at the character style for what I'm trying to do. There's a way to get the paragraph style explicitly by looking at the ParagraphFormat object on the range, but is there a way to do that for the character style object currentStyleObject = range.get_Style(); Microsoft.Office.Interop.Word. Style currentStyle = null ; if (currentStyleObject != null ) { currentStyle = currentStyleObject as Microsoft.Office.Interop. ...Show All
