0
我怎么可以把My.Resources变量,像变量内部的对象?
My.Resources.[var]
这里是我的代码:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
For Each Fe In My.Resources.ResourceManager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, False, True)
ProgressBar1.Maximum += 1
' MsgBox(Fe.Key)
My.Computer.FileSystem.WriteAllBytes _
(appath & "\bin\" & Fe.Key & ".jpeg", My.Resources.F.Key, True) 'Fe.Key As Variable
Next
End Sub
我怎样才能在My.Resources使用Fe.Key?
这是的WinForms? – AbZy
在VB语言中是。 – Zaid
你想从资源中获得什么? – AbZy