|
70-536 (Application Development Foundation) is first.
After that just do 70-562 (for ASP.Net 3.5) you don't need the 2.0 one first.
Microsoft Learning[^] lists the various tracks.
Good luck with the exams.
|
|
|
|
|
Hi,
I try to execute a php code that stop when find a ">" char.
I new in web developing and i think that my feel experiencie is the real problem.
some one can help me ?
The messege i received on top of the page in preview is
setQuery("*", "people"); // If were called using ajax, only display the table, not the page body if > (EyeDataGrid::isAjaxUsed()) { $x->printTable(); exit; } ?>
The code i wish to execute is:
<?php
require 'class.eyemysqladap.inc.php';
require 'class.eyedatagrid.inc.php';
// Load the database adapter
$db = new EyeMySQLAdap('localhost', 'root', '', 'codes');
// Load the datagrid class
$x = new EyeDataGrid($db);
// Set the query
$x->setQuery("*", "people");
// If were called using ajax, only display the table, not the page body
if (EyeDataGrid::isAjaxUsed())
{
$x->printTable();
exit;
}
?><HTML><HEAD><TITLE>EyeDataGrid Example 1</TITLE><LINK href="table.css" type=text/css rel=stylesheet><META content="MSHTML 6.00.6002.18130" name=GENERATOR></HEAD><BODY>
<H1>Basic Datagrid</H1>
<P>This is a basic example of the datagrid</P>
<?php$x->printTable();
?>
</BODY></HTML>
|
|
|
|
|
I recently looked at websites selling clothing.
Today when I logged on to my Orange webmail, the ads on the page miraculously displayed links to the sites I'd visited.
As a web developer, I'm intriqued to know how this is done.
|
|
|
|
|
Lots of large sites (including code project) use Ad networks like doubleclick.net to handle ads. That banner at the top is actually delivered from a doubleclick.net server. Because it is delivered from their server, they can set a cookie for their domain on your machine. They also know which site you were on when the ad was delivered based on the URL. http://ad.doubleclick.net/adi/N5072.CodeProject/B4526008;sz=728x90;ord=634098885627770045?
The next time you go to a site with a doubleclick ad they can look you up based on your cookie, see what other doubleclick sites you have visited and deliver appropriate ads. If you use an Anti-Virus scanner one category of "threat" is a "tracking cookie". If you delete all of those you won't get targeted ads (until you visit enough sites again).
|
|
|
|
|
I have a client-based application in which I am trying to display and use data that is stored on the client's computer in an INI file.
I have been reading on this and still have not the javascript snytax to do this.
The INI will exist on the client's system. In order to find it requires reading the client system variables to get the path for the file.
Having diffculty with the best syntax to accomplish this.
Thank you.
|
|
|
|
|
Perhaps this[^] will help?
|
|
|
|
|
I have this code snippet from Weather.com that displays local weather.
In the script portion of code is the var wx_locID which is the zip code of the hosted site.
I am trying to enhance this functionality by allowing the client to enter their own zip code, have it saved, then retreived using a cookie, then pass the value to the var in the script when the client clicks on the weather icon.
I am having difficulty passing the value to the var.
Any perspective would be appreciated.
Here is the script:
<div id="wx_module_7847" style="padding-left: 225px;" >
<a href="http://www.weather.com/weather/local/34979">Your City's Weather Forecast, AA (11111)</a>
</div>
<script type="text/javascript">
/* Locations can be edited manually by updating 'wx_locID' below. Please also update */
/* the location name and link in the above div (wx_module) to reflect any changes made. */
var wx_locID = '08043';
/* If you are editing locations manually and are adding multiple modules to one page, each */
/* module must have a unique div id. Please append a unique # to the div above, as well */
/* as the one referenced just below. If you use the builder to create individual modules */
/* you will not need to edit these parameters. */
var wx_targetDiv = 'wx_module_7847';
/* Please do not change the configuration value [wx_config] manually - your module */
/* will no longer function if you do. If at any time you wish to modify this */
/* configuration please use the graphical configuration tool found at */
/* https://registration.weather.com/ursa/wow/step2 */
var wx_config = 'SZ=300x250*WX=FHW*LNK=SSNL*UNT=F*BGI=spring*MAP=null|null*DN=askbillbradley.com*TIER=0*PID=1177763389*MD5=be2899d91f6feddef8216cd03ec459a7';
document.write('<scr' + 'ipt src="' + document.location.protocol + '//wow.weather.com/weather/wow/module/' + wx_locID + '?config=' + wx_config + '&proto=' + document.location.protocol + '&target=' + wx_targetDiv + '"></scr' + 'ipt>');
</script>
</div>
|
|
|
|
|
Writing a controlled program which, in turn, calls a client located HTML page which feeds additional content to the program.
I modified a function that checks internet status when the client-side html page (main.html) is accessed:
/* window.onload = checkOnline();*/
var netStatus=""
function checkOnline() {
if (navigator.onLine) {
netStatus = document.createTextNode("Internet is UP");
}
else {
netStatus = document.createTextNode("Internet is DOWN");
}
netstatusSpan = document.getElementById("mynetstatus");
netstatusSpan.replaceChild(netStatus, netstatusSpan.firstChild);
setTimeout("checkOnline()", 3000);
}
The script is intended to check there is an active internet connection.
If there is, it calls the hosted web page.
If there is not, it calls html content (either within the same Main.html or a second client-side html) that displays reduced content and the message that the internet is off-line. In addition, this client-side html continues to periodically test for internet connectivity every xxx seconds. When internets test positive, it launches the hosted html page.
What I am having difficulty with is the syntax to do this. (My example above simply displays a message)
I think I am trying to do a windows.open(http...) command in an If ELSE structure.
How to I issue the command to open the client-side html page when the internet is off-line. Complicating matters is I need to read a Windows system var which will have the path where the html file is located.
Thank you in advance for your assistance.
|
|
|
|
|
|
This is a strange problem that just started happening on one (and only one) of my computers, and I'm wondering if anyone has any insights.
I have a Website with hundreds of small jpeg files that I download into a Web page and display in a mosaic, a new image every second or so. This suddenly stopped working on one of my machines a few hours ago. I have no idea what I might have done or how to fix the problem. I rebooted my machine and I still get the error. The text that the exception handler returns is the following: "The Website may not be granting access to its files from your computer."
Not that it matters, but this is a Silverlight application that is reporting the error. I do have another application on the same machine (a WPF application) that accesses files from another folder on the same Website with no problem. And the Silverlight application displays my images just fine from another computer I have available.
I'm using the System.Net.WebClient class to download the images. In case you want to test whether this happens on your own machine, I'd be grateful if you tried it. As mentioned above, the downloads work fine on my other machine. The Website is here:
http://parisphototools.com
This is a Website that is under construction and is not yet fully functional, in case you try to Register on the Website for example.
|
|
|
|
|
In caption of the message it is displayed
"Photo Not Found",
So I think the photo named "splash800.jpg" is not
loading in the application from it's path.
(May be the path of the image of name of the image is wrong...)
Hope this will help!
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
Thanks for testing this. Obviously the problem is worse than I thought, and not just something that suddenly turned wrong on one of my machines (my development machine).
The "Photo Not Found" is my caption on my MessageBox, from my Silverlight application. All of the words after the word, "Reason" are from the exception handler in the event, System.Net.WebClient.OpenReadCompleted, which I call e. The expression, e.Error.Message supplies the words, "The Website may not be granting access to its files from your computer."
The URL I'm passing to WebClient.OpenReadAsync() is the following:
http:
If you type that URL into your Web browser, you will see the image pop up. So the paths I'm sending to WebClient.OpenReadAsync() are valid and the Website itself is not restricting access. The question then becomes, why all of a sudden is the call to WebClient.OpenReadAsync() failing on some machines? And why doesn't it fail on my other machine? The machine it's failing on is running Vista and the machine it doesn't fail on is running XP.
I must have done something in the Silverlight application that somehow is changing permissions that only affects some machines, and maybe it is operating system dependent.
Anyone have any ideas? What should I be looking for?
|
|
|
|
|
I figured out your problem, dude. You needed a clientaccesspolicy.xml file in the root of your Website. That fixed the problem.
|
|
|
|
|
This requires a bit of explanation.
My company's main website sits on a 64-bit server and runs under IIS6. The code libraries in the BIN folder were compiled using Visual Studio 2005 Professional, so they use the 2.0 framework. As far as I can tell, the code is 32-bit (I'm not sure how I would tell.) It is a complicated mess, with custom membership user and provider classes, new base classes for master and child pages, web parts, web controls, etc. However, it all works just fine.
We have some web pages that run on a 32-bit server because they use third-party components that, for whatever reason, are not cross compatable. They worked fine a few years ago when the main website was on a 32-bit machine, but caused lots of problems when we migrated. These components work when run standalone on the 64-bit machine, and the vendors insist they will work as web components in a fully 64-bit environment.
We are looking to overhaul our website. One of the projects will be to consolidate code libraries that have accumilated over the last six years, eliminate redundancies, etc. Since these would be rewritten anyway, discussion has turned to creating a fully 64-bit web environment, consolidating the two servers and ditch the 32-bit environment.
So, my questions:
Would we need a special version of VS to compile 64-bit code?
Would we need to upgrade IIS so that it will run as a 64-bit service?
Are there any caveats I should know about?
Is this an exercise in futility that will result only in me losing even more hair?
|
|
|
|
|
|
Thanks for the links, looks like some useful information here.
|
|
|
|
|
Trying to have two check boxes per line, where each of the check boxes performs a separate action. Have tried a few things with out much luck.
Here is what I have currently, which includes the second check box, but no attempt at applying an action to it.
<form name="hostlist" action="/cgi-bin/do-this.cgi" method="POST">
system1 <input type="checkbox" name="prod-monitor" value="n/a">Production
<input type="checkbox" name="dr-monitor" value="system1.domain.com">DR<br>
system2 <input type="checkbox" name="prod-monitor" value="system2.domain.com">Production
<input type="checkbox" name="dr-monitor" value="system2.domain.com">DR<br>
<br>
<input type="submit" value="Restart Browsers">
</form>
Thanks in advance.
|
|
|
|
|
What action do you want? It isn't clear what you are having difficulties with.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Sorry about that. What I started with was a list of checkboxes that all called a cgi script. That is this part...
<form name="hostlist" action="/cgi-bin/do-this.cgi" method="POST">
What I would like to do, is have two boxes next to each other, but have the second one call a different cgi script.
Thanks again.
|
|
|
|
|
You could wrap each checkbox in its own form element or a possibly better solution would be to handle the change event with some JavaScript and change the action of the form.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
My codeigniter project is in live.
I have two copies of it. One in the root and another in a subfolder.
Both are configered to work normal.
The root copy if the one which was made after testing in a subfolder.
While running from the a subfolder all worked well.
But when copied to the root folder the default controller is loading for all requests.
But were as in subfolders and in other servers it is working well.
It is like the following
A true copy in root folder like http://sitename.com
and another true copy in a subfolder like http://sitename.com/abc
when requesting like this http://sitename.com/gallery the default controller is loaded instead of gallery controller.
When i tried like this http://sitename.com/index.php/gallery/ then it worked well...
but http://sitename.com/gallery/ is showing only the default controller. that is the index page.
here is my htaccess...
php_flag magic_quotes_gpc off
php_flag short_open_tag on
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|static|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
The server is
Linux barracuda.elinuxservers.com 2.6.27.18-21 #1 SMP Tue Aug 25 18:13:37 UTC 2009 i686
PHP Version 5.2.9
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
In the CodeIgniter's application/config folder, open the config.php file and change the $config['base_url'] so that it reads something like
$config['base_url'] = "http://sitename.com/index.php/";
then this
http://sitename.com/gallery
should work as expected.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
If i modify like that then all the links will have index.php in it. isn't it?
I dont want to have index.php in urls and that is the reason i use htaccess...
Besides
I got this idea from my colleague ...
In the above htaccess i replaced the last line
RewriteRule ^(.*)$ index.php/$1 [L]
with this
RewriteRule ^(.*)$ index.php?$1 [L]
The modification is i changed the index.php/ to index.php?
and the pages loaded as expected.
Will there be any side effects cause of the above modification?
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
|
I'm new to Microsoft Dynamics CRM. I know that I can develope and customized on it using .Net [Visual Studio 2005 or 2008].
My question is: Do I have to install visual studio on the server along with MS CRM, and open visual studio from the server to create the applications?
Is there a way to work from my own personal computer and then deploy my application on the server afterwards.
Thanks
|
|
|
|