TereByte's Q&A profile
Visual Studio Tools for Office excel bugs
excel bugs hey guys, i thought this arcle may be of interest to you all... with office suite being very popular and all that Hi Arcon5, I'm sure a lot of the VSTO forum readers are interested in hearing all kinds of information concerning the Office products however it is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. -= Maarten =- ...Show All
Visual C# Process
Does anyone have a code snippet that shows how to kill Process on Remote Pc (I have all permision) This can be done with getting the processes on the other machine with the GetProcessesByName method of the Process class. You need to specify the processname and machine name. Process[] foundProcesses = Process.GetProcessesByName( "MyProcessName", "MachineName" ); foreach ( Process foundProcess in foundProcesses ) { // Close process by sending a close message to its main window. foundProcess.CloseMainWindow(); // Free resources associated with process. foundProcess.Close(); } You can use Kill inste ...Show All
Visual Basic Module not maintaining form initialized
I am having troubles with an application I've developed on a specific server. I believe the primary problem is the server itself and have yet to see the application fail on any other server. It's running on a Windows 2000 Server, .NET Framework 1.1. We've tried reinstalling the framework 3 times with no success and I would like to see if anyone else has run into this problem. The issue is that I have created a form in a Module. Whenever I try to access this form, it returns Nothing like it isn't initialized. Originally I wrote it as follows: Private mvarFormMain As New frmMain &nb ...Show All
Windows Forms How To Get Grid Current Cell Text
How can I get the DataGridView cell contents in the Current Row Column 1 I tried this but it doesnt work TextBox1.Text = CType(ProductsDataGridView.CurrentCell.RowIndex, String) & CType(ProductsDataGridView.Columns(1), String) Wouldn't ... ProductsDataGridView.Rows[ProductsDataGridView.CurrentCell.RowIndex].Cells[0].Value; work ...Show All
Windows Forms Binding a combo box to a data set
Hi, I am trying to just list some columns in my dataset by binding it to a combo box in windows form application. I can easily do that in a web application. But really doesn't seem to work as a windows form application. Label1 and label3 lists the values in my dataset. But label2 displays it as a DataRowView object. Could any one p ...Show All
Visual Studio Team System Saving a query after changing sort order results in message
If you open up an existing query and you click a column heading to re-sort based on that column, after trying to close out the query you receive a message: "Changes you have made in this view have caused the underlying query to be modified. Would you like to save the changes to the query " Yes or No is the only options. I know this is new functionality in Beta 3 Refresh (from Beta 2) but can somebody explain what changed and if this is a valid warning The biggest problem I have with this is that the only people allowed to create new or modify existing queries in the "Project Queries" are Project Administrators. However, when an avera ...Show All
SQL Server Where can I find the infamous Microsoft.SQLServer.Broker download?
I've been trying to find examples on how to work with the broker using ADO.Net and haven't found much. Unfortunately we did not have time to ship a client ADO.Net programming model in this release. You can always use SqlCommand to execute the Broker statements like BEGIN DIALOG/SEND/END. RECEIVE returns a normal resultset which SqlDataReader will expose just as a SELECT resultset. For DDL (CREATE/DROP/ALTER of Service Broker objects), SMO has extensive support. The External Activator sample at http://www.gotdotnet.com/codegallery/codegallery.aspx id=9f7ae2af-31aa-44dd-9ee8-6b6b6d3d6319 has a CLR framewo ...Show All
Windows Forms Configuration Manager - possible bug?
In trying to learn the new architecture for application settings in .Net 2.0 I have come across the following and am wondering if it is a documentented error. I cannot access AppSettings or ConnectionStrings using the string indexer, but can only use the integer indexer. For example: System.Configuration.ConfigurationManager.ConnectionStrings["MyConnString"].ConnectionString This throws an error - generally that it is null. However, if I use: System.Configuration.ConfigurationManager.ConnectionStrings[0].ConnectionString I get what I expected. The same example holds for AppSettings. I have searched these forums an ...Show All
SQL Server Server Time Dimension - Reference Dimension issue
Here is a scenario that mirrors the type of thing I am trying to accomplish: I have a date field called 'OrderDate' in the Orders table. I set up a Server Time Dimension for it (e.g. 'Orders - Order Date'). So I now have an Orders dimension and a 'Orders - Order Date' dimension in a regular relationship. In the Orders table I have a foreign key relationship with a Product table through ProductID. So I set up a dimension called Product with a regular relationship with the Orders dimension. I then want to build a relationship such that I can break down Products (and product costs etc.) by Order Date. So how do I relate the 'Orders - ...Show All
Visual Studio Team System I am running out of time with the registration to get the activation key !!
Nothing I do allows me to actually register and get the activation key. Big game register Now and you simply go to msn passport profile and then they say call 877 256 2495 but when you call that number you get nothing they tell goto the web and then hang up on you immediately before you can do or say anything. I am not really sure what to do at this point I have been posting bug reports for 11 days now and not gotten any feedback at all on anything someone please call me at 604 896 1595 or email me at mdyrnaes@hotmail.com. Help Help Help What was done to help you. I am having the same promblem. Can you help me Please Post Message ...Show All
Visual Studio problem installing VS2005
Hi I previously had installed VS2005 Beta 2 and I have uninstalled everything. I cannot install VS2005 because it gives me an uninstall information (but I did uninstall everything) I even tried to install and uninstalll Beta 2 again. This is the error of the dd_vsinstall80.txt logfile. I hope you can help. Sincerly Ed [11/08/05,13:08:05] VS Scenario: ***ERRORLOG EVENT*** : Failed to pass the Warnings/Blocks checks in CVSScenario::Start() [11/08/05,13:08:05] Setup.exe: GetGlobalCustomProperty({9AB7F66B-DBC6-4D44-8C09-E16F0EB162E7}) [11/08/05,13:08:10] vs70uimgr: CUIMgr::RunScenario(): Start() returned canceled or FAILED(hr) [11/08/05,13:08:1 ...Show All
SQL Server Creating a Data-Flow Component
I try to create a new Data-Flow Component. In Books-Online I found this link: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.de/dtsref9/html/9d96bcf5-eba8-44bd-b113-ed51ad0d0521.htm and the following pages. But I have not realized, how I have to create the new Data-Flow Component. What I to do for my first "Hello World"-Component Since you will be using the same series of steps to deploy and test your own data flow components, best to resign oneself! Note that Visual Studio 2005 supports post-build event scripts that you can use to copy your updated assembly to the PipelineComponents folder, r ...Show All
.NET Development Exception in configuration section handler when app is opened concurrently
I have a windows app in c#. In the config file I have the following section: ... <system.diagnostics> <trace autoflush="true" indentsize="1" > <listeners> <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="some.log" /> </listeners> </trace> <switches>   ...Show All
.NET Development To see Console
We can write valies using console.write method. However, how can view the contents of Console While this is not the correct forum for these kind of questions... here goes: Console.WriteLine writes to the standard output stream. For instance, create a console application (select new project/console application), and you will see the printed text as output when run. You might want to use Debug.WriteLine for diagnostics. Debug.WriteLine outputs to the debug window from VC. ...Show All
Software Development for Windows Vista Is beta 2 CPP ready for the public
Based on the high number of bugs still being reported by testers it doesn't appear beta 2 CPP will be ready for public release anytime soon. Many of the reports of conflicts with drivers and programs are just now coming in. To release at this time would be an extrememly poor decision with so many glitches being reported and the public in general is waiting to provide some heavy critiquing with Vista. There are still a high number of reports of people not even being able to install Vista on seperate partitians in a dual boot configuration with XP. These are people that have dual booted numerous builds prior to 5342. There are problems with co ...Show All
