DmitryMS's Q&A profile
SQL Server SQL server Logs in SQL Server Enterprise manager Problem
Hello, In my SQl Server enterprise manager My log files show there are no items this has to not be correct, I am an administrator and I should see the logs files. How can i get this fixed Tdar Anyone have any Idea Is there a way to rebuild the Management Log files, I had to assume they got corrupted or compromised and I need to get them back to see what is going on with the health of the SQl Server, Are there log files a File like windows event logs, and just can be deleted or is this some system table that may need some cleaning Please help, Tdar ...Show All
SQL Server Installing sp1 on Cloned DB server to VM server
We have a HP server with windows 2003. MS sql 2005 was installed on it. The third party databases were installed. SP1 was never installed. This server (paahouentsqlp) PROD was cloned and placed on a vm server. When server came up on vm enviornment the server name was changed to (paahouentsqlt) TEST. Nothing was done to the SQL environment. No registery entries were altered. No sp_dropserver or sp_addserver were ran. TEST server seems to be running ok. I have attempted to install sp1 on TEST server (paahouentsqlt). The enumeration process takes about 1-2 hrs. When I finally get a screen all product selections are grey out except for SQL Server Native Client, Setup Support File, MSXML 6.0 Parser, SQLXML4, Backward Compatibility, and M ...Show All
Visual Basic How to create an instance of a C DLL.
Hi. I want to know about creating an instance of a C DLL and how to use that instance in a VB function on VB6.0. Thanks in Advance. This is done using API calls: http://msdn2.microsoft.com/en-us/library/172wfck9.aspx Tis asrticle shows how to call Windows API. The same way is used for any Dll which exports functions. ...Show All
Visual Studio Express Editions Open Specific File
Hi all, How can i open a file without using the OpenFileDialog and i know the location to display a text file into a rtf box Any Help will be appreciated, Thanks in advance MW200675 interesting, I am unable to reproduce the problem from my end. Maybe someone else can if i find anything ill be sure to post sorry i could not be of much help ...Show All
Visual C# how to close all MdiChild opened from an MdiChild
I have an MdiChild (customer_form) opens in (main_form) and from (customers_form) I am openning other MdiChild in the (main_form) like (remarks_form) and (services_form) using this code: frmRemarks remarks_form = new frmRemarks (); remarks_form.MdiParent = this .MdiParent; remarks_form.Show(); and I want when closing the (customers_form) to close all forms opend from it.. Lets say we have two forms Form1 and Form2. Form2 can be called from Form1. Both of them are MdiChild forms to MDI Form. To be able to close all instances of Form2 that are called from Form1 here is a solution: 1. Define private variable in Form1 where will be stored all references to opened Form2 forms: private List < ...Show All
Visual Studio Tools for Office Dynamic Controls Within An Outlook 2007 Form Region
my users can setup a list of user defined fields. i need to add a control to my Outlook 2007 form region when it loads for each of UDF's that my user has setup. is this possible thanks. p.s. i have tried placing the following code within my form region constructor, but it does not populate the text property. Outlook. OlkTextBox dynamicTextBox = new Outlook. OlkTextBox (); Form.Controls.Add( "Forms.TextBox.1" , dynamicTextBox, true ); dynamicTextBox.Text = "Hello world!" ; You need to use the Outlook.* controls, which are specifically designed with the features they need to function properly on an Outlook form surface. ...Show All
Windows Forms TreeNodeCheckChanged and SelectedNodeChanged of TreeView dosen't fire
TreeNodeCheckChanged and SelectedNodeChanged events of TreeView in ASP.NET 2 dosent fire when a chack is made or removed. Is there any fix hi, If you are still facing the problem, please post your question in the http://asp.net forums site as this forum is for Windows forms.net related questions only. thank you, bhanu. ...Show All
Visual Studio Cannot Open Solution File (*.sln) in Visual Studio 2005
I installed Microsoft Visual Studio 2005 (see Installed Program Information below*) Other information: System Info: Windows Server 2003, Standard Edition, Service Pack 1 Steps to duplicate the error: 1. Click Start, All Programs, Microsoft Visual Studio 2005, Microsoft Visual Studio 2005 2. Click File, Open, Project/Solution 3. At the Open Project dialogue box, navigate to the location of *.sln file, select *.sln file, click open. I get this error: The application for project 'C:\vbnet03sbs\chap01\MusicTrivia\MusicTrivia.vbproj' is not installed. Make sure the application for the project type (.vbproj) is installed. As you can see, I am a newbie in all these Visual (.NET) stuff from Microsoft. I bought a book that has a CD cont ...Show All
Windows Live Developer Forums Problems with LifeCam VX 3000 software
I`ve just purchase a LifeCam VX 3000. The software loads okay. I then click on the LifeCam icon on the desktop to start the program. But when the window opens nothing works when I click on them. To close the window I have to shut it down in Task Manager. Sometimes the window will open but all I get is the hour-glass icon which never stops. Again I have to shut it down through Task Mangager. The webcam works fine in Skype but I can`t get the software to initiate. I`ve installed the latest software from the Microsoft website. Thanks I installed the vx-3000 on Vista 32bit with the latest software and it work just fine. I tried it on a Vista 64-bit OS, and I have the same problems that " jaycee ...Show All
SQL Server Sql notifications and remoting
I bought your book and am very pleased with it. Thank you! Is there a way to send notifications to a windows app ie notifyicon in .net 2.0. I built a remoting service that is hosted in IIS right now. I would like to send the messagetext and messagetitle to my client app from a sql notification piece. I have been reading chapter 10 custom delivery protocols. I am starting to confuse myself. Anyway, is there a way to send it to the windows app via the remoting service and can it be client and server initiated Your help is greatly appreciated! I recently covered this on my blog: http://www.nootz.net I showed an example of a custom delivery protocol that can be setup in the instance xml to tell it the url and method name to ca ...Show All
Visual Studio Express Editions How to compile C codes in VC++
I know till now what I can do is just to build a project, and program using c syntax, and then save as .c file. But it seems it doesnt work like this. Does it mean I didnt choose the right compiler The debugs come like this: 'test4.exe': Loaded 'D:\previous\My Documents\Visual Studio 2005\Projects\test4\debug\test4.exe', Symbols loaded. 'test4.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'test4.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'test4.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll', No symbols loaded. 'test4.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'test4.exe': Loaded 'C:\WINDOWS\system3 ...Show All
.NET Development calling a COM/C++ method with an array from C#
I have an unmanaged C++ method that takes an array. I want to call it from C# via com. The interface looks like so: [id(2), helpstring("method Writer")] HRESULT Writer([in] long addr, [in, size_is(len)] BYTE stuff[], [in] long len); The implementing class implements it like so: STDMETHOD(Writer)(long addr, BYTE stuff[], long len); And the declaration is: STDMETHODIMP CComDemo::Writer(long first, BYTE stuff[], long last) It imports into C#, but the "stuff" parameter is a "ref byte", not a "byte[]" in C#. I'm at a bit of a dead end as to how to proceed. I'm thinking I'll have to use IntPtr and/or Marshal or some other interop class, but I can't figure out how. Any suggestions as to how to call this ...Show All
Visual Studio 2008 (Pre-release) Problem regarding Serialization of Attribute
hi friends, I want to serialize data type named Paragraph of System.Windows.Documents namespace and for this purpose I have written the following code in the application : [DataContract(Namespace = "ServerFileUpload")] public class mypara { public Paragraph para; public mypara() { para = null; } [DataMember(Name = "Para", Order = 0)] public Paragraph Para { get { return para; } set { para = value; } } } But when I initialize an object of mypara class to use the property Para then the error message is generated suggesting that the "System.Windows.Documents.Paragraph" is not serialized and try to make it serialized it using DataMember attribute which is defined under a Data Contract Attribute. ...Show All
SQL Server Adding new subscription to SQL Server 2005s Local Subscriptions fails...
Hi everyone, I am trying to add a new subscription to the local subscriptions of a SQL Server 2005. As soon as I click on SERVER_NAME -> Replication -> Local Replications -> New Subscription , I get the following error message: TITLE: New Subscription Wizard ------------------------------ Microsoft SQL Server Management Studio is unable to access replication components because replication is not installed on this instance of SQL Server. For information about installing replication, see the topic Installing Replication in SQL Server Books Online. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=Microsoft.SqlServer.Management.UI.ReplUtilitiesErrorSR&Ev ...Show All
.NET Development Can't connect to database from web service!
I have a web service that I am trying to get to connect to a SQL 2000 database. I have tried connecting with ODBCConnection and OleDbConnection and I am not able to open a connection with either one. The code I tried with both of these connection methods works fine in a .Net Windows Forms application. It seems to fail both times on the connection.Open() call for whatever reason. Anyone know what might cause this and a solution I can do Thanks, Michael Here is some of the code I have now. I am unable to get the exact error right now because I can't debug on the machine I am on currently. Any Ideas based on the code below connection = new OleDbConnection( " Provider=SQ ...Show All
