467,880 Members | 1,149 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,880 developers. It's quick & easy.

Serialisation, Databases, and Word.

I need to know how to Serialize things, that is, I have a textbox on a screen, I press a button, and I need to get the data in the textbox to get onto the Word document.
Additionally, how would I do this with an Access Database?

And, finally, when opening files in VB, they don't open properly, and it says 'this file is already open' when I try clicking the button used to open it.
I know all this sounds crude without code but it's something like...

Dim stra As String
stra = InputBox("Specify File:", "Alert")
If stra = "" Then
Print MsgBox("You haven't specified a file!", vbCritical)
Open stra For Binary As #1
End If

And it says the file is already open, I have tried many different files, file types.

So, does anyone know about Serialisation and opening files :) Much appreciated
Oct 31 '06 #1
  • viewed: 885
1 Reply
Expert 8TB
Open stra For Binary As #1
There are a lot of defaults being used here. It might help to be specific. For example, try including the "Shared" clause.
Nov 1 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by unknow | last post: by
4 posts views Thread by Jason | last post: by
2 posts views Thread by msnews.microsoft.com | last post: by
14 posts views Thread by Dan Stromberg | last post: by
5 posts views Thread by Rodjk #613 | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.