Forum: VB.NET 7 Days Ago |
| Replies: 4 Views: 200 you need to initialize each player as new gameobject
Dim players(9) As gameobject
For i As Integer = 0 To players.Length - 1
players(i) = New gameobject
... |
Forum: VB.NET 10 Days Ago |
| Replies: 2 Views: 201 Level is a reserved word. change it to the query below and try again.
Dim strInsert As String = "Insert Into ScoutInfo " & _
"(ScoutID, YearID, GSUSAID,... |
Forum: VB.NET 17 Days Ago |
| Replies: 2 Views: 210 instead of orderArray(x, u).Show()
do:
Me.Controls.Add(orderArray(x, u)) |
Forum: VB.NET Nov 2nd, 2009 |
| Replies: 3 Views: 174 actually it is possible. not very sexy but possible...
Private Sub box1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles box1.Click, box2.Click, box3.Click
... |
Forum: VB.NET Oct 16th, 2009 |
| Replies: 2 Views: 288 to require admin privileges add into your app.manifest this line
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
to check for privileges:
if not... |
Forum: VB.NET Sep 25th, 2009 |
| Replies: 3 Views: 294 how about using a treeview instead? |
Forum: VB.NET Sep 6th, 2009 |
| Replies: 2 Views: 318 you could hand over the file name in the call of your class.
just create an overloaded New procedure like
Public Sub New (byval _file as strng)
'your code'
End Sub
and you call this calss just... |
Forum: VB.NET Sep 4th, 2009 |
| Replies: 2 Views: 1,067 to remove the blank lines on reading it ou could do:
Dim tmp() As String = My.Computer.FileSystem.ReadAllText("C:\test.txt").Split(vbNewLine)
For Each newStr As String In tmp
... |
Forum: VB.NET Aug 31st, 2009 |
| Replies: 15 Views: 957 why not just google for what he told you?
i straight came to http://msdn.microsoft.com/en-us/library/system.data.datatable_members.aspx |
Forum: VB.NET Aug 29th, 2009 |
| Replies: 5 Views: 450 declare the reader and writer before the for loop, assigne the values inside the loop and close them after the loop |
Forum: VB.NET Aug 29th, 2009 |
| Replies: 1 Views: 305 you have to add it first to your dataset. and then you can add this row.
here is some sample code that you need to adjust a bit but it gives you the idea
Dim rwNewData As... |
Forum: VB.NET Aug 28th, 2009 |
| Replies: 1 Views: 238 try this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
treeDir.Nodes.Clear()
CreateDirTree(Nothing,... |
Forum: VB.NET Jul 13th, 2009 |
| Replies: 2 Views: 269 suggestions would come if you tell us what validation you need. |
Forum: VB.NET Jul 10th, 2009 |
| Replies: 6 Views: 674 I have tested the code you posted and got no error messages. Anyway your code didn't work if i use frmMain.Viewlist so i assigned this control as parameter (Byval sender as Object) and hand it over... |
Forum: VB.NET Jul 9th, 2009 |
| Replies: 6 Views: 674 ok here something about Threads http://msdn.microsoft.com/en-us/library/6kac2kdh(VS.80).aspx
Example:
http://msdn.microsoft.com/en-us/library/zyzhdc6b.aspx
there are alot of links out there...... |
Forum: VB.NET Jun 14th, 2009 |
| Replies: 4 Views: 383 My.Computer.Network.UploadFile("test.log", "192.168.1.104")
Normally it is even easier to send local files. Could you please subscribe the problem a bit more detailed? like what exception you get... |
Forum: VB.NET Jun 12th, 2009 |
| Replies: 5 Views: 558 You can add your HTML template into the resources like that:
name: html
value:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... |