VB.NET Beginner Tutorial - Start and Kill Programs and Processes (Visual Basic .NET)

  Рет қаралды 26,762

VB Toolbox

VB Toolbox

Күн бұрын

Пікірлер: 32
@baherwahby22
@baherwahby22 Жыл бұрын
Man man very good staf right here
@CarlFritz24
@CarlFritz24 9 жыл бұрын
Amazing.... the way you make it all so simple and reachable to a quick understanding. Thank you, VB Tooolbox, Keep on !
@pltxpltx7996
@pltxpltx7996 9 жыл бұрын
Thanks for your tutorials, they are all great ! As a french, I'm surprised that's I can understand almost all of what you're saying. :p
@VBToolbox
@VBToolbox 9 жыл бұрын
+Paul Pltx Merci! :-) I'm very happy that you like the tutorials, and I appreciate the feedback, Paul.
@8646229
@8646229 8 жыл бұрын
Peace be unto you..Sir you are great and your tutorial also awsome
@VBToolbox
@VBToolbox 8 жыл бұрын
+Shajib Khan Thank you very much for the kind words, Shajib Khan. :-)
@donycoletta
@donycoletta Жыл бұрын
great tutorial, how can assign in a single button the close for more aplications?
@bbethr6227
@bbethr6227 5 жыл бұрын
You're really good, your videos are wonderful!!thanks from Brasil!
@mihai-sabindragnea4075
@mihai-sabindragnea4075 9 жыл бұрын
Thank's also for ur tutorials. They've been really helpfull!!!!
@PatMcDonald41
@PatMcDonald41 9 жыл бұрын
Very good.
@kenclemerbaltar532
@kenclemerbaltar532 9 жыл бұрын
nice work keep it up sir btw the log thing i ment earlier was just a log in app
@VBToolbox
@VBToolbox 9 жыл бұрын
Ken Clemer Baltar Thank you, Ken. :-) This was just a piece of the puzzle, since you also wanted to know how to suppress the task manager. You could set up a check & kill sub on a timer.
@kenclemerbaltar532
@kenclemerbaltar532 9 жыл бұрын
im about to try this once my pc is up u have no processor for now only delays my project VB Toolbox​
@kenclemerbaltar532
@kenclemerbaltar532 9 жыл бұрын
VB Toolbox sir im if u don't mind im having a little problem how can you iterate a sqldatareader result? i need it badly for determining the right schedule thank you
@VBToolbox
@VBToolbox 9 жыл бұрын
Ken Clemer Baltar Hello, Ken. Do you have to use the SqlDataReader? It seems like it would be much easier to iterate a DataSet filled via SqlDataAdapter.
@kenclemerbaltar532
@kenclemerbaltar532 9 жыл бұрын
VB Toolbox is it ok to use a dataset without a data grid? and also is it possible that the sqldatareader READ results can be transfered on that dataset? please hit me a pm on my email bkenclemer@gmail.com sir i've been stuck on this problem for a good solid 2 weeks now XD
@Nobodyme1987
@Nobodyme1987 8 жыл бұрын
sir, i have been just started visual basic and I can declare variable but I cant code to run program so how can i generate code? in window form application program give me idea to generate code
@ckwunch8028
@ckwunch8028 9 жыл бұрын
I will add a tip otherwise a few people will drive themselves insane with a null reference error. getprocessbyname(name) must be an array BECAUSE your process list is an array, this is why the guy who made this video puts a for / next loop. The reason i add this is some people might want to make a toggle button. The following code might look right, but would never work if condition = true then process start(yourprocess) else if condition = false then process.kill(yourprocess) end if There are two reasons this wont work, firstly getprocessbyname only returns the name, so if you started notepad.exe getprocessbyname will return only "notepad" The next reason is the error causing reason - when the toggle is activated the process string() isnt holding a value. (null reference) The correct way is as he showed you, its mostly better to use close, less chance of dataloss. (and also closing a bunch of programs all at the same time one will be more than likely to have something u never intended to lose) Remember his method will close or kill EVERY single open notepad. getprocess.id is required then you need to change it to a string, Now you store that as a live variable in one of the various methods available Now when you come to close or kill notepad you can instead use getprocessbyID (ID) Now if you have 10 open notepads, only the one you want will close.
@khalidramadhan8687
@khalidramadhan8687 4 жыл бұрын
Hi sir how can make my program for trial period and can't change the period by change the setting of calendar...can you make video to explain that's ...thanks with best regard
@educationhub8241
@educationhub8241 5 жыл бұрын
How to use save dialogue btn with especific drive and of application window like ms word active or open file plzzzzz
@RavenSaint1
@RavenSaint1 9 жыл бұрын
Since I don't know how to message through youtube. I have a question. How would I use a If string to check if a filter is checked and if it is keep its filter while sorting. I'm new to this and have tight deadlines for assignments and the text book seems to be written for geniuses. Not much hands-on before being expected to know how to preserve filters and sorting from drop down menus. With no real instruction on how to bring the different codes together to do something similar. I've got 2 days to figure this out.
@VBToolbox
@VBToolbox 9 жыл бұрын
Raven Saint Without knowing the specifics of the application or your needs, it's hard to understand exactly what you need. How long must the filter be preserved? If only during runtime, you can easily use the "Checked" property [True/False] of the CheckBox. Example: If CheckBox1.Checked = True Then UseFilterStuff Without deliberately unchecking the Checkbox there is no reason why it shouln't be preserved. If you need to preserve the filter even after the application has closed, then you're going to need to write some sort of text configuration file to store/recover your settings. Alternatively, if you want to use a dropdown to store a filter value, you could use a List collection, Dictionary collection, ListBox, or even a custom class to store the values.
@sirazshaikh1214
@sirazshaikh1214 8 жыл бұрын
how do i kill a background process
@pistonring1399
@pistonring1399 5 жыл бұрын
I want to exexute excel 386. Where can i find the exe file
@baherwahby22
@baherwahby22 Жыл бұрын
Any books name any tips any advice becsuse when i watch your videos like i got very delious meal , really i love your work
@VBToolbox
@VBToolbox Жыл бұрын
I have not read any books, so I can't really recommend any. Sorry! My advice is to start with a simple problem and solve that one problem. Then look at the same problem you already solved and try to find a better way to solve it. Each time you do this you end up with more tools in your toolbox, which you can use to solve more complex problems and build more powerful and efficient applications.
@andrewtang8804
@andrewtang8804 8 жыл бұрын
SIR ~ PLEASE TELL ME HOW TO CHECK THE PROCESS IN COMPUTER AND WHEN THE PROGRAM HAS STOP IT WILL RESTART THE PROGRAM AGAIN ! THANK YOU VERY MUCH
@gat_fms8653
@gat_fms8653 9 жыл бұрын
Delete a file that is in use by another process with VB.net?
@tropicalcode4057
@tropicalcode4057 8 жыл бұрын
You can do this by attempting to remove the file via an NTAPI function, I'll be uploading a video to my channel soon on how to do this from within VB.NET. If you're still interested in doing this I recommend you stay tuned on my channel, thanks! (I've just opened my KZbin channel).
@Carlos.750
@Carlos.750 7 жыл бұрын
learn to program before you teach others
@VBToolbox
@VBToolbox 7 жыл бұрын
I'm sorry that you didn't find the videos helpful, Sam. I'm sure you'll find something more suited to your style, elsewhere.
@PatMcDonald41
@PatMcDonald41 9 жыл бұрын
Very good.
VB.NET Tutorial - Mass Property Changes on Form Controls
37:32
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 21 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 16 МЛН
VB.NET Tutorial - Dynamic Arrays (Visual Basic .NET)
16:28
VB Toolbox
Рет қаралды 16 М.
VB.NET MDI Forms Tutorial - Forms within a Form
29:53
VB Toolbox
Рет қаралды 82 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 21 МЛН