Click here to Skip to main content
16,005,121 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to get Confirmation message when i sent pdf as mail in asp.net Pin
naren.venkata@yahoo.com17-Feb-10 0:43
naren.venkata@yahoo.com17-Feb-10 0:43 
QuestionHow to select Directory Pin
sjs4u16-Feb-10 18:49
sjs4u16-Feb-10 18:49 
AnswerRe: How to select Directory Pin
Brij16-Feb-10 19:06
mentorBrij16-Feb-10 19:06 
GeneralRe: How to select Directory Pin
mylogics16-Feb-10 23:21
professionalmylogics16-Feb-10 23:21 
GeneralRe: How to select Directory Pin
Brij17-Feb-10 0:35
mentorBrij17-Feb-10 0:35 
QuestionCOM Problem Pin
JC.KaNNaN16-Feb-10 18:44
JC.KaNNaN16-Feb-10 18:44 
AnswerRe: COM Problem Pin
Brij16-Feb-10 19:16
mentorBrij16-Feb-10 19:16 
GeneralRe: COM Problem Pin
JC.KaNNaN16-Feb-10 20:38
JC.KaNNaN16-Feb-10 20:38 
PDF CONVERSION

Dim filesource As Object ="\\192.168.0.1\d\kannan\document\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)





OPEN WORD DOCUMENT

Dim WordApp As New Word.ApplicationClass()
Dim missing As Object = System.Reflection.Missing.Value
Dim fileName As Object = TextBox2.Text
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
aDoc.Activate()



this function all r working fine in local system. if i can using in iis showing COM errors....
Yours,
KaNNaN

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


QuestionHow to move columns of Gridview at Runtime ? Pin
H_i_M16-Feb-10 18:37
H_i_M16-Feb-10 18:37 
AnswerRe: How to move columns of Gridview at Runtime ? Pin
Brij16-Feb-10 19:12
mentorBrij16-Feb-10 19:12 
AnswerRe: How to move columns of Gridview at Runtime ? Pin
gajendra_kshatriya16-Feb-10 21:19
gajendra_kshatriya16-Feb-10 21:19 
QuestionUpdatePanel and controls with javascript Pin
Member 103390716-Feb-10 9:04
Member 103390716-Feb-10 9:04 
AnswerRe: UpdatePanel and controls with javascript Pin
Not Active16-Feb-10 9:36
mentorNot Active16-Feb-10 9:36 
GeneralRe: UpdatePanel and controls with javascript Pin
Member 103390728-Feb-10 9:34
Member 103390728-Feb-10 9:34 
QuestionHow to refresh only Content page without refreshing master page Pin
Raheem MA16-Feb-10 6:52
Raheem MA16-Feb-10 6:52 
AnswerRe: How to refresh only Content page without refreshing master page Pin
gajendra_kshatriya16-Feb-10 18:26
gajendra_kshatriya16-Feb-10 18:26 
AnswerRe: How to refresh only Content page without refreshing master page Pin
keyur satyadev16-Feb-10 19:52
keyur satyadev16-Feb-10 19:52 
GeneralRe: How to refresh only Content page without refreshing master page Pin
Brij16-Feb-10 20:38
mentorBrij16-Feb-10 20:38 
GeneralRe: How to refresh only Content page without refreshing master page Pin
Raheem MA17-Feb-10 6:39
Raheem MA17-Feb-10 6:39 
QuestionTool tips in rdlc Pin
Angsuman Chakraborty16-Feb-10 5:40
Angsuman Chakraborty16-Feb-10 5:40 
AnswerRe: Tool tips in rdlc Pin
sashidhar16-Feb-10 18:12
sashidhar16-Feb-10 18:12 
GeneralRe: Tool tips in rdlc Pin
Angsuman Chakraborty16-Feb-10 19:34
Angsuman Chakraborty16-Feb-10 19:34 
GeneralRe: Tool tips in rdlc Pin
sashidhar16-Feb-10 22:13
sashidhar16-Feb-10 22:13 
QuestionGridview Masters/Detail Question Pin
bgates197016-Feb-10 4:52
bgates197016-Feb-10 4:52 
AnswerRe: Gridview Masters/Detail Question Pin
dan!sh 16-Feb-10 6:08
professional dan!sh 16-Feb-10 6:08 

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.