Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Niya

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    267

    Re: VB 2012 Modules and Forms help

    What ?....lol

    You're supposed to call Add:-

    lblAnswer.Text = Add(decNumber1, decNumber2).ToString
  2. Re: vb.net send multiple connections at the same time

    You mean you don't know how to use threads and you have a Thread object created in your code ?
  3. Replies
    6
    Views
    267

    Re: VB 2012 Modules and Forms help

    There is no where in that code where you perform any addition. Of course it would be 0.
  4. Replies
    6
    Views
    267

    Re: VB 2012 Modules and Forms help

    Here a partial implementation of your assignment. Note that it doesn't adhere to all the requirements made by your instructor. You're gonna have to fix those:-

    Public Class Form1
    Private Sub...
  5. Replies
    6
    Views
    267

    Re: VB 2012 Modules and Forms help

    This might be your problem:-

    Public Function Add(ByVal decAdd As Decimal) As Decimal
    Return decAdd = (decNumber1 + decNumber2)
    End Function

    Firstly, you need two parameters if that...
  6. Replies
    2
    Views
    274

    Re: Problem when rendering my game.

    I'm assuming your canvas is some kind of control or a Form. You need to set the DoubleBuffered property on this control/Form to True to prevent flicker. Also, don't delete the previous frame when...
  7. Replies
    2
    Views
    275

    Re: Help on Garbage Collection

    I'm going to wager that your C++ calls are allocating some native handles. For example, file handles. The .Net GC doesn't know about these resources. That means you have to clean them up yourself....
  8. Re: vb.net send multiple connections at the same time

    You can use that code and some simple multi-threading to achieve this.
  9. Replies
    1
    Views
    484

    Re: Installing VB6 on Win7

    Maybe something in this thread can help.
  10. Replies
    3
    Views
    213

    Re: Display message every hour

    Here is some sample code that will show a message every hour from when the app was started:-

    Imports System.Threading
    Public Class Form1

    Private g_dtStart As Date

    Private Sub...
  11. Replies
    145
    Views
    87,565

    Sticky: Re: Please help save VB6

    Wow....can't I go anywhere on the internet without seeing this troll thread ? VBForums wasn't enough ?
  12. Replies
    2
    Views
    665

    Re: Problems with Callbacks

    You're supposed to pass delegates I believe. Not Longs or IntPrts. Define a delegate that corresponds with the callback expected and declare the API's parameter to use this delegate as its type. When...
  13. Replies
    3
    Views
    4,356

    Re: Help with Arrays in Murachs Visual Basic

    Well arrays are fixed in VB.Net. When you need to add items to a list its generally recommended you use a List(Of T). It has an Add method.
  14. Replies
    1,291
    Views
    386,479

    Re: Who is the Sexiest Actress真

    Catherine Zeta-Jones is a close second.

    http://www.buzzlogin.com/wp-content/gallery/catherine-zeta-jones/catherine-zeta-jones-14.jpg
  15. Replies
    1,291
    Views
    386,479

    Re: Who is the Sexiest Actress真

    The answer is obviously Jessica Alba.

    http://triallift.files.wordpress.com/2013/03/alba.jpg
  16. Re: Consume a WebService written in Java by our provider from our vb.net App

    Nvm, I see you asked the same question over at VBForums and got some assistance.
  17. Re: Where should my collection of data objects be instantiated?

    If the list is tied closely to the instance of the Form then it should definitely be a field of the Form class. However, if the list is part of some global state then I would opt to use a property of...
  18. Re: Consume a WebService written in Java by our provider from our vb.net App

    How are you communicating with this web service ?
  19. Replies
    3
    Views
    6,684

    Re: DialogResult does not default to None?

    The FormClosing event can provide info on how the Form is going to be closed. That event passes a FormClosingEventArgs which has a property called CloseReason.
  20. Thread: Cheer Up

    by Niya
    Replies
    5
    Views
    6,693

    Re: Cheer Up

    Let 'em watch some George Carlin clips. He is really good at using truth as comedy. He's not PG-13 though.
  21. Re: how to pass an array to function and return array in asedning order

    Alternatively you can use LINQ to sort the array. IMO its the better choice because of its flexibility. You can specify a function for it to use in a transformation. Basically, you can tell it how to...
  22. Re: My aplication uses 100% of a CPU core even if idle.

    Those loops you are using are called spin-waits and they are strongly discouraged for the very reason you are concerned about. Essentially they consume a hell of a lot of CPU cycles while not doing...
  23. Re: [2012] Windows Store Application: Image Source

    Here, I posted a suggestion in the thread you have over @ VBForums.
  24. Thread: Is he a racist ?

    by Niya
    Replies
    2
    Views
    2,530

    Re: Is he a racist ?

    Why would a guy with 99/100 white FB friends be racist ? That's not enough to go on.
  25. Replies
    3
    Views
    983

    Re: Combination of characters.

    Hmm...well its kinda like counting don't you think ? Imagine we only had 4 symbols for representing basic numbers:-

    000
    001
    002
    003
    010
    011
    012
    013
Results 1 to 25 of 44
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center