Topic: Functions And Subroutines In Vb 5 0
Not finding your answer? Try searching the web for Functions And Subroutines In Vb 5 0
Answers to Common Questions
How to get around using the 'WeekDayName' function in VB 5.0?
Hi rkckjk, Format(Now(),"dddd") Should do it. Likewise: Format(DateAdd("d",-2,Now()),"dddd") For two days ago. Tim Cottee Brainbench MVP for Visual Basic http://www.brainbench.com Read More »
Source: http://www.experts-exchange.com/Q_20943942.htm
what function/method can I use to compare to dates? compare 2 dat...
Visual Basic has a function called as DateDiff which u can use for this use this function which return three values they are 1 - Second Date is Greater than First -1 - Second Date is smaller than first 0 - Both dates are equal Pu... Read More »
Source: http://www.experts-exchange.com/Programming/Languages/Visual_Basi...
How can I obtain the name of the current routine or function? VB ...
System.Reflection.MethodBase.GetCurrentMethod().Name.ToString() ~ Read More »
Source: http://www.experts-exchange.com/Programming/Languages/Visual_Basi...
More Common Questions
Answers to Other Common Questions
The limit of the function x+5 as it approaches x=0 is 5. This is the limit from both directions. Isn't math fun?!?!
Read More »
Source: http://www.chacha.com/question/what-is-the-limit-of-a-function-x%...
See my answer to this question in the VB area. basically, you need void _declspec(DllExport) _stdcall CFunction(paramlist) Also you need the DEF file: LIBRARY dll-name EXPORT CFunction In VB then you declare it as declare sub (or fu...
Read More »
Source: http://www.experts-exchange.com/Q_10069403.htm
I appologize. I pulled that code from an example I found online without running it. I have compiled and run the following code. THere are some minor differences from what I first posted. Option Explicit Declare Function CreateThread Lib ...
Read More »
Source: http://www.experts-exchange.com/Programming/Languages/Visual_Basi...
abc="C:\windows\dexter.exe" or abc="C:\windows\programfiles\dexter.exe" OR compares true or false statements/expressions. "C:\windows\programfiles\dexter.exe" isn;t a true/false expressions, but abc="C:\windows\programfiles\dexter.exe" is.
Read More »
Source: http://answers.yahoo.com/question/index?qid=20090207081528AAIzgsl
Hello I think the problem we see here is becuase of type declaration. I used to deal with the same problem like this: Insted of the recommnded "Any" type I'm using the "Long" and insted of sending the refefence I'm sending the varaible pron...
Read More »
Source: http://www.experts-exchange.com/Programming/Languages/Visual_Basi...
Dim x As New String("0", 3) or Dim x As String x = New String("0", 3) HTH ~BC
Read More »
Source: http://www.experts-exchange.com/Q_21770807.htm
That is a function because there is a "y" value for each "x" value.
Read More »
Source: http://www.chacha.com/question/what-is-the-function%3F-x-2%2C-3%2...