Search:

Type: Posts; User: angelica

Page 1 of 13 1 2 3 4

Search: Search took 0.15 seconds.

  1. Replies
    3
    Views
    889

    Re: load an html file in javascript

    That code fixed. Thankyou
  2. Replies
    3
    Views
    889

    load an html file in javascript

    Hey,

    I have this piece of code with does not function correctly. I have little experience with Javascript. Can someone help pls?

    <head>
    <title>Membership</title>
    <script...
  3. Replies
    13
    Views
    1,113

    Re: include a variable in html

    Thanks


    Yes I think it more belongs to the HTML . Thankyou.
  4. Replies
    13
    Views
    1,113

    Re: include a variable in html

    Hi ALL,

    thanks for your replies. Is there a way to do the same thing using only HTML? I am teaching this class of student where I can only use html and they have no ASP.Net knowledge.

    thanks
  5. Replies
    13
    Views
    1,113

    Re: include a variable in html

    I am trying to import the user name (fullname) which is inputted in a textbox from another page within the same webpage and get it to show up. Like

    Angelica, thankyou for you comments

    where...
  6. Replies
    13
    Views
    1,113

    include a variable in html

    HI,

    I need to do this simple code in html. I need to include a variable(fullname) from Comments.html inl another form like

    'Fullname' thankyou for giving us your comments.

    thankyou
  7. Replies
    1
    Views
    425

    conversion type error

    I am getting a conversion type error on the red line, can someone pls help?


    Private Function GetGap() As Integer

    Dim VowelNumG As Integer
    Dm Vowels as string = "AEIOU"
    Dim VowelIndexG as...
  8. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Yep have to correct that
  9. Replies
    29
    Views
    2,231

    Re: string manipulation error

    That function is sorted out Keystone_Paul. Thanks for pointing out the dump errors.

    Still more to work on to get this application going though!

    Many thanks . Reputation well deserved!
  10. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Public RandomGen1, RandomGen2, strmessage, characterarray As String
    Public letter5vowel, Smessage, SecretMessage As String
    Dim UseGap As Long, lUse5th As Long
    Dim lStartAt As Long
    ...
  11. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Guess it's not the IUseGap, cos Ive changed the name in all its occurences.
  12. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Hey ,

    Just this last bit with this one please. When I access the UseGap from outside the Function it still returns a "0", even though UseGap is global. How do I go about calling the Function to...
  13. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Think I got somewhere. Thanks for all your help Keystone Paul and the other guys



    Private Function FindGap2(ByVal characterarray As String) As Long
    Dim RandomStr As String =...
  14. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Sorry I had to go for a while. Now what I meant was that in the Form Load I have to assign the return parameter to a string and I did it like this and gives no error now. But still I get the same...
  15. Replies
    29
    Views
    2,231

    Re: string manipulation error

    On Form Load
    GetRandomString()
    Dim RandomStr As String = ReturnString ====gives an error here
  16. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Ok I see your point. True however I have called it on Form Load which should be initialised from there (forgot to point it out sorry). Even though the characterarray is still 0 and I am really at a...
  17. Replies
    29
    Views
    2,231

    Re: string manipulation error

    It is used like this . It is being generated within a Function take takes a char and returns an integer.



    Public Sub Main()
    Dim characterarray() As Char
    characterarray =...
  18. Replies
    11
    Views
    1,286

    Re: Syntax error in string manipulation

    Thanks guys,

    Techgnome I corrected the 1Pos and replace but Im still stuck. My latest version stand like this:

    The charAt are no VB.Net syntax but Im at a loss which to use :D


    Private...
  19. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Public Class Form1
    Public RandomGen1, RandomGen2, strmessage, characterarray As String
    Public letter5vowel As String
    Dim lUseGap As Long, lUse5th As Long
    Dim lStartAt As Long...
  20. Replies
    29
    Views
    2,231

    Re: string manipulation error

    characterarray.length evaluates to "0"
  21. Replies
    11
    Views
    1,286

    Re: Syntax error in string manipulation

    What I am trying to do is this:

    I have a user input which is : Dim encodestring As String = txtmessage.Text

    and Im trying to insert it by replacing strings in the characterarray which is a...
  22. Replies
    29
    Views
    2,231

    Re: string manipulation error

    Yes I added it thanks, Yet it still would not loop. It is not getting inside the loop
  23. Replies
    11
    Views
    1,286

    Re: Syntax error in string manipulation

    Dim characterarray() As Char

    Public Sub Main()
    characterarray = RandomGen1.ToCharArray()

    ===============================================
    characterarray.Substring(((lPos - 1) * lUseGap)...
  24. Replies
    11
    Views
    1,286

    Re: Syntax error in string manipulation

    It is declared as Public at the top of Form
  25. Replies
    11
    Views
    1,286

    Syntax error in string manipulation

    Hey,

    Some help please!

    I am trying an encrypting exercise which takes the txtmessage and encrypts it in characterarray.
    IStartAt is the starting point and by taking one character at a time...
  26. Replies
    4
    Views
    656

    Re: [RESOLVED] loops for less times

    Ok ,

    Thanks for the advice. Can you pls tell me in why
  27. Replies
    29
    Views
    2,231

    string manipulation error

    hey, can someone please tell me why IUse Gap is always returning a "0" please???



    Public Sub Main()
    Dim characterarray() As Char
    characterarray = RandomGen1.ToCharArray()...
  28. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    Okay ,

    I was not refering to my RandomGenerator in your code correctly. Now it is working fine.

    Now I need to replace the RandomGenerator (200 char) + the index of the 5th vowel in the 2nd...
  29. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    hey ,


    The above code gives a NullReferenceException. ???

    I need some help in the replacing please.
  30. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    <bump>
  31. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    Heya,

    I am not sure how to use the index. Not quite familiar with the syntax here. I have tried the code below but it seems it is replaces all occurances of the same vowel.Can someone pls tell...
  32. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    Heya,

    Thanks for the last clue Vectris. Looks like I need some more help please.

    I have changed some code as Vetris suggested and is working fine now But
    the strmessage1 is not returning...
  33. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    Heya Vectris,


    If vowelstring.Contains(characterarray(i).ToUpper()) get an error there! ToUpper does not accept the number of arguments
  34. Replies
    15
    Views
    1,518

    Re: Replace 5th vowel

    Yes I did and plenty of vowels have been generated (out of 200!) so there must be something else.
  35. Replies
    15
    Views
    1,518

    Replace 5th vowel

    Hey,

    I need to find the first letter in a message and replace it with the 5th vowel in another string. However it never gets into the condition in Red Color. Any help please ?

    I also need to...
  36. Replies
    4
    Views
    656

    Re: loops for less times

    heya,

    Got confused with the C# loop. Many thanks
  37. Replies
    4
    Views
    656

    [RESOLVED] loops for less times

    Hey,

    The code below only loops for 3 times. I am assuming it should loop for six times right? Can someone tell me why please?


    Private Sub RandomGenerator1()
    Dim AscChr As String,...
  38. Replies
    6
    Views
    529

    Re: Case with && Error!

    Still get the same error even with an if ... else if statements. So it seems something is wrong in the logical expression.
  39. Replies
    6
    Views
    529

    Case with && Error!

    hi,

    Im getting an error on the case lines in Red:
    ========================================
    Cannot implicitly convert type 'bool' to 'int'
    ========================================
    Any help...
  40. Replies
    8
    Views
    545

    Re: need some correction of syntax

    ok, thanks guys

    now I have extended the coded to include :

    if (c is TextBox && c.Text = null) MessageBox.Show("Textbox cannot be left blank");

    however on the red line it says I cant...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width