Jump to content

lingk

Member
  • Posts

    45
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About lingk

  • Birthday 01/22/1983

Contact Methods

  • Website URL
    http://www.materatec.com/

lingk's Achievements

0

Reputation

  1. Hey everyone I'm looking for some help on a script that will scan a networkshare and tell me what AD users have access to that folder and subfolders and what there access is. I have googled around and can seem to only find scripts that tell me what the share permissions are but not the security and will list what AD users have access to the folder and there rights. or if you know a tool that can do this, that would be nice too. thanks a lot!
  2. Hello all, So I'm looking for tuts or help wit tree views in VB.net. what i want to do, I want to have a 3 root nodes, and have 4 or 5 child nods. When you click the check box on the root node it will check all the child nodes. when you click on the name of the child node it will give a description in a group box on the side. I did some Googling, but didn't find anything that explained the functions and code for tree views. I prob just typing what I'm looking for into Google wrong. thanks for any help you can give!
  3. well I have the app working now with any bugs that i can tell, i'm sure when i have my friends play with it they will find one or 2. thanks to everyone who helped.
  4. As was described, there's nothing mystical about it. In fact, you had it earlier (mostly). dim flag as integer Private Sub cmdADD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdInstall.Click 'this is to see what check boxes are check, then install selected programs flag = 0 If ckff.CheckState = CheckState.Checked Then Shell("firefox.exe", AppWinStyle.NormalFocus, True) flag = 1 End If If ckFlash.CheckState = CheckState.Checked Then Shell("flash.exe", AppWinStyle.NormalFocus, True) flag = 1 End If If ckQuickTime.CheckState = CheckState.Checked Then Shell("quicktime.exe", AppWinStyle.NormalFocus, True) flag = 1 End If If ckVlc.CheckState = CheckState.Checked Then Shell("vlc.exe", AppWinStyle.NormalFocus, True) flag = 1 End If If flag = 0 Then msgbox("Please Select A Item To Install",4128,"Select Item") End If End Sub ah, ok i see how you put the flags in... guess i couldn't just see it in my head, lol
  5. because in logic, elseif is an exclusive choice: either, or, not both. You need to drop the elseif constructs and then run each in sequence. if checkbox is checked then run install ... Use a flag var to check whether a box has been checked for your "nothing is checked" message box. what would be the best way to do this.. ?
  6. well using the elseif doesn't work right, it doesn't lunch the next app once the one before it is done installing.
  7. Well I got it to work, I took out the msg box because it was giving me issues, I want to bring it back, just need to figuer out how to do it. anyways here is the code that allowed it to work Private Sub cmdADD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdInstall.Click 'this is to see what check boxes are check, then install selected programs If ckff.CheckState = CheckState.Checked Then Shell("firefox.exe", AppWinStyle.NormalFocus, True) End If If ckFlash.CheckState = CheckState.Checked Then Shell("flash.exe", AppWinStyle.NormalFocus, True) End If If ckQuickTime.CheckState = CheckState.Checked Then Shell("quicktime.exe", AppWinStyle.NormalFocus, True) End If If ckVlc.CheckState = CheckState.Checked Then Shell("vlc.exe", AppWinStyle.NormalFocus, True) End If End Sub
  8. So it looks like from your code you are not passing ,1,True these paramaters. Those mean normal window and wait for it to finish. I do not know if VB allows for those paramaters. Perhaps try this I'll try giving this a try and see what happens.
  9. looks like mist a part of the code when copying.. here is the correct code Private Sub cmdADD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdInstall.Click 'this is to see what check boxes are check, and install the seleted program' If ckff.CheckState = 1 Then 'Shell("firefox.exe", AppWinStyle.NormalFocus) Else MsgBox("Please Check Programs To Install") End If End Sub
  10. here is the code i have so far, again it's simple and ugly, I'm sure, though, that once i learn more it will look better. Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub cmdADD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdInstall.Click 'this is to see what check boxes are check, and install the seleted program' Shell("firefox.exe", AppWinStyle.NormalFocus) Else MsgBox("Please Check Programs To Install") End If End Sub Private Sub ckff_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ckff.CheckedChanged End Sub Private Sub GroupBox1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles gpInternet.Enter End Sub End Class
  11. Hello, I am trying to make a VB that allows you to pick from a list of different applications such as flash, firefox, filezilla and so on. I want to use check boxes so the user can pick what apps they want to install. The issue i'm havening is, i don't know how to get it to install one app then move onto the next, with the way i have it coed now, using the Shell command, all the apps try to run at one time, i kind of knew that would happen though. I did some googling, but couldn't find anything that explained how to do this to well. I'm a n00b at programing, but understand it enough with some explanation of what each bit of code is doing. any help i could get would be great, thanks!
  12. same here. When i first got my job where i work now, no one locked there computers, then i set it to lock after 15 min and let me tell you people started to yell. I told them it's to protect you so someone can't get on it and do something and you get blamed. I also said you should lock it right away whenever you get up. users.. they always think IT is out to get them.
  13. you would be surprised. where i work we make kinematic cup holders and storage bins for cars, we have to make sure that the last at least 10 years. I'm just wondering what kind of market there is in the computer world, being bored at work and all.
  14. so I'm wondering how many people would buy a notebook with a push push screen. Push push is where you push down on it and it opens on it's own, and you push it again to close it. or a desktop where you push a button and the sides open up so you don't have to unscrew them.
×
×
  • Create New...