Welcome to AspAdvice Sign in | Join | Help

January 2007 - Posts

Javascript trim - Simple

str.replace(/^\s*|\s*$/g,'') use same as trim() function in vb Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it! Sponsor
Posted by mo meng | 0 Comments

open word document in ASP.Net VB

in localhost, error 1) Access Denied go to C:\WINNT\Microsoft.NET\Framework\ (find the framework ur using) \CONFIG\machine.config open the file n search for impersonate and set it to TRUE and save it. 2) Macro storage go to start > run > type in
Posted by mo meng | 2 Comments

Macro storage error - microsoft word (simple)

if you encounter error during opening a microsoft word like the eg below Dim objWordApp As New Word.Application Dim objDoc As Word.Document objDoc = objWordApp.Documents.Open("C:\abc.doc") 'error thrown here objWordApp As New Word.Application
Posted by mo meng | 2 Comments

Access denied when calling Word.Application - Simple

if when u come do doing an office autonation first you need to install a microsoft word 11.0 object library (COM) secondly u might try to run the line to initialize an word application Dim objWordApp As New Word.Application objWordApp As New Word.Application
Posted by mo meng | 0 Comments