hello one's Q&A profile
Windows Forms Treeview Issues
I have an "afterSelect" event as so: private void activeMalfunctions_treeView_AfterSelect( object sender, System.Windows.Forms.TreeViewEventArgs e) Within this event I have: if (activeMalfunctions_treeView.SelectedNode.IsSelected == true ) Essentially what I need is this; I need a set of buttons to become Enabled ONLY when the user selects on a node within the treeview. The method I have used doesn't seem to care if there is a node selected or not. Any help would be much appreciated. Thanks in advance. ...Show All
Windows Forms Email button to launch default mail client?
In a web page, you can put in a mailto: link on a hyperlink and it will launch the system-specified default mail client with that address. How do I do the same from within a windows forms application from a control <u>OTHER THAN a web browser control</u> Use the System.Diagnostics.Process class. Process.Start("mailto:address@example.com"); ...Show All
Windows Forms Files
I want to run a vb.net program(exe) file from my house pc. The pc at my house does not have .net on it, so what dll files must I put on my pc with my program to let it work Thinstall seems to be a really cool thing. I think I heard the licensing was something like $4000 per application, though. Too rich for& ...Show All
Visual C# How do I select Images from my External DLL?
Hello, I've made an external DLL for my Icons/Images. The Image dll is nothing more then a resource file. So now I want to use this DLL in my projects but here's the problem. Calling the pictures by code is no problem. But i want to use them in my designer. When I click on the Image property I get a window (VS2005) -Import but this one wants .bmp,.png,.. -Resources but this one wants a .resx file from my project So how do I solve this problem hmm.. you see the designer makes this this.. // // Form1 // the form1 code // //textbox1 // textbox1 code // //picturebox1 // put it here maybe he will not delete it ...Show All
Visual Studio Team System My one-penny opinion about this edition, and of course I'd like yours
Hello everybody, I just finished and review for Database Professionals. Very interesting features are "inherited" from Visual Studio Team System: change control and work item tracking, unit testing (very good!), refactoring, and also parallel execution of T-SQL queries. About specifing features, well, it's a nice thing have them out-of-the-box, but I think a medium-experienced developer shoudn't have difficult and write a VSTS plug-in to emulate Schema Objects management, Schema Compare, Data Compare and Data Generator using SMO. It doesn't suprise me this edition would be practically "gifted" to all Visual Studio Team Suite customers :) ...Show All
Visual Studio Express Editions using lib files
How do i use a compiled lib file in a project. I dont have the original project. only the .lib file en some .h files Thanks for al help Take a look at http://msdn2.microsoft.com/en-us/library/ba1z7822.aspx on how to pass a lib file to the linker. Just make sure the lib is also built latest compiler or CRT in order not to have conflicting symbols. Thanks, Ayman Shoukry VC++ Team ...Show All
Visual Studio Express Editions Executable icon in Win32 project
In visual c++ 6.0 I could set the icon by including a bitmap resource, but I haven't figured out how to do this in vc++ express. Is it even possible There is no resource editor in VC++ Express. But you can still add a rc file to the project and add an icon file to it. BTW: There is no way to add an icon by including a bitmap. You always must add an icon resource. ...Show All
SQL Server How to concatenate constants and expressions in report field
I was receiving [BC30205] End of statement expected Error when I tryed to concatenate: =INT(AVG(Fields!HT.Value)/360) ":" &INT(AVG(Fields!HT.Value)/60) Please hlp! Thank you. You must convert to a string type. = CSTR(INT(AVG(Fields!HT.Value)/360))+":"+CSTR(INT(AVG(Fields!HT.Value)/60)) ...Show All
Visual Studio Team System Subfolder overwrite issue in Team System RTM
Hello, We've run into a frustrating problem with the Team System RTM involving drag and drop operations in the IDE that overwrite files in subfolders. The issue is illustrated here with an animated GIF movie: http://blogs.vertigosoftware.com/teamsystem/archive/2006/03/31/Subfolder_overwrite_issue_in_Team_System_RTM.aspx James Manning confirmed this as well, so I think it's a bug in the RTM. I need to figure out a few things now: 1) Can anyone can think of a good workaround for this bug In other words, how do we overwrite existing files in the IDE with new versions 2) Is there any ETA for a hotfix on this bug How long will we have to wai ...Show All
Windows Forms Export/Import Data
How do Export/import data from excel/word to SQL server 2000/or Access 2003 using VB.NET. HI Jebat, One way of transfering data from sql server to excel is to user the DTS. The following article explain it. http://support.microsoft.com/Default.aspx kbid=319951 Cheers, VJ ...Show All
Visual Studio Can you change the VS05 Help (MS Doc Explorer) code samples font?
Its a horrible font and very hard to read. Can you change the typeface on it Wowser, that's the first time we've heard that. I will forward this recommendation to the documentation design team for consideration. ...Show All
Visual FoxPro Cursor Adapter
Good afternoon gentlemen. First, it forgives me the weak inlges. I speak of Brazil. It would like to know, if it goes to exist updates in the one in the Adapter Cursor. A SP(n) for example. I felt lack of the possibility of being able to make relationships between the cursors to adapter. Thanks, Itamar Bom dia senhores. Gostaria de saber, se ja existe, ou vai existir, algum update para o Cursor Adapter. Algum Service Pack por exemplo. - Sinto falta da possibilidade de fazer relacionamentos entre os cursores, criados com o cursor adapter. Atenciosamente, Itamar ...Show All
SQL Server File Enumerator does not show after install of SP1
I used the SSIS tutorial just fine with no problems. But then I installed SP1 for SQL2005 and now in the Collection screen for a Foreach Loop Container I no longer have an option for Foreach File Enumerator in the drop down for enumerators. Any suggestions or fixes Can you check to see that Microsoft.SqlServer.ForEachFileEnumeratorWrap.dll has been installed Donald Farmer ...Show All
SQL Server import hierarchical data
hi folks, I have to import hierarchical text files like: 32;country;city;postalcode;street 21;name;firstname;salutation;title;age;nickname 21;name;firstname;salutation;title;age;nickname ... additionally I have to eleminate doubles. what is the best way for this problem I have set up a flatfilesource with two columns and a conditional split on the first column so now I have an output with [country;city;postalcode;street] and one with [name;firstname;salutation;title;age;nickname]. How do I split this in columns, put it in a dataset keeping the relations and remove doubles Iam looking forward for any helping idea. rgrds, matze 1. Use ...Show All
SQL Server How do I drop sql server mobile database when ...?
How do I drop sql server mobile database at specifical time in my application in PPC And, How do I drop it when user input the worng password third times in my application in PPC Thank you very much. Simply delete (or open and fill with junk) the database file at particular time or after user entered incorrect password too many times. ...Show All
