|
when i typed in runat=server into the tag and gave flash a name. i still couldn't access it in the .vb form. i even typed me.(and u know seh this normally list everything on your page) the flash id wasn't there and even when i typed it in the program would not compile because it said that that name does not exist
|
|
|
|
|
Have you added your project a reference to FlashAccessibility COM? I know that the XHTML Transitional 1.0 standards does not support the 'embed' tag... let me see what else I can find that could help you.
Nila
|
|
|
|
|
|
I tried my original approach, and I had no problems retrieving the embed tag from my code view... maybe you should ignore the intellisense, and view that page in the web browser, see if it works. This is my little code by the way:
In design View:
<embed id="myEmbed" height="400" width="300"
pluginspage="http://www.adobe.com/svg/viewer/install/"
runat="server" />
In Code behind:
string filename = @"somefilename.swf"; //or whatever else
this.myEmbed.Attributes.Add("src", filename);
Nila
|
|
|
|
|
i trying to expand my knowledge i trying to simulate what some websites do that allow member to upload files.
thus i developed a website that i am testing locally on my machine and i wanted to be able to go to a page and click browse find a file and upload that file into my webserver.
i planning to have a test folder located at http://localhost/try/uploadfiles that i am going to upload all the files to. i hope i not sounding confused
thus the scenario is i can choose to browse and upload the following file from my machine (c:\video.swf) and then its going to be uploaded to http://10.0.0.1/try/uploadfiles
kenny
|
|
|
|
|
Hello again
The problem is that i have a web site with the following forms.. Admin,Student,Parent,Teacher... i set the authentication so no one can access this site unless he has a username and a passwd, my question is when a student enters the site.. he will have access to all the pages through the URL, so how can i set it only to his PAGE?
Thanks in advance
regards
Estarta
|
|
|
|
|
Hi,
I've done such a program but in PHP
In fact you have to check on each page if the user have enough privilege to load this page.
You should implement a little function in the page_load for exemple :
if check_rights(userid) > 200 then<br />
' have admin access for exemple<br />
...
and
function check_rights(byval userid as integer) as integer<br />
' do a select on a database to load the userlevel of the user<br />
return userlevel<br />
end function
Hope it can help you !
|
|
|
|
|
|
Hi All
I am fairly new to the asp.net 2.0 world and have been following a number of demos. I did one that showed rollovers and stuff on buttons. Now even in a brand new project, I get weird buttons that adopt this style and go the whole width of the page. Can someone tell me how to restore the normal button please?
|
|
|
|
|
John, can you post your html and code-behind?
Nila
|
|
|
|
|
Hi Nila
I can't because, the solution I found was to just delete the project (see link below) and all my buttons came back - very strange that this project changed all my buttons?
If anyone can figure it out, I'd still like to know what was going on
many thanks, John
I was running through a load of tutorials found at http://msdn.microsoft.com/vstudio/express/visualCSharp/learning
and the project was:
http://download.microsoft.com/download/4/1/e/41e8f2c1-1bf7-419f-b31b-06122d090a49/ButtonCustomizeCS.msi[
|
|
|
|
|
Happy new year, btw!
Im glad to hear everything worked out, but still puzzled as to WHY that tutorial project had such effect. Did you use it as a template for your other projects? Maybe it's because you are using VS express (are you?). The free-bee products typically contain bugs as such.
Now you got my curiousity going... let me download that tutorial and see if it does that to me too (although I got the full liscensed VS).
Later,
Nila
|
|
|
|
|
Nila
I got an email, but can't see your post. As I'm online, I thought I'd respond straight away.
I have the full version of VS2005 and I don't believe I set this project as a template - although I might have done unwittingly. I actually don't know how I would do that yet! (I'm very experience at VC++ in version 6 only and am crash-coursing in ASP.NET & C#!!)
I just loaded the project, watched the video and moved on.
thanks again
|
|
|
|
|
I am creating one class file and which is having lots of properties. Upto here i am good.
But i need for few properites there can be set of values which my other IT group can use. They will use my dll in their UI layer.
So i want something like e.g for property A there can possible values X,y and Z only.....
If possible please share some sample of code in vb.net...
Thanks and Happy new year...
Amit
|
|
|
|
|
Amit Kumar G wrote: So i want something like e.g for property A there can possible values X,y and Z only.....
The common way of doing this is for the property setter to validate the value being passed to it and throw an exception if it is invalid. Natuarlly you would document what values are valid so that the developer using your class won't use them - but mistakes happen and in the exceptional case where an invalid value gets through the property setter throws an exception.
Depending on the scenario enumerators may be a good choice instead.
|
|
|
|
|
Thanks, can you share some sample code. I need very similar like if you do
mail.priority=(High,low,normal)...
Please consider this urgent.....Thanks in advance for all your inputs..
Amit
|
|
|
|
|
Hai
I would like to create 50% to 80% transparent menu to a webpage.
I tried using CSS
filter:alpha(opacity=90); But it works only with html pages.
How can I implement in ASP.NET Menu Control.
Regards
S.Ramesh Krishnan
"do right thing @ right time"
|
|
|
|
|
The menu control is rendered to a HTML page.
|
|
|
|
|
Hi,
I've written a vb.net and asp.net application which is using Crystal Report for output. The application was working fine.
I now need to update it a little. So I've reinstalled Visual Studio.net 2003 on my computer and launch my old solution.
I can run it and debug it as well, but everytime I want to run a report, I got the "#@#@ error message : CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
I've read many lines on internet explaining how to specifiy login user and password for SQL Server but I'm reading information for an access Database and parsing them to a dataset and then send the dataset to the report.
Here is my code :
<br />
mDS = New dsDecompte<br />
mStrSQL = "SELECT *, round(dfd_dedchange * dfd_prixachat;2) as DFD_PrixAchatEuro FROM vDecompte WHERE DFH_ID = " & CType(Session("ObjDevis"), Negoce.DevisFacHeader).devisID<br />
mDS = CType(Session("cobjConn"), Negoce.DataAccess).SelectBDD(mStrSQL, "vDecompte", mDS)<br />
<br />
myReport = New RPT_Decompte<br />
myReport.SetDataSource(mDS)<br />
myReport.ExportOptions.ExportDestinationType = CrystalDecisions.[Shared].ExportDestinationType.DiskFile<br />
myReport.ExportOptions.ExportFormatType = CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat<br />
DiskOpts.DiskFileName = "c:\negoce\decompte.pdf"<br />
myReport.ExportOptions.DestinationOptions = DiskOpts<br />
myReport.Export()<br />
I really don't know why it doesn't want to work as it was working before.
I would really appreciate as help as possible.
Thx
Cyril
-- modified at 5:02 Sunday 31st December, 2006
|
|
|
|
|
I'm trying to send e-mail using "CDO.Message" but
its not working for me.
I'm trying to use SMTP within IIS to send the mail (not
our exchange server), the "Default SMTP Virtual Server"
is started and running. The "Simple Mail Transfer
Protocol (SMTP)" service within 'Services' is started and
running
|
|
|
|
|
this is naveen Kumar.
I want to get screen coordinates of hyperlink column in dataGrid(asp.net.)
can you help me?
Or i have a link button on my web page. And I want to get the coordinates of that linkbutton.
|
|
|
|
|
Hello,
I am trying to integrate GoogleCheckout and working on to process order notifications sent by google...
Google sends order notifictaion in XML format as HTTP_RAW_POST_DATA.
I can retrive it in PHP as follows:
if(isset($GLOBALS["HTTP_RAW_POST_DATA"]) && $GLOBALS["HTTP_RAW_POST_DATA"] != "")
{
$msg.="<br>".$GLOBALS["HTTP_RAW_POST_DATA"];
}
Can anybody let me know its equivalent code in asp.net C# 2.0
Thanks in advance for all your help.
Regards,
Suman Singh
|
|
|
|
|
That would be Request.ServerVariables["HTTP_RAW_POST_DATA"] .
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Thanks for your reply...
I was using this code :
msg = Request.ServerVariables["HTTP_RAW_POST_DATA"];
but got nothing..
then I used :
msg = Request.ServerVariables;
and all the servervariables came into file but there was no any xml notification data...
I got :
APPL_MD_PATH=%2fLM%2fW3SVC%2f1%2fRoot%2fwcp
APPL_PHYSICAL_PATH=C%3a%5cInetpub%5cwwwroot%5cwebcreatorplus%5c
AUTH_TYPE=
AUTH_USER=
AUTH_PASSWORD=
LOGON_USER=
REMOTE_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CONTENT_LENGTH=2374
CONTENT_TYPE=application%2fxml
GATEWAY_INTERFACE=CGI%2f1.1
these type of many variables but there was no any variable with XML notification data..
Please help.
I will be highly obliged due to your this act of kindness..
I am not so much experienced in .net so I seek help from experienced people like you...
Regards,
Suman Singh
|
|
|
|
|
ahh I don't know much PHP so I thought it's HTTP thingy not PHP one... well, here[^] you have guide on how to use Google Checkout from ASP.NET
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|