Answer Questions
Matthew Phillips Displaying the current location (Line, Col) of a TextBox in a StatusBar
Any ideas That's a much more effiecient way of doing it Good job! Along these same lines, how do you change the location of textbox in code I can display the current x and y locations via a message box. But, I can't get it to change the location and move the textbox or a label. Any help would be greatly appreciated. Rob mmmmmm. maybe somet ...Show All
OB How do Make my Database Run without having me COMPILE It everytime
I am ready to make it an actual application!!! Does anyone know Once you build the application, an EXE is created in the project's Bin directory. Double click on that and your application runs. Robert I'm not quite sure what you mean; databases aren't "compiled" in the usual sense of the word at all. Can you elaborate a bit Hey, Robert...I hav ...Show All
Brad Jones Tab Key vb.net dll
We have an established vb6 app, which makes different calls to various vb6 dlls depending on our client's requirements. These dlls hold all our forms etc. We are now trying to move any new deployment to vb.net dlls, but are having a big problem with the Key tabbing. If the forms are shown modeless in vb.net all the tabbing functionally is lost. If we display the form modal then the tabbing returns, but that would not be acceptable. (mo ...Show All
Maurycy Markowski - Microsoft Dynamic Type Converion
Hi I need method "ToType" that takes value and type as parameter and converts it to respective type. dim val as String = "1" dim paramType as Type = Type.GetType("System.Int16") dim myint as Int16 = ToType(val,paramType) Regards Dipesh Use the CType(object, datatype) method or Convert class - as in Convert.ToInt32(...) Look them up on MSDN for more info or F1 them from ...Show All
Pieter Not number.. but why?
Hello! I have a big problem. A wrote a little program: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a, b, c As Single a = TextBox1.Text b = TextBox2.Text c = TextBox3.Text Label1.Text = -b + Math.Sqrt(b * b - 4 * a * c) End Sub End Class But it display the "not number" text in label1... What is the problem Thx a lot ...Show All
willox2112 Some questions about VB 2005
I have some questions about VB 2005: 1) How can I shutdown or restart the computer 2) What's the difference between My.Application and Application 3) How can I shell an non-executable program, e.g. ".txt" These are my question until now in VB 2005. Please can anybody answer me I think you'll find it does this through the associated file extensions. So if for example you have Exc ...Show All
7cutlass1 Microsoft Internet Transfer Control 6.0 (SP6)
I've converted a program written in VB6 to 2005. The program used the Microsoft Internet Transfer COM object, and worked quite well. In VB2005 there are two extra parameters in the new object, and its now called AXInet - but that's easy to fix.... I cannot find any documentation on this control, nor can i figure out what the parameters are. axinet1.execute(url as object, operation as object,inputdata as object,inputhdrs as object) In VB6, ...Show All
andret1802 Disable Alt Funtion in Visual Basic 2005
How can I disable the function when the user presses the Alt key on the keyboard :( and how can I hide the cursor on the form when it is activated. Is this correct Cursor.Hide It contains error when I type those syntax ...Show All
Soskywalkr Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period ...Show All
Jazz Soft Grouping Radio Buttons
I have, or want, three sets of RadioButtons. However, they all seem to be in the same group, as I can only have one checked at any one time. I want to have three groups of RadioButtons, but I don't see a property where I can set any groups. To group RadioButton controls as a set to function independently of other sets Drag a GroupBox or Panel control from the Windows Forms tab on the Toolbox onto the form. Draw RadioB ...Show All
tonyso Outlook Add-ins
I hv registered dll of my project of Outlook addins in VB6... Which opens MS outlook containing button created by project. Now when i open multiple outlook windows the button disappears from the second & remaining windows ... ...Show All
JohnFTZ datagridview printing problem
Let me start by saying that I am just learning VB and I know nothing about it, but I am willing to put in all of the effort in my power to learn it and use anyone's suggestions. I am trying to print out a datagridview and I dont need it to be in the grid format, just spaces between the fields kind of like this: data 1 data 2 data 3 data 4 data 5 data 6 data 7 data 8 I have put s ...Show All
jpoirier Control Y !!!
What have you people done to Control-Y For the past 10 years that I've used Windows this meant REDO (opposite of UNDO). In VB2005 it deletes a line. SERIOUSLY!!! not funny. Express edition...wow! It took me 9 months of usage to find one "missing feature" [that I care about] in the express edition Ctrl+Y was Yank line in VB6, so you could argue that we shouldn't hav ...Show All
creatorx2000 Simple Filter Question
Hopefully this is really simple, but i having a problem filtering a datagridview My datagridview displays customer info, which each row have 3 telephone number fields phone1 555-1212 phone2 "" phone3 555-1213 I want to filter out all rows where ALL of the phone fields are blank, or have invalid characters, but the above row i wish to keep. I can't seem to get my filter right for this. Can anyone help please ...Show All
mark_k Number Only Input
First of all, Sorry of this is a really simple question. I'm a bit of a noob. Is there anyway to make an input box that will only allow the input of numeric characters Thanks in advance. EDIT: The following code was taken straight out of help and was used to allow only numbers to be entered into a textbox. ' Boolean flag used to determine when a character other than a number is entered. Private ...Show All
