I have create the crystal report in Visual Studio 2010 using data source as windows event log. for this I have created a new connection from the database expert window.
More new connection-> NT Current Event-> create new connection (given local machine as server name for designing)
then I designed the report.
Now I want to change my connection to othe server's windows event log at runtime through vb.net code. for this I have tried below code
With Connectionifo
.serevr="SERVER_NEW"
.database= \*(Not sure what to give)
.Integrated security= true
end with...... (and also passed all table info with the similar code)
(the above report is working fine for reports pointing to sql server databse)
but it is not working for reports pointing to windows event log.
Kindly help me .
.