Type: Posts; User: Noob13
Search took 0.01 seconds.
Private Function EnableDisableICS(ByVal sPublicConnectionName As String, ByVal sPrivateConnectionName As String, ByVal bEnable As Boolean)
Dim bFound As Boolean
I found it Right here
You can Convert Script to VB.NET
This is my replay
your replay not ignored
I told you:
I still waiting for answer for my questions !!
what is the best way for Close everything in right way ?
No everthng is OK
btw 8GB-i5-3210 Win8.1x64
please take a look on image I uploaded
picturebox from internal resource
there is no code
I found this release all the memory
But really should I add it to all my project forms !!
I made Simple 2 Forms
Form1 with Button1_Click = Form2.Show()
Form2 with Pictrebox1 image from resource normal without code
when I Compile it to exe
everytime I open Form2 and close it Memory...
Thank you boops boops
but program without GC.Collect can be 50mb and still growing !
I`m New moved from VB6 to .NET
I Know When I close form everything close
but in .NET nothing Close!
I don`t Know if it right use it like this at this place
I just add for test
I found something interesting
memory leak reduced with this:
Form1 Only Button
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Thank you ident
Attached File Edited
please what`s wrong with this code!
every time take Snapscreen memory growup! (Task Manager)
I attached Simple
ًWhen Compile it to exe and open task manager
every time take snap memory usage will...
For i As Int32 = 1 To 10
Dim btns = Me.Controls.Find("Labelx" & i, True)
If btns.Length > 0 Then
btns(0).Text = "NelLabel"
How to modify label.text !?
I add Tag To Label
I Know Problem With "Me.Controls" Because Label Created With Picture
Thankx Edgemeal its Work!
Sorry Dosn`t work
I can`t see Label !
Dim rb_() As PictureBox
Dim lb_() As Label
Dim Array_Size As Integer = 6
For i = 1 To Array_Size
Task Parallel library
Task Parallel library
Thank you Shaggy Hiker
I test it
"CPU usage with threads less than 1%"
"CPU usage without threads less than 1%" Status Not responding
I use targeting framework 4.5 ! so what
as I say I noob
form will freeze as long as reading
this code can used for this or there is another way
I feel its simple & working without error or I missing anything I don`t think "QueueUserWorkItem" need abort
sorry I`m noob and I`m trying to...
is right if I use this code like this? :
Thank Shaggy Hiker Great Replay
I`ll Choose Carefully where I use Threading as you say
but in this Time I need every single examples to learn Multithreading Usage
is it wrong if I make it detached ?
I moved new from VB6 just for Multithreading
I think I`ll use "ThreadPool.QueueUserWorkItem"
I`ll add more later ,something like analog Clock - label System...
thank you Shaggy Hiker
not problem I can up time to 1 second
I`m ask for every possible method for threading
I use "My.Computer.FileSystem.Drives.Count" because if usb plug it program will add...
its just beginning
All suggestions are welcome
now I can use Button1.PerformClick())
so "ThreadPool" dosn`t have stop option ?
I think its much better than "System.Threading.Thread"
please give me more simple example
sorry my English not the...
Can add "Button2.PerformClick()" ?
Thank you Niya
Thank you passel
I Use Visual Studio 2013
New thread in VB.NET
I use VB.NET 2013
how I can Pass multi text ? or other usage !?
and if there way other than [SetText]
I`m Starting Use VB.NET
Dosn`t Working ! Make Thread-Safe Calls to Windows Forms Controls
Click Here to Expand Forum to Full Width
Survey posted by VBForums.