function is declared as
StdDev (Of T)( source As IEnumerable(Of T), selector As Func(Of T, Decimal)) As Decimal
can you please explain what bold text means in the declaration?
User Profile
Collapse
-
Using (Of T) generic with functions in Visual Basic 2012
Hi folks,
can you please explain what (Of T) is after function name in following line:
Code:Public Function StdDev(Of T)( source As IEnumerable(Of T), selector As Func(Of T, Decimal)) As Decimal
I understand that this function will extend IEnumerable(Of T) and gets one delegate as parameter, but I could not get what is (Of T) in this declaration -
value can be changed as suggested by bomb23 but this approach is not reliable. because tag-numbers are generated on compile and this number may vary if new elements are added or deleted. you can change value by tag-number if you know the name or id of the control that lies immediately after or previous the target control. then tag-number can be calculated by adding or deducting 1 from the tag-number of control that lies after or previous the target...Leave a comment:
-
download win2flash. it will make your pen drive bootable like windows installation diskLeave a comment:
-
-
following code may help you
Code:Dim strT As String strT = Dir("c:\", vbDirectory) While strT <> Empty If InStr(1, strT, "w", vbTextCompare) > 0 Then Debug.Print strT End If strT = Dir() Wend
Leave a comment:
-
how both tables are being related. ID is the only common field and it will make one to one relationship. please explain in detail
-----------------------
Manpreet Singh DhillonLast edited by zmbd; Nov 6 '13, 09:08 PM. Reason: [z{MSD: Please try again... this sounds like a hijack; however, I suspect just the wording is off?}]Leave a comment:
-
nothing is wrong in the code. you might have antivirus installed. check email settings in advance settings of antivirus.
-----------------------
Manpreet Singh DhillonLeave a comment:
-
you can not filter dates writing query in vb6 code. you have three methods:
first: write parametrised query in ms access that takes two date type parameters and filters data as desired. in vb6 code pass dates as parameter to ms-access query. in this case ms-access will return the filtered data.
second: use data environment designer and make parametrised query
third (not preferred): save date as yyyymmdd in a number field and then...Leave a comment:
-
hi
it is easy.
Name "Control Panel. {21EC2020 -3AEA-1069- A2DD-08002 B30309D}" yourFolder
regards manpreet singh dhillon hoshiarpurLeave a comment:
-
this error occurs when a field you are referring in the query does not exists in the table. in this case check whether EMP_ID exists in the EMPLOYEEINFO table?
regards
manpreet singh dhillon hoshiarpurLeave a comment:
-
-
hi
use vb6's data report to print the bill
regards
manpreet singh dhillon hoshiarpurLeave a comment:
-
hi
have online lib on this link http://msdn.microsoft.com/en-us/library/ff405713.aspx
using this link i dont think you will need any offline library.
regards
Manpreet Singh Dhillon HoshiarpurLeave a comment:
-
press ctrl+End to move to last page. check your last record here
if not then the problem may be in the query.
regards
manpreet singh dhillon hoshiarpurLeave a comment:
-
Hide some modules from junior programmers
hi
i am developing a software on which 3 junior programmers are also working. there are some modules that i dont want to share with junior programmers. but some function in theses modules can be used by them. is it possible to hide modules from junior programmers.
regards
manpreet singh dhillon hoshiarpur -
hi jbm1313
i have tried vss. it makes the modules readonly. so juniors cannot modify the module. but i want such system where junior programmers could not see the code. i can also not make dll at this stage, because project cannot be devided into parts.
is there any way that makes the module visible blank to the junior programmer??
thanxLeave a comment:
-
Hide some modules from junior programmers
hi
i am developing a software on which 3 junior programmers are also working. there are some modules that i dont want to share with junior programmers. but some function in theses modules can be used by them. is it possible to hide modules from junior programmers.
regards
Manpreet Singh Dhillon Hoshiarpur -
use following loop to get each text file
f=dir("*.txt")
do while f <> empty
'process files
f = dir()
loop
regards
Manpreet Singh Dhillon HoshiarpurLeave a comment:
-
if you are using a network printer then preview in datareport may be slow, because obtaining printer information takes time according to the network speed
regards
manpreet singh dhillon hoshiarpurLeave a comment:
No activity results to display
Show More
Leave a comment: