Tzal's Q&A profile
Windows Forms dataview count doesn't shows properly.
Hi I used dataview for a subset of rows , from a datatable. In that subset, there will be zero quantity and non zero quantity rows . and there may situation to move quantity value from one row to another row.(may be quantity can be moved from an existing row to a newly added row). after that non zero quantity rows has to be deleted. the dataview.item(i).delete works fine for, if I have more than two rows(either non zero or zero). The Problem is if I have Only one zero quantity row and another non zero quantity(newly created. quantity is transferred from that zero quantity to this new row). If I made attempt to delete that zero quantity rows. it deletes both row.(ie., the dataview.count shows 0 inste ...Show All
Visual Studio Express Editions Removing or editing items in a listbox
I want to write a function that will remove or edit the selected item in a listbox. I tried all sorts of things but I couldn't figure it out. Can someone help me please Thanks :) Try this: listBox1.Items.Remove(listBox1.SelectedItem); ...Show All
Visual Studio Team System Is 'Team system' the way to go for (2) developers??
Greetings, We have 2 or 3 developers working on one product in a small environment and don't want to add a whole bunch of overhead to the environment. We need the check-in/check-out functionality of files at least. We are all running VS 2005 Professional right now. Can you suggest the best way to go for this environment ...and what the administration / setup cost is (how hard to setup) as well as how expensive is the path Thanks in advance. Dan Hi Dan, Team Foundation Server exists in 2 version. The "Workgroup Edition" could be used by a maximum of 5 users only, and it's free if you have Visual Studio 2005 Team System licenses. Price is depending on your Microsoft contra ...Show All
SQL Server Unable to connect to Sql Server express using SQLCMD
Hello, I'm unable to connect to Sql Server express using SQLCMD. I've trawled through countless web pages to try to solve my problem but to no avail. Using windows 2000. I'm getting the message: HResult 0x2, Level 16, State 1 Named Pipes Provider: Could not open a coonection to SQL Server............... Sqlcmd: Error: Microsoft SQL Native Client : Login timout expired. I've enabled the various protocols in the Sql config manager...... Please help! Thanks, dom Use SQL Server Configuration Manager to make sure the SQL Server service is running. Double check the instance name of your installation - the instance name will be between the () when you view the service na ...Show All
Visual Studio 2008 (Pre-release) Is there something like RenderTargetXaml?
I'm writing an application that puts the user through a long workflow setting up a large model with many complicated parameters. This application will be generating a report, most likely in xaml based format, and I would like to copy the state of the configuration controls to the report in a vectorized format. So a function like the RenderTargetBitmap but with xaml encoder would be good. I've looked at : System.Windows.Markup. XamlWriter .Save but this saves refereces to my custom controls in the file, which isn't what I want. Any suggestions Howdy.. Do you mean that you are going to spit out a heap of XAML and you want that to then show on the screen If this is the case, then I believe th ...Show All
Visual Basic Trying to Implement a masterr / Detail Database Solution
Hi Paul, I am an old Basic language user for about over 25 years , i Have been through all the versions since Basica to Visual Basic 6. However I do not have experience using VB for Database application development or Pocket PC programming. I need at least one complete example that will teach me how to do VB programming with databases of at least two related tables (Parent and Child) , I have tried to find a complete Northwind example for VB, that will show me how to Add new records to the Parent and Child, How to Edit records (Parent and Child), Delete records (Parent and Child), etc. Can you help Thanks. Luis The topic "Walkthrough: Displaying Related Data on a Form in a Wi ...Show All
Visual Studio Whats does Details Grouping do?
I understand the normal grouping works. But I'm a bit confused about when you would press the Details Grouping button, and what it does. Anyone got a useful link Or even explain here. Thanks Vayse Thanks. The last line I can see is 'Now enter expressions in the detail row to display the group name and subtotals.' The sample picture below line doesn't load. Is it anywhere else ...Show All
SQL Server Regarding Collation for mirroring & Error 1418
Can I know is it possible that if the database servers' collation in both principal and mirror server might unable to get the mirroring Because one of database collation is Latin1_General_CI_AS while another server (mirror) is SQL_Latin1_General_CP1_CI_AS . I did several type of troubleshooting but still unable to solve the Error 1418. All the ports are stated as started, able to use telnet to connect to the server's port but still unable to get a connection for the database mirroring. I do really need help on it. Thx for the assistance and kindness. Best Regards, Hans Oic, means Collation will not causing the problem then. Domain account Is it 'Log on as ' Local Systemn, Local Service and ...Show All
Software Development for Windows Vista working from win form
I have a question. In the form when pressing the button, the workflow starts I wrote the following code in the button1_click event. I have used a my service for work with handle external method and callexternalevent activities Is this correct private void Button1_Click( object sender, EventArgs e) if (wr != null ) { wr = new WorkflowRuntime (); wr.StartRuntime(); } ExternalDataExchangeService dataExchange = new ExternalDataExchangeService (); workflowRuntime.AddService(dataExchange); MyService myService = new MyService (); dataExchange.AddService(myService); WorkflowInstance wi = wr.CreateWorkflow( typeof (WFizin. izinWorkflow )); wi.Start(); thanks ...Show All
.NET Development .Net version of "Regex Coach"?
I love "The Regex Coach" program ( http://weitz.de/regex-coach ), but unfortunately it is meant to work with Perl regular expressions, which don't have named groups. I tried a few other programs that were .net regex compliant, but these programs were not nearly as good as "The Regex Coach" in terms of robustness and completeness. Can anyone suggest a good .net "Regex coach" As I am sure you saw my generated reply in your post RegEx help , but for the sake of this post and others who may read it....I have been using Expresso by Ultrapico which the beta version is currently using .Net 2 as its underpinnings. It provides both a basis for regex work and help in generating regexes for learning. It is share ...Show All
SQL Server Sql query for Master Detail Record in One Row
I am having a table contains Nurse Detail like nurseid 1 address fname last name phone another table contains the exp detail in 28 different type of speciality nurseid specialiity year Exp. 1 icu 4 1 ccu 5 1 OPD 2 i need to display the record in datagrid as nurse Name ExamPassed Address MostExp SecondMostExp 1 toefl abc, india ccu icu if i use the select query to find the top two inside a datareader which collect the info. about each nurse this takes lot of time to complete this and many times gives Timeout error about(50%) is there any code to combine with the urse detail records as a column for speciality one and two. any stored procedure / se ...Show All
Visual Studio Express Editions Installer
Hi, I'm having trouble with all the installers I've tried, so I decided to create my own, but I would like in a single exe file, is it possible to store files (pictures, text) in the file, then place them in a different folder Hi, You could use WinZip self-extractor from the 1st link shown here.>> http://www.google.co.uk/search hl=en&ie=ISO-8859-1&q=winzip+self+extractor&meta = It allows you to create a file to store whatever image files etc and install them where you like on extraction. The files it creates don't need WinZip installed. Regards, S_DS ...Show All
Smart Device Development Arabization support (RTL languages localization)
i m wokring on mobile application targeting mostly on middle east customers, we want to add support for arabic language, but i see there is too little support in that regards. i might be wrong, please clearify my misunderstandings. Do we need a a localized device , though my culture show ar-SA , but still no text box support rtl, Numbers are shown using english script not the arabic one, is there any way to configure it , i tried to setup different regions via Regional settings, but no success, any help wil be appreciated regards Unless your device is localized in Arabic (all menus are in Arabic), you probably would need to do custom conversion from numeric binaries to strings. You would also need Arabic fonts available to display ...Show All
Audio and Video Development Can we use MS Jscript for HD-DVD advance Player?
I’m working on developing HD-DVD Advance player. Now I encounter a problem about how to impletion Jscript analyze when we develope software player for HD-DVD advance content. We find Spidemonkey JS Engine can satisfy this requirement. But I want to use MS Jscript, so I hope you can help me. Thank u! Thank u, Peter Torr! Can you give me some example about how to use Jscript ...Show All
Visual C++ Why is base class destructor unresolved in Release mode (VS2005)
Abstract base class, Foo, exists in library F Derived class (from Foo), Bar, exists in library B Module M uses Bar (but never Foo directly). Linking M to B satisfies all external references in Debug mode. In Release mode, however, linking of M complains that the reference to Foo’s destructor is unresolved. This seems inconvenient. It is caused by optimization because if you disable the optimization on M, there is no link problem. Can this behavior be justified Does anyone understand what sort of optimization is happening that causes this behavior Is there a way around this other than either disabling optimization or linking M to F (also setting M’s C++ Properties/Optimization/Whole Program Optimizat ...Show All
