neodammer Posted April 21, 2004 Posted April 21, 2004 Call me a n00b to vb.net but how would I go about doing binary .res type files in .net? or are they called something completely different? Quote Enzin Research and Development
jspencer Posted April 21, 2004 Posted April 21, 2004 Just add them to the project and set the build action to 'Embedded Resource'. Quote
neodammer Posted April 21, 2004 Author Posted April 21, 2004 would you happen to know a tutorial on this? or are the commands for extracting one similar to vb 6? Loadresdata("blah","CUSTOM") etc.. Quote Enzin Research and Development
Administrators PlausiblyDamp Posted April 21, 2004 Administrators Posted April 21, 2004 http://www.xtremedotnettalk.com/showthread.php?t=83574 Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
neodammer Posted April 21, 2004 Author Posted April 21, 2004 Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load Dim myarray() As Byte 'UPGRADE_WARNING: Couldn't resolve default property of object LoadResData(). Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup1037"' myarray = VB6.LoadResData("MUSIC", "MUSIC") FileOpen(1, VB6.GetPath & "\music.wav", OpenMode.Binary, OpenAccess.Write) 'UPGRADE_WARNING: Put was upgraded to FilePut and has a new behavior. Click for more: 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="vbup1041"' FilePut(1, myarray) FileClose(1) MediaPlayer1.Open((VB6.GetPath & "\music.wav")) End Sub This is the code it spat out at me when i tried to convert it from vb6 to vb.net not so much harder. Was wondering what i could use instead of the vb6 commands Quote Enzin Research and Development
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.