Well, I am farther along with this project now that it is the end of the day. I have found a few different resources that helped me get to a point where I was able to open a JPG file and alter some of the EXIF data. This is a really, really, rough piece of code, but I thought I would post it here for the fundamentals of opening a file as binary. There is another way to do it, but I was not able to get that to work for me. Here is the code. Remember this simply opens a file, any file, and allows a person to see the characters that make up the file.
Option Explicit
Public FileName As String
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub Form_Load()
Text1.Font = "Terminal"
Text1.OLEDropMode = rtfOLEDropManual
Command1.Caption = "Open"
Command2.Caption = "Save"
End Sub
Private Sub Command1_Click()
' Open
Text1.Text = vbNullString
CD1.ShowOpen
FileName = CD1.FileName
Text1.LoadFile FileName
End Sub
Private Sub Command2_Click()
' Save
If Len(Text1.FileName) Then
Text1.SaveFile Text1.FileName, rtfText
End If
End Sub
Private Sub text1_OLEDragDrop(Data As RichTextLib.DataObject, _
Effect As Long, Button As Integer, Shift As Integer, _
x As Single, y As Single)
' Drag ANY file from the Explorer, or an "Explorer View"
If Data.GetFormat(vbCFFiles) Then
Text1.LoadFile Data.Files(1), rtfText
End If
End Sub
You will need one RichTextBox, 3-command buttons, and a Commondialog control. The Richtextbox I used was named "Text1" since i like it like that, but don't get it confused with the regular textbox. I named my CommonDialog control CD1. You do have the option of opening Windows Explorer and dragging the file into the RichTextBox rather than using the CommonDialog Control. I will post more as I learn more about this EXIF stuff.
LF
"As far as the laws of mathematics refer to reality, they are not certain; as far as they are certain, they do not refer to reality."--Albert Einstein