|
nishant sebastian wrote: what are the questions or requirements that i should put forward for deploying this small web app other than the ones below
1) IIS installed.
2) does he have a domain name? (should he have a registered domian name for this web app, if all the users are in the organization intranet located world wide, if that is possible)
3) Do you really want a would be freelancer beginner to do this project?
only two letters away from being an asset
|
|
|
|
|
3) .NET Framework installed (for VS 2003 1.1 or later, for VS 2005 2.0 or later)
4) A web site set up in IIS
5) An FTP account set up to access the web site
FTP works fine. You can make Visual Studio deploy directly to the FTP site.
---
single minded; short sighted; long gone;
|
|
|
|
|
nishant sebastian wrote: 1) IIS installed.
Yes. And What version?
nishant sebastian wrote: 2) does he have a domain name? (should he have a registered domian name for this web app, if all the users are in the organization intranet located world wide, if that is possible)
If he already has a intranet accessible by all employees, your application can be linked into to the homepage. Else, if you want your application to have a separate URL accessible over www, you need a domain.
nishant sebastian wrote: s FTP method the best means to deploy the web applicaion to IIS, once development is complete on my machine?
FTP is OK. But if you're using VS professional, you can use the "Publish" feature to deploy your application. The "Publish" feature is quite comprehensive and covers almost everything related to deployment of a web site.
Additionally.
3) What version of .NET does your client have? If he's 1.1, would he consider upgrading to 2.0?
4) How're you going to manage security? (Authentication and authorization). I dont believe that he'll want the users to remember an additional username and password for your application.
And as for your proposition, a windows application developer can quite easily get lost when developing web apps. You must be ready for some quantum shift in your thinking.
All the best!
SG
|
|
|
|
|
nishant sebastian wrote: 1)If i am using VS.NET 2005 for development with IIS 5.1 what is the minimum required version of IIS that shud be installed in the prod server?
That technically wont matter. But I'd reccomend IIS v6.0. You'd have some configuration issues when you first try to run a ASP.NET site built in .NET 2.0 when you're using IIS 5.x.
nishant sebastian wrote: 2)How would i able to ask him whether he has an intranet?
I'm sure his office will have an IT dept. Maybe you can get this clarified from them. Anyway, deployment is the last of your problems, and it wouldn't impact your design or development in any way.
nishant sebastian wrote: why I am doubting is that the app to be devloped is for just 10 to 12 users located worldwide and no prospective users for now
Hmmmm....this requires a public URL, so maybe they access over the internet.
nishant sebastian wrote: If there is an intranet then i assume windows authentication will suitable, am i right?
Not necessary. Windows authentication requires Active Directory. If their network has different platforms like unix, windows, macs etc, AD would have been ruled out. Also, if they access the site over internet, Windows Authentication can be ruled out. So clarify this with them and put in your own authentication infrastructure.
SG
|
|
|
|
|
Ok so Im a beginning developer for my web siteand I need some help. I want to make it so that when I click on the program I want to download a small window opens up and displays its information that is in an xml file:
<?xml version="1.0" encoding="iso-8859-1"?>
<products>
<download id="bustin' blox">
<name>Bustin' Blox</name>
<file_size>2 Mb</file_size>
<summary>Our version of Brick. Only One Level</summary>
<version>1.0.0</version>
</download>
<download id="">
<name></name>
<file_size></file_size>
<summary></summary>
<version>...</version>
</download>
<download id="">
<name></name>
<file_size></file_size>
<summary></summary>
<version>...</version>
</download>
</products>
I have found some javascript for the window, but I am having trouble editing it
(in the external file):
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
(the html):
<a href="Downloads/programs/games/bustin'_blox.exe" onclick="NewWindow(this.href,'name','730','400','yes');return false">Bustin' Blox</a>
Any help?
-- modified 17-Sep-17 23:50pm.
|
|
|
|
|
|
umm im not exacty sure how this pretains to the question.
|
|
|
|
|
It doesn't.
---
single minded; short sighted; long gone;
|
|
|
|
|
Haun the 2nd wrote: umm im not exacty sure how this pretains to the question.
The format of the resizable parameter on the windows open method is "resizable=yes|no|1|0".
See HTML DOM open() Method[^] for details about windows open method.
Taking a look at your settings I noticed that you are not formatting the resizable parameter with a value and suggested that you format it with a yes (one of the acceptable parameters specified for the windows open method), presuming you want to make the window resizable.
It is just a thought so you can try it or not, as you please.
You did mention that you are a beginner so here is the actual settings string so you can understand what I am talking about.
Haun the 2nd wrote: settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
try settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=yes'
Not sure that is your problem but it is just something I noticed.
|
|
|
|
|
nope not the problem. I also just reailised that I don't have an XML phaser.
is there a tutorial i can read or a very helpful someone who could help me with that?
|
|
|
|
|
Haun the 2nd wrote: nope not the problem
Just an observation. It will not hurt to have well formed javascript.
Haun the 2nd wrote: is there a tutorial i can read
XML Tutorial[^]
Good luck solving your problem.
|
|
|
|
|
If you want both the download to start and a window open with the information, you need to open two windows.
Do you have access to some server scripting (like ASP.NET, ASP, PHP, JSP...) that you can use to read the information from the xml file and present it as a page?
---
single minded; short sighted; long gone;
|
|
|
|
|
I have PHP, and possibly JSP.
|
|
|
|
|
I want to send a html mail with multi-language in php.
Some part of mail content is from database. And some part user have to enter.
My database is ok. And Unicode utf-8 is used.
When I am retrieving data from database to my web page is ok. And coming in Russian language,
But when I am using same content to send email, the content comes with Unicode character but not in Russia language
I want mail in Russian language.
output of mail content is ----------------------------------
ÐÐºÐ°Ð´ÐµÐ¼Ð¸Ñ Ð¤ÐµÐ´ÐµÑ€Ð°Ð»ÑŒÐ½Ð¾Ð³Ð¾ агентÑтва ПравительÑтвенной ÑвÑзи и информации при президенте РоÑÑийÑкой Федерации
Ð˜Ð¼Ñ Ð¿Ð¾Ð»ÑŒÐ·Ð¾Ð²Ð°Ñ‚ÐµÐ»Ñ # из # Ð¸Ð¼Ñ Ð²ÑƒÐ·Ð° # приглаÑил Ñ‚ÐµÐ±Ñ Ð²
---------------------------------------------------
my mail code is as follows-------------
$message = "
$mail1_invitationsent $mail2_invitationsent |
| $mail3_invitationsent ($college_name) |
| | $mail_contents | | | | $mail4_invitationsent | | $mail5_invitationsent | | |
|
|
|
";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$headers .= 'From: xxxxx' . "\r\n";
mail($to, $subject, $message, $headers);
----------------------------- end of code-----------------------
some variables are used to change language
and
$mail_contents is the vatiable of mail contents which is partly from database and partyt from use input.
Plz. solve my prob
Bharat Bhusanam
|
|
|
|
|
kumar bharat bhusanam wrote: I want mail in Russian language.
Use Cyrillic character set.
|
|
|
|
|
hello frnds,
can i disable "SaveAs" and "Print" option of word 2003 in asp.net (using VB)
i am using VS2005
i want to protect my doc page from being copied and print
is there any other way .....????
please tell ...
thankx and regards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
I don't think so, but really - don't bother trying. If it's on the screen, there is always a way for someone to get it if they want. If nothing else they can always use screen-capture and OCR software to recreate it.
Fred
|
|
|
|
|
Ok, guys.
I managed to get this code, but the problem is that, it is suppose to create a dropdownlist and populate it with items from a database.I dont get any errors but the staff I request doesnt show either.
Can someone check and give tips.
****************Code**********************
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Option Explicit
'-- Variables we are using
dim objConn, objRS, objRS2, strSQL
'-- Define our objects
Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject("ADODB.Recordset")
Set objRS2 = Server.CreateObject("ADODB.Recordset")
'-- Database path and Data provider
objConn.ConnectionString = Server.MapPath("dropdowns.mdb")
objConn.Provider = "Microsoft.Jet.OLEDB.4.0"
objConn.Open
'-- Sub Procedure that builds the dropdown list
Sub showDropDownList(c, r, table)
'-- SQL Statement
strSQL = "SELECT * FROM " & table & " ORDER BY Title ASC"
'-- Execute our SQL statement and store the recordset
Set r = c.Execute(strSQL)
'-- If we have records to return
if r.eof = false then
'-- Open a form/select tag
Response.Write ""
Response.Write "" & vbCrLf
Response.Write "Choose...."
'-- loop and build each database entry as a selectable option
While r.EOF = false
Response.Write "" _
& r.Fields("Title").Value & "" & vbCrLf
'-- Move recordset to the next value
r.movenext
Wend
end if
'-- close select/form tags
Response.Write "" & vbCrLf
End Sub
'-- Sub Procedure that builds the dropdown list
Sub showDropDownList2(c, r, table)
'-- SQL Statement
strSQL = "SELECT * FROM " & table & " ORDER BY Title ASC"
'-- Execute our SQL statement and store the recordset
r.Open strSQL, c, 3, 3
'-- If we have records to return
if r.eof = false then
'-- Open a form/select tag
Response.Write ""
Response.Write "" & vbCrLf
'-- loop and build each database entry as a selectable option
'filter
r.Filter = ("Type = 'fruit'")
Response.Write "Choose...."
Response.Write ""
While r.EOF = false
Response.Write "" _
& r.Fields("Title").Value & "" & vbCrLf
'-- Move recordset to the next value
r.movenext
Wend
r.Filter = adFilterNone
r.Filter = ("Type = 'veg'")
Response.Write ""
While r.EOF = false
Response.Write "" _
& r.Fields("Title").Value & "" & vbCrLf
'-- Move recordset to the next value
r.movenext
Wend
end if
'-- close select/form tags
Response.Write "" & vbCrLf
End Sub
%>
<title>Dynamic dropdown lists in ASP(VBScript) - designplace.org
Dynamic dropdown lists using Active Server Pages and Microsoft Access
Below is an example of a drop down list, dynamically populated from a
database table.
<%
' -- Call the sub procedure to build the drop down list, with the connection and recordset objects and the source table (In quotes).
call showDropDownList(objConn, objRS, "tblDropDownTest")
%>
Here is the same drop down list, but this time it has been filtered to show
fruit first under a heading, then veg.
<%
' -- Call the sub procedure to build the drop down list, with the connection and recordset objects and the source table (In quotes).
call showDropDownList2(objConn, objRS2, "tblDropDownTest")
%>
© designplace.org - Feb 2003
kagiso
|
|
|
|
|
What does show, then? Does the subroutines output anything at all?
I would expect the code to result in an error message, as it tries to open a recordset object that is already open.
The example code that you got isn't very good. It leaves the database connection open, with two recordset objects connected to it. Pretty soon the database will run out of available connections.
---
single minded; short sighted; long gone;
|
|
|
|
|
It displays this ******
Dynamic dropdown lists using Active Server Pages and Microsoft Access
Below is an example of a drop down list, dynamically populated from a
database table.*****
Then nothing else.No values.Nothing.
Thanx for your insight.
kagiso
|
|
|
|
|
I'm fairly new to building web services. Once I write the code for my web service project, is there a way from within Visual Studio to deploy the web service onto the client's server?
Is that what the "Publish" operation is for?
What kind of privileges does the client have to give me on their web server?
--------------------------------
"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke
|
|
|
|
|
Hi Richie,
Check this link from oriely. Pretty detailed on webservices.
http://www.oreilly.com/catalog/prognetws/chapter/ch02.html
If you are using VS.NET
"The deployment process in Visual Studio .NET is as simple as choosing the Build Solution option from the Build menu item (or pressing Ctrl-Shift-B). But, in order to take advantage of this two-click deployment, you first need to properly configure Visual Studio .NET to be able to deploy to your instance of IIS."
If you are deploying a WS other wise check this section in the above link "Deploying a Web Service Directly to IIS"
i Think, i Wait, i Fast rAm
|
|
|
|
|
Thanks Ramjee, that was just what I needed to know!
--------------------------------
"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke
|
|
|
|
|
The third (and probably final) beta of the Test Recorder is now available:
http://watintestrecord.sourceforge.net/[^]
The Test Recorder generates code to run against the WatiN (Web Application Testing In .NET) library:
http://watin.sourceforge.net/[^]
Features in this version include:
-VB.NET, C#, and PHP code generation
-User-definable code page templates
-User-definable code macros
-Lots of bug fixes
Test Recorder is open-source freeware written completely in C#.
Cheers,
Daaron
|
|
|
|
|
This message will soon disappear - why not write an article on your project and post it to the site ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|