What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-13 22:05:03
c# type conversion
// --------------------- TYPE CONVERSION --------------------- // // Implicit conversion float varFloat = 12.7f; double varDouble = varFloat; // converts float => double // Explicit conversion (casting) double varDouble = 2.3; int varInt = (int) ... Add solution -
Java 2022-02-13 15:45:32
random string generator java
public static String getRandomString(int size) { // The string that we will return String rand = ""; // The chars that are used to generate the random string String chars = "1234567890-=!@#$%^&*()_+qwertyuiop[]\\QWERTYUIOP{}|asd... Add solution -
C# 2022-02-10 21:35:05
vb.net databinding not working on custom property
'The third thing to know is that in your class you must declare events for each property that will 'be used in data binding if you want change notifications to be sent from the object through the 'data binding mechanism when the value of the property cha... Add solution -
VBA 2022-02-07 02:45:15
vba move column header
'=============================================================================== '>> MoveColumnWithSpecifiedHeader(sHeaderName,sColAsLetter) '=============================================================================== ' Cuts the column according... Add solution -
VBA 2022-02-02 23:16:28
vba global vs public
'In VBA, GLOBAL variables must be declared ABOVE all procedures in a module: Public MyGlobalString As String '<-- global to ALL modules Private MyGlobalLong As Long '<-- global to THIS module (Private) Public Const HELP As String = "Pres... Add solution -
Other 2022-02-02 20:00:07
CDate vba.net
Dim aDateString, aTimeString As String Dim aDate, aTime As Date aDateString = "February 12, 1969" aTimeString = "4:35:47 PM" ' The following line of code sets aDate to a Date value. aDate = CDate(aDateString) ' The following line of co... Add solution