Forum: VB.NET 6 Days Ago |
| Replies: 2 Views: 151 instead of orderArray(x, u).Show()
do:
Me.Controls.Add(orderArray(x, u)) |
Forum: VB.NET 26 Days Ago |
| Replies: 3 Views: 162 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: 281 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: 264 how about using a treeview instead? |
Forum: VB.NET Sep 6th, 2009 |
| Replies: 2 Views: 310 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: 986 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: 945 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: 419 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: 299 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: 235 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: 260 suggestions would come if you tell us what validation you need. |
Forum: VB.NET Jul 10th, 2009 |
| Replies: 6 Views: 661 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: 661 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: 374 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: 530 You can add your HTML template into the resources like that:
name: html
value:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... |