Jump to content

Nim199

Members
  • Content Count

    160
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Nim199

  • Rank
    Member
  • Birthday 06/29/1995

Previous Fields

  • Languages
    HTML, CSS, Visual Basic (.NET/for Applications/Script)

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Wiltshire, UK, Europe, Earth
  • Interests
    I have an interest in trains, computor languages, and Mathematics. My favourite author is Simon Singh. My favourite types of music are Classical and Jazz.
  1. Sorry, I don' understand what you mean.
  2. Nim199

    Checkbox

    I can't give you code, but I think you will need to load a new page first, and then change its URL.
  3. Nim199

    Vb.net Evaluation

    Hi, for a while now, I have been working on a prgram to execute mathamatics held inside a string, e.g.:"2*(3-8/4)+6"when run returns8I was, however, helping a freind wiht some VBA recently, and it seems that you can use the 'Evaluate' functio to do this. When I tryed this in VB.NET, however, it wasn't recognised as a command.If anyone knows how to utilliase a built in Evaluation function, PLEASE tell me!Thanks!
  4. Nim199

    Browser Issue

    Could you post some code for us to refer to...
  5. Nim199

    Image Preload

    I don't think there is a space between "java script"<body onload="java script:preloadimages()"> || || \/<body onload="java script:preloadimages()">
  6. Nim199

    Anagram Solver

    Hiya all!I am trying to build a basic anagram solver that looks through all possibilities for words, check weather they are true, and acts accordingly.Imput = "TAE"Word(1) = "TEA"Word(2) = "ATE"Word(3) = "AET"Word(4) = "ETA"Word(5) = "EAT"For i = 1 to 5If isRealWord(Word(i)) Then Ans(i) = TrueElse Ans(i) = FalseEnd IfNext' RESULTAns(1) = True 'Tea is a real wordAns(2) = True 'Ate is a real wordAns(3) = False 'Aet is NOT a real wordAns(4) = False 'Eta is NOT a real wordAns(5) = True 'Eat is a real word' OUTPUTAnagrams:TeaAteEatI need to have a function (isRealWord) that can check a wrod inside an external dictionary.If there is a downloadable dictionar DLL I can get hold of, please tell me, or how I could contenct to a Microsoft Word dictionary WITHOUT opening Word.
  7. Hi all,I am really getting into VB.NET now, but have hit a brick wall.How can I take an image (bmp) and replace any colour with a texture?I have found one way, where you make the colour transparent, then make a new image where you paste the texture opn first, then layer over the transparented original image. Public Class Form1 Dim g As Graphics Dim img, img2 As Bitmap Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load img = New Bitmap(200, 200) g = Graphics.FromImage(img) g.DrawImage(PictureBox1.Image, 0, 0) img.MakeTransparent(Color.Black) ' Remove Black img2 = New Bitmap(200, 200) ' New Imgage g = Graphics.FromImage(img2) g.DrawImage(PictureBox2.Image, 0, 0) ' Add texture g.DrawImage(img, 0, 0) ' Add Overlay PictureBox3.Image = img2 End SubEnd Class I am sure there must be another way, and help would be great.
  8. Nim199

    Which Book?

    Try the microsoft press.Type something like "Microsoft Press Database Development in .NET" in amazon, and see what comes up.I have two of their books, and I regard them highly.Note: The books purchased were both £20.Look here: http://www.asp.net/learn/data-access/
  9. Nim199

    Compile Proplems

    Desktop.However, if you know how to use web apps, plaese inform me. I am testing the MSDN 2005 EXPRESS Web Development Software.I have built a website with a vb code included, and I want to place it my family's website. I have look around, and done a search, but I can't find any usful info anywhere.I am wondring wheather the .sln files (solutions) need compiling, but I can't find anything to surgest that. If you can't help, no problem.For now, are desktop tuff takes priority.Hope this makes sence...
  10. Nim199

    Compile Proplems

    Is there any way of getting past that problem (eg. compiling in a way that means it will not require the framework to run?) other than packing the framework along with each app?Thanks
  11. Nim199

    Compile Proplems

    Hi,I have noticed that any aplications I attemped to run on most computers, do not work. I am taking the exe file from the "Bin" in my project solution folder (VB.NET Express 2005). Is there anyother way to compile the porgram? - or what else can you suggest.Thanks in advance!
  12. Hi all, my brother and I are building a program which requires an inverse tangent function.Howerever, VB.NET 2005 does not contain an inverse tangent function.Any help with sovling our issue in VB.NET is welcome.
  13. Also, if you use dreamweaver, if you have to resort to notepad for one reason or another, then you have a major problem.Simply: you don't know the code!
  14. Nim199

    Base 36 converter

    I will paste all the new versions in this post...The lower down they are, the better!Version 2.5 {Specifications: Range: 1-9, a-z & _ Notes: lowercase variables only (HI = hi); If ERRORS ocour, then recuce the number of 9s in the 'vars' array Max Variable Name Length: Current Estimate: 4 charactors Created: 02/12/07 Dim vars(9999999) Function gvn(ByVal name As String) Dim i As Integer = 0 Dim var Dim tv As String = "" Dim tn As Integer = 0 Dim tvars(name.Length) As Integer Dim nvar As Long = 0 For i = 1 To name.Length var = LCase(Mid(name, i, 1)) Select Case var Case "a" : tn = 11 Case "b" : tn = 12 Case "c" : tn = 13 Case "d" : tn = 14 Case "e" : tn = 15 Case "f" : tn = 16 Case "g" : tn = 17 Case "h" : tn = 18 Case "i" : tn = 19 Case "j" : tn = 20 Case "k" : tn = 21 Case "l" : tn = 22 Case "m" : tn = 23 Case "n" : tn = 24 Case "o" : tn = 25 Case "p" : tn = 26 Case "q" : tn = 27 Case "r" : tn = 28 Case "s" : tn = 29 Case "t" : tn = 30 Case "u" : tn = 31 Case "v" : tn = 32 Case "w" : tn = 33 Case "x" : tn = 34 Case "y" : tn = 35 Case "z" : tn = 36 Case "_" : tn = 37 End Select If tn = 0 Then tn = CInt(var) End If If tn <> 0 Then tn = tn * 37 ^ (i - 1) End If tvars(i) = tn tn = 0 Next nvar = 0 For i = 1 To name.Length nvar = nvar + tvars(i) Next gvn = nvar End Function }Version 2.7 {Specifications: Range: 1-9, a-z & _ Notes: lowercase variables only (HI = hi); If ERRORS ocour, then recuce the number of 9s in the 'vars' array; reduction in average variable name length in deninary due to the select case now based on most common letters; NEWEST VERSION Max Variable Name Length: Current Estimate: 4 charactors Created: 08/12/07 Dim vars(9999999) Function gvn(ByVal name As String) Dim i As Integer = 0 Dim var Dim tv As String = "" Dim tn As Integer = 0 Dim tvars(name.Length) As Integer Dim nvar As Long = 0 For i = 1 To name.Length var = LCase(Mid(name, i, 1)) Select Case var Case "e" : tn = 11 Case "t" : tn = 12 Case "a" : tn = 13 Case "i" : tn = 14 Case "n" : tn = 15 Case "o" : tn = 16 Case "s" : tn = 17 Case "h" : tn = 18 Case "r" : tn = 19 Case "d" : tn = 20 Case "l" : tn = 21 Case "u" : tn = 22 Case "c" : tn = 23 Case "m" : tn = 24 Case "f" : tn = 25 Case "w" : tn = 26 Case "y" : tn = 27 Case "g" : tn = 28 Case "p" : tn = 29 Case "b" : tn = 30 Case "v" : tn = 31 Case "k" : tn = 32 Case "q" : tn = 33 Case "j" : tn = 34 Case "x" : tn = 35 Case "z" : tn = 36 Case "_" : tn = 37 End Select If tn = 0 Then tn = CInt(var) End If If tn <> 0 Then tn = tn * 37 ^ (i - 1) End If tvars(i) = tn tn = 0 Next nvar = 0 For i = 1 To name.Length nvar = nvar + tvars(i) Next gvn = nvar End Function }Please post your experiences of this here (assuming it doesn't function properly) so that everyone can use them to their advantage. PLease do not PM me about his topic.
  15. Nim199

    Which is best? & Why?

    VB is easier, but C# is more powerful.
×
×
  • Create New...