|
Hello,
we have a complex asp.net web application, including many parts - both usual (binaries, aspx-pages, scripts, other resources; DB; configuation section) and advanced, like several windows-service, transactional message queues an so on..
I look for some uniform way/technology to update all these things - all parts entirely, all just some of them.. preferrable with minimal timetable and inconvenience for online-users..
Thanks
|
|
|
|
|
As far as I know, you will have to interrupt your clients to make updates to this complex application. However, I would determine when there is a low usage period, schedule updates at this time, and annouce to your users well ahead of the scheduled maintenance your intentions. Make sure you back up everything; so, if something goes wrong, you can restore the old code.
|
|
|
|
|
Thanks, George,
but maybe is there some tool to make this tasks automated? Our goal is simplifification of an update task (without detriment to safety, data integrity and so on) - because person who would make updates can be different than developers and updates in manual mode has more chances to produce errors and data losses
In general, we need some tool that allows to create some script for update and allows to make updates, where possible, in 'hands-free' mode.
Of course, simply tasks (updates for web-application binaries, aspx-pages, resources) can be performed with help of Windows Installer - but we need to update database, windows service, some assemblies in GAC (which used by all components of application). Besides, we cannot reinstall windows-service - and need to directly update only its binaries.
Of course, these tasks aren't very complicated for developers to do, but sooner or later apllication may go to customers, and customer support should have an easy way to handle all these tasks (because they won't have deep knowledge of the application, at least in the beginning)
Hope, it makes sense,
Thanks in advance.
|
|
|
|
|
Is it possible to parse the CSS of an HTML document using MSHTML ?
I need to get the css style assigned to any element from the html.
When the style is written inside the element's tag, then its structure is contained in "style" attribute of that element (e.g.: node.getAttribute("style") contains the structure of the css style of the 'node' element).
However if the element refers to an outside CSS class (e.g. - refers to class main) then the mshtml control doesn't seem to offer the possibility to parse the "main" style like in the above case.
Can anybody help me ?
Thanks.
|
|
|
|
|
Check out the currentStyle property.
|
|
|
|
|
|
hey,
i've got a php script that has a variable with a list of image filenames, in this format:
$imagefilenames = "img.jpg,img2.jpg,img3.jpg,img4.jpg"; etc. is there a way i can print the tag for each filename? i'm guessing this has something to do with regular expressions, but i don't know much about them. any suggestions on how to do this?
thanks in advance,
sam kline
-- modified at 10:25 Saturday 18th February, 2006
|
|
|
|
|
One method is to use explode e.g.
$array = explode(',', $imagefilenames );
Then just iterate through the array building up the <img . . . tags
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
that worked!
thanks,
sam kline
|
|
|
|
|
Hi all,
I need to make input array in asp.net using C#...
the data is comming from database as:id, name, position
the form should display like this...
posiotion will be in textbox..
name position
aa 1
bb 2
cc 3
button(Set Position)
now user can alter the position of names and when click on button, all records should be updated with new position values...
for this I want to make two input arrays like:
<input type='hidden' name='id[]' value='id from database'>
<input type='text' name='position[]' value='value of textbox'>
how can i set the database values to the textboxes and again fetch them in C# to update records with the new values entered by user...
any help will be very much appreciated..
Thanks in advance...
Suman Singh
|
|
|
|
|
Don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
I am trying to have outlook controls like Inbox, Calender etc. on the internet site page. When we click on the tabs it should populate the inbox, calendar on the site. I had done it for Inbox and caledar.
I want help for controls Advanced Find, New Appointment and other few controls.
Pl help me in getting the other contols on the we page.
Code used for Inbox is as follow:--
<object classid="CLSID:0006F063-0000-0000-C000-000000000046" id="ViewCtlFolder">
<param name="Namespace" value="MAPI" />
<param name="Folder" value="Calendar" />
<param name="Restriction" value="" />
<param name="DeferUpdate" value="0" />
Datta Navatre
|
|
|
|
|
I believe Microsoft already has a product that does that and comes with their Exchange server.
|
|
|
|
|
Hello George,
They have given the controls and all other facilities on outlook. But i would like to use it on web site,
Pl. use following code and run it, that will clearify the things.
<br />
<! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br />
<HTML><br />
<HEAD><br />
<TITLE>View Control</TITLE><br />
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><br />
<META content="MSHTML 5.50.4522.1800" name=GENERATOR><br />
</HEAD><br />
<BODY><br />
<OBJECT id=ViewCtlFolder classid=CLSID:0006F063-0000-0000-C000-000000000046 <br />
width="100%" height=430><PARAM NAME="Folder" VALUE="Calendar"></OBJECT><br />
</BODY><br />
</HTML>
Thanks
Datta Navatre
Datta Navatre
|
|
|
|
|
I have to write WEB aplication that export data from MS SQL tables (into CSV , XLS, DBF, Access format for example). What is the best way to implement this ? Examples are highly interested !
Thanks in advance !
|
|
|
|
|
MS SQL to Access: Create the tables on Access, execute a SELECT on MS SQL via ADO (whatever), and populate the Access Tables via INSERT
You can create CSV files easily with C# (A language of your choice) by concatenting the result of a SELECT via ADO and saving the result in a text file.
You can open the above CSV file in Excel to create a XSL file or you can save the above SELECTed data as an XML file and open that with Excel.
As for DBF, I am having a memory lapse with it at this time.
|
|
|
|
|
well but how make it more correct way ?
- how to ask MS SQL DB about existing tables
- how to retrieve tables structures dump
- how to retrieve tables data dump
.. ?
|
|
|
|
|
If you don't have access to the SQL server, ask your database administrator. You can use SQLDMO or the SQL Server Enterprise Manager (whatever it is called today)
|
|
|
|
|
hello everybody:
i am new to VB.net I have to design a custom web server control which validates itself on client side and server-side. which means that i would not use a seperate custom validator for validation, but it should be a part of the custom control itself.and this validation would be done on clientside first, and incase javascript is off in browser then validation is done on server side.
The description of the custom control is as follows:
its a date control which has 3 dropdowns(dds).one for month, second for days and third for days.it has two properties isDOB(boolean) and getDate which returns the date in the format mm/dd/yyyy.
one method setDate which takes the string inn the format mm/dd/yyyy.This will set date according to the input string.
can somebody point me to the rite direction.any help would be deeply appreciated.
Thanks
Cheers!
AB
|
|
|
|
|
Sounds like you want to create a custom control with the controls that are supplied with ASP.NET. Among these controls will be your validation controls that can create validation code on both the client and server. There is a lot of information on the web that demonstrates how to do this via http://www.google.com/microsoft[^]
|
|
|
|
|
Thanks for reply.
I think u got it rite.
but the question is how can use the validation controls as part of my custom sever control.i can write a seperate custom validator for my date control. but that won't serve my purpose.
basically my date control would be self validating(on client and server side) control. now how can i use a custom validator inside my date control.i dont know. mostly on the web i m finding seperate validators. there is very less info about self validating controls. if u come acoss some thing like this. please do let me know.
Thanks.
Ab
|
|
|
|
|
On the client-side, Microsoft uses javacript to handle validation. I believe you can call this code via yourown injected javascript. On the server-side, it is a little easier. I believe you can validate your control via code and set a property (the name eludes me for now) to indicate the success of the validation.
This might get you started:
http://www.15seconds.com/issue/020319.htm[^]
|
|
|
|
|
Is it possible to post a set of variables to a web page and display the result in the browser? I have managed to post the variables but cannot figure out what to do with the result to display it in the browser, any information gratefully received!
|
|
|
|
|
You have to process the posted data server-side.
|
|
|
|
|
Thanks, I realise that, but the question is how do I post the data to the page and display the results? I can post using an URLConnection but cannot see how to display the result in the browser.
|
|
|
|