I have created a .NET user control with an ActiveX interface. It works well.
Now, I want to be able to read and write from the property bag for the ActiveX interface.
How would I do this?
I'm looking to direct the user on the channell webpage instead of the video url that I'm embedding.
I've read the api and I didn't see any way to achieve this.
I tried enclosing the embedded video in a and I added this code:
$('#youtube').click(function() {
document.write('http://www.youtube.com/user/trasportareoggi');
return false;
});
And surprise it won't work.
How, if it's even possible I can do this?
hi,
I have an XML file which I'd like to query (read/write) in the same way as I would a relational database. Performance is not a big issue, I just want to be able to load the file and start querying, preferably without having to define a schema. Does anyone know if such software exists?
i have two large tables in a database.
table 1 with 2 fields
rank,name
and
table2 with 2 fields
rank,name.
both are of 1 million records.
can you write php sql code to fetch those records which exists in table2 but does not exist in table1.
var html = "<div>"+title+"<br/>";
document.write(title.replace(/ /g,"-"));
html+= '<p><a href="go.aspx?title=' + title + '">Details<\/a></p></div>';
hi all,i want to replace title space with dash
I remember reading a paper a long time ago that talked about object-oriented programming. I believe that this was from the early 1980s or perhaps even before then.
This was at the time when object-oriented programming was still done through pre-processors, and one thing that stuck with me is this: it argued that you could write code in either procedural or object-oriented fashion, and after preprocessing/compiling, you would end up with the exact same machine code.
Does anybody know which paper I'm talking about?
Hi,
I want to write a buil.xml file that should open a new terminal for every client/server i want to use for testings.
How can i do that? i tried this code to run for example the 'ls' command on the newly created terminal. He created the terminal but doesn't run the cmd.
thanks.
Hello,
i just asked a question few minutes ago which led me to this one :
I want to know if there is any chance to use only the back-end of wordpress ?
I mean,
link my admin interface to post news
link my visitor interface on my website to the wordpress news so the visitor can access the news
So the visitor never find out that i'm using wordpress to generate the news and handle their comments and write my news ?
Maybe it's possible but there is no point by doing so ?
Thank you
Blast from the past. This is one of the puzzles from my early days:
Can you write a method (a function) which when called outputs its own source - literally including all the quotes, indentations, etc?
No cheating - no reading from a file
I have a button control. Once the user clicks on it, the click event should fire and then the button should get disabled. How can I do this? I have the option to use JQuery or JavasSript or both.
Here is my button declaration:
<asp:Button
ID="Button1"
runat="server"
Text="Click Me"
onclick="Button1_Click"
/>
On the button click code behind, I have added a Response.Write(). That should get executed and then the button should be disabled
I'm using Drupal 6 and its core comment module.
I want to run a custom funcion every time a user posts a comment, but I don't want to mess with the comment.module for obvious reasons.
Is there a practical way I can do this in a custom module? If not, what are the alternatives as I don't want to write my own commenting system.
Using simple type like
class A {
public int X, Y;
}
with object intializers, one can write
var a = new A { X=0, Y=0 };
But the following is also accepted by the compiler:
var a = new A { X=0, Y=0, }; // notice the additional ','
Same for int[] v = new int[] { 1, 2, };
This looks a bit strange ... Did they forgot to reject the additional ',' in the compiler or is there a deeper meaning behind this?
I want to write a SessionExtension that fires a 'Foo-created' event or 'Bar-created' event every time a new Foo or new Bar is committed to the database. However, once inside the after_commit method, I don't know where to find which entities have been committed. Where do I get this information?
Really neat how FB grabs meta-data from a link you type in the update status box, including thumbnails, etc. Is this something I should write from scratch in Jquery, or are there pre-built solutions that would help me here?
I try to test SharpArch frame, directly in the provided example code to write some code to add test data, but unsuccessful, do not have any information to me!
ICustomerRepository customerRepository = new CustomerRepository();
Customer customer = new Customer("Jack Chen");
customer.SetAssignedIdTo("JACKK");
customerRepository.Save(customer);
I just had an instance of CustomerRepository operation, do not understand why there is no new data on the data table
Why would the Swift compiler expect me to write
if let addressNumber = paul.residence?.address?.buildingNumber?.toInt() {
}
instead of just writing:
if let addressNumber = paul.residence.address.buildingNumber.toInt() {
}
The compiler clearly has the static type information to handle the conditional statement for the first dereference of the optional value and each following value. Why would it not continue to do so for the following statements?
I am working on a PHP framework and am currently designing error handling. Based on what I have read on SO, I should only use exceptions for, well, exceptional situations. Therefore throwing an exception when an incorrect password is entered is wrong.
Should I avoid using exceptions when I want to trigger a server error? If so, should I write my own error handling class?
We do this using the 'Advanced' button on the checkin dialog now (with Merant, nee PVCS) but the 'Advanced' button is disabled when I set TFS as my SCC provider. Is there a switch we can flip on either side to enable this?
Or do we need to write some custom extension?
Or can I get the TFS changeset number to associate with the change in PB?
Or am I coming at doing selective builds entirely the wrong way?
We use Captcha control in a registration form that we make full client validation for all fields in JavaScript ( JQuery ) beside server validation ..
I tried a lot of ways but all will write the Captcha value in JavaScript that can be accessed by anyone :(
I search if is there any way that allow me validate Captcha value in client side using JQuery in secure way or it can't be done ?
Hey guys,
I'm just getting started with c++ development and I would like to use emacs to write the code and then compile and run it from within emacs using the visual studio 6 compiler. I have already googled around a bit but just can't seem to find an explanation of how this is done.
Any pointers?
Thanks for your help,
joerg
I can use __LINE__ as a method parameter just fine, but I would like an easy way to use it in a function that uses strings.
For instance say I have this:
11 string myTest()
12 {
13 if(!testCondition)
14 return logError("testcondition failed");
15 }
And I want the result of the function to be:
"myTest line 14: testcondition failed"
How can I write logError? Does it have to be some monstrosity of a macro?
I know it's a simple question but I really can't find anything on Google. Sorry if I'm not searching right.
I created 2 pages and in the first one I have a button.
What should I write in the C# code to change to redirect me on the second page?
I usually know my way around C# but I'm totally new in ASP.
I wish to become a good specialist in image processing, for example I want to know how to find barcodes or car plates and so on, anything that i think about, an apple on image.
And then to do something more, for example decode the barcode or just write - this is an apple.
So do you know a good book or online course?
How can I audit a web application specifically database changes, when the application is connecting to the database as a system account?
I would like to use a simple database trigger to write to an audit table but I am unsure of how I would be able to add the user that is logged on instead of the account that is actually doing the work.
I have read a few articles on identity flow but I do not fully understand the concept.
hello
i am working in application of twitter in flex 3 and action script 3 , this in the text area when the user write my application automatically change http address to a short address but i don't know find the address within the text you can help me please..
thanks in advance