My application in vb.net calls its reports (CR) via the report viewer class. The report gets loaded but the time for calling the report is too much. Once in the cache it does not take much time. Is there anyway by which it is possible to load the reports faster? Thnx in advance for helping me out.
I'm thinking of writing a program that contains a messaging system like MSN Messenger, with all communication going via a server on the internet. I went looking for examples and I did found some. However, I don't know which technique I should use. A webservice would be nice for the serverside, since I wouldn't need a dedicated server or something like that to run a 'standard' server application. But I didn't manage to determine if a webservice will fit all my needs, like events (an event fired on the server must trigger a function on the client side).
The most important thing is a speak function, so that two (maybe even more) connected clients can talk with each other (not P2P but also via the server). I really don't know if I can realize that with a webservice. Maybe someone could point me in the right direction? Also, I don't know yet how to realize such a 'speak' function. I didn't find anything on that subject (I only read something about an embedded feature in DirectX9 for sending audio over the web, but I prefer not to use DX).
I read “Implement a Microsoft Word-like Object Model for Your .NET Framework Application” found at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/netwinforms.asp[^] and wondered if anyone has been able to create a .NET application that can act as an OLE Automation Server. By that I mean, I can insert an object, say an Excel worksheet, in my Word document and work with the spreadsheet inside Word. The spreadsheet is embedded in the Word document.
My question: Is it possible to create a .NET application that can be embedded in another application like Word? If so, does anyone have any code to show how this would be done?
-- modified at 12:10 Thursday 22nd September, 2005
I'm thinking about making a project in java because of portability but is there any evidence that the .net framework will be truly portable, like would anyone come out with a framework for other platforms, are there any attempts, i still haven't started the project that much and I would like to use c# better but if the supposed .net framework portability feature is just a theory then i will sadly have to use java
Mono runs on Linux, and Java is crap. What's the point of having a BAD UI on more than one platform ? Surely Lotus Notes taught us that ?
However, Mono does not have a UI component AFAIK. If I wanted to write a portable app, I'd write the business logic in C++ and recode the UI natively on each platform, so that it took advantage of the features of each platform.
I am working on an application that can run both remotly or locally.
The Listener is publishing 3 objects using .NET remoting. The Client has only the UI, all the calls to the database and the reporting are done through the Listener.
The remote computer that hosts the listener is also hosting the Crystal Report, .rpt, files.
The Client has also a Crystal Viewer. When the user clicks on a button, the Client sends the request along with an ID to the Listener that upon the ID provided selects a .rpt file from the server's disk, loads the file into a CrystalDecisions.CrystalReports.Engine.ReportDocument object, sets the parameters to that report (datasource, user/pass) and returns it to the client. The Client receives the object, binds it to the viewer and displays it. At least that is what is supposed to do...
Now if I set my application to run locally, without the listener, but using the same code, same objects, to load the .rpt file, everything works fine. The moment I set it up to work remotly, the system stops at the Load() method (the bold line).
It does not throw me any exception, it just stays there forever
ReportDocument oRptDoc = new ReportDocument();<br />
string sFullPath = "test.rpt";<br />
oRptDoc.Load(sFullPath);//here is where it stops<br />
//pass the logon parameters to the report<br />
CrystalDecisions.Shared.TableLogOnInfo crLogonInfo;<br />
crLogonInfo = oRptDoc.Database.Tables.LogOnInfo;<br />
string sDataBaseName = "my database";<br />
string sServerName = "my server";<br />
string sUser = "my user";<br />
string sPassword = "my password";<br />
crLogonInfo.ConnectionInfo.ServerName = sServerName;<br />
crLogonInfo.ConnectionInfo.UserID = sUser.ToUpper();<br />
crLogonInfo.ConnectionInfo.Password = sPassword.ToUpper();<br />
crLogonInfo.ConnectionInfo.DatabaseName = sDataBaseName;<br />
return oRptDoc;<br />
I hope somebody has any ideea...
Is there anything in VS or an addon that will allow me to print out the entire project in one click. I used to work in VB6 and there was a program called starprint that would do that. i could probably write my own, but i am looking for something already done.