Answer Questions
Robotsrcool DataGridView automatically adding bindingsource columns in VS 2005 Designer
Hello, I'm experiencing an annoying problem with DataGridViews which are bound to class objects. All fields from my class objects are added to the columns collection of DataGridViews, when the forms or custom controls that contain them are viewed within the VS 2005 designer. I haven't been able to figure out how to stop the designer from auto-adding all of the fields found within the bindingsource object. Any help would be greatly apprecia ...Show All
StevenSw Using Enter to move to next text box
This used be an issue in VB6, I'm wondering is it better in vb.net 2005. Users like to hit [Enter] (or tab) to navigate from text box to text box. Now I know I can write code to trap the pressing of [Enter] on each text box key press event, but surely theres a better way Any advice, ideas appreciated. Thanks Vayse You can set the KeyPreview property of the containing form to true, and add an event handl ...Show All
andys987 Cannot update table
Hi, When using the code Try Me .Validate() Me .CustomersBindingSource.EndEdit() Me .CustomersTableAdapter.Update( Me .NorthwindDataSet.Customers) MsgBox("Update successful") Catch ex As Exception MsgBox("Update failed") End Try in the walkthrough given in http://msdn2.microsoft.com/en-us/library/0f92s97z.aspx , changes were not ...Show All
ColinD Need a VB6-to-VB.NET translation
I have a block of VB6 code to be translated into VB .NET if possible. The block of code reads as follows: Option Explicit Private Sub cmdClose_Click() Winsock1.Close End Sub Private Sub cmdConnect_Click() Winsock1.RemoteHost = InputBox _ ("Enter remote host (IP address or name)") Winsock1.RemotePort = 1066 Winsock1.Connect End Sub Private Sub cmdSend_Click() If Winsock1.State = sckConnected Then Winsock1.Se ...Show All
Sara Ford MSFT VB6 to .NET
I am currently supporting and developing a VB6 client based application that needs to be migrated to a web based application. I am know that we will be migrating to .NET but what will that mean that it will be converted to a web based application or what will it take at a high level to make it web based "what will that mean that it will be converted to a web based application or what will it take at a h ...Show All
danhood Programming to Physical Comptuer
Hello Once again, I need your help I want to know if there is a way that the programming that can affect the real physical computer such as the hard drive, motherboard, RAM, Power Supply, Drive Thank You! all answers to kn1123@gmail.com! I am unaware of any references that teach damaging computer systems. I'd have to understand what the question is..... Can you tell me why you are asking I've been in computing for thir ...Show All
evilc VB.NET Refering to a form through a compiled string varible
Hi, Ill get to the point, I need to be able to refer to a form through a string that has been made up of smaller ones e.g: dim part1 as string dim part2 as string dim fakeform as string fakeform = "SomeFormName" & part1 'i need to refrence to the form fakeform.command1.text = "Somthing !" I dont know if i need to change the 'dim fakeform as <somthing>' Thanks in advance, You can't directly cast a str ...Show All
JulieD Runtime Errors
Hi there I am involved in a product that has been known to develop some Runtime Errors. Many have been sorted out by the developer, but I have to search the net sometimes for resources. Does anyone here know of some good sites that help with Runtime Errors - do they give clear indications where the problem might be. The one I have had the moment is - Runtime Error 53 File Not Found. Like I say I am not the developer of this a ...Show All
KamranAmin lost the import dll: error 126
Please I need some help I keep getting a message, Import:dll missing or error ect. it says error 126, but I do not know how to re-install it if I can download it. Guessing here: do you have a Declare statement in your program that references "import.dll" If that is the case, you're working with a 3rd party DLL. You need to put it in a folder so that .NET can find it. Putting it in c:\windows\system32 would certainly wor ...Show All
Willis IT Visual Basic Compiler Error Hotfix
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to res ...Show All
xsdevnet Can't edit a Windows Application that's stopped
Why Console Application edits BUT Windows Application doesn't When I run a VisualBasic Windows Application, and stop or break, I can't edit the code. If I run a Console Application, I can edit just like good 'ol VB6. THANKS ! Hi Doug, It's always worked fine for me. What code are you trying to edit Unless it's form initialisation stuff it should be fine. What versioon of VS are you using Mark ...Show All
Torns Show user SQL Server Login Screen in ADO.NET
Hi, Is there a way to display a SQL Server login screen to the user so that the connection string can be dynamic Thanks, Dave 'Login form class Public Class frmLogin Private Sub OK_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim strConnectionString As String = _ "Integrated Security=False;" & _ "Serv ...Show All
Ken How to draw line in vb2005
In vb6, we can create a line on the form without code. How to create a line in vb2005 When I enter this line of code in a Button Command e.Graphics.Drawline(Pens.Black,102,56,29,200) I get this message......... 'Garphics' is not a member of 'System.EventArgs' Is it the case that VB2005 Express Edition does not support this...... Is it something I am doing wrong...... ...Show All
Zeus3 Opening .NET 1.1 project in VS 2005
Hi I need to open a project developed using VS2003, .NET1.1 in VS2005. I want to maintain it in .NET 1.1 and don't want to convert the soln to 2.0 since my production environment doesnot have 2.0 yet. how do i do this. Hi, you can try make a copy and convert the copy to 2.0. Once a projct is converted, there's no going back: you either work it in 2003 or 2005. But there is a difference between 'develo ...Show All
Jeff Reynolds I know VB.Net but I want to learn the basics of VB6 as quickly as possible
I use VB.Net but I have a requirment to learn the basics of VB6 as quickly as possible. (sorry I m going backward :). I m mostly familiar with VB.Net but not with VB6 Anyideas, thanks thanks a lot Here's a good site to get started with: http://www.profsr.com/vb/vbintro.htm#content There's also a tonne of great content at the VB6 Resource Centre: http://msdn.microsoft.com/vbrun/ Hope that helps, Jonathan Aneja The VB T ...Show All
