|
Hi
I am testing my ASP.NET application with different browsers.So I want IE6 and IE7 in one OS, as of now I am using IE7.I tried to install IE6, as it is older than IE7, it failed.
So how can I use IE7 and IE6 simulataneously.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
Your best bet is probably to install a virtual machine. I don't think you can have more than one version on the same PC.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Christian Graus wrote: Your best bet is probably to install a virtual machine
Yeah. I heard that IE team encouraged people to use Virtual PC instead of installing multiple versions on same OS.
Christian Graus wrote: I don't think you can have more than one version on the same PC.
No. You can have multiple version of IE on same OS.
Standalone IE6 Installer
http://browsers.evolt.org/download.php?/ie/32bit/standalone/ie6eolas_nt.zip[^]
Standalone IE3 IE4.01 IE5 IE5.5 and IE6 Installer
http://tredosoft.com/Multiple_IE[^]
Standalone IE7 Installer
http://tredosoft.com/IE7_standalone[^]
I have tried to install the installer from first link. It worked well on Windows XP but not on Vista which I'm currently using...
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Hi to all
I M keyur soni.
i m doing proje in that i have to find the isp address from where the person is login .
so I want to know how the ISP address is find using then coding.
if u have any idea or namespace for that then tell me
Thank You ...
jignesh
|
|
|
|
|
Below is the list of assemblies referenced in the web.config file. In my desktop, the Crystal Reports XI has been installed & the reports has been viewed in the web pages.
(Crystal reports assembly Version 10.2.3600.0 --- from GAC)
BUT, in my deployment remote server, DOTNET framework 2.0 has been installed & (Crystal reports assembly Version 11.5.3300.0 --- from GAC). The reports can’t be viewed using the website.
How can I refer the crystal reports assembly Version 11.5.3300.0 (.dll) in deployment server?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<assemblies>
<add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies>
-- modified at 3:13 Monday 20th August, 2007
Jey
|
|
|
|
|
Where do I get an ASP.NET PropertyGrid control? I need it urgently....
|
|
|
|
|
Get It
or
search on Google
Best regard
Pathan
---------------------------------------------------
|
|
|
|
|
hi friends
how to edit ,cancel,delete datagrid without affecting database
regards
saravanan.
|
|
|
|
|
hi
create datatable dynamically, add column and rows and bind datagrid with this table.
u can remove,edit data using Datarow's method
Best regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hi
I am using C# and ASP.Net for a web application. I have the following in the global.asax file:
<%@ Application Language="C#" %><br />
<br />
<br />
<script runat="server"><br />
<br />
<br />
void Application_Start(object sender, EventArgs e) <br />
{<br />
}<br />
<br />
void Application_End(object sender, EventArgs e) <br />
{<br />
}<br />
<br />
void Application_Error(object sender, EventArgs e) <br />
{ <br />
<br />
}<br />
<br />
void Session_Start(object sender, EventArgs e) <br />
{<br />
<br />
}<br />
<br />
void Session_End(object sender, EventArgs e) <br />
{<br />
<br />
}<br />
<br />
<br />
protected void Application_AuthenticateRequest(Object sender, EventArgs e)<br />
{<br />
if (HttpContext.Current.User != null)<br />
{<br />
if (HttpContext.Current.User.Identity.IsAuthenticated)<br />
{<br />
if (HttpContext.Current.User.Identity is FormsIdentity)<br />
{<br />
FormsIdentity id = (FormsIdentity)HttpContext.Current.User.Identity;<br />
FormsAuthenticationTicket ticket = id.Ticket;<br />
<br />
string userData = ticket.UserData;<br />
string[] roles = userData.Split(',');<br />
HttpContext.Current.User = new GenericPrincipal(id, roles);<br />
}<br />
}<br />
}<br />
}<br />
<br />
<br />
</script><br />
It gives the following message when I compile it:
The type or namespace name 'GenericPrincipal' could not be found (are you missing a using directive or an assembly reference?)
How do use namespaces in the global.asax file? When I add
using System.Security.Principal;
it gives the following error: Invalid token 'using' in class, struct, or interface member declaration.
Any advise will be appreciated.
Thanks.
Kobus
|
|
|
|
|
Hi all,
I am publishing my web site by right clicking the solution - publish -
In the out put bin folder there exists around 600 files around 200 Dll's and 400 files with extensions dot compiled . I dont know where these came from. Am i doing the publish right or not? By the way my application is working ok. Another question also is that if i need to change some thing do i need to upload all the bin folder again?
Thanks
|
|
|
|
|
Yeah, the publishing thing is changed from VS 2003 to 2005. With SP 1 installed, you may even not be able to publish your web project using right mouse > Publish Website. There is a Web Deployment Project[^] available for download which does the trick pretty neatly!
|
|
|
|
|
Hi, none of my aspx pages works after deployment, and they worked fine prior to being deployed. The message that I get when attempting to open my aspx pages is as follows.
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'VBNetUpload.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="VBNetUpload.Global" %>
Source File: d:\hosting\qeducation\global.asax Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407 I know it is saying something about the Global asax file but I don't know what to check for. Please help me fix this problem. Any help will be much appreciated.
-- modified at 1:34 Monday 20th August, 2007
|
|
|
|
|
ASPnoob wrote: Could not load type 'VBNetUpload.Global'
OK, I assume VBNetUpload is the namespace of your application. Did you upload the .vb files ? Did you upload the contents of your bin directory ? You're either missing the dll that contains your code, or you're missing the .vb files, or you're missing a dependancy that stops those files from loading.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Hey guys, Ive got a registration Page. There I ve got some fields and I want to
insert some data into database ! I've got everything set !
MyConn.ConnectionString = SqlDataSource1.ConnectionString.ToString();<br />
MyConn.Open();<br />
SqlCommand MyInsCmd = new SqlCommand();<br />
MyInsCmd.Connection = MyConn;<br />
<br />
MyInsCmd.CommandText = "INSERT INTO UserT (UserName, ...)VALUES (@UserNameP, ...)";<br />
SqlParameter UserNameP = new SqlParameter("@UserNameP", SqlDbType.NVarChar, 50);<br />
UserNameP.Value = UserName_tb.Text;<br />
MyInsCmd.ExecuteNonQuery();<br />
MyConn.Close();
but I get this error !
Exception Details: System.Data.SqlClient.SqlException: Must declare the scalar variable "@UserNameP".
I have declared it !!! I dunno why I get this error !
please help me out !
|
|
|
|
|
U have declare dthe parameter variable and assigned value for it
but u don't added it to the command object
MyConn.ConnectionString = SqlDataSource1.ConnectionString.ToString();
MyConn.Open();
SqlCommand MyInsCmd = new SqlCommand();
MyInsCmd.Connection = MyConn;
MyInsCmd.CommandText = "INSERT INTO UserT (UserName, ...)VALUES (@UserNameP, ...)";
SqlParameter UserNameP = new SqlParameter("@UserNameP", SqlDbType.NVarChar, 50);
UserNameP.Value = UserName_tb.Text;
MyInsCmd.Parametrs.Add(usernameP);
MyInsCmd.ExecuteNonQuery();
MyConn.Close();
this could help u....
|
|
|
|
|
|
Hi,
Just declare the variables for the Paramater values
eg. Sttring _UserName=String.Empty;
_UserName=txtUserName.Text.Trim();
...........
///Now Here write your CommandText Like this
MyInsCmd.CommandText = "INSERT INTO UserT (UserName, ...)VALUES (_UserName, ...)";
Or
///Write your CommandText directly with values
MyInsCmd.CommandText = "INSERT INTO UserT (UserName, ...)VALUES (Naresh, ...)";
Naresh Patel
|
|
|
|
|
There are multiple pages . On each page dynamic checkboxes. I check some checkboxes on first page i go to next page & check 2 more checkboxes . so when i return back to first page the checked checkboxes becomes unchecked. So how do i avoid this ?
with thanks and regards,
kaushik pulpa
|
|
|
|
|
Hi,
I am trying to access all controls of a page so that I can Check whether they are textboxex or radiobuttons.
I am trying the following code But I am unable to access these controls in a collection.
foreach(Control objcontrol in Page.Controls)
{
if (objcontrol is TextBox)
{
TextBox tx = (TextBox)objcontrol;
...
Can anyone suggest me proper to access all controls in a collection plz????
hiiiiii
|
|
|
|
|
Within "foreach" you can "access" all the controls.. but you can not change the state of objects within.
If that is the requirement, then you better access them usin "for" loop and access the controls using indexes.
In case, it doesnt answers your questions. PLease be more elaborate about the same.
Regards.
|
|
|
|
|
I have a Multiview with 3 view placed inside.
There is also a RadioButton List which cycles through the 3 different views,
When I select them
The radio button options will have
* View 1
* View 2
* View 3
I would like to know how to display all 3 view at the same time.
In this case i thought of having this option on the radiolist button
* View 1
* View 2
* View 3
* View All the above
|
|
|
|
|
Hi Guys need help....
I have a problem in downloading a create CSV file....
When i create the CSV in my folder is not an issue but after creating it and download to a location in other location the file show html of the aspx page not the original data that i create
Any one know what the problem? Please guide
KaKaShi HaTaKe
|
|
|
|
|
yes, the problem is in your code, obviously. How do you send it down ?
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Dim fileStream As New FileStream(fileName2, FileMode.OpenOrCreate)
'Dim bytes As Byte = New UTF8Encoding
Dim ExportedCSV(fileStream.Length) As Byte
'fs.Read(ExportedCSV, 0, fs.Length)
fileStream.Read(ExportedCSV, 0, fileStream.Length)
'fileContents = objstream.readtext
Response.AddHeader("Content-Disposition", "attachment;filename=" & fileName2)
Response.Charset = "UTF-8"
Response.ContentType = "application/csv"
Response.BinaryWrite(ExportedCSV)
'fileStream.Close()
this is the code i use
any issue with this code?
StreamWriter.Close()
KaKaShi HaTaKe
|
|
|
|