marksaxton's Q&A profile
SQL Server Cannot save my Maintenance plan
I use sa to login to sql 2005. I can save Maintenance plan using wizard, however, when I try to save maintenance plan using the maintenance plan design screen. I received error message "Apply to target server failed for job ...". When I check the job, there is no step in the job. In the Maintenance wizard, there is no maintenance clean up task. I want to create a task to delete my backup file if it is older than certain days. Any ...Show All
Visual C++ How to turn off Intellisense processing?
I'm using VSTS July 2005 CTP. I've found that on idle VSTS kicks in Intellisense processing, which often ends up hanging the IDE. I've looked through all options and can't find a place to turn that processing off. Thanks. It would be great if intelli-nonsense was at least smart enough to not do indexing while I'm using my computer (or provided an option). I've compiled; I'm waiting to run a benchmark; and I can't because t ...Show All
SQL Server SQL 2005 Instalation
Hi, I downloaded the express edition and the management studio express, I installed it in my computer, and the wizards said that the installation finished ok, but when I click the icon in my programs, it simply doesnt do anything, it doesn't open the application, does some one now why, do I have to unistall something before Thanks and Regards, AC Yes, go to this link http://www.microsoft.com/downloads/details.aspx family ...Show All
Visual Studio Team System DoNotDeclareStaticMembersOnGenericTypes (CA1000)
In general I agree with the rule. However, what about operator overloads Should they trigger this violation And, if not, how do you prevent the violation only for operators The usage of an operator generally does not need to specify <T>. I.E. public class MyClass<T> { private T x; // violation CA1000! public static operator = ...Show All
Visual C++ Type Conversion from _varaiant_t to CByetArray
hi guys. I am doing a Database application in Visual C++. i am accessing the recordset by mean of adodb::recordset pointer. I have to get the longraw data having picture stored in it and then i have to draw the image of that data. i have acees the data in recordset but unable to convert it into CByteArray or any other format. Please help me in this regad. This is not the right forum for such questions. Try the MSDN newsgr ...Show All
SQL Server Clearing Single User Mode/lock
What is the best way to clear Single User mode from SQL Server 2000 I have tried going to all tasks and selecting detach and clear Connections using this database. I then click cancel and go into the properties and options and clear the Restrict access check box. This seems to work some times but not all the times. I think it is because something else connects to it to it while I am going through the above steps. As a last resort I have deta ...Show All
Windows Forms control array in VB.NET
Hi, I created array of buttons and labels dynamically. Ref: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchcreatingcontrolarraysinvisualbasicnetvisualcnet.asp i have 4 buttons and corresponding 4 lables. Each label is associated with a button. Example : button1 label1 button2 label2 button3 label3 Initial text value of label is 10. When i click button1 , the correspond ...Show All
Visual C# Blinking Controls on WinForm
Hi I'm using Winform, I put some controls on it textboxes, treeview etc. And when I'm resizeing form - controls are blinking. - For example Nodes in Treeview disappear for short time and appears again. How to prevent this Hi Lufa, This problem usually occurs when you have grouped controls in many panels. Make sure that you are not using too many panels. ...Show All
Visual Basic Creating a program that can save in a specific file format.
Hello, I was wondering how (and if) to create a program that will allow me to type some text, make some selections, and then save it. What I need to know is how to save the program then be able to re-open it properly. Thanks for any help. Hi X, I hope you don't think me picky. I think there is a clear way to state this and the people who answer your questions will apreciate the clearly. You may ...Show All
Windows Forms Databinding a class with DataGridView
I have a databindingsource object whose target is a DataGridView. _PDList is a list of PresentationData objects that have Properties for each data item. _PresentationDataBindingSource.DataSource = _PDList; When I declare a binding source for my DataGridview the grid column names display the properties from the class. This was expected behavior. But the problem is the names that get generated for referencing the columns in the DataGridView ...Show All
Smart Device Development File Associations in Deployment Projects
How do you create a file association using the Setup and Deployment project The desktop version has a File Types Editor, but we don't have that for smart devices. I've been trying to put the required keys in with the Registry editor, but I get the following error in CabWiz.log: Error: Line 185 - unsupported DirID 11 Error: Line 189 - unsupported DirID 11 Error: File c:\docume~1\andywi~1.cl1\locals~1\temp\wiz19a.inf contains DirIDs, which are not ...Show All
SQL Server Failed to generate a user instance of SQL Server
I am trying to create an SQLExpress database file (mdf) in VS2005 but I get the following error: "Failed to generate a user instance of SQL Server due to a failure in making a connection to the user interface. The connection will be closed.” I also get this same error if I try to open an existing database from the VS samples. Any Ideas Thanks, Dave T Ok got this much figured out, still having other problems, b ...Show All
Visual C++ Monitoring Disk Efficiency
Hello, How do I Monitor Disk Efficiency in MFC Avg. Disk Bytes/Read Avg. Disk Bytes/Write Regards Manoj Jangid Or use a performance counter. Category="LogicalDisk", Counter="Avg. Disk Bytes/Read" and "Avg. Disk Bytes/Write", Instance="_Total" or "C:". This webpage might help you get started... ...Show All
Visual Studio Express Editions Is The OOP Microsoft.VisualBasic.IIf Equivalent To the Procedural If Then?
Is the OOP Statement Microsoft.VisualBasic.IIf equivalent To the Procedural Statement If Then Thanks Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a As Integer = 0 Dim b As Integer = 1 Dim c As String = "True" Dim d As String = "False" Microsoft.VisualBasic.IIf(a < b, c, d) MessageBox.Show(c) MessageBox.S ...Show All
.NET Development .NET Remoting & Indigo
I had a look at the famous article "Introducing Indigo: An Early Look" ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/introindigov1-0.asp ) and I would like to add another row to the comparison table and that is "activation model", while .NET remoting has got a comprehensive model for activation (Single call, SAO, CAO), web services on the other hand just support single call. My question is about Indigo, Which mod ...Show All
