Answer Questions
Israel Brewster Print Spooler won't start
Can anyone help solve this problem, all printers have dissappeared from printers and faxesm any attempt to add printer says print spooler not running. I have followed Microsoft suggestions for restarting and get errors 1068 and 1053, nothing seems to work. I am trying to avoid a reformat if at all possible. The problem occured shortly after installing a new printer Lexmark 6200, though not immediately. I was able to use the new printer for 2 days, I then took my laptop to work and used it with other printers at work. At home again used the Lexmark and then next day at work no printers. A problem with the lexmark looping in scanner mode was stopped by removing the usb cord which iam concerned may have caused some sort of corruptio ...Show All
Tryin2Bgood How to cancel the click event and go back to the form?
Hi I have a form that is called to input data to the database. What I want to do is wend the user clicks ok, check the input (made throw 2 textboxes) and if it is improper return to the form, without runnig the rest of the code or stepping over the code that called it. Tanks ReneeC wrote: exit sub But if i exit sub it thas not return to the form it gives back the ok value and goes on. this is the code that call it: Dim resultado As DialogResult resultado = Fcanais.ShowDialog If resultado = Windows.Forms.DialogResult.OK Then Select the button in the designer and set its "DialogResult" property to "None". Make the Click event hande ...Show All
robmad CType Trouble
I am trying to make a small amount of code save me from having to manually write everything out. What I have is this so far Dim Box As CheckBox = CType (sender, CheckBox) Dim W As Integer = 1 For W = 1 To W = 7 If CType ( Me .Controls( "rC" & Box.Name.Substring(W)), CheckBox).Checked = True Then CType ( Me .Controls( "rW" & Box.Name.Substring(W)), CheckBox).Checked = False ElseIf CType ( Me .Controls( "rW" & Box.Name.Substring(W)), CheckBox).Checked = True Then CType ( Me .Controls( "rC" & Box.Name.Substring(W)), CheckBox).Checked = False End If Next W I want it to check if rW1 is checked, and if it ...Show All
Kate Boothby help needed
hello all, this is in reference to my earlier thread about displaying data in a messagbox using an attribute from a listbox this are the codes for it: private void listBox1_SelectedIndexChanged( object sender, EventArgs e) { if ( this .listBox1.SelectedIndex > -1) { this .dogetdata( this .listBox1.SelectedItem.ToString()); } } private void dogetdata( string itemChosen) { conn.Open(); SqlCommand cmd = new SqlCommand ( "select fname from Profile where noPlate = '" + itemChosen + "'" , conn); SqlDataReader rdr = null ; rdr = cmd.ExecuteReader(); if (rdr.Read()) { string name = ( string )rdr[ "fname" ]; ...Show All
OOMama Web Browser
I am making a web browser with tabbed browsing and i need help with the address text box. When i type the address it comes up in the newest tab, even if that is not the currently selected tab. This is the code i am using for the tabs Dim tab As New TabPage Dim wb As New WebBrowser wb.Dock = DockStyle.Fill AddHandler wb.Navigating, AddressOf webbrowser2_Navigating AddHandler wb.Navigated, AddressOf webbrowser2_Navigated tab.Controls.Add(wb) tabcontrol1.TabPages.Add(tab) TabControl1.SelectedTab = tab TabControl1.SelectedTab.ImageIndex = 0 WebBrowser2 = wb WebBrowser2.GoHome() And this is the code for the URL box WebBrowser2.Navigate(ToolStripTextBox1.Text) With this newly c ...Show All
abhi_rock_star Install express visual studio c# authority
I am trying to install Express Visual studio C# on Windows 2000 and getting the error: "You must have administrative privileges to run Visual C# 2005 Express Edition Setup." I know from Microsoft website that installation on W2000 no need administrative privileges. Somebody knows solution for this I appreciate any help. Thank you, Andreas. You will need to be an admin to install VS Express. Can you point me to the doc which states otherwise lostromich wrote: It states that administration id need only for Windows Vista: You should install it as administrator on all windows versions. The text you refer to can als ...Show All
hellomahesh Test Manager dropping and duplicating tests from the list
After having some serious problems with Test Manager spontaneously dropping and adding test (for example, tests will suddently show a "Test [TestName] does not exist in the test list" I tried to find anyone else that had a similar problem. After some searching, I came across http://kjellsj.blogspot.com/2006/04/vsmdi-file-weak-spot-of-vsts-test.html which describes the problem we're having to a tee: In particular, Kjell-Sverre's describes the problem that they [...] from time to time get "The test 'TestName' does not exist in the test list. It may have been moved, renamed or deleted". Yesterday, the 'Test Manager' showed all tests duplicated in the test lists. Today, another developer saw just some chinese characters when openin ...Show All
regthesk8r How to display a .xls file data in my form or tab page?
Hi, how to display a .xls file data in my form or tab page Can the data be edited from the form or tab page so whats the difference between the typed dataset and untyped dataset So how to connect to the .xls file possibly, some times its case sensitive so instead of Sheet1 try sheet1 Where is the file located currently the code I posted looks in the application startup directory, the file may well not be there therefore you will need to modify the path of where the file is you need to Import the System.Data.OleDb namespace: using System.Data.OleDb; OleDbConnection theExcelConnection = new OleDbConnection ( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application .StartupPath + "\\Book1.xls;Ext ...Show All
jamal_faiye Debugging environment
In VB6 and the old visual studio (and I am told also in Visual Studio 2005) there is a capability to run an application in the debugging environment and start another app that might be used with this one. I do not see the option to start another app on the VB express debug tab. The app I am building is a class library (dll) and will run with the other main application which is an exe. I did this all the time in VB6 to debug the program, although then the program was an exe. Thanks for the reply, but as my orignal question stated, it is not available inon the debug tab in VB express Yes, Visual Studio will have this available for you. ...Show All
aguess VCSExpress Database Explorer does not have SQL Server 2000 option ?
Hello, I have recently installed Visual C# Express ( VCS Express ) and also Visual Web Developer Express (VWD Express). In VWD Express` Database Explorer, I can connect to the following five data sources :- - Microsoft Access Database File - Microsoft ODBC Data Source - Microsoft SQL Server - Microsoft SQL Server Database File - Oracle Database But in VCS Express` Database Explorer, I only have two data source options listed - Microsoft Access Database File - Microsoft SQL Server Database File Is it possible to connect to SQL Server 2000 from VCS Express` Database Explorer Thank you for your time and for responding, Best regards, James Hi JamesC2000, I have connected to a ...Show All
Thibaut How to make a search box in an application
Hi. I have a database that has a table named "Main", this table has 4 elements "ID, Blue Number, Year, Description" . What i need is how can i make a form that has only a search box to search using any given blue number, and once the blue number is entered into the text box the program will search the database for all other elemnts to that blue number. Anyone can help plz Hi DMan1, thanks for replying. Well, i still got some error. After modifing the code as below : Dim MyCommand As New OleDb.OleDbCommand Dim MyParam As New OleDb.OleDbParameter Dim MyConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mems. ...Show All
woodland30033 Changing a work item from one to another
I have a tester that has entered many bugs as issues. Is it possible to easily (key word) switch the issues to Bugs, or from any work item to another It would help me a lot. Sorry - there is currently no way to change a work item instance into another type in V1. The only (easy ) option available to you in V1 is to right-click on a work item and select "Create Copy of Work Item". We'll look at adding the capability you're asking for in future versions. Is this a common or important scenario for you Thanks, Ah, ok - you may also want to check the recent tfpt (power tool) bits. Assuming the number of work items here is large enough to warrant scripting, you could call "tfp ...Show All
Sameer Bhatnagar Learning resources
Hello, I tried to use the learning resources to get started with Visual C# Express Edition, but after having downloaded the second lesson (on Windows form) three compilation errors were shown. Here they are: Error 5 The type or namespace name 'RaftingContainer' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference ) D:\Documents and Settings\storassa\My Documents\MSDN\Absolute Beginner-Lesson02CS\Lesson02\Form1.Designer.cs 716 38 Lesson02 Error 6 The type or namespace name 'StatusStripPanel' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference ) D:\Documents and Settings\storassa\My Documents\MSDN\Absolute Beginner-Lesson02CS\Lesson02\Form1.Designer.cs 7 ...Show All
ShoreNuff How to identify if the entered data in text box is a string or a integer
I am making a small program for maintain the employee records with their ID numbers and their names. For this i have created two text boxes one for ID number, and another for the name. Now if the user enters a name in place of number and a number in place of a name in the relative textbox , i want the program to send a message back to the user to identify his error and to make the necessary corrections. How do i do that . Kindly help. This will make my program more accurate in its use. The following will check for numeric entry and could be included in a button click event. If Not IsNumeric(TextBox1.Text) Then MessageBox.Show("Please enter a number") TextBox1.SelectAll() TextBox1.Select() End ...Show All
Yulia Favorites in webbrowser help!!???
ok im making a internet browser and i added the addtofavorites option and a favorites drop downlist these are the codes im useing Private Sub Favorites_DropDownItemClicked( ByVal sender As Object , ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles Favorites.DropDownItemClicked WebBrowser1.Navigate(e.ClickedItem.Text) End Sub Private Sub AddToFavorites_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddToFavorites.Click Favorites.DropDownItems.Add(WebBrowser1.Url.ToString) End Sub and when i add a favorite it gos right and everything but when i close the app and reopen all my favorites are gone how do i ...Show All
