Tom Hirst's Q&A profile
Windows Forms Multiple installs, multiple versions, multiple sources
We've got a situation where our consultants will go into multiple customer sites and have to run a specific application that's installed from servers at each site. The customers may each be on different versions of the application, but the consultant will have one laptop and will need access to each version. Will ClickOnce set up different instances of the app in different folders automatically If not, how can the application, or manifest, be modified to allow for this I know I can't change the install location itself, but I do need the described behaviour to be supported. Will simply changing the codebase attribute ...Show All
Visual FoxPro older scatter gather, and VFP.
Hi; I have a form which the user fills. The info the user enters need to be added as a record in a table. In the Foxpro2.6 world I used to do this by letting the user edit empty memory vars, and then append blank / gather from memvar. I am wondering if there is a better way to do this in VFP9 I know I can use buffering then tableupdate(), but that requires that I would append blank FIRST before I let the user edit the fields. I would like a way for the user to edit the fields, and if he cancels out, to be able to revert the table to its condition without an empty record. I think maybe transaction processing might be ...Show All
Visual Studio Express Editions Problem with bound Checkboxes
I am developing an application in V C# Express and am having a problem with binding checkboxes to bit values in SQL Server express. This happens if I drag the control from the datasources window or if I make a new checkbox and bind it to the field in the database. The default value for the checkbox is unchecked, which should equal a bit value of 0 if I understand it correctly. When I call this.audited_ItemsBindingSource.EndEdit(); I get a null not allowed exception for the field bound to the checkbox. It doesn't matter if I leave it unchecked or if I check it, it is still generating the expection. Hi, Pl ...Show All
Visual C# Textbox help
Ok. I have a layout, and what it is, is just a basic calculator. Set up like this: Textbox1 - textbox2 - textbox3 - textbox4 - textbox5 Ok, that way this works is..in textbox2 and textbox4, the user is able to enter any operator he wants, X, +, -, /..blah blah blah..while in textbox1, textbox3, textbox5, the user is able to enter any integer. I want the program to be able to calculate and get the results no matter what two operator he/she choose..whether is "6*5+4" or "7/12*85". I hope you understand what Im trying to say. Please respond. You can parse text to integers using Int.Parse. You can use a switch to implement the results. ...Show All
Visual C++ Memory Leak in C++ STL library - Visual Studio 2005
There's something wrong with the ios_base class in Visual Studio 2005. I was debugging my program and I noticed a memory leak. Since I could not understand what was causing that leak, I've tried using a memory leak detection tool (Rational Purify) and I found that the ios_base class causes a memory leak. I just tried to write this piece of code #include <sstream> int main(void) { std::stringstream myStream; //nothing else return 0; } The memory leak detection program tells me that: --Memory leak of 4 bytes from 1 block allocated in --std::basic_iostream<char,char_traits<char>::std>::basic_iostream<char,char_traits&l ...Show All
.NET Development XmlTextReader
Been trying to read a simply xml file. Looked at and tried a few samples with no luck. Funny thing is, I do this all the time in actionscript. But, here is the xml file.... < xml version ="1.0" > < Parms > < Name > test1 </ Name > < Uname > test2 </ Uname > < PW > test3 </ PW > < Server > smtp.isp.com </ Server > < Pop > smtp.isp.com </ Pop > < Email > email@isp.net </ Email > </ Parms > And here is a sample I have been trying to get to work. XmlTextReader myReader = null ; myR ...Show All
Windows Forms How to catch the row change event in a datagrid?
Hi everybody, How to catch the row change event in a datagrid I'm using VB.NET. I have a datagrid filled from a table. I want to raise the row change event when the user selects a row. I found the code for it in C#, but I want an example in VB.NET. You are right, it doesnt have the Row Change Event implicitly. You will most probably have to use either the CurrentCellChanged event or the Click event. There is a protected event also for row header clicks : RowHeaderClick ...Show All
SQL Server Random variable modeling using T-SQL
Good day. i'm a new person here and not that familiar with T-SQL... the question is: is there any buil-in functions or special libraries in T-SQL that can help to generate correlated random variables with non-normal distribution function It would be also good if someone could advice if there is any application (statistical programm or non-microsoft developed library) that can deal with MS SQL and has modeling and forecasting capabilities... thanks in advance Well, since no one else has answered yet, I will chime in with an " " answer. I am not clear with what you want, though it is ...Show All
Visual Studio 2008 (Pre-release) Webcast from the Atlanta Code Camp online
For anyone who is interested, WROX has put the webcast for my LINQ/VB9/C#3 presentation online. Feel free to check it out at http://www.wrox.com/WileyCDA/Section/id-291776.html and let me know what you think. It is mostly ain introduction to the language changes that enable LINQ and doesn't cover XLINQ or DLINQ explicitly. Jim Wooley http://devauthority.com/blogs/jwooley/default.aspx I just found out that 750 people have watched this video at this point. If you watched it, I would appreciate your feedback as I am continuing to improve the presentation. I am scheduled to appear at the upcoming Greenville SC Code Camp and hopefully th ...Show All
Visual Studio Team System What does MS use for Requirements Management?
I know that Microsoft is dogfooding VSTS, but what are you using for requirements management I have seen on these forums multiple posts about Caliber RM for Team System and most say that if you are really serious about requirements, you won't use VSTS alone. I highly doubt MS is using Caliber for their requirements management, but I guess pigs do fly from time to time. When VSTS was used to build VSTS, did you just use scenarios to capture the requirements Just a, observation, since I don't work for MSFT, but the impression I get is that most MSFT teams use MS Office apps - Word, Excel & PowerPoint to manage requirements and specif ...Show All
Windows Forms DataGridViewComboBoxColumn value is not valid
howde... I decided to move towards VS-2005 after seeing that the Datagrid has be revamped to included comboboxs, buttons, images etcs.. I noticed that the Dreaded Tablestlyes has been dropped (YAAAARR!!!!) any way after useing for about a day scratching my head.. I keep getting DataGridViewComboBoxColumn "value is not valid" dont make sense to me.. btw I am not useing the wizard as I need to dynamically create Colums.. ok here is some code., shorthand code ----------------------------------------- (assume all sql statments are correct and datagridview is setup) datagridview1.datasource = dtCompany datagridview1.Autogenerate = fa ...Show All
Visual Studio Generate documentation under .Net 2.0?
I really need to generate some documentation under .Net 2.0. I know that this issue has been raised in a previous post few month ago, but no explicit solution has been provided. Also the NDoc project seems dead (as suggest the broken wiki). Does anyone has a practical (even minimal) solution to generate documentation for .Net 2.0 Thanks in advance, Joannes Hi All, If you haven't already seen this, here is the hyperlink to the latest NDoc05 Beta on sourceforge: http://sourceforge.net/project/showfiles.php group_id=163095 Hope this helps, Kind regards, Frank M. Palinkas MCP, MCT, MCSE ...Show All
SQL Server Can SSRS 2005 be installed on Windows XP SP2?
I installed SQL Server 2005 Developer edition on a Windows XP SP2 to run side by side with SQL Server 2000 dev edition and SSRS 2000. Can SSRS 2005 be installed to run on Windows XP SP2 Thanks Yes you can. I have RS2005 installed on my portable computer (with Windows XP SP 2) and it's work fine - even the development tool (VS2005). Of course you need to have IIS installed on your computer. Good luck. ...Show All
Software Development for Windows Vista HyperThreading, multicore support with LongHorn build 5270
Hello, I'm running LongHorn with a Proliant ML570G3, quad CPU Intel with Dual-Core. Hyperthreading is not enabled. However, I'm seeing 16 CPU's in the device manager, and 8 CPU's (cores) with task manager. Task manager is right, device manager is not. Any explanations thanks, ...Show All
Visual Studio Question about Microsoft.VSSDK.UnitTestLibrary
What is the expected way to handle strong-naming for this library My test package(s) are all (delay) signed and using this library for testing fails because it is not strong-named. I assume that it's OK to build this locally so that I can sign it for use in my project(s) If so, what is the suggested usage of this library Should it be included in each solution it is used in We are investigating. As a workaround, you can skip the strong name verification for this assembly using sn –Vr Microsoft.VSSDK.UnittestLibrary.dll ...Show All
