|
More site info...
Visual Basic .NET | Forum profile
|
|
Forum profile page for Visual Basic .NET on http://www.vbforums.com.
This report page is the aggregated overview from a single forum: Visual Basic .NET, located on the Message Board at http://www.vbforums.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Visual Basic .NET" on the Message Board at http://www.vbforums.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Visual Basic .NET:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
878
|
2,835
|
7,154
|
|
Post:
|
3,149
|
11,019
|
29,491
|
|
|
Visual Basic .NET Posting activity graph:
|
Top authors during last week:
user's latest post:
[RESOLVED] Rounding a number
Published (2009-11-26 09:28:00)
You're passing a String to a method that expects a number. While it's not necessarily the best solution, you've been provided a solution to that already too: Quote: Code: math.round(val(textbox1.text),0)
user's latest post:
Login Automation
Published (2009-11-26 10:09:00)
Don't post code and say "Hopefully doing it not wrong". That just makes it look like you aren't trying the code yourself, but fishing for someone to just do it all for you. If you tried it, and it didn't work, then post back with the specific code you are using, and what SHOULD have happened, and what ACTUALLY happened, and that will make people more inclined to look at your issue and help you with a resolution.
user's latest post:
Condition between two Dates
Published (2009-11-26 14:46:00)
Amend as applicable Code: Sub Sample() Dim frmDate As Date = Date.Now.AddDays(-180) Dim toDate As Date = Date.Now.AddDays(-90) Dim SaleDate As Date = New Date(2008, 12, 3) '<~~ Example If SaleDate > frmDate And SaleDate < toDate Then Sold.sold1slddatetxt.ForeColor = Color.Yellow End If End Sub
user's latest post:
Indexof Problem
Published (2009-11-25 15:50:00)
The thing is when you add the values to your arraylist, you only add the SKU number Code: SKUSheet2.Add(currentField) However, the value you assigns to Pachow is some SKU number + " Total" Code: Pachow = textSKU.ToString & " Total" And that's why when you do an indexof, it never finds the item in the array list because none of the items in the array list has the " Total" suffix.
user's latest post:
Help on using variables when...
Published (2009-11-25 18:55:00)
Re-think that design. Adding new controls for every type of new entry is going to cause you no end of headaches. Take what is entered into the textboxes, store that information somewhere (database, text file, XML, or just in Lists, if you don't want it to persist in the program), then clear the textboxes so that they can be re-used.
user's latest post:
Condition between two Dates
Published (2009-11-26 15:10:00)
Quote: Originally Posted by koolsid Amend as applicable Code: Sub Sample() Dim frmDate As Date = Date.Now.AddDays(-180) Dim toDate As Date = Date.Now.AddDays(-90) Dim SaleDate As Date = New Date(2008, 12, 3) '<~~ Example If SaleDate > frmDate And SaleDate < toDate Then Sold.sold1slddatetxt.ForeColor = Color.Yellow End If End Sub Thanks I dont understnad the line Dim SaleDate as Date = New Date ????
user's latest post:
Create Directory Problem
Published (2009-11-26 14:48:00)
Quote: Originally Posted by mickey_pt @Pradeep1210 I think the problem it's other... He says that can copy the files to the folder manually, and when try to do that by code, it throws the message that the file it's in use, so the problem it's in the code, i think he after sending the email doesn't release the file... It could still be a file access problem rather than something in his code (though I don't deny this)....
user's latest post:
Skin my form.
Published (2009-11-26 02:39:00)
The image looks good. But I can't think why you want to tile it rather than scale it. Your DrawImage statement will take care of scaling - just change the size of the rectangle. If you do, use e.Graphics.InterpolationMode = HighQualityBicubic for the best results. As one who has taken a vow of Option Strict=On, I envy the terseness of this: Code: Me.Location += (e.Location - DM2) Get thee behind me, VB6 But I think you could do without...
|
|
|
|
Latest active threads on Visual Basic .NET::
Started 1 day, 16 hours ago (2009-11-26 12:44:00)
by NickThissen
It seems that the MouseDoubleClick event expects the second argument to be of type System.EventArgs, but you are passing an argument of type System.Windows.Forms.MouseEventArgs. Try changing that to System.EventArgs.
Started 1 day, 13 hours ago (2009-11-26 15:17:00)
by Negative0
What are you trying to do that would require that?
Started 3 days, 7 hours ago (2009-11-24 21:15:00)
by Negative0
Put your debugging skills to work. What is PixelColor when you call GetPixel? What do you expect it to be?
Started 1 day, 13 hours ago (2009-11-26 15:14:00)
by keystone_paul
Not much direct specific help (in as much as I don't know off the top of my head why its failing), but 3 comments that might help you get to the bottom of it:
a) have you stepped through your code in the debugger to make sure that the code you expect to run is being run, ie you aren't falling out on the .Visible = True check, and for each text box you are dropping into the calculation stage?...
Started 1 week ago (2009-11-20 20:10:00)
by jmcilhinney
I don't think it is. I just created a new folder using IO.Directory.CreateDirectory and then checked its attributes and it wasn't read-only. The read-only attribute was set to indeterminate (the box was filled rather than checked) and it said "(Only applies to files in the folder)". I was then able to open the folder and create a new text file in it that was not read-only. Have you tried to ...
Started 1 day, 14 hours ago (2009-11-26 14:46:00)
by koolsid
Amend as applicable
Code:
Sub Sample()
Dim frmDate As Date = Date.Now.AddDays(-180)
Dim toDate As Date = Date.Now.AddDays(-90)
Dim SaleDate As Date = New Date(2008, 12, 3) '<~~ Example
If SaleDate > frmDate And SaleDate < toDate Then
Sold.sold1slddatetxt.ForeColor = Color.Yellow
End If
End Sub
Started 1 day, 14 hours ago (2009-11-26 14:50:00)
by EntityX
I could look over the code but instead I'll suggest something simple. Start commenting out sections in a logical way so it doesn't create another problem and see if you can get it to work and then add things back gradually and you may be able to find the problem that way. I've used this technique myself many times and it works if you do things in a logical way.
Started 2 days, 10 hours ago (2009-11-25 18:13:00)
by chris128
Where are you putting this code?
You do realise that Form1.Show will just show a form (the default instance by the looks of it), it will not start your program. Your program is already started at that point (otherwise how would it run this code). If you want to make your program exit if it is not the correct startup path then it should be something more like this:
vb Code:
...
Started 2 days, 15 hours ago (2009-11-25 13:44:00)
by weirddemon
Welcome to the forums.
You'll need to explain a little more about what you're doing.
That error message is pretty straight forward though. You're trying to access something that doesn't exist within your project.
Showing the code you're using will help identify the exact problem and what needs to be done.
|
|
Hot threads for last week on Visual Basic .NET::
Started 1 day, 21 hours ago (2009-11-26 07:37:00)
by danasegarane
Code:
Math.Round(12.3,2) 'Where 2 is the digits to round
Started 1 week, 1 day ago (2009-11-19 11:23:00)
by Hack
Moved From The CodeBank
It would be helpful to know what code is causing it.
Started 1 week ago (2009-11-20 12:06:00)
by Nicelydone
[RESOLVED] Creating folders..It worked a second ago!? Take a look
Well, I had this code initially creating
vb.net Code:
Directory . CreateDirectory ( path. SelectedPath & "\games" )
That worked, however, heres where I run into the problems.
vb.net Code:
Private Sub Button1_Click ( ...
Started 1 week ago (2009-11-20 20:10:00)
by jmcilhinney
I don't think it is. I just created a new folder using IO.Directory.CreateDirectory and then checked its attributes and it wasn't read-only. The read-only attribute was set to indeterminate (the box was filled rather than checked) and it said "(Only applies to files in the folder)". I was then able to open the folder and create a new text file in it that was not read-only. Have you tried to ...
Started 2 days, 15 hours ago (2009-11-25 13:24:00)
by TheUsed
we need more info. Boolean functions indicating what?
it appears your getting the mac address ip address and subnet. then a model of some sort?
do you just want to split the text at the ;?
Started 2 days, 15 hours ago (2009-11-25 13:23:00)
by TheUsed
vb.net Code:
Dim options As RegexOptions = RegexOptions. None
Dim regex As Regex = New Regex ( "\/" , options )
Dim input As String = "/new folder/1/2/3/4/5/test"
Dim results ( ) As String = regex. Split ( input )
is what I have so far. but i need to spice it up. i need to remove the first split. ...
Started 1 week, 1 day ago (2009-11-19 15:59:00)
by BackWoodsCoder
Add a setup and deployment project to your solution and use that to build your .EXE's
Maybe this will help you: http://msdn.microsoft.com/en-us/library/k3bb4tfd.a spx
Started 1 week, 1 day ago (2009-11-19 16:29:00)
by kleinma
To copy or move a file in VB you can use one of the following methods:
My.Computer. FileSystem.MoveFile()
My.Computer.FileSystem.CopyFile()
they both accept 2 parameters, the source and destination location of the file in question.
Started 1 week ago (2009-11-20 11:05:00)
by cwfontan
get an error overloading Sub New()
passing a variable to another form
I have a module with code that refers to controls on form1
form1.textbox1.text 'after adding the sub new overload below to my form my module gives me
"reference to a non shared member requires an object reference" why is that?
class form1
Public...
Started 4 days, 18 hours ago (2009-11-23 10:25:00)
by si_the_geek
Thread moved from ' VB6 and Earlier' forum to 'VB.Net' (VB2002 and later) forum
|
|