Click here to Skip to main content
15,889,403 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: checkboxs problem Pin
test-0918-Feb-10 17:29
test-0918-Feb-10 17:29 
Questionneed date format in "dd/mm/yyyy hh:mm" [modified] Pin
Karan_TN18-Feb-10 1:16
Karan_TN18-Feb-10 1:16 
AnswerRe: need date format in "dd/mm/yyyy hh:mm" Pin
sashidhar18-Feb-10 1:31
sashidhar18-Feb-10 1:31 
GeneralRe: need date format in "dd/mm/yyyy hh:mm" Pin
Karan_TN18-Feb-10 1:35
Karan_TN18-Feb-10 1:35 
AnswerRe: need date format in "dd/mm/yyyy hh:mm" Pin
farogh haider18-Feb-10 1:49
farogh haider18-Feb-10 1:49 
GeneralRe: need date format in "dd/mm/yyyy hh:mm" Pin
Karan_TN18-Feb-10 2:37
Karan_TN18-Feb-10 2:37 
GeneralRe: need date format in "dd/mm/yyyy hh:mm" Pin
The Man from U.N.C.L.E.18-Feb-10 8:33
The Man from U.N.C.L.E.18-Feb-10 8:33 
QuestionView Word Document Problem While Publishing IIS Pin
JC.KaNNaN18-Feb-10 1:14
JC.KaNNaN18-Feb-10 1:14 
HI,

First I am receiving following error:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154.

now resolve it n server..
i want to view document from some server location.

1) The below code is view document from some location.its properly working in local system.
if i am going to publish this code in IIS, nothing can view document..

Dim WordApp As New Word.ApplicationClass()
Dim missing As Object = System.Reflection.Missing.Value
Dim fileName As Object = "\\XXX.XXX.X.X\d\TEST.DOC"
Dim newTemplate As Object = False
Dim docType As Object = 0
Dim isVisible As Object = True
Dim aDoc As Word.Document = WordApp.Documents.Add(fileName, newTemplate, docType, isVisible)
WordApp.Visible = True


2) The below code is converting pdf from ms word doument. this also didnt working while im phblishing code in IIS

Dim filesource As Object ="\\XXX.XXX.X.X\d\test.doc"
Dim app As New Word.Application
Dim missingValue As Object = Type.Missing
Dim ac As New Word.Application()
Dim myTrue As Object = True
Dim myFalse As Object = False
Dim document As New Word.Document
app = ac.Application
app.DisplayAlerts = Word.WdAlertLevel.wdAlertsMessageBox
document = app.Documents.Open(filesource, myTrue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue)
app.ActivePrinter = "PDF995"
'app.ActivePrinter = "PrimoPDF"
app.ActiveDocument.PrintOut(myFalse, myFalse, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, myFalse, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue)
document.Close(missingValue, missingValue, missingValue)
app.Quit(missingValue, missingValue, missingValue)
aDoc.Activate()


Please Give Solution,
Yours,
KaNNaN

-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"


AnswerRe: View Word Document Problem While Publishing IIS Pin
Ashfield18-Feb-10 3:18
Ashfield18-Feb-10 3:18 
QuestionMessage Removed Pin
18-Feb-10 0:52
FEMDEV18-Feb-10 0:52 
AnswerRe: WCF Pin
sashidhar18-Feb-10 0:53
sashidhar18-Feb-10 0:53 
GeneralRe: WCF Pin
FEMDEV18-Feb-10 1:51
FEMDEV18-Feb-10 1:51 
AnswerRe: WCF Pin
Brij18-Feb-10 1:47
mentorBrij18-Feb-10 1:47 
GeneralRe: WCF Pin
FEMDEV18-Feb-10 2:01
FEMDEV18-Feb-10 2:01 
GeneralRe: WCF Pin
Brij18-Feb-10 2:22
mentorBrij18-Feb-10 2:22 
QuestionImport excel data in sqlserver 2000 without using DTS Pin
farogh haider18-Feb-10 0:30
farogh haider18-Feb-10 0:30 
AnswerRe: Import excel data in sqlserver 2000 without using DTS Pin
sashidhar18-Feb-10 0:48
sashidhar18-Feb-10 0:48 
GeneralRe: Import excel data in sqlserver 2000 without using DTS Pin
farogh haider18-Feb-10 1:39
farogh haider18-Feb-10 1:39 
GeneralRe: Import excel data in sqlserver 2000 without using DTS Pin
sashidhar18-Feb-10 1:40
sashidhar18-Feb-10 1:40 
AnswerRe: Import excel data in sqlserver 2000 without using DTS Pin
FEMDEV18-Feb-10 0:49
FEMDEV18-Feb-10 0:49 
GeneralRe: Import excel data in sqlserver 2000 without using DTS Pin
sashidhar18-Feb-10 0:51
sashidhar18-Feb-10 0:51 
QuestionHow to add Textbox Dynamically Pin
It_tech18-Feb-10 0:20
It_tech18-Feb-10 0:20 
AnswerRe: How to add Textbox Dynamically Pin
sashidhar18-Feb-10 0:46
sashidhar18-Feb-10 0:46 
GeneralRe: How to add Textbox Dynamically Pin
It_tech18-Feb-10 1:12
It_tech18-Feb-10 1:12 
GeneralRe: How to add Textbox Dynamically Pin
sashidhar18-Feb-10 1:24
sashidhar18-Feb-10 1:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.