Search:
Type: Posts; User: Niya
Search:
Search took 0.02 seconds.
-
You want to use C# as an alternative to PHP ?
If so, that might be viable but it depends on what you're doing. C# is a general purpose programming language so it can be used to write just about...
-
What page ? Are you talking about a web page ?
-
If you want to refresh from the class, you must have a reference to the Form inside the class. You will then be able to call Refresh from the reference.
-
April 29th, 2015, 02:43 AM
What ?....lol
You're supposed to call Add:-
lblAnswer.Text = Add(decNumber1, decNumber2).ToString
-
April 28th, 2015, 03:51 PM
You mean you don't know how to use threads and you have a Thread object created in your code ?
-
April 28th, 2015, 03:46 PM
There is no where in that code where you perform any addition. Of course it would be 0.
-
April 28th, 2015, 03:11 AM
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...
-
April 28th, 2015, 02:58 AM
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...
-
April 28th, 2015, 02:47 AM
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...
-
April 28th, 2015, 02:44 AM
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....
-
April 28th, 2015, 02:39 AM
You can use that code and some simple multi-threading to achieve this.
-
April 28th, 2015, 02:37 AM
Maybe something in this thread can help.
-
April 28th, 2015, 02:32 AM
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...
-
April 28th, 2015, 02:15 AM
Wow....can't I go anywhere on the internet without seeing this troll thread ? VBForums wasn't enough ?
-
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...
-
October 17th, 2013, 08:52 AM
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.
-
October 17th, 2013, 08:45 AM
Catherine Zeta-Jones is a close second.
http://www.buzzlogin.com/wp-content/gallery/catherine-zeta-jones/catherine-zeta-jones-14.jpg
-
October 17th, 2013, 08:41 AM
The answer is obviously Jessica Alba.
http://triallift.files.wordpress.com/2013/03/alba.jpg
-
August 25th, 2013, 04:23 PM
Nvm, I see you asked the same question over at VBForums and got some assistance.
-
August 25th, 2013, 04:03 PM
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...
-
August 25th, 2013, 03:53 PM
How are you communicating with this web service ?
-
August 25th, 2013, 03:48 PM
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.
-
August 25th, 2013, 03:43 PM
Let 'em watch some George Carlin clips. He is really good at using truth as comedy. He's not PG-13 though.
-
August 21st, 2013, 03:15 AM
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...
-
August 6th, 2013, 12:27 PM
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...
|
Click Here to Expand Forum to Full Width
|