• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Challenge for all Javascript experts....

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Challenge for all Javascript experts....

    We need to be able to force a modem disconnect for a .NET web application using JS....

    Any thoughts?

    #2
    regardless of

    whether you're using .net (the future ) or something else, i'd be gobsmacked if it were possible to use client-side script to kill off what is essentially a client-side process. javascript just doesn't have that sort of ability/access (this behaviour is by design) afaik (which might not be that far...)

    Comment


      #3
      Re: regardless of

      Probably confusing JavaScript with Java but what does an old mainframer know about this stuff - I'm still waiting for BAL.net

      Comment


        #4
        Re: regardless of

        JS or Java as a language will not give system access. You won't be able to get a modem to disconnect using JS or J. There may be a possibility of doing it with ActiveX.

        Comment


          #5
          Re: regardless of

          Hmmm - ActiveX - now there's a thought..... 8)

          I'll have a word with our proggie - thanks

          Comment


            #6
            good luck

            Ok g'luck mate 8)

            Comment


              #7
              Re: regardless of

              Which is presumably why everybody recommends blocking download of ActiveX controls

              Are you sure you can't use Java for this sort of thing? I thought it was a full blown programming language and could be stored locally and run from the page.

              I'm not arguing about it just asking as I freely admit I don't know - my son is the java whizz in the family - earns nearly as much as me and still comes round and raids the fridge and cakebox !!

              Comment


                #8
                java

                only runs in a browser sandbox. no permissions to the host system. activex will do if the user is using ie and they give permissions...

                Comment


                  #9
                  Re: regardless of

                  Java won't give system access through a webpage, but it is possible through a locally installed program. Support companies like Motive (www.motive.com) use Java for system access... but they have a HEAVILY modified API.... so much so, that the language is not proper Java... more of a hybrid between Java and native code.

                  There are always flaws and possibilities, but none that I know of. The official word is that Java is not allowed to have system access.

                  Comment


                    #10
                    This is a very hostile action - do not even think about trying to do that.

                    Comment

                    Working...
                    X