Answer Questions
George Steel Converting back to VS2003
Hello all, I am sorry to say but we have wasted a week and 1/2 trying to get to VS 2005 and we have to go back. I have been developing software for over 15 years now and this MS release is the worse I have seen. We are having very bad performance issues, source safe thinks it needs to check unrelated files out, the IDE simply crashes, etc. Has anybody went to VS 2005 and then back to VS 2003 If so, what types of issues did you run ...Show All
Fotis Tsitsirigos How do I resize the image in the picturebox?
I'm using VB 2005. I know how to resize pictureboxes but is there an easy way to resize the actual image in the picturebox Thanks for the reply Brendan. I'm having some problems getting that code to work the way I want to. I get the error Paramenter Not Valid with the code "Dim bm_dest As New Bitmap( _ CInt(bm_source.Width = Width), _ CInt(bm_source.Height = Height))" Here is the entire sub ...Show All
Daniel Joubert read text
I am making a program that will need to use a configuration file. it will be a simple text file. I need to know how i can tell it to use the text in a file as a value in a hidden textbox in my app. I worded my question badly. I am not taking a class, I an doing it freelance. I am making a program for use in the school. And the text file is just one line. It is just storing the name of the person because the sc ...Show All
Nick W Efficient Threading
Guys, Creating an app that's essentially a Telnet server. At the moment, I've got two threads: 1) Listens for connections and accepts them 2) Checks to see if any clients have sent data that is waiting to be read. Is that enough for a basic Telnet server, considering that I may have up to 2000 connections online at once Or should I have a thread for each client Cheers, everybody! Will You don't want you appli ...Show All
Buk usu VBA and missing tab characters in ReadLine from Scripting.TextStream
Hi When I try to read a line of text from a Scripting.TextStream object with the ReadLine method I see that any tab characters that were in the original file have been deleted. They have not been replaced with space character(s). This mucks up my ability to parse the line of text. I tried playing with the Format argument but this didn't help. Does anybody know how to solve this Many thanks in advance Dim FSO As New Scripting.F ...Show All
GtGyal MTX, Oracle client 9i and Oracle 9i DB
I am not sure i am posting my question in the right forum but would you please help me if you can My system is in a 3 tier environment. Client: VB binaries running on Windows NT and also on Windows Xp Transaction Server: Windows NT 4.0 Server (with Option Pack, Service Pack 6 and MDAC 2.5 SP 2) , VB Dlls on Microsoft Transaction Server (i do not know the version, how can i get the version ), Oracle Client 9i Re ...Show All
dedwards152723 Building a Data Base inside VB from Scratch
I am trying to build a database inside VB from scratch...........usally i have used vb6 where i had the tools.How do i do this same thing in VB Express Edition Bata Version. Use the Database Explorer: View -> Database Explorer will open the window or tab for it from the menu at top. You can create the connection, and then build the entire database and populate it as needed as well. ...Show All
Madhusudhan Enter to go to the next TextBox????
Public Sub NextLine( ByVal ad As TextBox, ByVal da As Keys) If da.KeyCode = Keys.Enter Then ad.Focus() End If End Sub I want to enter text in a textbox and when i hit enter i need it to go to the next textbox....Instead of writing a KeyDown event for all my textboxes i tried to write this function but it doesnt seem to work saying that option strict on dissallows late binding.....Any help I thought i ...Show All
Jayakumar A Hide and Show Forms
In Visual Basic 6.0 it had Whatever.Hide and Whatever.Show commands. In Visual Basic 2005 Beta 2 it does not recognize the .Hide and .Show commands. What is the right commands for this program Hi, I just tried it and it works. Remember the default-instance was re-introduced in VB2005. Unlike in 2003 in which you'll have to create an instance of your form in order to use it: Dim frm1 As New Form1() frm1 ...Show All
Tien Tran How to Send IR Commands in Visual Basic
I wanted to know if any of the ideas below are possible to do in Visual Basic, and if so, how to do them: 1. Is it possible to send IR codes as hex values to the Lego Mindstorms RCX, and then have it send the IR command to a TV, DVD, ect. 2. Is it possibel to send IR hex codes to a TV or DVD player directly using either the Lego Mindstorms USB Tower or RS232 (Serial) Tower 3. Is it possible to do the same thing as described above but wi ...Show All
dotnetuser10 Help With Code
I have got this bit of code which I have written, but I don't know how to say Number = (Any Number). So the effect would be if the text in TextBox1 is a numeric value, it would do the calculation. Otherwise it would display "You Must Enter A Number Into The TextBox" in the toolstrip status label Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Number = If TextBox ...Show All
abhivyas HOW TO: Return a value to batch file which launches the application
Hi, My VB app makes use of a batch file to launch its various instances. Disregard the use of the runas command in the batch file, the DOS window would stay on screen until the app exits. I wonder how the app can be coded with a return value back the the batch file to close upon successful launch up TIA ...Show All
camelo Subnet Mask
how to get subnet mask using vb.net 2.0 I am looking for that too. You can however get that info from win32 wmi class lib. Win32_NetworkAdapterConfiguration and the IPSubnet is the property of that class. But how the heck do u do it in .net Everyone has given the example of how to get the IP Address using this code Dim IpEntry As System.Net.IPHostEntry = System.Net.Dns.GetHostEntry(Environment.Mach ...Show All
marcusp show tablenames in combobox
I want to list the tablenames of a MySql DB in a combobox, but i do not have any idea how. please help me! OleDbConnection.GetOleDbSchemaTable I started writing the code in VB6 and converted it later into VB 2005. Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Th ...Show All
Marian Negru IDE apparently not releasing memory and loosing controls
OK, I'm having a really hard time with this one. It's never happened to be before and I've been working with VB for a number of years. I'm developing a small application using all vanilla code in VB6. When I run the application in the IDE the memory usage grows with application usage. it's as if memory were being allocated and not released between forms. Related to this is the fact that twice I have run the application and at the end one of my f ...Show All
