Forum: VB.NET Mar 31st, 2008 |
| Replies: 0 Views: 1,196 I would like to have some code to give me my WANIP Address in VB.NET 2005 Please? |
Forum: VB.NET Mar 29th, 2008 |
| Replies: 0 Views: 1,222 here is the code:
'//WAN IP
Dim url As String
Dim myexpression As New Regex("[1-2]?\d{1,2}\.[1-2]?\d{1,2}\.[1-2]?\d{1,2}\.[1-2]?\d{1,2}")
Dim... |
Forum: VB.NET Mar 20th, 2008 |
| Replies: 1 Views: 2,585 I would like to know how to populate a listview from an MS Access database and it be all the tables with the tbl prefix?
Thank you in advance for any and all assistance. |
Forum: VB.NET Mar 14th, 2008 |
| Replies: 1 Views: 2,102 I would like code to populate comboboxes with data from my MS Access database. I can do this with textboxes, but have hit deadends when trying to figure out how to do it with comboboxes and... |
Forum: VB.NET Mar 12th, 2008 |
| Replies: 3 Views: 2,920 I asked about MS Access, not MS SQL |
Forum: VB.NET Mar 12th, 2008 |
| Replies: 7 Views: 4,822 Here is an explanation:
http://www.xtremevbtalk.com/showthread.php?threadid=7758 |
Forum: VB.NET Mar 12th, 2008 |
| Replies: 14 Views: 1,772 When VB builds a control, it uses an index of -1 as No Index or NULL and 0 as index one, that's why, when you want the index chosen value it is IndexValue.Item -1 that gives you the proper index... |
Forum: VB.NET Mar 12th, 2008 |
| Replies: 3 Views: 2,920 I have a program that I'm building and I have a form load event that loads the data from a table, but when I try and load the data from a query I get an error. Here is my code:
MyTable =... |
Forum: VB.NET Mar 6th, 2008 |
| Replies: 14 Views: 1,772 Create a project with Form1 and Form2, place a button on Form1 along with a listbox and label
In Form1 load event place this:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e... |
Forum: VB.NET Mar 6th, 2008 |
| Replies: 7 Views: 4,822 In the mouse down event, try this code on the label.
Dim URL As String
Dim Name As String
URL = "http://www.yoururllink.com/"
Name = lblName.Text =... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 3 Views: 2,561 I'm attempting to write a function that checks users input and verifies it's numeric. When it isn't I would like to keep the part of the string that's numeric and remove the last character after a... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 14 Views: 1,772 When you double-click on the listview box, you are actually clicking on index numbered item in that listbox. If you use the Index.text and the Forms.frmName.frmFieldName.Text, you should be able to... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 11 Views: 1,932 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim frm1 As Form
frm1 = frmInput
frm1.Show()
Me.Hide()... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 7 Views: 1,457 you can use your incremental in odd or even number to get your values for odd or even, by incrementing your step +1 or + 2 and get the even or odd integers. |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 7 Views: 8,740 If IsNumeric(TextBox1.Text) And TextBox1.Text.Contains(".") Then
MsgBox("True for .")
Else
MsgBox("False for .")
End If |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 2 Views: 1,986 Nothing yet, I'm looking for help and code to get started PLEASE |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 11 Views: 1,932 Aren't Start and Input reserved words in .NET? |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 1 Views: 1,301 Marc,
Your problem is very simple to solve, just leave the Fox Pro database and build a front end to query the database for records, instead of having to download thousands of data records, you... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 7 Views: 4,822 Take a look at the mouse down event and then capture it on the label and the label.text, open your browser and paste the string from the label into the browser address bar. |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 3 Views: 1,093 disable the keyboard keydown event by capturing all keydown event and a messagebox to tell the user to use the mouse. Then in the mousedown event, capture with either if then else or case select, the... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 7 Views: 8,740 You could also use the IsNumeric to insure all numbers and then check for the (.) as the other answer stated.
The MaxLength function will limit the number of characters.
You could also use code... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 5 Views: 2,037 In the Setup and Deployment side of VB.NET 2005, there is a "desktop" are where you can place an icon on installation and it will install the icon to the desktop as well as the program file. |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 7 Views: 1,457 a) what level of programming are you taking? If it's advanced or anything but beginners, they the instructor assumes you have the building blocks to either do the project or the resources to find... |
Forum: VB.NET Mar 5th, 2008 |
| Replies: 2 Views: 1,235 The simplest, but also easiest to break would be a input textbox form with a simple validator. Then hard code your unlock or license in your code. The problem is, that if you hard code it, the... |
Forum: VB.NET Mar 3rd, 2008 |
| Replies: 2 Views: 1,986 I'm writing a small remoting application and I've checked SourceForge, Code Project and a many others seeking to find how to serialize and deserialize mouse and keyboard events remotely.
Is there... |
Forum: VB.NET Feb 27th, 2008 |
| Replies: 0 Views: 461 Thank you in advance for any an all assistance.
Is there a way to programatically get the Record number and the of {0} count, without using the navigation wizard in VB.NET 2005, in a label or... |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 4 Views: 1,853 It's THERE
MyDA.Update(MyTable) |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 6 Views: 4,109 Since this is an assignment, I'm not going to give you any code, but I will give you direction.
Depending on how simple or complex this needs to be you can:
You would have to create a... |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 1 Views: 3,638 I had a similar problem and once I added the MSCorLib to my references it seemed to go away. Also, in the compile I could NOT use the OneClick Deployment for some reason |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 21 Views: 5,857 I had a similar problem and tried to create a module for accessing my database, and found out that I could only do it locally on each form :(
If you find a solution, please let me know too :) |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 8 Views: 6,217 Winsock manipulation is done through .NET remoting and serialization in VB.NET 2005. Almost any object can be serialized and it's data sent across networks and deserialized to show the data on the... |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 4 Views: 1,149 You will need to create a database connection string to your database. There is an ODBC connection wizard or you can bring your own. You will probably then want to use some type of encryption for... |
Forum: VB.NET Feb 23rd, 2008 |
| Replies: 4 Views: 1,853 I have a form that is supposed to update tblMain in my database, and when I press btnSave it says in a messagebox, saved, but when I look at the table or try and recover the data from the dataset all... |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 10 Views: 1,161 You could move your code to changed text event and each time you enter a character the listbox would display the ASCII code equivilant? |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 2 Views: 12,790 Just for giggles, try and set the SelectedIndex = -1 which should be no item selected when you make a new selection from the parent and then re-run your connection string anytime the parent... |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 1 Views: 1,712 That's because the auto increment in VB doesn't exist, but there is a work around. Find the field and row for your auto increment field and get that value and in the field for the auto increment,... |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 2 Views: 15,194 your code is a bit confusing, since the gui for a calulator is just capturing input of the numbers. forcing the user to enter only numbers (IsNumeric) function will keep that.
Dim i as Integer
i... |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 6 Views: 21,343 You also could use the IsNumeric(TextboxName.Text) Then
TextboxName.Text.Length -1 as the other poster stated which will subtract the last number in the textbox |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 4 Views: 791 Look at your vbresult function for messageboxes. It allows you to capture the button event procedure and know what button(s) the user has pressed and based on this you can you a logic statement, i.e.... |
Forum: VB.NET Feb 21st, 2008 |
| Replies: 1 Views: 2,445 This would be better answered by your instructors for your classes, but since you have said what you're going to school for, you'll probably need to install Visual Studio Pro and when you do, you... |