Jamesraj's Q&A profile
SQL Server Unable to read local eventlog (the parameter is incorrect)
In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date: 03.11.2005 Time: 17:14:47 User: N/A Computer: RESYSHADOW Description: Unable to read local even ...Show All
Visual Studio Express Editions Stop remote process
I need to stop Outlook running on a remote computer in the network. I know how to stop Outlook when it is running on the local system (code at the end) I am aware that the help file for the Process class says "local" for start and stop: "Provides access to local and remote processes and enables you to start and stop local system processes" However, this is becoming for me a pressing need and there should be a s ...Show All
Visual Studio Team System Add a new work item type
We are using the Microsoft Agile Process and we get the default work item types - Bugs, Task, Quality of Service..... How do I add a new work item type that has the same fields and form as Bug, for example Any help would be appreciated! Here's a blog entry you can use as a starting point: http://blogs.msdn.com/team_foundation/archive/2005/03/22/400674.aspx ...Show All
SQL Server How do I check whether the Sql Server is installed in the particular machine within the same domain?
How do I check whether the Sql Server is installed in the particular machine in a network within the same domain Suppose If i got a machine name as c-4200 in a network I need to display the all the database instances it has How do i do that One simple way is to try to connect to the database instance and enumerate the databased. You need to login as admin and then use some system stored procedures to list ...Show All
Windows Forms ContextMenu not working
Hi ! i have added Context Menu and assigned this Context Menu to notify icon but below code does not work Why this is not working Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click ...Show All
Visual C++ checking menu items
How do you check a menu item in Visual Studio.Net 2003 using MFC Lookup SetMenuItemInfo, MENUITEMINFO, and MFS_CHECKED on MSDN. Nathan87 wrote: How do you check a menu item in Visual Studio.Net 2003 using MFC ...Show All
Visual C++ How put trackbar on a web page?
Hello, I am having a look at Visual Web Developer 2005 Express Edition Beta 2 to see if I can add a trackbar to a web page...cannot see it there .... any odeas please Thanks Geoff I believe you can get better answers regarding Visual Web Developer 2005 and ASP.net in general at the asp.net forums: http://forums.asp.net/ Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms Object not valid or not registered error?
I have created automation process using console application. The app reads emails in outlook’s inbox folder, saves attachments, reads saved attachments (.xls file), copies values from attachments to text file and copies text file to FTP server. The app is&nbs ...Show All
Visual C# Write to C# Immediate window in 2005
How do we write to the immediate window from the code window. Similar to "Debug.Print" in VB. Thank you, Paul For a console app... try Console.WriteLine ("Hello"); For a windows form app... try MessageBox.Show ("Hello"); ...Show All
Windows Forms Not Serializable: System.Windows.Forms.BindToObject
It would appear that when DataBinding.Add() is called, a System.Windows.Forms.BindToObject object is created and used to hook the properties "Changed" event for the binding. This is yet another type not marked serializable. How do I go about serializing an event which contains a BindToObject Is this another special case for the the serialization formatter - Ray See http://forums.microsoft.com/msdn/ShowPost.as ...Show All
Visual Studio Express Editions Application goes blanc
Hi when I'm using the graphics system to draw out points on my form in a loop ( finite) , the application sometimes goes blanc. It also doesn't update some labels even when these are in a different function. Anyone had the same problem I use this sub as a delay Sub Delay() Lvoltooid.Text = CStr ((i / 100000) * 100) & "% is voltooid" PgbVoltooid.Value = PgbVoltooid.Value + 1 System.Threading.Thread.Sleep(TBTijd.Value) ...Show All
Windows Forms Retrieving the values from a datagrid
I select values from the database and display them in a grid but first I apply formatting to the values. So from the database I may get the value 5236.2389 but the grid may display $5236.24 due to my formatting. What I want to do is&n ...Show All
Windows Forms Opeing default web browser to an URL automatically
Hi, I would like to have a click event of a menuItem to automatically open the default web browser to an predetermined URL. I can't seem to locate the C# code to do this for the .NET windows form I'm developing. Jared Thanks!! Syst ...Show All
SQL Server Combining two Tables into one TempTable, with a condition.
Hi, I'm very new to Sql, and need to combine information from two tables into one temp table. All tables have the same structure. The problem is I want to set a condition that if Field 1 is already in the TempTable, dont include that field from the second table. Along the lines of Table1 Description = Blue, if Table 2 Description = Blue, dont include this row. I have been trying to use INSERT..SELECT and UNION. , the only problem I h ...Show All
Visual Basic VB calling C executable
I am totally new to VB, and now trying to do a project with it. I would like to know is it posible to pass in value to a C executable, execute it and receive the output from the executable How should I do it, or is there any guide on this Hi, In your C you must have commandline paramters. If you do then you can use the Process class. Here's a sample: ' Pass Data To the exe Dim pr As Process = Process. ...Show All
