+ Post New Thread
Page 4 of 4 FirstFirst 1234
Results 46 to 56 of 56
Windows Thread, Login script problem in Technical; That example makes sense that you posted elusive but with regards to this example : Code: TwoPos = InStrRev("123456789876543 2 ...
  1. #46

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,044
    Thank Post
    3,579
    Thanked 1,119 Times in 1,024 Posts
    Rep Power
    377

    Re: Login script problem

    That example makes sense that you posted elusive but with regards to this example :

    Code:
    TwoPos = InStrRev("12345678987654321", "2")    '<----
    MsgBox TwoPos
    The first number 2 going from right to left that I have made bold ( hopefully it is bold lol )

    Is the 2nd character starting from the end on the right side. Unless in that example it does the counting from the begining.

    So in essence you are saying it finds it from right to left but does the counting from left to right and NOT right to left. Hopefully Im on the right wave length now lol.

  2. #47

    Join Date
    Aug 2005
    Location
    Birmingham, UK
    Posts
    490
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Login script problem

    Bingo you got it mate

  3. #48

    Join Date
    Aug 2005
    Location
    Birmingham, UK
    Posts
    490
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Login script problem

    And may i add, i have never written a VB script in my life lol

  4. #49

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,044
    Thank Post
    3,579
    Thanked 1,119 Times in 1,024 Posts
    Rep Power
    377

    Re: Login script problem

    lol Just wanted some clarrification on how it worked And I never said I was an expert at them lol.

  5. #50

    Join Date
    Aug 2005
    Location
    Birmingham, UK
    Posts
    490
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Login script problem

    nps mate glad i could help, i will let you in on my secret tho, i do code in other languages including C#.NET, mIRC scripting language, have done some MS basic as a kid and do write the odd batch file.

  6. #51

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,044
    Thank Post
    3,579
    Thanked 1,119 Times in 1,024 Posts
    Rep Power
    377

    Re: Login script problem

    hahaha that would explain it, the programming stuff I have done is totally different ( and not to say I like microsoft when I mention the languages I have done ).

    Did some ANSI standard C++ ( No mfc or any of that yet )

    A little bit of Java

    Mostly visual basic 6 , ASP and other then that just vbscripts and some javascripts.

    I really enjoy programming so far.

    Dont spose you know any good tutorial sites or have any good resources you could send me ( books would be nice lol ).

    Maybe you could give me some personal lessons on c#.NET lol ( Dreams on hahaha )

    gecko2648<AT>msn<DOT>com

    Thats my email obviously replacing <AT> with @ and <DOT> with .

  7. #52
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    35

    Re: Login script problem

    Quote Originally Posted by gecko
    well I will be darned.

    I tested it out and for this vbscript :

    TwoPos = InStrRev("12345678987654321", "2")
    MsgBox TwoPos

    It returns 16
    Sorry Gecko, looks like I couldn't count. It sounds like you've sussed it all out though.

  8. #53

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,044
    Thank Post
    3,579
    Thanked 1,119 Times in 1,024 Posts
    Rep Power
    377

    Re: Login script problem

    I didnt count, I let the computer do the counting for me, i just copied and pasted it into a new script for testing purposes and made it return the results via a msgbox obviously lol.

    Ok now for my other thread, stuck on installing gaim, I think I need x11 but I tried to install that and it tells me it cant install because it already has newer software installed or something like that, how the heck do i fix that ?

  9. #54

    Join Date
    Jul 2005
    Location
    Corby
    Posts
    1,056
    Thank Post
    12
    Thanked 20 Times in 18 Posts
    Rep Power
    25

    Re: Login script problem

    Have you updated the OS (System Preferences > Software Update)? X11 is on your installation disc- put the disc in and search for the package and just install from there. If that fails, download the version from the Apple website. I have always been able to get GAIM running easily after installing X11.

    :-)

  10. #55

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    10,074
    Thank Post
    1,384
    Thanked 1,887 Times in 1,169 Posts
    Blog Entries
    19
    Rep Power
    614

    Re: Login script problem

    Always pull down the latest version, never rely on the one from your installation disc unless it is an emergency.

  11. #56

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,044
    Thank Post
    3,579
    Thanked 1,119 Times in 1,024 Posts
    Rep Power
    377

    Re: Login script problem

    oh that explains it lol, I will give open office a go I think it may of updated it cos it popped up and asked me about updates and I just checked em all and clicked update and it said it was updating to mac os x 10.4.4 as apposed to 10.4.2 obviously.

    sucks that it only has a 12" screen but its portable, I will give it that much lol.

    I got the vga cable so I can hook it to my 21" crt which is 12" inches inverted lol.

    I used the flux capacitor to invert the 12" inches , hooorraayy !!

    At least I dont need the patch and ok its the low end power book but in the words of Jim Carrey "I like it a lot!!!"




SHARE:
+ Post New Thread
Page 4 of 4 FirstFirst 1234

Similar Threads

  1. Installing/Copying Fonts from Login Script
    By mattpant in forum Windows
    Replies: 10
    Last Post: 11th August 2011, 10:24 PM
  2. Set firefox proxy via login script
    By Jackd in forum Windows
    Replies: 2
    Last Post: 24th December 2009, 02:59 PM
  3. Printers disappearing after login script
    By gshaw in forum Windows
    Replies: 11
    Last Post: 10th June 2009, 07:47 PM
  4. Problem with Home Drive and login scripts
    By ArchersIT in forum Windows
    Replies: 4
    Last Post: 11th July 2007, 01:17 PM
  5. Replies: 4
    Last Post: 23rd November 2006, 10:33 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •