dcsimg

Search:

Type: Posts; User: techbee

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    190

    VS 2017 Re: help converting vbscript to vb.net

    Yes I have tried running it as Administrator.



    Private Function RemoveFirewallRules(RuleName) as boolean
    With CreateObject("HNetCfg.FwMgr").LocalPolicy.CurrentProfile
    For Each...
  2. Replies
    3
    Views
    190

    VS 2017 help converting vbscript to vb.net

    Good day! May I ask help converting this vbscript code to vb.net TIA




    Private Function RemoveFirewallRules(RuleName)
    With CreateObject("HNetCfg.FwMgr").LocalPolicy.CurrentProfile
    ...
  3. Re: Remove or delete firewall rule in windows xp problem (vb6 approach)

    thanks wqweto. I tried that it is working using vbscript but when I put it on vb.net app, it doesnt work. can you assist me further?
  4. Remove or delete firewall rule in windows xp problem (vb6 approach)

    Good day.

    I have posted also in vb.net about this problem for vb.net approach.

    I have a vb.net code that remove a firewall rule by its rule name and it is working in windows 7 and above but it...
  5. VS 2017 Remove or delete firewall rule in windows xp problem

    Public Sub RemoveFirewallRules(ByVal Optional RuleName As String = "Test")
    Try
    Dim tNetFwPolicy2 As Type = Type.GetTypeFromProgID("HNetCfg.FwPolicy2")
    Dim fwPolicy2...
  6. Replies
    3
    Views
    199

    VS 2017 File delete problem

    I have this text file on put it on folder1 which I delete using system.io.file.delete(file)

    On first try, I can delete the file and the file is no longer on the folder .
    But when I put copy tge...
  7. Replies
    12
    Views
    626

    Re: vb6 app working on xp but not on windows 7

    Sure i can do that. But i wonder why it works on xp but not on win7.

    If it works on xp then why it wont work on win7 ? Why do i need to recompile it on win7 to make it work on win7 ?
  8. Replies
    12
    Views
    626

    Re: vb6 app working on xp but not on windows 7

    Im not sure if that is crash. It did not show a runtime error or app crash message I havent checked the event logs though.
  9. Replies
    12
    Views
    626

    Re: vb6 app working on xp but not on windows 7

    The dll are registered thru my package made thru package and deployment wizard.

    I also set compatibility to windows xp in windows 7 but still nothing.

    I also tried manually registering the dll...
  10. Replies
    12
    Views
    626

    Re: vb6 app working on xp but not on windows 7

    The dll are registered properly and I dont see any error appear. I also run it as administrator.

    Its just not show the main form when I run the app in windows7, it does not show also in task...
  11. Replies
    12
    Views
    626

    Re: vb6 app working on xp but not on windows 7

    Im nor sure what more to add but i use ado because its database programming application.
  12. Replies
    12
    Views
    626

    vb6 app working on xp but not on windows 7

    I am very curious why.

    I have create my dll files and its application on windows xp 32 bit and it runs on windows xp but not on windows 7 32bit.

    The thing is, I need to compile it too on...
  13. Replies
    4
    Views
    338

    Re: [RESOLVED] get unc root

    thanks
  14. Replies
    4
    Views
    338

    [RESOLVED] get unc root

    I have this code to get the unc root.

    For example: \\192.168.1.100\test1\test2\test3\test4 and it should return the root \\192.168.1.100
    but instead it returns \\192.168.1.100\test1\.

    Where...
  15. Replies
    5
    Views
    399

    VS 2017 Re: block file types on drive or folder

    neodotnet and tysonLPrice, thanks for your replies.

    techgnome, thanks for your input. I have read all about it and it looks usable but my question now is can systemfilewatcher detect that the...
  16. Replies
    5
    Views
    399

    VS 2017 block file types on drive or folder

    I would like to create an application that will detect files inside the folder or drive. If the pc owner or somebody puts jpg file on it, it will detect it and cancels that activity.

    Perhaps there...
  17. Replies
    20
    Views
    1,358

    Re: Detect power outage

    I have apc smart ups 2200 with rj45 label usb at the back panel. Problem is i dont have the software since i only assumed the job and no turnover of software with this one.
  18. Replies
    20
    Views
    1,358

    Re: Detect power outage

    What do you mean old box? Old pc, old lsptop, old ups?
  19. Replies
    20
    Views
    1,358

    Re: Detect power outage

    Its an old model. Forgot the name. Its around 2006 model.
  20. Replies
    20
    Views
    1,358

    Re: Detect power outage

    Im not sure if our UPS has that feature but I will check. But if in case it has none, what else can be done?
  21. Replies
    20
    Views
    1,358

    [RESOLVED] Detect power outage

    Good day.

    We have this server and the server is with UPS capable for 15 minutes upon power loss.

    Since nobody is allowed to touch the server to shutdown properly, especially on weekends where...
  22. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    What do you mean ? I am using Microsoft Office Word 2007 and checked out the word options and under Save tab it says nothing about file saving sequence though.
  23. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    What do you mean ? I am using Microsoft Office Word 2007 and checked out the word options and under Save tab it says nothing about file saving sequence though.
  24. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Olaf, only in excel file have that sequence you mentioned but not only doc files.
  25. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Schmidt, it is somehow the same with ReadDirectoryChangesW in relation to my problem with MS Word file that when I save the document, it doesn't detect changes from the file. It can only detect...
  26. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Westconn1, I am needing to detect files that is opened and modified later. So i believe that this code is right problem is i cant detect modifications on ms word file immediately after saved...
  27. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Hoping for your update or from any members. TIA
  28. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Hoping for your update or from any members. TIA
  29. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Been trying to resolve this issue myself but still can find solution and I have posted the code I used for some days now but I haven't heard from anybody.
  30. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    Westconn1, attached is the project file that I am using. It has all the codes there. I have downloaded the original file from internet. Hope you can check it out and assist me on the problem.
  31. Replies
    22
    Views
    913

    Re: ReadDirectoryChanges problem

    I marked that resolved about finding a code but not about working code. Now that I have tested it, it has problems that I've mentioned.
  32. Replies
    22
    Views
    913

    ReadDirectoryChanges problem

    I have downloaded a sample from the internet on how to code ReadDirectoryChanges to be able to detect modified files like text files, word files, excel files, jpg files.

    I was able to detect...
  33. Re: Detect opened files and get its path

    Thank you for assistance. ReadDirectoryChanges is the nearest solution I tried working for my situation. Thanks again.
  34. Re: Detect opened files and get its path

    Westconn1, I can do a search but I dont know what keyword to get that result. I will try anyway to search in the codebank. But hopefully you can comeback with that link or example. Thanks for the...
  35. Re: Detect opened files and get its path

    Fafalone, I am look8ng at the windows task manager and it shows on the applications tab the task that are open. So I am thinking how to do the same with vb6 and get the path.

    Or list all opened...
  36. [RESOLVED] Detect opened files and get its path

    Hi I am just a hobbyist in programming for fun and learning.

    I am wondering how to detect opened files like word, excel and texts files and their corresponding windows path.

    It would be very...
  37. Replies
    1
    Views
    227

    how to check installed framework version

    Good day,

    I have googled and searched this forum for example on how to check installed framework version but found nothing.

    Can anyone help pls. Thanks.
  38. Replies
    2
    Views
    228

    VS 2017 Help errors on the code underline in RED

    I dont know why some part of the codes are underlined in RED, can someone tell me how to solve it. Thanks.

    The code is from my old vb6 code that I want to transfer and use on vb.net.

    I have...
  39. block showModelessDialog and showModalDialog window

    I am using a webbrowser and implements a popup blocker.

    However, I noticed that showModelessDialog and/or showModalDialog window are not cancelled with newwindow, newwindow2 or newwindow3 event.
    ...
  40. Replies
    4
    Views
    282

    VS 2017 Re: webbrowser popup block

    For practice purposes
Results 1 to 40 of 44
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width