Answer Questions
DGalle Installing Visual Basic 6.0 on .NET Server with VB .NET installed
I'd like to know if there are any issues involved with installing Visual Basic 6.0 on a Windows Server 2003 server with VB .NET installed. Thank you. Got it. Thanks for your help Steve! There shouldn't be any issues - VB 6 and VB .NET can be run side-by-side, and in fact we recommend that you have both installed if you are going to be ugrading VB 6 projects. Hope this helps, Steve Hoag the V-Bee No need to worry - there is no ...Show All
aaronp Catch user mouse click events in window.
Is there a way I can catch all the user mouse click events inside Window Thanks! "I want to collect user information about where he/she clicked inside the window" Oooooh. I read this as to whether they clicked in the window or not. The control mouse event with it's event argument is exactly what you want. Check out the Control.MouseDown event. You can always capture mouse clicks. Some are more work than others. The ...Show All
xiewob Read only datagrid
I'm trying to create a "view only" grid that does not show the add record row at the bottom of the grid. In my test program contains two tables: Events Tournaments An Event can have 1 to many Tournaments. I create an oledbdataadapter for Events and generate a dataset (DataSet1). I create another oledbdataadapter for Tournaments. The dataset generated off the second adapter is added to D ...Show All
CyK automation to download executables
I'm developing an application to download exe files from an http site. Everything works great up until I try to launch the downloaded executable. I either get nothing, or I get a cmd window open and then nothing. Here's the code I'm using: Public Sub Download(ByVal parstrFileURL As String, ByVal parstrURLUser As String, ByVal parstrURLPassword As String, ByVal parstrFilePath As String, ByVal parstrFileName As String) Try Dim ...Show All
Aaron Cheng Macro in VB.NET ?
Hi, I repeat the same code a lot of time and was wondering if there is an equivalent to the C #define in VB.NET. Any idea will be helpful. And I don’t want to go into reflection, this is only for esthetic not for usability. Here is an example: Private Sub SaveFile() Dim active_window As ProjectGroupWindow ...Show All
sined nivuach vb.net console app loads uxtheme.dll
Hi, I was testing out for how to make vb.net not load vb.dll at runtime and the code is like this: Imports System Module MainModule Sub Main() Dim s1 As String = "abc" Dim s2 As String = "abc" If String.Equals(s1,s2) Then Console.WriteLine("done") Console.ReadLine( ) End If End Sub End Module The above code was compiled as a console app. Strangely I ...Show All
Jeff-B Shell Method
How can I load a folder up in the windows explorer uk_boy wrote: It still does not work!! Command.file1 is a textbox in a form. When I run it I get an error saying that it is not a string. Can I change the textbox so it is regonized as a string If it is a TextBox then you need to use its Text property to get the string it contains. I suggest you explore the classes you are using a lit ...Show All
Terry Thrift Searching via a textbox string
Hi... I'm just jumping in to VS2005, and have tried to create a simple database search that will return all the items that are similar (begins or like ) text in a 3 column database table. The form has an input textbox, and a datagrid, similar to the output of an ASPRUNNER-PRO page...only I don't want a web page, I want to do this on a form. Everything IO've seen and read pertains to bound data to text boxes, whic is the opposite of what I am try ...Show All
Melissa_Janet Q: Installing a keyboard hook
This is actually one question, although a bit compound. Let me explain what I'm trying to do... I'm trying to write a program that will monitor all keys pressed by the user and save them to a text file for later review. I'm a complete novice here, but I know I need to use some form of hook to monitor the keypress event and return the value of the pressed key. Every example and tutorial I can find on hooks is for VB6, a different language, ...Show All
Lorelei How to halt a program???
Let say i have two program called program A and program B, i run program A, but inside program A, i use [call shell(C:\....\programB.exe)] at the 2nd line of my codes in program A, how do i stop program A at 2nd line, until i finished running program B then only continue execute the rest of the code from 2nd line in program A Please help, if you dun understand wat im saying above, u can ask ...thanks a lot!!! jerry ...Show All
Edward R. Hunter How to edit a text file by searching and replacing a character within it?
I want to edit a text file by searching and replacing all quotes " in the file with replacing them with pipes | The text file name is mbaddress.txt and it is located at c:\ I need to do this programatically in vb.net. I already know how to open the file in a text editor and manually search and replace them. I just need some general direction to what vb commands I need to look at to do this within a program. Thanks so much in advance, ...Show All
Armoghan Scrolling questions
I have two datagridview tables with related data (the reason they are in seperate tables is one is databound, one is not). They both have several columns and when one scrolls, is there anyway to make the other one scroll also Or is there a way to use a scroll bar control to scroll them manually and turn off the automatic scroll bars Thanks! ...Show All
Marcelo Battagliese VB6 > .Net Conversion Error: Character Device names?
Hi At my wits end... I am experiencing a problem when trying to convert a rather large VB6 application into a .Net 2005 application. Everytime I try to convert the project I get the following error: "Upgrade Failed: Exception occurred: Can't use character device names in file names" The weird thing is i have tried to convert the project using .Net 2003 and I do not get the error, it does convert. Can someone point me in the ...Show All
Richard.Watson setup.exe question
I created windows app with vb 2005, ready to install on a user machine by running application’s setup.exe, I get application warning Application Install Security Warning – Publisher can not be verified. Don’t know any other way to get publisher name to appear. Was using solution’s property window – Publish/options to set up publisher name and product name, it takes product name, but not publisher name, anybody has an answer for that. ...Show All
Target Su. Shared Classes
I thought I read a while back that VS.NET 2005 would introduce a way to specify that a class is shared without having to use a private constructor. I know that C# 2005 supports the static keyword for this purpose. Is there a similar technique in VB Thanks, Lance Hi, Yes, the Module in VB already provides the same kind of behavior: Module: http://msdn2.microsoft.com/en-us/library/ ...Show All
