Search:

Type: Posts; User: Daslee

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    899

    [RESOLVED] Visual basic to c++

    Fixed
  2. Replies
    3
    Views
    766

    VS 2010 Re: Shorter code

    Thank you very much!! :)
  3. Replies
    3
    Views
    766

    VS 2010 [RESOLVED] Shorter code

    Hello, how i can make this code shorter:


    Dim reminderday As Integer = 13

    Select Case reminderday
    Case 1
    D1.BackgroundImage =...
  4. Replies
    27
    Views
    2,089

    Re: Help with calculate button

    Dim InitialCost, Salvage, LifeInYears As Integer
    Try
    'Convert input values to numeric variables.
    InitialCost = Integer.Parse(CostTextBox.Text)
    Salvage...
  5. [RESOLVED] Console window as additional window

    Fixed!
  6. Replies
    47
    Views
    9,238

    VS 2010 Re: Changing buttons pictures

    You are selecting case from nothing. Should use like this:

    Select Case fromwhat
  7. VS 2010 Re: Read from .txt file and change controls in form

    If that functions working for you, so just copy in for loop this:

    ElseIf game.nr = 2 Then
    infoGame2.Text = game.info
    If game.ckb1 = 1 Then ckb1Game2.Checked =...
  8. VS 2010 Re: Read from .txt file and change controls in form

    http://www.youtube.com/watch?v=DSfRlZRsBG8 I think this is what you need.

    If you don't want to watch this video so where is function code:

    Private Function GetSettingItem(ByVal file As String,...
  9. Replies
    2
    Views
    725

    VS 2010 Re: Images Not Showing in WebBrowser1

    webbrowser1.document.getelementbyid('captchaimageid').getattribute('src') And then you'll get source of captcha image. Then download image by the image source and show it in your picturebox.
  10. Replies
    11
    Views
    1,073

    Re: For Function

    I know how that loop working so i just needed to know, how to make code like you showed now. Thanks for that code, working perfect. :)
  11. Replies
    11
    Views
    1,073

    Re: For Function

    Ech.. Thats what you showed will be okay. Thanks. :))
  12. Replies
    11
    Views
    1,073

    [RESOLVED] For Function

    Hello. I have a question about For function. I have in form 2 pictureboxes and i want that one which size is 300x300 will be resized to 100x100 and second which is 100x100 will be resized to 300x300...
  13. Replies
    2
    Views
    827

    VS 2010 Re: Few picture boxes but moving only 1

    "You could keep a note of which picturebox you 'selected' in the pb.mousedown event."
    Exactly, but i just dont know how to configure the code. I never thinked about directcast. Thank you. :)
  14. Replies
    2
    Views
    827

    VS 2010 Few picture boxes but moving only 1

    Hello. I maked application which can add few picture boxes on form. But there is a problem. Everyone picturebox is called pb and i can move only latest added picturebox. Here is the video about that:...
  15. Replies
    2
    Views
    516

    VS 2010 Re: Adding item coding

    I was made program with this, but i was forgot about that. :D Thank you. :)
  16. Replies
    2
    Views
    516

    VS 2010 [RESOLVED] Adding item coding

    Hello. Im trying to add item not from toolbox, but coding. I have this code on button1:

    Dim pb As New PictureBox
    pb.BackgroundImage = My.Resources.street
    pb.Visible = True
    ...
  17. Replies
    3
    Views
    3,995

    VS 2010 Re: ReadOnly Rich text box

    Fixed!
    Before replacing ":)" To smile, i disabling readonly function. And after replacing, enabling readonly function! :))
  18. Replies
    3
    Views
    3,995

    VS 2010 Re: ReadOnly Rich text box

    But now i can't select text in rich text box, and fore color cannot be changed. :/

    Any other ideas?
  19. Replies
    3
    Views
    3,995

    VS 2010 [RESOLVED] ReadOnly Rich text box

    Hello. I've been tried to make a richtextbox which could read smiles. Everything was fine, it replaced ":)" To smile from resources. But why when i changing richtextbox to readonly, it can't replace...
  20. Thread: transparency

    by Daslee
    Replies
    12
    Views
    1,234

    VS 2010 Re: transparency

    Then you'll make all form transparent.
  21. Replies
    9
    Views
    1,321

    VS 2010 Re: Snake length wont increase

    So there is no way to fix this problem?
  22. Replies
    9
    Views
    1,321

    VS 2010 Re: Snake length wont increase

    I tried this codes:

    p.GetUpperBound(0)
    p.GetUpperBound(m)
    ReDim Preserve p(p.GetUpperBound(m))

    But no one working, it doesn't increases snake length ("m")
  23. Replies
    9
    Views
    1,321

    VS 2010 Re: Snake length wont increase

    Doesn't working.
  24. Replies
    9
    Views
    1,321

    VS 2010 Re: Snake length wont increase

    So you mean this:

    If p(m).X = food.Location.X And p(m).Y = food.Location.Y Then
    score += 25
    ReDim Preserve p(m + 1)
    food.Visible = False
    ...
  25. Replies
    9
    Views
    1,321

    VS 2010 Snake length wont increase

    Hello. I have a problem with snake game. I never tried to make a game with VB, but now i tried to make snake from this tutorial: http://www.youtube.com/watch?v=C578InYXnaM
    So i added food to this...
  26. Replies
    4
    Views
    610

    VS 2010 Re: Random with tens

    Evil_Giraffe, archaeous Thanks. That's what i needed! :)
  27. Replies
    4
    Views
    610

    VS 2010 [RESOLVED] Random with tens

    Hello. How i can make random number with tens with function Random. If i make Random.Next(0, 500) then it gives me any number from 0 to 500. But how i can make that it gives me not any but tens....
  28. Thread: Changing font

    by Daslee
    Replies
    0
    Views
    712

    VS 2010 Changing font

    Hello. I have a problem while changing font for label, my font is not ttf so i googled for something to change font. I found this thread: http://www.vbforums.com/showthread.php?t=425218 And i took...
  29. Re: Connecting a MySql database to VB.Net Application [.Net Control]

    Look, everytime when i searching something with connector.search it anyways found that string what i wrote, but that string does not exist in my database table. My codes:

    Sub search(ByVal str As...
  30. Replies
    2
    Views
    595

    Re: Select something from a website

    Example with google:


    Try
    WebBrowser1.Document.GetElementById("q").SetAttribute("value", "Text what you want to insert in search text field")
    ...
  31. Replies
    5
    Views
    715

    VS 2010 Re: Animation with 1 image

    Thank you so much :) :)
  32. Replies
    5
    Views
    715

    VS 2010 Animation with 1 image

    Hello. I want to ask, how i can make animation only with 1 images, inside there are like few different images. I seen this in few games, and i want to try it. I think there should by picturebox and...
  33. Replies
    12
    Views
    16,252

    VS 2010 Re: Get folder files size

    Thank you so much :):thumb:
  34. Replies
    12
    Views
    16,252

    VS 2010 Re: Get folder files size

    Thanks, it works. But look now in that folder which im getting files size is another folder and how it should get it size? Its like this:
    I'm getting size of folder items:...
  35. Replies
    12
    Views
    16,252

    VS 2010 Re: Get folder files size

    But now on that line im getting this error:
    Class 'System.IO.FileInfo' cannot be indexed because it has no default property.
  36. Replies
    12
    Views
    16,252

    VS 2010 [RESOLVED] Get folder files size

    Hello. I trying to make program, that could get all files size which are in 1 folder. But there is problem with codes.

    Dim fsize As Integer
    For Each i In...
  37. Replies
    3
    Views
    1,360

    VS 2010 Re: Context Menu Strip

    Thanks, works perfectly. :)
  38. Replies
    3
    Views
    1,360

    VS 2010 [RESOLVED] Context Menu Strip

    Hello. I have a problem with Context Menu Strip Opening event, and i think i can get help here. On ContextMenuStrip1_Opening i have code to check, does any item are selected on listview. If yes, then...
  39. Thread: Text formatting

    by Daslee
    Replies
    1
    Views
    467

    VS 2010 Text formatting

    Hello, im trying to make colored text by the word, like <html> is blue <body> is red. But i have a problem, here is the video about that problem: http://www.youtube.com/watch?v=GhNSqv9c76w And please...
  40. Replies
    6
    Views
    1,684

    Re: Picturebox wont save image...

    Okay, i watched your thread. Now i created new project and copied all your codes, so now i have button1 and on click event there is: Save() And how it could save my picturebox1.image without any...
Results 1 to 40 of 56
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width