James,
Yes, as a matter of fact, if I use .getfeature, I can reset the value. Thanks for that tip! That method works even after I create and set the featurecursor, too. So, I guess that means the gdb isn't locked?
But, using the cursor to set the features still doesn't work. Near as I can figure, the cursor is returning a valid feature. I can display pfeat.oid after the first .nextfeature call, and I get the correct value for the OID.
Oh, I'm not using and edit session and edit operation. I don't believe the FC participates in any topology...it's just a bunch of simple point features.
For what it's worth, a file gets created in my file GDB at this line:
Dim updatecursor As IFeatureCursor = pfc.Update(queryFilter, False)
The file is named "myfc.wr.lock" where 'myfc' is the name of the featureclass in the GDB. That's what was making me think the GDB was being locked. The code block is below.
Dim pfeat as IFeature
Dim updatecursor As IFeatureCursor = pfc.Update(queryFilter, False)
pfeat = updatecursor.NextFeature
pfeat.Value(9) = 121.1
updatecursor.UpdateFeature(pfeat)