Landale's Q&A profile
Windows Forms viewing changes in datagridview
using vb 2005, i have a datagridview setup through the wizard. The datagridview is strictly for viewing purposes only, no editing is done via the actual datagridview. All changes are done via code, however then the datagridview does not reflect the changes until i restart the application. How do I get the datagridview to refresh with the new data that was entered via code thanks to anyone who will try to help. ...Show All
SQL Server Quick Import Wizard Question - Importing XML Data
Hello, I want to import some XML data from the internet. For example, http://www.somexmldata.com/ returns some well formatted XML data that I want to import into SQL Server 2005. If I create an Integration Services Project it's easy - I use an 'XML Source' and specify the URL as the 'XML location'. Job done! However, I want to do it using the Data Import Wizard - how do I accomplish the same thing Many thanks, Ben ...Show All
Visual Studio Express Editions Running an Application from my Application.
How do you run a different program from your program Example: You make a simple program that has five buttons: Word, Excel, Powerpoint, Outlook, Acess. What code could execute Word, Excel, or any other program if one of these buttons was pushed You can use the Start method of the Process class to start other applications ...Show All
Windows Forms How can I open Form by form name(string) with out instantiate, such open("Form1")
Hello. How can I open Form by form name(string) with out instantiate, such Open("Form1") Thanks. @Draiko, YES! this is the code that i was looking for!. Regards ...Show All
Windows Forms List All Forms In Project
I want to be able to list all forms in the project and also to manipulate with controls within them. I genereate the code as below: Dim MainAssembly As System.Reflection.Assembly Dim cWinForm As System.Type Dim WinType As Type Dim WinTypes() As Type MainAssembly = System.Reflection.Assembly.GetExecutingAssembly cWinForm = GetType (System.Windows.Forms.Form) WinTypes = MainAssembly.GetTypes For Each WinType In WinTypes I ...Show All
Visual Studio HELP!! export data from asp.net web page(s) to pdf
When I export my report to pdf, it will insert a blank page between each pages. How can I do You may also be interested in this blog article about logical and physical pagination in RS: http://blogs.msdn.com/bwelcker/archive/2005/08/19/454043.aspx -- Robert ...Show All
SQL Server Service broker b/w 64bit and 32bit
Hi: I wanted to make sure some things clear before setting up service broker. I have enterprise server as 64 bit and local client servers as 32 bit. I would like to know what steps do I need to take care when I am setting up service broker b/w sql server enterprise editon 2005(64 bit) and sql server express 2005 client server(32 bit)...any special considerations ... Thanks, Pramod Nothing special. All SQL Server 2005 RTM/SP1 S ...Show All
SQL Server PROBLEM W/ OLE DB COMMAND
In a data I'm trying to implement an Ole DB Command to do a database table update. When I enter my sql command I get an error saying [OLE DB COMMAND [5926]] - unable to retrieve destination columns... It appears it doesn't recognize the table I'm trying to update, however I do have a sql task in the control flow that is successfully selecting a row from the same table that I'm trying to update (just to prove that I can access that ta ...Show All
Windows Forms Listview Control
I'm looking to use the listview control but I would like to have a red and green light displayed in the first column. Does anyone know how I can do this Thanks Is the ListViewItem's icon not functional enough You can  ...Show All
Visual Studio Team System New Project creation fails: initialization of plugin failed, Microsoft.Pcw.Rossetta
Hi, Trying to create a new Team Project and it fails, following is the error log i get. Please help. Regards Deep ************************************************************* 07/20/2005 10:08:04.037 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://net2005:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0.0100394 seconds 07/20/2005 10:08:05.152 | Module: ELeadServiceMediator ...Show All
Windows Forms Traping keyPress in cell (datagrid)?
Hi, How could i trap/capture keyPress event inside of the datagrid I could do it by adding an handler to each column, but looking for easier (less code) way. Thanks The answer is: AddHandler dataTable.ColumnChanging, AddressOf GridColumnChanging ..... . ...Show All
Visual Studio Tools for Office Outlook Event (Flagicon changed)
Using VSTO I want to create a sub procedure when Flagicon of the email in the inbox has been changed How to capture flagicon changed event, I mean what event will be fired when you change flagicon of your email Privage Sub 'NeedEventNamethatwillbefired End Sub While Outlook does not fire a specific event for the flagicon change you can use the PropertyChange event on the MailItem object to grab ...Show All
Visual C# How can I cover the menu item's shortcut?
Supposed I have a form with KeyPreview=true and a menu item whose shortcut is CTRL+C. Add a Textbox on the form. When I select some text in the Textbox and press CTRL+C, the selected text just can not be copied because system just call the menu item's OnClick event handler. And then how can I copy the selected text via CTRL+C, that is to say, how can I cover the menu item's shortcut Onclick event handler in some particular situations Your& ...Show All
Visual Studio Team System Team Project creation fails by failing in task SharePointPortal
Hi, after migrating a "full functional" installation of Team Foundation Beta3 to Team Foundation Beta3 refresh containing two Team Projects we cannot create new team projects. The existing projects seem to work. The log points to a sharepoint problem while creating the team web site. The installation is a single server box. The migration was done as described in http://msdn.microsoft.com/vstudio/teamsystem/b3rmigrate.aspx The sharepoint servi ...Show All
SQL Server the name of the trigger
I am calling a CLR stored procedure from my CLR trigger and would like to pass the name of that trigger as an argument to the procedure. How can i get the name of the trigger and save it into a variable Have you looked in the event data of the trigger context I have never tested this, but I believe you can get the event data of the trigger as XML with some code like below. SqlTriggerContext stc = SqlCont ...Show All
