Answer Questions
Visual C# Novice try-end try in a property
I get errors when I place try and/or end try either before or within the property declaration and/or the end property declaration. Is there any way of catching errors within a property or an overloaded property dennist685 Here's my Property in class Employee Public Overloads Overrides Property Name() As String Get &n ...Show All
EricVanRoy [vb 2005 expr] removing empty lines in a text file
I have a text file 'abcadadabra.txt' such this: *************** some text other text other text again *************** Of course *************** are NOT part of the file: they here represent start of file and end of file. There are some empty lines (at the start of the file, in the middle and at the end) I want to remove from this file (keeping the newline at the end of every non-empty line!!!). I mean that my file should be like this: * ...Show All
goffj68 Web Hosting problem
Hello ; I have completed a small asp.net application and wnat to test it remotely on a server, but when i click on web hosting link on the startup page, the following message appear: " This feature requires that you have connected to the internet previously or are currently online." although my connection to the internet is working fine. Any help to this problem Thanks Hasan the first thing one could think of is that you should configure ...Show All
Ver Argulla Jr. Displaying list of text in a TextBox
I'm a novice programmer and I have a very basic question. I am trying to display text in a TextBox, with one caveat. I need to be able to insert "carriage returns" or force the text onto a new line. I am using the text box to display the results of a numbered list. How can this be done As a work around I am using Word to display the results, but ideally the application needs to be able to display the results in a text box. Thank ...Show All
ChasOnline Full-Screen Display Mode in VB.NET Console App?
Anyone know how to do this in VB.NET Thanks in advance. Adrian Mannella Since a .NET console app runs from a command line (Start->Run:CMD) the screen size is determined by CMD.EXE (or alternately COMMAND.COM). You'd have to set the instance of the CMD/COMMAND program to full screen. I don't think this is something that your app would have any control over. Yeah, that's what I thought. I was ...Show All
Md Shahid Ibrahim Shortcut problems
I created a VS 2003 deployment project and I've set it up the way I want, even with a custom installer class. At first I had shortcuts on the desktop and in the program files that were working. Now, the shortcuts will uninstall the program if you double click them. When looking at where they are pointed, they show the installation folder and not the executable. I've recreated the shorcuts and changed other things, but not ...Show All
Wim_M Using .NET Class from Word 2000 (as COM)
Hi everybody I create a new classlibrary.comclass (.NETFW2.0). I need to programming this from Word2000. Everething is working on my dev. pc, but after deploy it another pc, Set cl = New ClassLibrary.ComClass1 gets an error "-2146232576 Automation error". How can i solve this Thanks a lot. Was the classlibrary compiled with the Have you registered the COM component on the Register for COM In ...Show All
tom stucki VB .NET/VB 2005 Express/ VB 2005
Hi. Ive decided to move from VB6 programming and Im not really sure where to go.. Ive got a copy of VB .Net 2003, and Ive also downloaded VB 2005 Express edition, with a possible view to getting hold of Visual Studio 2005 to program VB 2005. The problem (and confusion) that I have is - what is the difference, and which should I turn to Am I right in assuming that VB.NET 2003 and VB 2005 are different, or am I ok to learn .NET 2003 until the 200 ...Show All
Gary Fuhr lists in a loop
I have a program that is going thru a tag line .txt file line by line and in this loop it checks the contents of this line to see if a member of a list, ListOfBoundaryFileVariables, is in it. while.. If CurrentRow.Contains(ListOfBoundaryFileVariables( Any )) The problem is I want to write Any like above but that doesn't work. Any ideas on how to check it this way Steph Okay you will need to ha ...Show All
sondlerd How to write a sub for several checkboxes at once
Hello, I am brand new to visual basic, so please excuse me if this is an easy question. I have a form with several checkboxes. I want to make it so that if any checkbox is checked, its label goes from gray to black. I have figured out how to do it for one checkbox, but I can't figure out how to handle many at the same time. Here is what I have so far: Private Sub sidingStyle1Include_cb_CheckedChanged( ByVal sender As System.Object ...Show All
malik anees File Open Dialog
I am trying to code to get the File Open dialog.How do I do it Can anyone post a sample code, please I am sorry to have not mentioned this before. I am using VB6. Try this: Dim dialog As New OpenFileDialog() If dialog.ShowDialog() = Windows.Forms.DialogResult.OK Then MessageBox.Show(dialog.FileName) End If Thanks a ton for all you ...Show All
Phillip Franklin Trapping Function keys (F2)
How do i trap for function keys when inside a control (text box, inkedit)...KeyPressEventArgs only fires off for the ascii set... Thanks, Dan Hello. You just need to look at something like the KeyUp event for the control. Private Sub TextBox1_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp If e.KeyCode = Keys.F2 Then 'do s ...Show All
skaufer SQL query for HD system to get to correct data
I am creating a vb.net command-line app that will produce a report from our helpdesk system on a scheduled basis. I have the following table structure timeStamp - Date/Time RuleID - Text(50) ResultId - Text(50) The RuleId are the Ids of the different server process that we monitor. The ResultId can be a 1 for Success, or 3 for Failure. Entries are only added during a falure, and the a recovery from the falure. Each entry will be a new reco ...Show All
MichaelSh setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the tot ...Show All
BenoitM VB Express 2005
Hi all, I just downloaded and installed VB Express 2005 Bata 2. When I ran it and select "New Project" and "Window" app, I get 5 dialog boxes that says: Title: Package Load Failure Package 'Visual Studio common IDE package' has failed to load properly (GUDI - {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}). Please contact package vendor for assistance. Application restart recommended, due to possible enviroment corruption. Would you like to disable load ...Show All
