Neil Waldie's Q&A profile
.NET Development Xml problem in finding a particular element when reading
Hi guys. What it the best way to do this I Have an xml file in this format <Countries> <Country> <ID>1</ID> <Name>Italy</Name> </Country> <Country> <ID>2</ID> <Name>France</Name> </Country> <Country> <ID>3 ...Show All
.NET Development Is it necessary for me to learn .NET Framework?
I am studying vb.net now,and i am eager to be an excellent vb.net programmer. So i want to know that is it necessary to learn .net framework. Thanks! In the .NET World, the language less important as compared the Framework since language just exposes the capabilites of the framework. Knowing the framework is extremely important and the language is just a means to use the framework. Omce you have a good understanding of the framework, ...Show All
Visual Basic Newbie - Problem spawning a thread
Hi, I'm kind a new to this VS .net stuff. I'm building my first application in VB.net. It's a crystal report scheduler using multithread functionality. The program works fine on my machine, but when I deploy it, the part that suppose to spawn the thread doesn't work. Other part of the program works fine, but when it's time to spawn the thread, nothing happen. Any body got any idea Any help is appreciated. Thank you, Rudy ...Show All
Windows Forms User control problem in ASP.NET using C#
Hi, I created a user control that lists some links from the database (this is a RadioButtonList control). When the user clicks a button, i want to read the value part of the selection (using SelectedValue property) and then redirect the user to  ...Show All
Visual Studio Team System Finally - Installed and Working - Upgrade Question
So I finally got TFS installed and working, I am running everything from the April CTP. I could not get the June CTP of TFS to install with the April CTP of SQL. It seems that the .net framework versions were incompatible. How will i be able to upgrade TFS /Sql as new releases come out without losing all of my project settings and files There is not an upgrade script for all of the current releases and ...Show All
Microsoft ISV Community Center Forums Opening a Word file from a macro in Excel
I have some code that will open a Word document from a macro in Excel, but for some reason it won't recognize the Word file if the folders in the filepath have any spaces in their names. Here is the code: Sub MergeToWord() ActiveWorkbook.Names.Add Name:="MyData", RefersTo:="=Sheet1!" _ & Range(Selection, Selection.End(xlDown)).Address Shell "C:\Program Files\Microsoft office\Office11\winword.exe F: ...Show All
Windows Forms DataGridView and DataSet
Hello, i'm trying to connect DataSet to DataGridView in Whidbey beta 1, but no data are displayed. If i connect DataSet to old DataGrid, i see '+', then table and all rows. But DataGridView seems empty. Can anyone tell me, where is problem Dat ...Show All
Windows Forms prevent selecting next row when hitting enter key in datagridview?
how would I keep the current row selected after hitting enter on the row Hi Suedueno, You can derive from DataGridView and override OnKeyDown: protected override void OnKeyDown(KeyEventArgs e) { if ((e.KeyData & Keys.KeyCode) == Keys.Enter) return; else base.OnKeyDown(e); } The control won't go to the next row if the current cell isn't in editing mode. If you hi ...Show All
.NET Development Online/offline database sharing concepts
I'd appreciate some info on how to make an app with a database backend, that can (a) work as a web-based app, and alternatively (b) work as a standalone app with easily shared data files. Let's ignore development details for the app and focus on the data itself: I have an app with its own large proprietary data file format. Users of the app can currently share data files via e-mail and run the program anywhere, independent of an internet ...Show All
Windows Forms Combining ClickOnce and MSI Installer
Hi, I have been surprised by the gap there is between ClickOnce and MSI. And I need to solve this. The scenario is this: Install a windows form application on a client (registry values, files, folder creation) and use ClickOnce to just update the application. Any GOOD documents about it Thanks!!! Hi... thanks for the response. What I mean is that the msi will create registry values, and folders, and by using ClickOnce the a ...Show All
.NET Development System.Threading.Monitor.Enter (under the hood)
What do the threads that are locked out do when they are locked out And does the Sleep call help get { if(dsUsers == null) { if(IsdsUsersLocked) System.Threading.Thread.Sleep(50); lock(UsersPadlock) { if(dsUsers == null) { IsdsUsersLocked = true; dsUsers = (3 sec call to the database server accross heavy network traffic); IsdsUsersLocked = false; } } } return dsUsers; } The sleep call appears to help when dealing with 100 ...Show All
Visual Studio Team System I've lost access to my shared folders
After installing VS.net 2003 (academic edition), I've lost the ability to access shared folders on my computer from another, even though the settings on the folder, and on my firewall are unchanged. I do not use the windows firewall, so it is turned off. I have Sygate running, but even if I turn that off, I still cannot get in. The logs do not show anything from my own network. All I get is permission denied messages. Has anybody seen this and ...Show All
SQL Server Convert Date Format of 00-XXX-00 to NULL
Let me start by saying that I'm brand new to SQL Server 2005 and SSIS. I'm using the import wizard in SQL2005 to import from a flat file into a table and everything works fine except for dates. A typical date in my flat file is 01-JAN-06. 01 represents the day of the week, JAN represents the month and 06 represents the year. The flat file also contains date values of 00-XXX-00 which represent no date. For example a column containing last purch ...Show All
Visual C++ Mutual class denpencies
Is the feature Mutual Class Dependency no longer a standard ISO C++ e.g. class xxx1; class xxx2 { xxx1 r; ..... }; class xxx1 { xxx2 s; ..... }; MS C++ compiler version 12 does not compile the above code. The feature is mentioned in the book 'The C++ programming Language' second edition, Bjarne Stroustrup. Perhaps it is a traditional C++'s fea ...Show All
SQL Server Query Paging
let's suppose that we have a table entitled "tab1" which has more than 1000 rows and about 10 columns so in SQL 2000, if I do this query: SELECT * FROM tab1 the result will be displaying all the rows from the begining. and my teacher told me that there's a new option in SQL 2005 which is you can display the result of the query in a page mode. so can anyone tell me how can I do so for this query: SELECT * FROM tab1 ...Show All
