Neil Kiser's Q&A profile
Visual Basic toolbox items greyed-out
I have just installed VS 2005, and I am trying to add dateTime Picker to the form, but this item is greyed out. How do you activate greyed-out items in a toolbox tab Thank You, Kamal I have created a web form, and it's in the design-view mode. I see dateTime Picker under "Common Control" tab, but it is still inactive. Is this control available for web forms How do you check the version of the tool, and how do you update them Thank you, Kamal ...Show All
Visual Studio Express Editions Print what is in text box
l want to print the text inside my text box Try this code: Private Sub Button_Print_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Print.Click Dim TempPPD As New System.Windows.Forms.PrintPreviewDialog TempPDoc.DocumentName = TextBox1.Text TempPPD.Document = TempPDoc TempPPD.ShowDialog() End Sub Private Sub TempPDoc_PrintPage(ByVal sen ...Show All
Visual Studio Express Editions Chart Control
I have upgraded a VB 6 application that has a chart. The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported." Source="WindowsApplication1" StackTrace: at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180 &nb ...Show All
Visual Studio Team System Incredibly (astronimically) slow performance on new RC of TFS
We upgraded from beta3 to RC on TFS. Also ran the 2.0 hotfix. I uninstalled the client (had no instances of vs2k5 running) and installed the new RC team explorer client. I also installed the 2.0 hotfix on my local computer. Now the SQL server runs on 100% load.. 'TfsVersionControl.dbo.prc_QueryItemsExtendedLocal;1' is running It loads the solution fine to a certain point, but then freezes. Getting latest from team explorer goes fine. Branching is successful, opening the branch, however, was not successful. It resulted in the same kind of freeze / cosmic slowness. On 1 out of 10 times, I managed to load the solution. From there it was fa ...Show All
SQL Server Connection managers - OLE DB
Hi There Quick question.In DTS when you had multiples tasks connecting to the same Database, it was reccomended that you create multiple connections for the same database and let each task use a different connection, thereby making a new connection for each one. In SSIS if i define 1 OLE DB connection to a database, but i have say 6 tasks using that connection that run simultaneously, does eachone open a new connection to the database to make it more efficient Or do i still need to define multiple connections to the same database and assign each task a different connection Thanx Did you have retain same connection set to true I don't h ...Show All
Visual C++ C++/CLI constructors initialization sequence
Hi all, I’ve been translating a C# program to C++/CLI and I saw something that I thought It might or introduce unpredicted results to my code. A virtual method was called from inside a base class. That was enough motivation for me to debug the code, and actually find out that it was the virtual method of the derived class which was actually called from the constructor of the base class! During this debugging session though, I also discovered that the constructor of the base class is called AFTER any initialization of the member variables of the derived class! I’ve searched for some info for constructing objec ...Show All
Visual Studio Can't get CSharp Web templates using GetProjectTemplate (bug?)
Hi, I'm trying to get the a CSharp version of a custom template for a Web application and I always get FileNotFound exception. I tried putting MyWebApp.zip file in the local User's template folder and the VS Web templates folder (and ran devenv /setup) and none of that is working. I tried the example given in another thread for VS Built in templates solution.GetProjectTemplate( "WebApplication.zip" , "Web" ); and it always returns the Visual Basic template and I can't get the CSharp version. Even if I try: solution.GetProjectTemplate( "CSharp\\1033\\WebApplication.zip" , "Web" ); ...Show All
SQL Server Refresh of Dataset Takes forever...
Hello, I have some SQL that I am going to base a report off of. The code runs in about 30 seconds. I am trying to "refresh" the dataset in Reporting Services so I can build my report and it is taking forever. Is this normal functionality It is extremely frustrating waiting so long. ...Show All
Windows Forms drag and drop a TreeNode
Hi, I have System.Windows.Forms.TreeView that contains many TreeNodes. is it possible to draw a TreeNode and its children to another TreeNode thanks for your help Hi, I replied to this in the other post you made. You should try to avoid posting in duplicate so we don't have to answer in duplicate :) ...Show All
Visual Studio VSS Setup with Dreamweaver
I am trying to implement VSS with Dreamweaver in the following way: (a) We have test code on one server. (b) We have production code on another server. (c) I have created the VSS db on a third server. In Dreamweaver, I created a new test project as follows: Local View points to a directory on my own PC. Remote View points to the VSS db (c). Testing Server points to the site on the testing server (a) It looks like I am setup to do the checkout, checking process which updates the testing server correctly. My main question is how do I publish the file changes into our production server (b) Do I need to create ano ...Show All
Visual Studio Express Editions Inheriting Form Issue in VB2005
Hello All, As usual, I think I'm doing something that's not "Kosher" in trying to inherit a form to a new Item. I get a ton of errors including data connection, etc. The solution works and builds, publishes and all that, but there seems to be settins somewhere that are pointing the inherit function somewhere else. Please Help...I don't want to redo all of those controls and buttons again on the new pages. Thanks, Elgee... PS...Any ideas on how to map the numeric keypad to a masked textbox I can't figure out how to advance the digit after a mouse click...I can only get one digit to enter ...Show All
Windows Forms Custom object collection to a GridView control
Is it possible to Edit/Update the grid view control which is binded with a custom object collection I have a created a custom object collection by implimenting the base class System.Collections.ObjectModel. Collection . Created a object collection successfully and binded to a gridview control through " Boundfield Template" option avilable in the gridview property. I have bounded the columns successfully and get displayed the gridview. Here my problem is that i need to implement Edit/Update functionality in the Grid View. How do we implement Edit/Update option in a gridview which is bounded through the object collection p ...Show All
.NET Development Check conflict before update datas using a DataAdapter ?
Hi, I want to test possible conflicts using a DataAdapter before the Update. I want to perform the following operation: if ( checkTable("table1") == true && checkTable("table2") == true etc.... then DataAdapter.Update("Table1"); DataAdapter.Update("Table2"); etc... It's possible Thanks, Yves Teissier, France. Are there a method in order to check Or I have to write it Thanks. ...Show All
Visual C++ WH_CALLWNDPROCRET hook into Gina
Hi, I am currently working on hooking into GINA functions. I know i can use WH_CALLWNDPROCRET hook to hook into windows procedure to display my own dialog for retrieving user credentials. And then I need to monitor for WM_INITDIALOG, WM_SETTEXT, and WM_COMMAND.But I got lost when i implement them, coz i can't single step debug them when I test them on windows logon. Can anybody tell me the basic idea of where and what my code need to do in WM_INITDIALOG, WM_SETTEXT and WM_COMMAND Many thanks, Andy What about reading the manual and the MSDN This are standard messages that can be tested within every normal ...Show All
Windows Forms Focus stuck on button
SCENARIO: Inventory form loads up you type in a record number and the record information appears. You click the RelatedDocuments button which brings up a treeview of all of the related documents. You double-click a Purchase Order node and the Realted Documents popup closes and the Purchase Order screen loads. Close the Purchase Order screen and the inita ...Show All
