Jump to content

lingk

Member
  • Posts

    45
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by lingk

  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.
  15. I just use the computer management that is built into windows to check the defrag stuff of my hard drives that i have plugged in via usb, never once had an issue of it not seeing it. hell, i can even get spinrite6.0 to run scans on my external hard drives. maybe its a usb setting in your bios?
  16. ok so where I work everyone’s Mydoc folder is synced to a server to back or file. on one users computer I tried installing a program. As the installer starts and loads the first screen a sync error pops up next to the clock on the task bar saying that the server is not available and that the user is working off line. Once the installer fully loads the first screen it give an error saying the path to mydocs contains an invalid character and closes it self out. I’m guessing it says that because the system thinks the server is not there when it is. Once I click re-sync it syncs just fine with no issue. So why is the installing making the system think it’s been disconnected from the server? :edit: I have now fixed this issue.
  17. I just got a hardware e-mail spam filter. I want to do a test on it to see how well it works. IT is catching spam, but people don't give me a clear answer when i ask them how there spam is doing. what would be a good way to get a LOT of spam sent to a test e-mail account i have set up?
  18. lingk

    tv

    hello, my boss asked me to gather some prices on a system he wants to put into place. he would like to have 4 tvs that display a power point slid, 3 in building A and one in building B I know how to do this for one tv, but I'm not sure how i would go about doing this so it would display on 4 tvs, well i do but i don't think it would be the best way. so if you could give me any info on hardware or a better way of doting this please let me know my idea. computer - cable line to a 4way splitter - cables from splitter to tvs
  19. lingk

    sctipt

    ok so here is the scrip, it works but i want to build onto it. I want it to check the strValueName = "ProxyEnable" dwValue = 1 if the dwValue is 1, then set it to 0 and if it's 0 run the rest of the script to set it to 1 and add the proxy settings. this way the user doesn't have to click differently scrips, just click when they get home and click it again when they are done. when the user logs in back on the domain the GPO policy doesn't seam to be in effect after the script has ran. Const HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" strValueName = "ProxyEnable" dwValue = 1 objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue strValueName = "10.193.24.6" strValue = "svcproxy:800" objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue strValueName = "ProxyOverride" strValue = "<local>" objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue
  20. lingk

    sctipt

    I'll take a look, thanks.
  21. lingk

    sctipt

    I have some notebook users that need to be abel to change there proxy settings when they are off site. would it be possible to make a batch file or vbscrip they could click on to switch these settings?
  22. whenever i found that the system is asking me for the guest password this is what i would do: on the computer I'm trying to access i click on tools then folder options then click the view tab, at the very bottom i uncheck simple file sharing. the prompt for the guest account will go away and i have to provide a user name and password for an account on the computer I'm trying to access.
  23. windows updates are a pain thats for sure. i was listing to a pod cast around the time when vista came out and they where saying that Microsoft doesn't plan to release SP3 till sometime next year, or after SP1 for vista. they want people to move to vista so, as they are going to keep patching XP they are not going to make it easer. to get around the whole patch thing in windows, each month i download a program called auto patcher, I'm sure some of you know about it. I like it because i don't have to sit there and wait for all the updates to download and then install them. it still takes a long time to install(it's always 1.5hours no matter the system i have used it on) but you can pick what updates you want to install and what not. I find it handy when i am reloading PCs.
×
×
  • Create New...