-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathVFP Toolkit for .Net Class and Method list.txt
More file actions
374 lines (342 loc) · 11.1 KB
/
VFP Toolkit for .Net Class and Method list.txt
File metadata and controls
374 lines (342 loc) · 11.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
Ver 2019.03.25
Note: This text was scrapped from a screen grabber with OCR, so it has a few typos that Matt Slay will fix later.
There is a very complete CHM Help File in the ZIP download
Many years ago someone created a pretty exhaustive .Net Library of FoxPro functions that were identified as nice Fox Stuff to have in .Net. They matched the function names, parameters and return types exactly, as I recall. The source code is available in C# or you can just download the DLL.
I just wanted to post this here in case it becomes a helpful source to use when VFP comes alive in X#.
Info about it:
www.codemag.com/article/0209071/The-Visu...Pro-Toolkit-for-.NET
Download links:
foxcentral.net/microsoft/VFPToolkitNET.htm
VFPToolkit Namespace
Arrays Class
Arrays Members
ACopy(ref Array aSource, ref Array aDestination)
ACopy(ref Array aSource, ref Array aDestination, int nFirstSourceElement)
ACopy(ref Array aSource, ref Array aDestination, int nFirstSourceElement, int nNumberOfSourceElements)
ACopy(ref Array aSource, ref Array aDestination, int nFirstSourceElement, int nNumberOfSourceElements, int nFirstDestElement) © ADel(ref Array aArray, int nElementNumber)
ADel(ref Array aArray, int nElementNumber, int nRemoveColumn)
ADir(string cFileSkeleton)
AFont(out string!] aArray)
Alns(ref Array aArray, int nElementNumber)
ALen(Array aArray)
ALen(Array aArray, int nArrayAttribute)
ALines(out string!) aArray, string cExpression)
ALines(out string!] aArray, string cExpression, string cParseString)
APrinters(out string!) aArray)
AScan(ref Array aArray, object toObject)
AScan(ref Array aArray, object toObject, int nStartElement)
AScan(ref Array aArray, object toObject, int nStartElement, int nElementSearched)
ASort(ref Array aArray)
Common Class
Common Members
Empty(string tcString)
GetPem(object oObject, string cPropertyEventMethodName)
InList(object toExpression, params object[] toltems)
IsBlank(bool IValue)
IsBlank(char IcChar)
IsBlank(decimal nValue)
IsBlank(double nValue)
IsBlank(int nValue)
IsBlank(long nValue)
IsBlank(string tcString)
IsNull(object oObj)
KeyBoard(string cKey)
NVL(object oExpl, object oExp2)
Parameters(MethodBase ms)
PCount(MethodBase mb)
RGB(int R, int G, int B)
Type(object oObj)
VarType(object oObj)
Dates Class
Dates Members
CDOW(DateTime dDate)
CMonth(DateTime dDate)
CTOD(string tcDate)
CTOT(string cDateTime)
Date()
DateTime()
Day(DateTime dDate)
DMY(DateTime dDate)
DOW(DateTime dDate)
DTOC(DateTime dDate)
DTOS(DateTime dDate)
DTOT(DateTimetDateTime)
GoMonth(DateTime dDate, int nMonths)
Hour(DateTime dDate)
MDY(DateTime dDate)
Minute(DateTime dDate)
Month(DateTime dDate)
Quarter(DateTime dDate)
Sec(DateTime dDate)
Sec(DateTime dDate)
SecondsO © TimeO
TTOC(DateTime dDate)
TTOD(DateTimetDateTime)
Week(DateTime tdDate)
Year(DateTime dDate)
Dialogs Class
Dialogs Members
_GetExtenstion(string IcExtension)
_GetFile(string tcFilter, int tnFilterlndex, string tcTitle)
GetColor(Color oColor)
GetDir()
GetDir(string tcTitle)
GetFile()
GetFile(string tcFileExtension)
GetFile(string tcFileExtension, string tcTitle)
GetFont()
GetFont(Font oFont)
GetFont(string cFontName, long nFontSize)
GetPict()
GetPrinter()
LocFile(string cFileName)
MessageBox(string cMessage)
MessageBox(string cMessage, int nFormat)
MessageBox(string cMessage, int nFormat, string cTitle)
PutFile()
PutFile(string tcTitle)
PutFile(string tcTitle, string tcFileName)
PutFile(string tcTitle, string tcFileName, string tcExtension)
Environment Class
Environment Members
_GetEnv(string IcEnvironmentVariable)
_ClipText()
_DbClick()
CapsLock()
DiskSpace()
DiskSpace(string tcDrive)
DiskSpace(string tcDrive, inttnType)
DriveType(string tcDrive)
GetEnv(string cEnvironmentVariable)
ID()
InsMode()
IsMouse()
NumLock()
OS()
PrintStatus()
Prtlnfo()
sys(int nValue)
SysMetric(int nValue)
Version()
WBorder()
WBorder(Form toForm)
WDockable()
WDockable(Form toForm)
WFont()
WFont(Form toForm)
WMaximum()
WMaximum(Form toForm)
WMinimum()
WMinimum(Form toForm)
WOnTop(string cWindowCaption)
WParent()
WParent(Form toForm)
WTitle()
WVisible(string tcWindowCaption)
Files Class
Files Members
AGetFileVersion(ref string[] aFilelnfoArray, string cFileName)
CurDir()
DefaultExt(string cFileName, string cExtension)
Directory(string cPath)
DisplayPath(string cFileNameWithPath, int nMaxLength)
FChSize(FileStream oFileStream, int nNewSize)
FCIose(ref FileStream oFileStream)
FCreate(string cFileName)
FDate(string cFileName)
FEOF(FileStream oFileStream)
FFIush(FileStream oFileStream)
File(string cFileName)
FOpen(string cFileName)
ForceExt(string cFileName, string cExtension)
ForcePath(string cFileName, string cPath)
FPuts(ref FileStream oFileStream, string cString)
FPuts(ref FileStream oFileStream, string cString, int nCharactersWritten)
FRead(ref FileStream oFileStream, int nBytes)
FSeek(ref FileStream oFileStream, int nBytesMoved)
FSeek(ref FileStream oFileStream, int nBytesMoved, int nRelativePosition)
FTime(string cFileName)
FullPath(string cFileName)
FWrite(ref FileStream oFileStream, string cString)
FWrite(ref FileStream oFileStream, string cString, int nCharactersWritten)
Home()
JustDrive(string cPath)
JustExt(string cFileName)
JustFName(string cFileName)
JustPath(string cPath)
JustStem(string cPath)
Help Class
Help Members
_Screen()
CreateObject()
CreateObjectEx()
Do()
DoDefault()
EditSource()
Getlnterface()
GetObject()
IIF()
NewObject()
Math Class
MathMembers
Abs(decimal nNumber)
Abs(double nNumber)
Abs(int nNumber)
ACos(double nNumber)
ACos(int nNumber)
ASin(double nNumber)
ASin(int nNumber)
ATan(double nNumber)
ATan(int nNumber)
Atn2(double nYCoordinate/ double nXCoordinate)
BitAnd(int tnExpressionl, int tnExpression2)
BitLShift(int tnExpression, int tnPositions)
BitNot(int tnExpression)
BitOr(int tnExpressionl, int tnExpression2)
BitRShift(int tnExpression, int tnPositions)
BitTest(int tnExpression, int tnPosition)
Ceiling(double nNumber)
Cos(double nNumber)
Cos(int nNumber)
DTOR(double nDegrees)
Exp(double nNumber)
Floor(double nNumber)
lnt(double nNumber)
lnt(float nNumber)
Log(decimal nNumber)
Log(double nNumber)
Log(int nNumber)
Log10(decimal nNumber)
Log10(double nNumber)
Log10(int nNumber)
Max(decimal nVaM, decimal nVal2) © Max(double nVaM, double nVal2)
Max(float nVaM, float nVal2)
Max(int nVaM, int nVal2)
Min(decimal nVaM, decimal nVal2) © Min(double nVaM, double nVal2)
Min(float nVaM, float nVal2)
Strings Class
Strings Members
AIITrim(string cExpression)
Asc(char cCharacter)
At(string cSearchFor, string cSearchln)
At(string cSearchFor, string cSearchln, int nOccurence)
AtC(string cSearchFor, string cSearchln)
AtC(string cSearchFor, string cSearchln, int nOccurence)
AtCLine(string tcSearchExpression, string tcExpressionSearched)
AtLine(string tcSearchExpression, string tcExpressionSearched)
Chr(int nAnsiCode)
ChrTran(string cSearchln, string cSearchFor, string cReplaceWith)
CreateBinary(string cExpression)
FileToStr(string cFileName)
GetWordCount(string cString)
GetWordNumb(string cString, int nWordPosition)
lsAlpha(string cExpression)
lsDigit(string tcString)
lsLower(string cExpression)
lsUpper(string cExpression)
Left(string cExpression, int nDigits)
Len(string cExpression)
Lower(string cExpression)
LTrim(string cExpression)
MemLines(string tcString)
MLine(string tcString, inttnLineNo)
Occurs(chartcChar, string cExpression)
Occurs(string cString, string cExpression)
PadC(string cExpression, int nResultSize)
PadC(string cExpression, int nResultSize, char cPaddingChar)
PadL(string cExpression, int nResultSize)
PadL(string cExpression, int nResultSize, char cPaddingChar)
PadR(string cExpression, int nResultSize)
PadR(string cExpression, int nResultSize, char cPaddingChar)
Proper(string cString)
RAt(string cSearchFor, string cSearchln)
RAt(string cSearchFor, string cSearchln, int nOccurence)
RAtLine(string tcSearchExpression, string tcExpressionSearched)
Replicate(string cExpression, int nTimes)
Right(string cExpression, int nDigits)
RTrim(string cExpression)
Space(int nSpaces)
Str(decimal nNumber)
Str(double nNumber)
Str(int nNumber)
StrExtract(string cSearchExpression, string cBeginDelim)
StrExtract(string cSearchExpression, string cBeginDelim, string cEndDelim)
StrExtract(string cSearchExpression, string cBeginDelim, string cEndDelim, int nBeginOccurence)
StrExtract(string cSearchExpression, string cBeginDelim, string cEndDelim, int nBeginOccurence, int nFlags)
StrToFile(string cExpression, string cFileName)
StrToFile(string cExpression, string cFileName, bool lAdditive)
StrTran(string cSearchln, string cSearchFor)
StrTran(string cSearchln, string cSearchFor, string cReplaceWith)
StrTran(string cSearchln, string cSearchFor, string cReplaceWith, int nStartoccurence, int nCount)
Stuff(string cExpression, int nStartReplacement, int nCharactersReplaced, string cReplacement)
SubStr(string cExpression, int nStartPosition)
SubStr(string cExpression, int nStartPosition, int nLength)
Trim(string cExpression)
Upper(string cExpression)
Val(string cExpression)
VfpData Class
CfpData Members
_Filter
_Found
_Order
Alias()
AppendBlank()
AppendBlank(DataView toView)
BOF(int nRowNumber)
BOF(int nRowNumber, DataView toView)
Browse()
Browse(DataView toView)
Count()
Count(DataView toView)
Count(string tcFilterCondition)
Count(string tcFilterCondition, DataView toView)
CursorToXML(DataSettoDataSet, string tcFileName)
CurVal(string tcField, DataRowtoRow)
Delete(int nRecNo)
Delete(int nRecNo, DataView toView)
DeleteAll()
DeleteAII(DataView toView)
Deleted(int nRecNo)
Deleted(int nRecNo, DataView toView)
DeleteFor(string cExpression)
DeleteFor(string cExpression, DataView toView)
Descending()
Descending(DataView toView)
EOF(int nRowNumber)
EOF(int nRowNumber, DataView toView)
FCount()
FCount(DataView toView)
Field(int nPosition)
Field(int nPosition, DataView toView)
Filter()
Filter(DataView toView)
Found()
lndexSeek(string tcExpression)
lndexSeek(string tcExpression, DataView toView)
IsReadOnly()
lsReadOnly(DataView toView)
Lookup(string tcReturnField, string tcSearchExpression, string tcSearchedField)
Lookup(string tcReturnField, string tcSearchExpression, string tcSearchedField, DataView toView)
Order()
Order(DataView toView)
oView
Recall(int nRecNo)
Recall(int nRecNo, DataView toView)
RecCountO
RecCount(DataView toView)
Seek(string tcString)
Seek(string tcString, DataView toView)
Select(DataView toView)
Set(string tcCommandType)
SetFilterTo(string tcFilterExpression)
SetFilterTo(string tcFilterExpression, DataView toView)
SetOrderTo(string tcFieldName)
SetOrderTo(string tcFieldName, DataView toView)
SqlConnect(string tcConnectionString)
SqlDisConnect(OleDbConnection toConn)
SqlExecute(OleDbConnection toConn, OleDbCommand toCommand)
SqlExecute(OleDbConnection toConn, OleDbCommand toCommand, string tcAlias)
SqlExecute(OleDbConnection toConn, string tcSQL)
SqlExecute(OleDbConnection toConn, string tcSQL, string tcAlias)
SqlStringConnect(string tcConnectionString)
XMLToCursor(string tcFileName, string tcDataSet)