Kunk's Q&A profile
Visual Studio Team System TF.EXE difference command and versionspec
I am trying to determine the difference between my workspace and latest and am using the following command from inside the workspace folder >tf difference /version:W~T /format:unified I get the response TF10100: The option version is not supported. That does not seem right. Or am I doing something incorrect -mark I don't know of a really good answer here so let me try and break down what some options are: 1) the unusably slow diff recursive diff method (which includes all files, not just changed ones) 2) performing a: "tf get /preview /r" - this will identify those changed items. You could write a script to iterate over those and print out the diffs if you still want them. 3 ...Show All
Windows Forms Need to abort uninstall based on user input
Hi, I am creating an MSI using Visual Studio 2005, setup wizard. the install and uninstall are done silently. One of the uninstall custom action is to stop a service (using a VB script, i basically open up a shell and execute a net stop), the service name is given as parameter of the silent uninstall, i want to be able to abort the uninstall if the service name is invalid or null. Any suggestions Thanks Dinesh it is not just stopping the service that is the key, there will be a bunch of custom actions thereafter. so i would not want any of them to run. one way would be to check for that parameter in each action and not perform them in the case where the service name is invalid, but what i was trying to ...Show All
Software Development for Windows Vista DirectShow and C#
Hello Everyone, I’m new in C# and I have several questions, and I hope you to help me to find the answers. I would like to make some simple capture of audio and video for personal purpose. As I understood, the right way to do it is using DirectShow. But there is something which confuses me. The description of DirectShow says: “The MicrosoftR DirectShowR application programming interface (API) is a media-streaming architecture for the Microsoft WindowsR platform . Using DirectShow, your applications can perform high-quality video and audio playback or capture. DirectShow is available in the Windows SDK .” But later, in Windows SDK I read: “Welcome to the MicrosoftR ...Show All
Windows Live Developer Forums Filtering Address based on Country in Virtual Earth
Hi, I am working with Microsoft Virtual Earth. I want to show Adresss. I used VEMap.Find() method to find the address. I passed street name,houseno,city,zipcode,county,state and country informations to find the address. The problem is I got the address throughout the world which matches the address. But I want to filter the address based on Country entered. So pls kindly assist me to sort out the problem. Is there a method to filter the address based on country in Virtual Earth Help me. Thanks in advance. Hi derek, Still it is not filtering based on country. I placed a DropDownList to select the country. I entered a city name that is not in the selected country. But still the map searches that city and shows t ...Show All
Visual Basic unique constraints
how can i set empid,logdate and loantype=1 as unique let say empid logdate loanid 1000 1/1/01 1 1000 1/1/01 &nb ...Show All
.NET Development dataadapter insert/update/command
Lets say I have an insert command of sqldataadapter with one parameter. When I add this parameter, I map it with the column value from the table. If I then insert a new row in the table and call the update method, I guess the parameter will be substituted with the corresponding value from the table and then the insert command will be executed. What will happen if I add two or more rows to the table Will the described process repeated for all the new rows Also, which is faster a sql query wich insert ten new rows or ten sql queries which insert one row at a time Thanks Hi, For the first question the answer is YES. Each parmeter value is assigned by the dataadapter from each row. For the second questi ...Show All
Visual Studio 2008 (Pre-release) Where are the Windows Forms controls equivalents?
Hi, I was wondering if we are going to see equivalents of the Windows Forms Controls and Windows Forms capabilities in WPF. Although WPF seems impressive, it lags the Windows Forms power and its also counteractive. I posted links to a couple of books on my blog: http://blogs.msdn.com/okoboji/archive/2006/04/26/584549.aspx Karsten has an amazing set of training ideas for someone starting: http://blogs.msdn.com/karstenj/archive/2006/06/15/632639.aspx ...Show All
.NET Development Dynamically update project refrence
I have a vb.net class project.It is referenced in multiple exe projects. Now if I recompile this project my version number changes. Can I do any thing like recompile my dll application. Then I just copy the the dll on my exe project's bin directory.And I shouldn't need to recompile my exe application. What I need is that refrence to my executeable project should dynamically updated. Can I do that by any mean I am using VS2003 Providing version no in assemblyinfo.vb file will make version no fixed.. im using vb.net so code for it is as below.. < Assembly : AssemblyVersion("1.0.0.0")> ...Show All
Windows Forms error 1706
Hi, Experts, When I Build my setup project in vs2003, normal window install process started, then I got error 1706 (No valid source could be found for product Visual Studio .NET Professional 2003 - English. The Windows installer cannot continue). I have to cancel out several times. However, at the end the build finished with: Build: 3 succeeded, 0 failed, 0 skipped Then when I run setup.exe, and the application.exe on client machines, I got several unhandled exceptions. What has caused error 1706 in this case How can I tell if it is related to any of those exceptions Is ignoring it an option Thanks! ...Show All
Windows Forms Datagridview - making rows behave like columns
Hi, I need to change the functionality of a datagridview control, i want to have in the same coloum a ComboBoxRow and a TextBoxRow. meaning, i want to have the control behave instead of columns that define the table - the rows should do that. any ideas Tz Simple example. The column must be a datagridviewtextboxcolumn for this to work Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim dc As New DataGridViewTextBoxColumn DataGridView1.Columns.Add(dc) DataGridView1.AllowUserToAddRows = False DataGridView1.RowCount = 2 Dim cc As New DataGridViewComboBoxCell cc.Items.Add("One") cc.Items.Add("two") ...Show All
Visual Basic Showing a form in a tabcontrol
Hello All, I'm using VB 2005. Can someone tell me how to "Show" a form in a tabcontrol I have a form with a tabcontrol, as well as other controls, and I need to show a small form via ShowDialog(). However, I want the form to appear in the current tab area of the tabcontrol. I can't seem to find the right combination of commands! Thanks, Carl Thanks for the reply. I'll keep trying. I thing I'll simply create a frame in the tabcontrol and use it for showing the dialog popups making it visible or not. ...Show All
SQL Server IndexCollection class.
Hi All, From MSDN: '...The IndexCollection class represents a collection of Index objects that represent all the indexes defined on the instance of Microsoft SQL Server...' At the risk of sounding pedantic, doesn't this imply that one can obtain all indexes from a Server object As far as I'm aware an index is a table feature, and the only way to get a collection of indexes is Tables.Indexes. Any comments would be appreciated. ...because I'm writing a server monitoring application, which will report on the most highly fragmented index for each database for each monitored server. Thus whilst I won't need to build a collection of indexes, I'll certainly have to iterate thro' them all. I wasn't really ask ...Show All
SQL Server GetAttribute Method of the Urn Class
There is probably a simple way to find this out but I cannot find it: How would I be able to find out what the possible attributeName values are which you can retrieve by using the GetAttribute method. For example, one of them is "Name" which returns the name of the object. I need to find out the type of the object (e.g. table, view, UDF...) You can obtain the type of the object as a string using the Urn.Type property. eg. for Urn u = new Urn("Server/Database/Table"); u.Type would return you "Table". Thanks, Kuntal ...Show All
SQL Server Paging in Business Intelligent Reports
I have finally been able to create a simple master detail report of the records in the database. Is there any way to create a new page after each record, or to keep a record all together on the same page It took me two days to get SQL Express installed properly so I could get this simple report. They don't make it easy. Any help would be appreciated. Thanks Cal I'm going to move this question to the RS forum, they'll have specific advice about writting reports. (we're working on the BIDS install issue in several other threads) Mike ...Show All
Visual C# One cell's data out of a TableAdapter
Easy Don't know... Assuming a given TableAdapter (or even a DataSet or DataTable), how can a drill to one specific cell and get it's value I tried on got a lot of stuff like "Caption" or "DataType" doing this: Data.Tables[0].Columns[0]. But how can I get the actual DATA, the value if this cell Thanks, Finch. Well, pretty much. Here what I was looking for: MyTableAdapter TA = new MyTableAdapter (); DataTable DT = TA.GetDataByID(id); DataRow DR = DT.Rows[0]; MyTextBox.Text = DR[ColumnID].ToString(); Thanks, Mark. ...Show All
