Suresh Bansal's Q&A profile
.NET Development DataTable's question in class ?
Please tell me why I received errors when doing this: class MyClass : DataTable { public MyClass():base() { DataTable dt = new DataTable(); this = dt;// errors occur here, what can I do to let dt to "this" } } Thank you for your help. class MyClass : DataTable { public MyClass():base() { mySqlDataAdapter = new SqlDataAdapter(command,connection); my SqlDataAdapter.Fi ...Show All
Windows Forms Toolbar strip and TextBoxes
Dear All, Does Toobar strip now allow addition of controls like TextBox, buttons & combo-boxes Thanks & Regards Sunil Additionally, you can inherit from ToolStripControlHost and provide strongly typed properties, methods and events - this  ...Show All
.NET Development WSE 2.0 with ASP.NET 2.0 BETA
There was a thread posted regarding Beta 2 WSE 2.0 Compatibility .. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2064 But there was no specific reply if WSE2.0 works with VS.NET 2005 ( not the Team version ) or not. If it does work , is there any example you could help me with Thanks Shripad WSE 2.0 SP3 will install with VS2005 and in the majority of cases is works fine. There are ...Show All
Windows Forms Could not load file or assembly Interop.SHDocVw
I get the below error when loading the windows form designer in Visual Studio 2005. It only happens on forms that include an undocked MS word preview section. It worked fine when I had the project in VS2003. Has anyone had this problem before Does anyone know how to fix it Cheers Paul. Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its depen ...Show All
Windows Forms Disable item in listbox
Does anybody know how to disable a particular item in a listbox I know how to disable every single item but have a need to disable certain items only to display them (greyed out) but not let the user select them. Any suggestions would&nb ...Show All
Windows Forms Error msg of pre-requisites??
Hi, I am creating a Setup and Deployment project for creating a Windows Installer. I have to check for pre-requisites of SQL Server, If SQL Server is not installed i have to abort the installation. I did this using the Launch Condition Editor, but soon after I run the .msi the error message pops up saying SQL Server is not installed, before the Welcome screen appears. I want the error message to pop up after the welcome screen. Also I trie ...Show All
Visual Studio Team System How do I completely delete a project?
I am using the beta 3 refresh of TFS and was unable to delete a project from Team Explorer. I then tried running TFSDeleteProject, which deleted the project but left the portal and data reporting pieces. Shouldn't deleting a project entail deleting everything that was created Yes, deleting a project should delete everything that was created. The Beta 3 Refresh version of the tool had some problems that have bee ...Show All
Visual Studio Tools for Office What could the ERROR be
I have created a outlook com addin using VSTO that reside in outlook. The plugin is basically displaying a msg to the user that a new mail has arrive and what is the content. The plugin run fine when using pop account. The problem arise when the user is connected to the Exchange Server. When the event kick in on new mail arrive, the outlook would crash and thus causing the outlook to terminate. What could be done to resolve this issue.. and wha ...Show All
Visual Studio Express Editions Is there any db included in the VB ISO download?
Is there any db included in the ISO download of VB Express or do I also have to download SQL express as well Either flat (txt file) or dynamic (Acesss or SQL). Thanks The SQL Server Express engine and systems are installed with the Express IDEs. To create tables and such you will have to do this inside the Express IDE or by using the command line tools for SQL Express. The other option is to also download the Ex ...Show All
Software Development for Windows Vista DelayActivity with presistance
hello, I've a delay activity that fire every 3 seconds but the problem is once the workflow goes idle i presist it and then nothing happend and the timer is gone is there's any solution for this problem specially that i always read that the timertrackingservice within the workflow run out of the box Regards, Tamer I think I see what you are doing. I would probably write a custom activity that registere ...Show All
Visual J# Creating a Dataset - by dragging table from MYSQL database
With Oracle database, I used to be able to create a dataset by making a database connection in the server explorer and dropping the table onto the dataset designer view. Can you advise if the same would work for MySql database and how. I get the foll error : Mouse drag opertaion failed. The table, view or table-valued function named ''parts'..'PO_mast'' could not be found. Foll. is the error if I try to add a Table Adapter using the wizard, when ...Show All
Visual Studio Express Editions Creating applications
I was wondering if i was able to use Visual Basic Express Edition to create an application for my windows mobile xda If not then which software would i need to start programming for this Thankyou in advance. I a very new to the scene but can program in VBA fairly confidently Have a look at the comparison of versions of Visual Basic/Visual Studio: http://msdn.microsoft.com/vstudio/products/compare/default.as ...Show All
Visual C++ Error LNK2001: unresolved external symbol "__declspec(dllimport) public: class CString __thiscall
Hi, I am trying to use 3 rd party API interface in VC++ module. Below is all that I got in the package. CdCore.dll CdCore.lib CdCored.dll CdCored.lib CdDefs.h CdSdk.h This is my program #include <cstdio> #include <conio.h> #include <sys\types.h> #include <string> ...Show All
Windows Forms PropertyGrid Guru needed for Custom Editor Problem.
If my custom drop down editor(which is basically a multiline text box) is removed from view because the user pressed escape, then I need to know so the propertygrid can ignore any changes made. My 'fantasy vb code for the EditValue function&nb ...Show All
Windows Forms Design mode of custom control hosted in UserControl
Here's my problem. Throughout my code in a custom control I check to see if it's in design mode. If it isn't I don't do anything, if it's not then I do. (I have to do this because I'm using MSHTML and it works as soon as&nbs ...Show All
