msolgi'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
Windows Forms Application settings not kept at first update if application installed from disk
When I installed ClickOnce application from disk and updated it, application settings were lost. This problem didn't occur after 2nd update. Also this didn't happen when I installed application from web. ClickOnce data folders looked like following: ---------------------------------------- Install from web C:\Documents and Settings\me\Local Settings\Apps └─2.0 ├─Data │ └─YNKB7DDJ.P5H │ └─T7V2501Y.AQ0 │ └─clic..tion_3db0dbb3166bfaa ...Show All
Visual Studio Team System Customizing MSF Agile - RACI on Workstreams and Activities
I've added some new Workstreams to the MSF Agile Process Guidance templates, and have a couple of questions. For my new Workstreams, in the XML I see RACIItem's at both the Workstream and Activity nodes. When viewing the Process Guidance, I see the Roles identified for my Workstreams on the Workstream PG page, and the Roles identified for my related Activities on the Activity PG page. That part is all good. My questions are as follows. Is ...Show All
Windows Forms load csv file
hi guys! I have a question about CSV file. I have a problem loading data to my Datagrid. How can I specify which column to get data from and which column of the grid to load data to BTW, I'm using Memory Stream and UTF-8 encoding in loading my csv file. Please help!Thanks! Thanks for your reply! Tried your suggestion. I used the Microsoft Text Driver of Odbc and it seems that it automatically gets the first row a ...Show All
Windows Forms How to get ContextMenuStrip to show windows explorer style menu items?
I have a fairly simple windows form app with a DataGridView control on the form and the grid will contain names of files from the file system - similar to way windows search works. I would like to be able to allow the user to right click ion a row in the grid and display a context menu that contains the windows explorer context menu items (like Open, Open With, Send To, ...). I know how to build my own context menu with my own contex ...Show All
SQL Server what is the default uid and the password for the database?
hi i have installed the .net C# 2005 it include the sql express but when i am creating a database in window authoncation it create sucessfully but when i am creating using uid and password it will not accept why any one tell me By default the SQL Express systems are set to run under windows mode only. To turn it on you can use the management tools to change this. ...Show All
Visual Studio Team System Methods called by an object
How to find the list of methods called by an object in a class Say, I have a connection object, conn. I have to check whether it has called the methods Close() or Dispose(), as conn.Close() and conn.Dispose(). Hi Sanjukta, Writing such a rule is difficult, you need dataflow for this kind of analysis as you need to know what happens to the connection object, e.g. is it added to a collection, is it assigned to another variable, what ha ...Show All
Visual Studio Installing VS2005 web service on system with TFS/WSS
We would like to install VSS2005 on the same system as Team Foundation Server. I have installed it and am having trouble accessing the server via Internet plugin from VS2005. VSS2005 works and I can access the database on the server from VS2005 using the regular plugin just fine. I enabled the database for Internet access, setup sharing/authentication per Alin Constantin's instructions. I went into WSS server confg and excluded the SourceSafe ...Show All
Windows Forms DataGridViewImageColumn - dynamically set images per grid row
Hi - I've got a DataGridView with an unbound DataGridViewImageColumn (I'm using VS 2005 beta 2/C#). Based on a stored db value, I want to display 1 of 4 images in the image column. I found the following example (or a variation of it) in the online help: dataGridView .Rows[row.Index].Cells[0].Value = image; (the index of my ImageColumn is 0) At runtime, broken images are displayed in the grid column. I've also tried to ...Show All
SQL Server why i can not connect to a remote sql server ?
hi, I have two computers on my network, on is my working computer and the other one is my database server. i want to configure my database server in such a way so that it should be connected from any remote location through its IP. it is working fine when i connect my database server with my local pc on LAN but when i try to connect to my db server over the internet through its ip adddres it says access denied.. or server is not available.... ...Show All
SQL Server Exclude a Table from SQL 2005 Backup Maintenance Plan
Hi All, I'm seeking feedback on a backup issue. I have several databases that I run full backups on nightly (simple recovery) using a SQL 2005 maintenance plan. Each database has 1 or 2 tables that hold non-critical spam hit data. This data accounts for approximately half the database size and grows daily. My question: Is there a simple way to skip / exclude 1 or 2 tables during a native SQL backup rou ...Show All
Visual Studio 2008 (Pre-release) Possible to remote an Expression tree into Yukon?
So this crazy idea came to me over lunch. Yukon hosts the CLR. It can also host a web service. Provided that the CLR hosted has access to all the stock .NET framework, I wonder how worthwhile it would be to: 1. Create an expression tree at the client side. 2. Transmit the tree to a service on Yukon. 3. Have Yukon execute the tree in the context of the database (security being managed, of course). 4. Transmit the results back to the c ...Show All
Visual Studio 2008 (Pre-release) ListView scroll postion
Is it possible to get and set the scroll position on the ListView (I’m aware of ScrollIntoView) I was thinking something like: this.ListView1.ScrollPosition = 1; and if (this.ListView1.ScrollPosition > X) GetMoreData(); Best regards, Thomas Andersen Try this: 1. hook ScrollChanged event; 2. get ScrollViewer control; 3. get the value of ViewportHeight property. Thanks, Ji ...Show All
Visual C++ How do I distribute Visual Studio 2005 apps?
I'm using Visual Studio 2005 Professional to create a C++/MFC application. I just recently made the switch to VS2005 (from version 6.0!) so there's probably a lot of stuff I have yet to learn... Anyway, I recently tried to give a user a work-in-progress version of the executable for testing, and the user reported that the program failed with the following message: "This application has failed to start because the application config ...Show All
Visual Studio 2008 (Pre-release) avalon libraries
hi i want to know how i can install libraries for avalon in visual studio 2005 ..... please reply soon.... You get everything you need here ...Show All
