I need to get the content(Complete html) of a page (say.: someotherdomain.com/somepage) loaded in iframe from an asp.net mvc (C#) application without using webclient or httpwebrequest.
Flash has a scrollbar class, documented here:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/fl/controls/ScrollBar.html
However, besides listing functions and variables, there's no real explanation of how to hook an instance of this class to a textfield.
Everything I've tried either ends up in errors or the scrollbar not showing. The documentation lacks a clear way of how you should bind the textfield and the scrollbar toghether, and CS4 isn't providing any help either.
Can someone explain, or link to an example of how scrollbars work with textfield?
The "Photos.app" in iPad has a gallery that you can browse all photos, including support for slideshow and other things. I'd like to know if this API is available (aka, not private) and which one it is (so I won't need to implement one photo gallery from scratch). I looked at http://github.com/facebook/three20, but I'm not sure if it is the same thing.
Thank.
Hi!
I'm using Grid with "Client Selection" (http://demos.telerik.com/aspnet-mvc-beta/grid/selectionclientside) of Telerik, and my page loads with one of the lines already marked. I wonder how it could activate the event OnRowSelected (on the marked line) when the page loads.
Thanks everyone!
The sample code in this article for creating a PDF from a Word doc works great if you have word installed on the machine.
http://msdn.microsoft.com/en-us/library/bb412305.aspx
I'm curious if it is possible to do this without having to install Word.
In Chrome, site http://www.helpinghandspeople.com has a 16px empty band (background colour shows) across the top of the page.
It's not supposed to be there, but I can't figure out how to make it go away. In Firefox, the home page shows fine, but login and a few other pages show a 24px band.
Viewing source and running inspect element are not helpful.
Does anyone have a suggestion where to look?
Thanks
Gerry
Using Matt Gemmell's MGTwitterEngine, how would I find out if the user (that i'm logged in as) has geo tagging enabled?
According to the Twitter API, there is a 'geo_enabled' boolean flag, but I can't work out how to interrogate it using MGTwitterEngine.
http://apiwiki.twitter.com/Geotagging-API-Best-Practice
This is the solution for linux:
http://stackoverflow.com/questions/45953/php-execute-a-background-process/45966#45966
Is there one for windows?
Maybe this?
start "window1" /min cmd.exe /c batch1.cmd
But I don't know what it does exactly:(
i have downloaded source code of Term Frequency/Inverse Document frequency (TF-IDF) implementation in C# from http://www.codeproject.com/KB/cs/tfidf.aspx. but couldn't find way run and test pls help for that did any one having any documentation about Term Frequency/Inverse Document frequency (TF-IDF) implementation in C# pls let me know ablut it
Hey guys,
So, I followed Apple's instructions to capture video session using AVCaptureSession: http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html. One problem I'm facing is that even though the orientation of the camera / iphone device is vertical (and the AVCaptureVideoPreviewLayer shows a vertical camera stream), the output image seems to be in the landscape mode. I checked the width and height of imageBuffer inside imageFromSampleBuffer: of the sample code, and I got 640px and 480px respectively. Does anyone know why this's the case?
Thanks!
I need to set a cookie in IE to execute some specific flow. I tried using the following code
ieb = Watir::IE.new
ieb.document.cookie="rememberme=foobar;Path=/; Domain=sometestdomain.com"
# Bring up browser and do bunch of stuff
However, I see that when the IE comes up, rememberme cookie is not set. Am I doing something wrong here?
Due to target audience I am using .net cookieless sessions in auto-detect mode and time to time I get visitors redirected with cookiless session url like
domain.com/(S(jdhdghdghd))/default.aspx
Problem is, if I call this url after session expired .net will re-create it. What I want to find out is a way to force .net to create another session id instead of using the one that came with url.
Is it possible?
Hello
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
I read this tutorial and there was a talk about secondary functions in a plugin.
How can I use those functions outside the plugin?
Hi i am developing an app for my QA department. I need to programically get how many phone numbers are there in the entire address book. No user input. Just click a button and then get how many phonenumbers are there in the ENTIRE addressbook.
Please email me at [email protected]
I'm trying to create an extension using this docs:
http://code.google.com/chrome/extensions/content_scripts.html
I want a part of JS code to run when document is ready (loaded).
This is my manifest.json:
{
"name": "OwnExtension",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://my.site.eu/*"],
"css": ["styles.css"],
"js": ["main.js"]
}
]
}
This is my main.js:
alert(10);
Am I doing sth wrong, that nothing happend when page https://my.site.eu/ loaded in browser?
How can I do the equivalent of the Ruby snippet below using Java?
require 'net/http'
res = Net::HTTP.get_response(URI.parse("http://somewhere.com/isalive")).body
Hi Everyone,
A follow on from this questions:
http://stackoverflow.com/questions/3032598/rails-created-at-on-display-if-today
Is it possible to output the word TODAY rather than the date when using the following helper?
def created_today k
k.created_at if k.created_at.to_date == Date.today
end
<%=h created_today(k) %>
Thanks,
Danny
Maxmind offers a binary DAT file format for downloading their GeoIP database.
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
Does anyone know how this has been packaged? Also, is there any kind of copy protection on the data?
I'd like to offer up a set of data in a similar way.
Anyone with any knowledge of this will receive my undying gratitude :-)
I want to implement a UAC prompt for an application in visualc++ the operating system is 32bit x7460(2processor)
Windowsserver 2008 the exe is myproject.exe through manifest..
Here for testing i wl build the application in Windows XP OS and copy the exe in to system containg the Windowsserver 2008 machine
and replace it
So what i did is
i added a manifest like this name of that is myproject.exe.manifest
My project has 3 folders like Headerfile,Resourcefile and Source file.I added this manifest(myproject.exe.manifest)
in the Sourcefile folder containing other cpp and c code
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="11.1.4.0"
processorArchitecture="X7460"
name="myproject"
type="win32"/>
<description>myproject Problem</description>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
then i added this line of code in Resourcefile(.rc).Means one header file is there(Myproject.h).I added the line of
code there
#define MANIFEST_RESOURCE_ID 1
MANIFEST_RESOURCE_ID RT_MANIFEST "myproject.exe.manifest"
Finally i did the following step
1.
Open your project in Microsoft Visual Studio 2005.
2.
Under Project, select Properties.
3.
In Properties, select Manifest Tool, and then select Input and Output.
4.
Add in the name of your application manifest file under Additional manifest files.
5.
Rebuild your application.
But i am getting lot of Syntax errors
Is there any problems in the way which i followed.If i commented the line
define MANIFEST_RESOURCE_ID 1
MANIFEST_RESOURCE_ID RT_MANIFEST "myproject.exe.manifest" which added in Myproject.h for adding
values in .rc file there willnot any error other than this general error c1010070: Failed to load and parse the manifest.
The system cannot find the file specified. .\myproject.exe.manifest
How to enable UAC prompt through programming
i want to save all user's (who visite my site) map ,
but i think google can hosting those kml file , yes ??
http://code.google.com/intl/zh-CN/apis/maps/documentation/mapsdata/developers_guide_javascript.html
thanks
I have a print function on a page in my website. the problem is, when it hits this line:
<script type="text/javascript" src="http://cdn.powerreviews.com/repos/12564/pr/pwr/engine/js/full.js"></script>, it tries to load it, and just never finishes.
Any ideas on how to get around that?
I need to get the title of a remote page by URL. The code works in FFX, but not chrome. Anyone have any ideas?
$(document).ready(function(){
$("title").remove();
$("head").load("http://www.latentmotion.com title");
});