seoindia's Q&A profile
Windows Forms DataGridView - Automatic DataTable merging/updating
Hi I have a DataSet with two different DataTable s. The tables are: "Groups", groupID (PK), name. "Users", userID (PK), groupID (FK), fullname, age. To display the information for the user (in the DataGridView ), I create another DataTable , T , having the merged information of the two tables above. For instance: "George", 22, "Administrator" (<fullname>, <age>, <Groups.name>) instead of "George", 22, 1 (<fullname>, <age>, <groupID>) Now I set T as the DataSource of the DataGridView . Is there a way to have this done automatically anyhow Let's say, if I update/add a row, I need to save ...Show All
Visual Studio In 'Show History' From and To fields does not work with the L (label) option
I am using Vss version 6.0d client with same database. In the database i have several projects. When selecting a project and select Show History, I am searching for sources with a specific label. Therefore I enter the Llabel in the To and/or From fields in de dialog box but I always get the error that NO ITEMS IN THE LIST. I have verified that the label I have entered does exist on several sources. I also tried case sensitive, -L, command line arguments but nothing seems to work. Can anyone please help me out Many thanks in advance. Rob I have done that exactly as the Help suggested. I have even labelled several sources with the 'beta1' example. So when filling in 'Lbeta1' in th ...Show All
Visual Studio Tools for Office Toolbar Appearance Issue with Word & WordMail
Hello, I have a custom toolbar that appears with word and Outlook (WordMail). Just after the installation using MSI, if I open the word the toolbar appears but without closing it If I open the outlook (compose mail in wordmail editor) the Toolbar disappear bydefault. How can I avoid the disappear so that when I open wordmail the toolbar should appears bydefault I m using managed Com component of Office 11 in VS2005 (C#.net). Thanks, -Harish This really seems to be a Word/WordMail question, not a VSTO question. You'll probably get a better response if you repost to the Word add-in forum: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.word.vba.addins&lang=en&cr=US ...Show All
Windows Forms Printing a database
I would like to print all the tables in my database in my program which holds the databases and works with them, Any suggestions Thanks Anthony you can use the System.Drawing.Printing namespace/classes to print to printer: http://msdn2.microsoft.com/en-us/library/5ekk3hse.aspx http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx ...Show All
.NET Development Replication or Web Service
Hey friends, I am going to start a new project includes a Windows application and a Web application. these applications will connect to a SQL server database. -The Windows application will execute SELECT, INSERT, UPDATE commands -The Web application only will execute SELECT commands , it will only read the data from the database and never will modify the data. -The database will be SQL Server -There will not be any "non -.Net" application connectiong to the database The database and the windows applications will be in the same network and behind a firewall. Since the Windows applicaion and database will be in the same network, the windows application can connect to the database server via SQL Port (1433), so there is no ...Show All
Visual Studio building many projects with msbuild
Hello, I am task with automating the build process for app that contain many sln and many projects. My initial idea is to call MSbUILD on each proj file with each solution. As you know the build has to do more than compile the code . I need create dir , send email, identify if the build is successful etc. Is this something that can be done is the msbuild task option or do I have to use batch files. Any suggession will be helpful. I cannot change the individual proj file since it is a team project . thanks Hi tempp, this build file for example builds all the c# projects found in every directory below the current directory (which is -by the way- the directory where this build file resides). ...Show All
Visual C# Good sites to understand Resource files in c#
Hi all , I want to understand more on Globalisation can u plz forward site links Regards Prakash Patil Here you go .. http://www.codeproject.com/csharp/multilingual_pplication.asp http://aspalliance.com/957 http://www.c-sharpcorner.com/UploadFile/brijrajsingh/glbal_110012005021049AM/glbal_1.aspx ...Show All
SharePoint Products and Technologies Why need Form Server 2007? Thought WSS/MOSS covers that kind of funcationalities
This is probably not the ideal place to ask this question but I'm just not sure what Form Server 2007 is for. I admit that I have not spent any significant amount of time looking into it. My very limited knowledge about it says it's built on top of WSS 3.0. I'm not sure what that means. I guess I'm trying to find out what "additional" functionalities Form Server provides that the OOB WSS/MOSS don't already provide, and the compelling reasons why it's useful in the business world. Or another reason to use Forms Server 2007 is if you dont want to or do not need the full functionality of MOSS. You may have a WSS 3.0 environment yet you still want to render Forms in a browser. Then this is the ideal ...Show All
Visual Studio 2008 (Pre-release) I want trap attached property change notify.
For instance, I want to know the change in the Grid.Row property in the MyGrid class. It is the following codes that I tried. public class MyGrid : Grid { static MyGrid() { FrameworkPropertyMetadata metaData = new FrameworkPropertyMetadata(0); metaData. PropertyChangedCallback += OnAttachedRowChanged; Grid.RowProperty.OverrideMetadata ( typeof(MyGrid), metaData ); } private static void OnAttachedRowChanged( DependencyObject d, DependencyPropertyChangedEventArgs e) { // It is not called. MessageBox.Show( "Call OnAttachedRowChanged" ); } } I want to learn the change of child's Grid.Row with MyGird. However, it is not possible to achieve it by the method. Code : public partial class Window1 ...Show All
Visual Basic Unsigned Arithmetic and overflows
I've had this discussion before with unint64s. Setting what would normally be the sign bit causes an overflow. Now I'm seeing this in unint32s. Dim a As UInt32 = System.Drawing.Color.Black.ToArgb will cause and overflow. Dim a as Uint32 = now.ticks and &hFFFFFFFF will cause an overflow depending in the time. This should not be. What it means effectively is the UInt32 is actually UInt31. However............. Dim a As UInt32 Dim b As UInt32 a = 1 a = a << 31 b = a Works absolutely fine. However the equivalent will not work with uint64. I looked at the assembler and it's doing all of this in the ESI which I assume is 32 bits wide on a Pentium Prescot ...Show All
Visual Basic Display graph while viewing graph data in realtime.
I am recieving bytes of data from t he comm port perfoming calculations and displaying the result. I am new to Vb however in my code i was told I have to use delegates in order to display information the screen. I also need t o display a graph.. How do I used delegates for the graph. I have only seen example using string pointers. When I click on the button to generate graph the display reading start freak out... Also sometime I get an error saying that the graph object already exist and the program crashes my code below Imports System Imports System.IO.Ports Imports System.Math Imports System.Threading.Thread Imports System.IO Imports System.Timers.Timer ...Show All
Visual FoxPro Purging data from Visual Foxpro using oledb in .Net
Hi, Can any one help me on the below.... I am using Visual Foxpro as backed an Vb.Net as the front end... I am using the oleddb connection..... the following is the parameter.... "Provider=vfpoledb.1;Data Source= \\Data; Collating Sequence=general" I have a Visual Foxpro open table dabase which contains nearly a million record.... When I give select * from transcation where id='001' and cust='03' the time taken to purge this record is very high (nearly 5 min).... I have indexed the table on the basis of the above too (id, cust) feild. The purging of record is done thru front end vb.Net OleDB adapter Can any one tell me how to use the indexes which is creted in foxpro to return th ...Show All
Audio and Video Development Menus not showing up on WinDVD HD (Toshiba Qosimo)
Hi all, this maybe isn't the right place to discuss compatibility with players but maybe somebody tried to get things to work on a software player before. My project is working fine on Microsofts iHDSimulator and the Toshiba HD-A1 standalone player. But when I try to run it with WinDVD on the Toshiba laptop (the one with HD DVD Rom drive) the software either crashes or just plays the menu video without the graphics. Any ideas Are there any known issues for the WinDVD software Cheers, Gunnar I assume you are talking about the Toshiba Qosmio G35 V650 I have that notebook as well. You should update the drivers for WinDVD and any other patches posted on the Toshiba site (the WinDVD patch is there). How did y ...Show All
.NET Development XPath - Get node
Hi I have this XML structure: <Doc> <Values> <value a="100" b="131" c="20" /> <value a="100" b="130" c="20" /> <value a="23" b="400" c="20" /> <value a="2" b="1" c="110" /> <value a="2" b="1" c="100" /> <value a="0" b="30" c="2" /> </Values> </Doc> As you see the nodes are sorted in descending order by first "a", then "b" and last "c". I now want to insert <value a="100" b="10" c="11" />. This new node should be inserted a ...Show All
.NET Development Is there a common control that behaves like the properties window in vs2005?
Hi, I'm new to .NET windows form development and I need a control to display and allow users to modify the property of something... I want it to be something like the properties window in vs2005, is there such a pre-defined control or will I have to write it my self Thanks... Thanks, I tried and it works well. I get to know more about property browser here: http://msdn2.microsoft.com/en-us/library/aa302334.aspx , but there's still one big problem, Shawn Burke said in his article that " Prior versions of the property browser essentially processed COM-type information and displayed the properties that were contained therein, the Visual Studio .NET property browser still supports the same features as prior versions " ...Show All
