 |
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
 |
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
 |
I wrote this HTML for a header:
<header>
@ViewBag.Title
<img src="imageURL" alt="No Image" width="100" height="30" align="left"/>
</header>
but the problem is that the text is not centered correctly, it's centered on the space of the header after the image, any suggestions to get it right to the center?
|
|
|
|
 |
I have a regular C# desktop GUI application providing regular windows interface.
WCF is not used for supporting these interfaces, since it mainly working as a standalone desktop application, with a lot of data involved in data transfer. But I have used WCF with netNamedPipeBinding for UI automation.
Now I would like to call these interfaces from a web page also.
So in my understanding
1. I have to host my desktop application as WCF web service
( with httpBinding and need o provide a new contract for the interfaces).
2. Call the existing I/Fs from the new interface class.
Please correct me if wrong.
aks
|
|
|
|
 |
Cross posting is not tolerated here so please be patient and wait for some answer. Bear in your mind that people answer question in their own spare time free of charge!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
 |
Can site A set a cookie where the cookie's domain = "site B" ?
Meaning site B will receive the cookie once the user leaves site A and browses to site B?
Is this allowed by most browsers?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
 |
To learn in depth Google for 'cross domain cookies'...
In a few words - no, you can't. You can't share cookies across domains. There are some solution (like site forwarding) but most are not secure at all...
You have to learn a lot to see your options - than find a cookie-less solution
You may start here: http://www.cookiecentral.com/faq/#4.3[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
 |
This page
http://www.bbc.co.uk/news/special/2014/newsspec_7141/index.html[^]
Looking at the source code it uses bootstrap.js, but I'd like to understand more about how they put it together... I vaguely remember seeing something, somehwere, about it, but can't find it or remember where. Any pointers gratefully received. Ta.
|
|
|
|
 |
Wombaticus wrote: I vaguely remember seeing something, somehwere, about it, but can't find it or
remember where. Clickety[^]
CP search rocks
|
|
|
|
 |
Thank you! Now why TF couldn't I find that? (Probably best you don't answer that...)
|
|
|
|
 |
We want to buy website source code, if you have interesting please send me the snapshots of the websites and your contact information to [email protected]
The contents of your website should be as rich as possible on the first look, and could be set up on computer easily, an good example is http://www.msn.com/[^] and https://www.yahoo.com/[^]
|
|
|
|
 |
I am using custom calendar in my web based application and I am facing one issue, In some of users machine on IE-9 when I click on calendar icon to open it than blank calendar area is displaying any control like dates month year ok, cancel button ... not displaying.
I have try to use it with compatibility view On & Off both but it's not working. I am struggling with this issue.
Can you please give me quick help to resolving it.
Regard's
Kaushik
|
|
|
|
 |
can you please share your code here. and what type of error are you getting.
|
|
|
|
 |
Hi,
I have a PHP / HTML5 web project for students to upload thier powerPoint presentation in order to share it with others.
Once PowerPoint file is uploaded, how can I displat it on the webpage?
What's the technique used for such task?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
 |
You have two options:
1. Provide the uploaded file as is, and let the client support the PowerPoint installation (If client has any application that can open PP files it will do)...
2. Convert PP to HTML using some 3rd party application (Google for it) and present it to the client...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
 |
Hi,
There are lot of ways you can do this:
1) Upload and Link
Yes, you could just upload a PowerPoint file to your web space and link to it as you would to any other file. Visitors click and download the file to view on their own computers. Of course, that will only work if all of the users already have PowerPoint (or compatible software) installed on their computers, so you may want to convert your slideshow to a PDF document format or publish a link to Microsoft
2) Get a Widget
Upload your PPT, PPS, or even PDF files to SlideShare and they're converted into shared media. Copy a snippet of code to embed your presentation directly in your own web page (or simply link to your presentation page on SlideShare’s hosting service) and select the level of privacy you want for each file.
3) Publish an HTML web page
A more serious issue with saving in HTML from the PowerPoint software is that the resulting web presentation is optimized for Internet Explorer. More often than not, it will not display properly for website visitors who are using other browsers. Free open source software may be a stronger choice in this instance. OpenOffice Impress, the PowerPoint look-alike from OpenOffice.org, lets you create a PPT presentation and slideshow from scratch, and it will also convert an existing PowerPoint presentation to HTML in a form that's compatible with a broader range of browsers.
4) Flash it!
Accuracy of the PPT-to-SWF conversion will vary from program to program, depending in part on the complexity of your presentation. You may need to try a few tools in order to find the one that works best for your purposes and budget. Or get around any tricky conversion issues with free screen recording software like CamStudio — record your PowerPoint presentation as you play it back on your own computer screen (even add an audio commentary to the slideshow, if you want).
Some visual blog editors will have a toolbar button for uploading video, but showing a Flash movie on your website is most often as easy as uploading your SWF file to your web space and using a few lines of object / embed code to embed the file on your page.
|
|
|
|
 |
