SPAD3S's Q&A profile
Windows Forms Row Delete From Datagrid
When user press DEL button when datagrid row is selected row is getting removed from the grid could you please let me know how should I avoid this Thanks Hey, If your DataGrid is bound using a DataView, you could say DataView.AllowDelete=Fa ...Show All
Visual C# boolean expression evaluation
Hi, is there any better way to determine whether the expression is true than putting it into the DataTable and perform Select Currently solving like this, but seems quite expensive to me: string var = "2" ; DataTable eval = new DataTable (); eval.Columns.Add( "var" , typeof ( string )); eval.Rows.Add( new object [1] {var}); string expr = ">1" ; return (eval.Select( "var" + expr).Length > 0) ...Show All
Visual Basic ComboBox
I have a combobox question, two parts: When using a combobox, normally the items are added to the drop down list by using items.add. Is there a way to have the list of items but not be hard coded into the code or require some type of database In another language I messed with, there was a string table that would be a part of the application but provided a central location for list items. Is there a way to assoc ...Show All
Visual Studio Performing Reports Asyncronously
I'm using Visual Studio 2005. When I save a report with the "perform report asyncronously" enabled, it is not doing so in my application. It executes asyncronously in the Crystal Reports XI designer, but locks my app as soon as crystal is loaded and begins executing the query in my application. I don't see any way to inherently force the crystalreportviewer control to run the query asyncronously in a .Net application in the documentation. ...Show All
Windows Forms From MDIForm How can I execute a custom method in child form?
Supposing Form A is MDIForm, and Form B is child of Form A. From Form A, I wanted to call a method in B (Not connected to any control) For example, from FORM A, if I click menu save file, it has to save the child form B's RichTextBox content and save it a file. Same way, openfile(Form A) needs to use openfiledialog and place the contents in Form B's RichTextBox. I know some hint from Msdn like this: This works for Cut & Paste and Copy, ...Show All
Visual Studio Express Editions Starting (loading) the form from just above the system tray of task bar
I have to load an alerting form (just like the new e-mail alert from MSN/Yahoo Messenger) from just above the system tray of the task bar irrespective of the screen resolution of the system where the application is running. How to go about it Also, how do I find out the screen resolution of the system where the application is running This info too would be handy for me. Appreciate your help!! Best Regards, Aravindh R When it c ...Show All
.NET Development updating records
I am trying to update a record using one of samples provided and I always have the following error: "Reference to a non-shared member requires an object reference" The code I use is as follows: Dim totalsRow As mdstats1DataSet.TotalsRow totalsRow = mdstats1DataSet.Totals.FindByRecordID(1) totalsRow.smtpin = smtpin totalsRow.smtpout = smtpout The error is on the "mdstats1DataSet.Totals" Can anyon ...Show All
Visual Basic How can I produce Invoices (bills) like the ones we get at home from phone companies and utility companies, for display and prin
How can I produce Invoices (bills) like the ones we get at home from phone companies and utility companies, I want the users to be able to view the bills on the screen and be able to print them for the customers as well. I ll be using VB.NET but I don t know what control or what other tool I should use as well to produce those results. R.Tutus Thanks How about crystal eports, does it do the job or is it for soething else; is there anyt ...Show All
Smart Device Development Application info in Homescreen
Hi all, I have an simple windows mobile application (c#) for Windows 2005. the application contains certain data of the user. i would like to show some of these data in the Home Screen as well. how is it possible regards, rnv doing a homescreen plugin is not supported directly by .NETCF. Here is a response lifted from another forum ... Here is a good start: http://msdn.microsoft.com/library/default.asp url=/library/en-us/ ...Show All
Visual Studio N-ary Relationships
On the newsgroup, Aru asked: > In the walkthroughs provided with the tool, its mentioned > that the designer supports N-ary Relationships and its > not mentioned how to do that. Could any one how can we > create the N-ary relationships between classes. Thanks in > advance Aru, For version 1, we have decided not to pursue N-ary relationships. We've left our architecture open so that we can add them if we feel they'd bring a lot of ...Show All
Visual Studio Team System Connection to TFS only on HTTP
Hi All, I am trying to connect to the TFS server using only http. The machine running the server is on the internet with a public ip. When I try to connect from the client, both client and server belongs to the same domain, the client connect happilly but when I try to open a project I get this error: Could not connect to application tier. Please contact the team system administrator(s) Any idea The above senario, typical for consult ...Show All
Visual Studio Team System How to hook build engine to get sources from another server?
Hello all, I want to interoperate the TFS with a server using VSS as repository. How can I go about it Environment: Presently clients are on VS .net 2003 IDE and server has VSS as repository. The project uses .NET 1.0 framework. What I want: I have introduced TFS server m/c which i want to get the project sources from the VSS server and build them. So, how can I hook build engine to get sources from VSS server Thanks in adv ...Show All
Visual Studio Team System Synchronizing Predecessor Info between VSTS and Project
Since developers will probably not look at MS Project and will look at VSTS, we feel that predecessor information needs to be captured for Tasks, since tasks frequently have dependencies. Hence, we added a custom field in the process template to specify task predecessors. However, the predecessor information specified in VSTS does not get synchronized with MS Project. Also in VSTS, the predessor info contains VSTS-ass ...Show All
Visual Studio Team System Post build steps and TFS
Hi all, I have a big broblem with TFS Here is the problem: I have a solution containing more than 200 C++ projects. Each of them has some post build steps that copies the output (and also configuration files such as XML) to a specific relative pathed directory. This works fine on desktop computers, but it does not work on TFS. What I observe is that TFS tries to move all output files to a central directory (Binaries\Mixed Platforms\Rel ...Show All
Visual C# Speed comparison: Filestream.Seek vs. StreamReader
What's the fastest way to access the contents of 300,000 variable length "records" in an asynchronous manner A "record" is a text file approximately 20KB long. Here are some possibilities that I've considered: 1. Store each record as a file & store the file path location (ie: C:\test.txt) of the record. Use the StreamReader class (and File location ability of Windows Operating System) to locate, open, and read the file. 2 ...Show All
