adamoverlock's Q&A profile
Windows Forms add value to registry
hi i am trying to add a value to the registry to make my program start at startup in : SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ but i dont know the syntax for that, i think its something like : My .Computer.Registry.LocalMachine.SetValue ( "SOFTWARE\Microsoft\Windows\CurrentVersion\Run\JPCI", "C:/JPC/webbrowser/JPCI.exe" ) ect ect but can someone give me the correct syntax what i mean is that i want ...Show All
Windows Forms Iterate through all tab pages in tab control - how to hide this from user
RDD wrote: * I have a form with one TabControl with 2 TabPages, with one TextBox on each TabPage . Result of running this Form: * The TextBox of the visible TabPage gets bound very well, and displays the property value. BUT, the TextBox of the second TabPage remains blank. Can somebody provide with a solution Mark Rideout wrote: Just to let you know -- I'm investigating this. The ...Show All
Windows Forms Read file
hi i have a text file i wnat to read it line by line and add each line to a listbox can u tell me how Checkout the <strong>TextReader</strong> and <strong>TextWriter</strong> classes, which provide the most basic functions  ...Show All
Visual Studio Express Editions LIKE Operator
Hi All. I'm having trouble with using the Like Operator from VB using the Adodc control. As a test, I have 1-field, 1-record in a 1-table database: Table: Test Field: Keyword Value: Testing I have my adodc connection string set up working fine. I try this query: "SELECT * FROM Test" And it selects the one record it fine. The problem comes when I add the LIKE Operator to a WHERE clause: "SELECT * FROM Test WHERE ...Show All
Windows Forms dataview
I am populating a windows DataGrid using a DataSet at the moment. (i.e. DataGrid1.DataSource = Dataset1) Now by checking the checkboxes on the form, I would like to filter out some of the rows in the grid. I think I have to use a DataView. Do you know how to do this please Thanks You will have to use, indeed a DataView for the dataSource of the dataGrid. For example, we have a data set with 2 tables (school and ...Show All
Windows Forms How can I insert user defined data to a virtual listview?
Hi All, I downloaded the c# code for virtual listview from windowforms.com ( http://www.windowsforms.com/ControlGallery/ControlDetail.aspx Control=214&tabindex=9) and tried to play it a bit. I understand the concept, but still have problem to add user-defined data to the listview. Is there anyone tried the virtual list that Ben Williams wrote before and implemented your own code in it I would like to know how to insert some "real data", not ...Show All
Visual C++ another c++ question
I have this program with some errors that I cannot solve. Any suggestions Mark started a trust fund for his niece Mary. He started it on her first birthday with a deposit that was a product of her age and her mother’s in dollars. He got the idea thinking about the coincidence that Mary and her mother have the same birthday. And every birthday since, he has done the same, deposited an amount that was the product of their new ages. A great ide ...Show All
Visual Basic How to open 2000 Excel using VB.net 2003
I can open 2003 Excel with window XP using VB.net 2003. However after creating a set-up, the excutable can not open 2000 Excel with window 2000. I have add Microsoft Excel 11.0 objext library. The code is very simple. Should I add a Excel 9.0 library How to define which library to be used Dim ExcelApp As Microsoft.Office.Interop.Excel.Application 'Excel.Application Dim wrkBook As Microsoft.Office.Interop.Ex ...Show All
Visual Studio Express Editions Problem with bootstrapper breaking connection
I have had problems with the downloader (bootsrapper) for VS Express breaking the connection and not being able to complete the download. There is a solution: disable the power-saving functions on you machine. Downloads will then work fine. ...Show All
SQL Server Error 1418, fails to connect mirror server
I I use the mirroring wizard to config all these three servers(windows authorization is used), the error logs in primary server and mirror server are showed as below a) On primary server: Error: 1474, Severity: 16, State: 1 Database mirroring connection error 4 'An error occurred while receiving data: '10054(An existing connection was forcibly closed by the remote host.)'.' for 'TCP://mymirror.mydomain:5022' b) ...Show All
Visual Studio Tools for Office vsto for office v3 requires winfx runtime compoments but incompatible with workflow foundation beta 2 ?
I have an enviroment with SharePoint Services 2007 B2, Office 2007 B2 ,SharePoint Designer 2007 B2 , windows workflow foundation B2 and Visual studio 2005 installed. Now i want to install vsto for office v3 (2007) - june CTP. It requires winfx runtime components. I tried to install the beta 2 version of this however this install tells me it's incompatible with windows workflow foundation B2 that I needed to install to make Sharepoint Desig ...Show All
Visual Studio Team System Power Toy problem
When ever I try to use the tfpt.exe power toy I get the following error. Method not found: 'System.String Microsoft.TeamFoundation.VersionControl.Client. WorkspaceInfo.get_ServerName()'. Has anyone else seen this Thoughts I have tried the exe that is in the VS installation folder, as well as the version included with both the October and February SDKs Thanks in advance. MikeH We are working on getting ...Show All
Windows Forms ***FIX*** Error installing Winforms 2.0 application with ClickOnce deployment
Hi. I have an Winforms 2.0 application that I want to deploy using ClickOnce deployment. I have tried it and the deployment seems to work. I get the webpage where I can install the application from, but when I try installing the application I get an Windows error dialog and a '.NET Runtime 2.0 Error Reporting' entry in my Windows eventlog. Detailed error message: EventType clr20r3, P1 app.exe, P2 1.0.2211.28810, P3 43d0fb04, P4 mscorlib, P5 ...Show All
Visual Studio Team System Unshelving
Assume that developer X has shelved a web project with the shelved name of jschmo20060209d. Developer Y wants to view this project and modify some of the code. How does developer Y view all the shelved copies of a project and then select one and open it up http://msdn2.microsoft.com/en-us/library/ms245465.aspx has directions, but my Source Control menu does not contain any option related to shelving or unshelving. Assume Beta 3 Re ...Show All
Software Development for Windows Vista WinFX RTC December 2005 Not working with December Vista SDK
There's a problem with the WinFx RTC download for December 2005. The links on the page http://www.microsoft.com/downloads/details.aspx familyid=BD3BA2D5-6ADB-4FB2-A3AA-E16A9EA5603F&displaylang=en There's a link to download the entire WinFx RTC package instead of the "smart" installer. http://download.microsoft.com/download/9/4/9/949EEA41-364A-45DC-8F4E-47E7AC147D25/winfxrc.exe I checked the time/date stamp in the downloa ...Show All
