Answer Questions
rsteckhan Gonna make me sound stupid
I know this is gonna make me sound stupid, but I have to ask anyways because I have no clue. I new at creating programs in Visual Basic. And I was wondering how to complete a program so that you can run it without having to open it with Visual Studio. For instance lets say that I wrote and alarm clock program for my labtop. Now how do I make the program so that it will work as a stand alone program without the need for Visual Basic Remembe ...Show All
AlexU Need FileSystemWatcher Advice
I am creating a “sweep” app for my FTP server (local, in my office, app to live on same computer) that will watch for new folders being uploaded and then move them to a pre-designated location. I am including in this app, a timed comparison check on the new folder size to make sure that the folder is fully uploaded before moving it. I assumed I would have the FileSystemWatcher on the same timed event, but apparently (I think) i ...Show All
Thomas Malbeck MSComm32.ocx in VB.Net problem
Hi everyone. A while ago I wrote a library which helps me simply text operations, serial communications, PLC interaction using OPC Automation, etc... My problem is with the vb6 serial control mscomm32.ocx. In my computer, I can use it with no problem. Everything works fine when testing serial control and my forms can open sucessfully. When I try to run a winform that uses Serial library (mscomm32.ocx) in a computer that doesn't have VB6 installe ...Show All
Sam Skuce updating an entry in a combo box
Hi I populate the entries in a combobox, and I've got a class to help me with this. e.g. Public Class clsCombo Public txtShow As String Public index As Integer Sub New ( ByVal pText As String , ByVal pIndex As Integer ) Me .txtShow = pText Me .index = pIndex End Sub Overrides Function ToString() As String Return txtShow End Function End Class Then, to add an entry I just ca ...Show All
Siri29388 Need label to show form gradient background color!
Ok, I've spent WAY to much time trying to figure out how to set a label to be transparent and to show the correct background color of my forms. I've been searching these and other vb forums and I'm finding conflicting anwsers (none of which seem to work). The only suggestion that I still haven't tried is drawing the text directly onto the form and bypassing the label control but this would mean updating around 1000 labels for the entire project ...Show All
hnuecke for loop issues with concatenating variable with text box
I have 10 text boxes textbox1, textbox2 ...etc I want to modify them with a loop this code does not work Dim w as int For w = 1 To 10 Me.TextBox & w = someStringArray(w - 1) Next w it does noe like the &, I tried + and () and [] and nothing works. Any suggestions thank you. nice, I'm gettin closer to solving this thing i tried the VB6 option and its giving me a compile e ...Show All
Steen L. Nielsen COM Interop, Property Get,Let,Set Interface Attribute?
Hello, We are in the middle of a rather large piecemeal upgrade of our VB6 system to .NET 2.0. We started in 1.1 and have sence migrated that code to 2.0. We have done a few of our libraries to this point, and are gearing up to upgrade a lot more of them in the next month or so. We ran into a problem in our first library that required a rather nasty fix and I was hoping someone could point us to a better solution. ...Show All
Nedrum immed?
In vb 6 I could use the immedaite window to do something like form3.DataGridView1.Width to see the width of a column... then form3.DataGridView1.Width = 800 to set it and see if it looks right.. then I'd write a procedure to set up data grid appearance. How do I do that in vb.net Getting furstrated... Brian (I should also mention just for the sake of completion for whomever else is ...Show All
Confused999 Try...Catch statement Question
I have a Try...Catch statement that contains 12 Operations inside it. On the catch I want to display a msgbox that tells exactly which operations failed. I was looking through the exception methods and couldn't find one that worked. All of the methods provided relative information but nothing specific. The reason I want to pinpoint exactly which operations failed is so that the user can email the error message to me and when I get it I will kn ...Show All
waterwalk Visual Studio 2005 Standard vs Professional
Hi, I am trying to decide between the Standard and Professional versions of visual studio. The only information I can find on the Microsoft web site with a product comparison is ... http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx this lists several differences which may/may not be of concern to me. Does anybody know where I could find more information on.... 1. The difference between the 'streamlined' and 'f ...Show All
Charles Wong My.Application.Log.WriteEntry writes double entries!
Has anyone had the experience in VB 2005 Beta 2 that when using the FileLog listener, each time My.Application.Log.WriteEntry is called to write a message, the message actually gets written to the <appname>.log file twice The log file is stored in directory "C:\Documents and Settings\<userid>\Application Data\<company name>\<appname>\1.0.0.0" with a file name of <xxx>.log and contains entries as follows: Defa ...Show All
Justin Daw Locking a member Variable in Memory
Variable life time is normally not a problem in VB but but I'm working in the context of a webservice and variable persistence is quite different. In a normal VB program Member variables are the variables common to all routines.... and not declared in a function or subroutine. They are assumed to have a lifetime for the lifetime of the program. In a normal program I can do this: Class Member variable Subroutin ...Show All
Kai Krause How to update a row(s) content in a datagrid
Hi everyone, I am using vs 2005 vb/asp .net and I have a datagrid that I need to allow the users the ability to update rows. I have the grid at the point where you click edit on a row and it gives you the text boxes. Once they click update I don't know how to get that value and save it to the DB. Any help would be greatly appreciated... thanks rich Hi, What datasource are you setting the d ...Show All
Nethol String to Hexadecimal
Hi folks! I need to be able to convert a string, including both text and numbers, to a hexadecimal value. Currently, I can convert numbers to hexadecimal, but it will not allow for text in any way: Dim MyHex As String MyHex = Hex(txtPassword.Text) MessageBox.Show(MyHex) Any ideas greatly appreciated! Tim Sorry! I havnt used this forum much before! I would like to convert a string of both text and numbers (not already ...Show All
JasonWHowell Function CInches
Hi i was using this code in MS Excel and was working fine but i need to use it in a small application i'm making in Ms visual studio 2005, if any one can help thanx. '\ This function converts a string like 5'-6 1/4" to a decimal number '\ of inches that can be used in calculation. Function CInches(Text_string_containing_values_for____Feet_Inches) '\ These values are used to examine the input string, one character at a time ...Show All
