I use visual web dev 2005 express and office 2000. VWE fails to add a reference to the word library object 9.0 at my project but add without trouble , the excel object library.((error message library not registred...) I try the same thing (add a word reference )in visual C# 2005 and it's working fine for word and excel , so i assume that my word library is well registred.Any idea to fix this bug?
jnstaub
Posts
-
word library reference in visual web dev -
Urgent!!!!!! How to save the input file on another server locationthe best way is to use ftp between your two servers.
-
Can't debug for ASP.NETcheck project properties and tools options, if everything seems correct, create a new project import an existing page and try to debug. if it doesn't work recheck all the visual and project option, the global asax and at the end reinstall or reapir visual studio
-
Data sharing across pagesuse cookies, it's the last solution if you want nothing on the server, the persistent data have to stay on the client computer
-
Execute Code behind and java script togetherMe.Button1.Attributes("onclick") = "scriptname()"
-
upload a xls, doc, jpeg... to SQL DB with asp.net(vb code behind)If Not IsNothing(mabanniere.PostedFile) Then filtype = Right(mabanniere.PostedFile.FileName, 3) mabanniere.PostedFile.SaveAs("c:/temp/banniere." & filtype) Dim photo() As Byte = GetPhoto("c:/temp/banniere." & filtype) Me.SqlInsertsociete.Parameters("@BANNER").Value() = photo FileSystem.Kill("c:/temp/banniere." & filtype) End If Public Shared Function GetPhoto(ByVal filePath As String) As Byte() Dim fs As New System.IO.FileStream(filePath, System.IO.FileMode.Open, System.IO.FileAccess.Read) Dim br As New System.IO.BinaryReader(fs) Dim photo() As Byte = br.ReadBytes(fs.Length) fs.Read(photo, 0, fs.Length) br.Close() fs.Close() Return photo getphoto transform a file to a byte array. my upload control name is mabanniere regards