|
HI guys I have a bit of a challenging question for you one that has had me stumped for the last couple of days.
I'll give you concept behind this.
I am working on a system that is used within a hospital, and the situation I am currently working on kind of goes like this.
A patient may be able to visit a variety of doctors during the course of a treatment, Diagnosis etc .i.e Cancer patient.
Now lets say that all these doctors give a patient a document to read regarding the diagnosis results etc. Now if each doctor gave the patient the patient a piece of paper this is bound to get lost. So a posible solution to this dilema is that each department already has a "Standard" document that try give to patients with Dietary advice and some Tailored advice that give to the patient etc.
These documents are now currently kept as Word Documents on the Hospital network, but as you would expect with large systems these are scattered on various locations on the network. Before you suggest saving the Docs to the database, we can't do this as they still want the ability to update the documents without having to save them to a DB. I can get round this by storing virtual paths in a DB. Not desirable but works.
The proposed solution is to try and Merge all these documents into one Document on the server and print it out for the patient at the end of his examination.
The issue that I have is that as per MS you cant install and automate word on the server
http://support.microsoft.com/kb/257757
So I can't have word on the server. Secondly we have a myriad of different versions of word on the network, and not one of them is Word 2003, hence no XML.
Thirdly the client cannot afford to pay for the purchase of third party software i.e Soft artisans office writer.
How am I going to solve this problem? So far all possible solutions I have tried are failing and I am looking for any other possible solutions.
A bit of an Code Project Brain storming!!
"a fool will not learn from a wise man, but a wise man will learn from a fool"
"It is hard to fail, but it is worse never to have tried to succeed." - Theodore Roosevelt
"Success is going from failure to failure without losing your enthusiasm." - Winston Churchill
My Website || My Blog
|
|
|
|
|
Microsoft does not recommend, however it is possible to word automation.
Option 1) Server side Office Automation. If you do not want the server to be impacted by server side office automation memory leaks, bugs, reset & restart issues then you can always designate a separate computer that provides document merging service as a COM+ service.
Option 2) Use Windows Sharepoint
|
|
|
|
|
Thanks for the replies, But Installing word on the server is not an option, I know it's possible to use word automation, but MS will not support the server once they have find out Word is installed on the server, Installing word on another server and using remotingg, would require word to be installed on a server, so in effect still having word on a server, Question is would a Admin want Office installed on any of his servers, knowing thier could be a potential security threat on that server?
Using Sharepoint is not an option either as this would be telling the clinet they would need to install/Licence Sharepoint on thier server.
"a fool will not learn from a wise man, but a wise man will learn from a fool"
"It is hard to fail, but it is worse never to have tried to succeed." - Theodore Roosevelt
"Success is going from failure to failure without losing your enthusiasm." - Winston Churchill
My Website || My Blog
|
|
|
|
|
How can I dynamically determine which environment my code is running in? For instance I would like for my apps to dynamically determine if they need to use the DEV connection strings or Production connection strings (within my DAL).
By doing so I would avoid having to manually edit connection strings every time I make changes to my app. Appreciate your help.
|
|
|
|
|
Why don't you have a web.config for dev, and another one for production?
|
|
|
|
|
I am not sure if that would work because when we will publish the website the development copy of web.config will be promoted to production
Or am I missing something?
Thanks for your help.
|
|
|
|
|
Don't publish the web.config. That's how we all do it.
|
|
|
|
|
hi
i have a strange problem with OutPut cache working fine on development box and not working on production server
background : @outputCahce directive is fine, but wanted to make centralized output cache , so i have some setting section in web config defining what page and how to cache
and in my Base Page i having following :
<br />
Response.Cache.VaryByParams["*"] = true;
DateTime expires = DateTime.Now.AddSeconds(duration ); <br />
Response.Cache.SetExpires(expires );
Response.Cache.SetValidUntilExpires(true);
Response.Cache.SetCacheability(HttpCacheability.ServerAndPrivate );
The problem is that on local machine it works fine: you load page, hit f5 or Ctrl+F5, and you see the server-cached version
on server it other : you see that browser do caching , but F5 will bring you fresh, not-cached by server page
used time-span printed with response.write on test pages
and i sure that caching block is working, i write to log to ensure that some page added to cache
done with ASP.Net 1.1 running IIS5 on dev and IIS6 on production
Web has many resources on output caching but i not found any solution for this
Any ideas guys ?
Thanks Much
EV
###
|
|
|
|
|
Hi,
I want to include a .js file only for one particular page which is using master page. Since the .js file is very large and only for this particular page, I don't want to include it in Master page. Because it will add into every page that is using the master page.
Also, I dont' want to convert all the functions in .js file into string to register through RegisterClientScriptEvent, again, because the functions are too long to convert.
Is there a way to do it by NOT using the ways mentioned above?
Any help would be appreciated!
Thanks!
|
|
|
|
|
Add the tag to the Page.Header.Controls collections. I don't think that there is a class for the script tag, so you have to use HtmlGenericControl to make one.
---
b { font-weight: normal; }
|
|
|
|
|
try ClientScriptManager.RegisterClientScriptInclude.
|
|
|
|
|
I did use RegisterClientScriptInclude to make it work.
But I try to pass Form1 into Javascript function , it won't let me do it. Note, Form1 is form from master page.
Any idea?
Thanks!
|
|
|
|
|
vicky457 wrote: But I try to pass Form1 into Javascript function , it won't let me do it.
What code do you use to try that?
What do you mean by "won't let me"? What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
Guys, I have this javascript function
function validate()
{
form_intranet.login_username.value = form_intranet.txt_user.value;
form_intranet.secretkey.value = form_intranet.txt_password.value;
form_intranet.action = "http://aaa.bbb.ccc.ddd/webmail/src/redirect.php";
form_intranet.submit();
}
i want a server side process who have the same behavior...
Thanks
<div class="ForumSig">keep Learning and you never will be out of date...</div>
|
|
|
|
|
pls could u tell why u need that kind of thing.
it's possible to this script in pagestartup or button.addattribute().
but i don't understand what u exactly need.
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
I want to read two vars from one form and to use the submit form to send the vars to http://address..
keep Learning and you never will be out of date...
|
|
|
|
|
String postedData = "login_username=login_username_value&secretkey=secretkey_valueOk";
StreamWriter out = null;
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://aaa.bbb.ccc.ddd/webmail/src/redirect.php");
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = postedData.Length;
request.Method = "POST";
out = new StreamWriter(request.GetRequestStream());
out.Write(postedData);
out.Close();
login_username_value & secretkey_value should be replaced with actual values
|
|
|
|
|
Britney S. Morales wrote: i want a server side process who have the same behavior
By the same behavior, do you mean you want to have it rewritten on server side? Or do you mean you want to generate the javascript from the server?
If it's the former, I would place the values in Session vars. Then use Server.Transfer or Response.Redirect
|
|
|
|
|
What can I do to get CLICK_EVENT in GRID CONTROL?.Pls help me.
K.P.Babu
|
|
|
|
|
yes get it.
Parwej Ahamad
|
|
|
|
|
suppose there is a image and i will upload a another image which appear in the center of the first image.pls tell me how could i do this.
pls help me with sample code, it is very urgent.
tbhattacharjee
|
|
|
|
|
hi all i had made a site with login page and visit some pages and then i log out and then press the back button of browser then those visited pages are shown to me which i dont want, even though i had expired the session variables as server side code is not executed when i press the browser back button,i think pages are shown from browser histroy which i want to clear how to clear browser history.
i want to the similar functionality present in yahoo or hotmail suppose afer logout when we press the browser back button then visited pages are not shown.
Tasleem Arif
|
|
|
|
|
Tasleem:
Are you using Forms Authentication? If so are you calling FormsAuthentication.SignOut() in response to the log off event?
|
|
|
|
|
Response.CacheControl = "no-cache"
Response.AddHeader("Pragma", "no-cache")
Response.Expires = -1
In all the pages that you don't want to cache local copies
|
|
|
|
|
I want to show all the Logical drives. After selecting one drive i want to show all directories in that drive. After selecting directory I want to show all the files in that directory. How can we do this in C# ASP.NET
can u provide code...?
thanks in advance...
Manjunath
|
|
|
|