Hi,
I have a PHP website project and I am looking for an IP Address Lookup API or web service (IP Owner not just IP Geo).
I tried googling it but could't find any..
have you ever came across such service?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
 |
Hello Jassim,
I can solve this problem as well as want to work on your php project..
Please contact me on [email protected] OR skype: mehul.bavarva
|
|
|
|
 |
Hi,
Can you please see this link:
http://www.jassimrahma.com/[^]
I am reading the Google News using SimpleXML
but the format is ruined! and I am unable to find the classes used in the Google News.
can anyone help please..
Thanks,
Technology News @ www.JassimRahma.com
|
|
|
|
 |
Have you tried searching Google?
|
|
|
|
 |
Hi,
I have created a facebook page and a facebook application for my ASP.NET website and now I need to post messages from my ASP.NET webpage onto the facebook page with help of facebook SDK .NET.
This is what I got so far :
public static bool UploadPost(string message)
{
dynamic result;
FacebookClient client = new FacebookClient("secret access token");
result = client.Get("oauth/access_token", new
{
client_id = "[Client ID number]",
client_secret = "[Client sercret",
grant_type = "client_credentials",
});
result = client.Post("[facebook app Id]/feed", new { message = "Test Message from app" });
result = client.Get("[facebook app Id]");
return false;
}
When running this I get(on client.Post) : Additional information: (OAuthException - #200) (#200) The user hasn't authorized the application to perform this action If I remove the client.Post row every thing works good, the correct data is fetched.
I have tried follow some helps on facebook SDK .NET website but it is still not working.
Pleas help
|
|
|
|
 |
Hi,
I have two different headers. I want header2 to replace header1 when the users scrolls the page.
this is header1:
<header>
<a href="home"><img id="logo" src="<?php echo $_SESSION["blended_learning_domain_name"]; ?>images/logo.png" /></a>
<nav id="navMenu" role="navigation">
<ul>
<li><a href="home" <?php if (basename($_SERVER['PHP_SELF']) == 'home.php') { ?>class="current_page_item"<?php } ?> accesskey="1" title="">Home Page</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="mypage" <?php if (basename($_SERVER['PHP_SELF']) == 'mypage.php') { ?>class="current_page_item"<?php } ?> accesskey="2" title="">My Page</a></li><?php } ?>
<li><a <?php if (basename($_SERVER['PHP_SELF']) == 'browse.php') { ?>class="current_page_item"<?php } ?> href="browse" accesskey="3" title="">Browse</a></li>
<?php if (!$_SESSION["blended_learning_user_id"]) { ?><li><a href="signin" <?php if (basename($_SERVER['PHP_SELF']) == 'signin.php') { ?>class="current_page_item"<?php } ?> accesskey="4" title="">Students</a></li><?php } ?>
<?php if (!$_SESSION["blended_learning_user_id"]) { ?><li><a href="adminsignin" <?php if (basename($_SERVER['PHP_SELF']) == 'admin_signin.php') { ?>class="current_page_item"<?php } ?> accesskey="5" title="">Admin</a></li><?php } ?>
<li><a href="contact" <?php if (basename($_SERVER['PHP_SELF']) == 'contact.php') { ?>class="current_page_item"<?php } ?> accesskey="6" title="">Contact Us</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="out" accesskey="7" title="" style="color: white; background-color: red;">Sign Out</a></li><?php } ?>
</ul>
</nav>
</header>
and this is header2:
<header>
<a href="home"><img id="logo" src="<?php echo $_SESSION["blended_learning_domain_name"]; ?>images/smalllogo.png" /></a>
<nav id="navMenu" role="navigation">
<ul>
<li><a href="home" <?php if (basename($_SERVER['PHP_SELF']) == 'home.php') { ?>class="current_page_item"<?php } ?> accesskey="1" title="">Home Page</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="out" accesskey="7" title="" style="color: white; background-color: red;">Sign Out</a></li><?php } ?>
</ul>
</nav>
</header>
how can I do this please?
Technology News @ www.JassimRahma.com
|
|
|
|
|
 |
Hi Jassim,
Could you try using jquery or javascript.
function checkUrl()
{
var text = $("textarea").val();
bool isUrlPresent = isUrlPresent(text);
if(isUrlPresent)
{
// Do something
}
}
function isUrlPresent(url)
{
if(new RegExp("[a-zA-Z\d]+://(\w+:\w+@)?([a-zA-Z\d.-]+\.[A-Za-z]{2,4})(:\d+)?(/.*)?").test(url)) {
return false;
}
else
{
return true;
}
}
Also please check this link :
https://github.com/stephan-fischer/jQuery-LiveUrl/[^]
|
|
|
|
 |