Dim Pathlast$
Pathlast$=Dir1.List(Dir1.ListCount - 1)
Pathlast$=Dir1.List(Dir1.ListCount - 1)
解决方案 »
- 讨论下未来Windows7系统对VB6翻译的程序能否支持
- 数据库字段小问
- 水晶报表问题
- ADO初学者的问题
- 关于vb中double型相加
- 这程序不断的吃内存,可是上就这几行代码,看看那里不对
- vb做pdf printer driver,谁能帮我?
- 请问,怎么样用一个BITBLT函数,实现一个图片从窗体的右侧移到左侧?
- 如何在客户端通过VB注册一个升级DLL,并且要自动识别出98或者是2000的安装目录,将Dll覆盖并升级 要有获取路径和注册的例子 高分送上
- Visual Basic 窗体背景花纹的如何实现?方法越多越好。
- 关于Dll文件注册
- 请问如何在 [ VBA ] 中动态生成 [ 文本框 ] 控件 ???
Print Dir1.List(Dir1.ListIndex) '选中的那个
Print Dir1.List(Dir1.ListCount - 1) '最后一个
End Sub
dim b as string
a=split("c:\abc\def\gh","\")
b=a(ubound(a))'b="gh"
Public Function CurrentDirectory() As String Dim Str As String * 260
Dim i As Integer
GetCurrentDirectory 260, Str
i = InStr(1, Str, Chr(0))
CurrentDirectory = Mid(Str, 1, i - 1)
End Function
忘记了。
请教!