Click here to Skip to main content
15,905,776 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: bitmap class in vb.net Pin
RichardGrimmer15-Jun-06 5:24
RichardGrimmer15-Jun-06 5:24 
QuestionRetreiving a File Path - Simple Question Pin
capricious_00115-Jun-06 3:25
capricious_00115-Jun-06 3:25 
AnswerRe: Retreiving a File Path - Simple Question Pin
Guffa15-Jun-06 3:28
Guffa15-Jun-06 3:28 
GeneralRe: Retreiving a File Path - Simple Question Pin
capricious_00115-Jun-06 3:36
capricious_00115-Jun-06 3:36 
Questiontemplate column in vb.net 1.1 [modified] Pin
amaneet15-Jun-06 3:23
amaneet15-Jun-06 3:23 
AnswerRe: template column in vb.net 1.1 Pin
minhpc_bk15-Jun-06 16:13
minhpc_bk15-Jun-06 16:13 
Answer[Solved] WS-E 2.0 problem: "Creation time in the timestamp can not be in the future" [modified] Pin
Arjan Einbu15-Jun-06 2:35
Arjan Einbu15-Jun-06 2:35 
Questionauthandication problem for remote excel gnatt chart Pin
absprogrammer15-Jun-06 2:11
absprogrammer15-Jun-06 2:11 
hi,
i'm openin MS excel and genrating gnatt chart using code as below.
gnatt charts are open on server machine properly.
but it does not open excel(only page refresh) on client machine.
But when it open at client machine it always ask username,password windows.
I want to open it without username,password window
Can anybody knows what is solve problem?Confused | :confused:

Sub excelgnattchart(ByVal stringWrite)
Try
Dim ExcellProcess() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName("EXCEL")
Dim a As Int32 = ExcellProcess.Length()
Dim b As Int32 = 0
If (a > 0) Then
While a > b
ExcellProcess(b).Kill()
b = b + 1
End While
End If
Catch ex As Exception

End Try
Dim oExcel As New Excel.ApplicationClass
Dim oBook As Excel.WorkbookClass
Dim oBooks As Excel.Workbooks
Dim fname As String = "c:\chart.xls"

Try
Dim file As New FileInfo(fname)
Dim sWriter As TextWriter = file.CreateText()
sWriter.WriteLine(stringWrite.ToString)
sWriter.Flush()
sWriter.Close()
oExcel.Visible = True
oBooks = oExcel.Workbooks
oBook = oBooks.Open(fname, , True)
oExcel.Cells.Select()
oExcel.Charts.Add()
oExcel.ActiveChart.ChartType = Excel.XlChartType.xlColumnClustered
oExcel.ActiveChart.Location(Excel.XlChartLocation.xlLocationAsNewSheet)
oExcel.ActiveChart.HasTitle = False
oExcel.Charts.Move()
oBook.Close(False)
System.Runtime.InteropServices.Marshal.ReleaseComObject(oBook)
oBook = Nothing
System.Runtime.InteropServices.Marshal.ReleaseComObject(oExcel)
oExcel = Nothing
System.GC.Collect()
GC.WaitForPendingFinalizers()
file.Delete()

Catch ex As Exception
Console.Write("Exception :" & ex.Message)
End Try
QuestionCint method return value Pin
absprogrammer15-Jun-06 1:49
absprogrammer15-Jun-06 1:49 
AnswerRe: Cint method return value Pin
Guffa15-Jun-06 5:10
Guffa15-Jun-06 5:10 
GeneralRe: Cint method return value Pin
absprogrammer15-Jun-06 5:16
absprogrammer15-Jun-06 5:16 
QuestionHow to access TextBox value of the Parent Page from the child page in server side Pin
Dhanasekaran_SRA15-Jun-06 1:10
Dhanasekaran_SRA15-Jun-06 1:10 
AnswerRe: How to access TextBox value of the Parent Page from the child page in server side Pin
varshavmane15-Jun-06 1:29
varshavmane15-Jun-06 1:29 
GeneralRe: How to access TextBox value of the Parent Page from the child page in server side Pin
Dhanasekaran_SRA15-Jun-06 1:39
Dhanasekaran_SRA15-Jun-06 1:39 
GeneralRe: How to access TextBox value of the Parent Page from the child page in server side Pin
varshavmane15-Jun-06 1:45
varshavmane15-Jun-06 1:45 
AnswerRe: How to access TextBox value of the Parent Page from the child page in server side Pin
absprogrammer15-Jun-06 1:57
absprogrammer15-Jun-06 1:57 
AnswerRe: How to access TextBox value of the Parent Page from the child page in server side Pin
Talal Sultan15-Jun-06 3:58
Talal Sultan15-Jun-06 3:58 
GeneralRe: How to access TextBox value of the Parent Page from the child page in server side Pin
absprogrammer15-Jun-06 5:13
absprogrammer15-Jun-06 5:13 
QuestionHow to Get Page Title Using WebBrowserControl Pin
VenkataRamana.Gali15-Jun-06 0:56
VenkataRamana.Gali15-Jun-06 0:56 
AnswerRe: How to Get Page Title Using WebBrowserControl Pin
Almerica15-Jun-06 1:21
Almerica15-Jun-06 1:21 
Questioncustomerror Pin
fmardani15-Jun-06 0:47
fmardani15-Jun-06 0:47 
AnswerRe: customerror [modified] Pin
Suamal15-Jun-06 1:04
Suamal15-Jun-06 1:04 
Questionsave JavaScript from Client Pin
Rizwan Bashir15-Jun-06 0:20
Rizwan Bashir15-Jun-06 0:20 
AnswerRe: save JavaScript from Client Pin
minhpc_bk15-Jun-06 16:22
minhpc_bk15-Jun-06 16:22 
QuestionSaving ViewState DataTable to Database Pin
varshavmane15-Jun-06 0:06
varshavmane15-Jun-06 0:06 

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.