well..create a folder called pictures(just to not mess up all your project) then drag and drop ALL pictures to that folder and there is somewhere a option that will embedded them in the .EXE..hope this helps
edit: omg i suck, now i see that this already had been talked about..i have somewhere a function in VB.NET which gets a resource ill look up for it wait some min plz
edit2: hope this helps,
VB Code:
Private Function GetResource(ByVal filename As String) As System.IO.Stream Dim oAssembly As Reflection.Assembly = MyClass.GetType.Assembly Dim sFiles() As String Dim sFile As String ' prefix filename with namespace filename = oAssembly.GetName.Name & "." & filename ' get a list of all embeded files sFiles = oAssembly.GetManifestResourceNames() ' loop through each file For Each sFile In sFiles ' found the file? return the stream If sFile = filename Then Return oAssembly.GetManifestResourceStream(sFile) End If Next End Function




Reply With Quote