I have a VBscript that outputs various config items about a system. Both hardware and software. I can output disks and their associated partitions. I can output mount points. I do not seem to be able to associate a mount point with a local disk (where it actually is a local disk).
I need to be able to do this using VBscript, so as to fit in with…
I have a page with a select list (ASP.NET MVC Page)
The select list and onchange event specified like this:
<%=Html.DropDownList("CompanyID", Model.CompanySelectList, "(select company)", new { @class = "data-entry-field", @onchange = "companySelectListChanged()" })%>
The companySelectListChanged function is getting called twice?
I am…
The old Facebook API provided the user sex/gender as part of the default user data. Apparently the new Graph API does not provide that information, even though the documentation says that it does.
I've heard people say that you need to request special permissions to get it and other pieces of data, but I have not been successful in getting it…
The Question
What hosted mercurial repository/bug tracking system or systems have you used?
Would you recommend it to others?
Are there serious flaws, either in the repository hosting or the bug tracking features that would make it difficult to recommend it?
Do you have any other experiences with it or opinions of it that you would like to…
Hi all,
Im having trouble with some javascript in the onFetch step of a dataset in a BIRT report.
I've added logging in the initialise step of the report in a few different ways. The runtime im using is Tivoli Common Reporting, and they supply a logging framework. Its initialised as so
…
Hey Everyone,
So i'm building a webView into my application to show the contents of a URL that I am passing from a selection in a UITableView. I know the UIWebView is loading content properly because if you hard code say http://www.google.ca into the NSURL then it loads fine, however…
I'm having trouble getting an asset image to scale up when I load it. The new call to BitmapDrawable(Resources, BitmapDrawable) is not available on 1.6 SDK.
Is there a workaround to load the BitmapDrawable the old way and then somehow manipulate it? I have tried calling…
I have a parent object which has a one to many relationship with an IList of child objects. What is the best way to delete the child objects? I am not deleting the parent. My parent object contains an IList of child objects. Here is the mapping for the one to many…
I have a stored procedure that does something similar to:
SELECT a.TaskId, b.CompanyCode FROM task a JOIN company b ON b.CompanyId = a.CompanyId;
I have an object called TaskItem that has the TaskId and CompanyCode properties, but when I execute the following…
Can Unity automatically resolve IEnumerable<T>?
Let's say I have a class with this constructor:
public CoalescingParserSelector(IEnumerable<IParserBuilder> parserBuilders)
and I configure individual IParserBuilder instances in the container:
…
Hi there,
I'm having trouble with a query in SQL Server 2008 on some forex trading data. I have a trades table and an orders table. A trade needs to comprise of 2 or more orders. DDL schema and sample data below.
What I want to do is write a query that…
Does anyone know an Actionscript equivalent of the javascript getElementsByClassName.
What I would like to do is add a custom 'stylename' to various components which I can then use to get a collection of these objects and therefore process their…
essetially I just want formatted HTML rendered in the UITextView, should I be using the undocumented setContentToHTMLString? I feel that I should not be using that, I have tried it, but the text (after being rendered as HTML) does not scroll…
Hi,
I would like to add ajax to an existing spring mvc 2.5 webapps. But i dont know where to start.
I think spring does not support ajax integration.
Does someone know how can I accomplish this? I was thinking that my ajaxrequest should…
How do you get client side validation on two properties such as the classic password confirm password scenario.
I'm using a metadata class based on EF mapping to my DB table, heres the code.
The commented out attributes on my class will…
I found that the Google Maps API supports Directions through:
var map;
var directionsPanel;
var directions;
function initialize() {
map = new GMap2(document.getElementById("map_canvas"));
directionsPanel =…
I noticed that if you wrap a radio button or checkbox in a label, the whole thing becomes clickable, even without a for/id pair (in fact, it seems to ignore this because I screwed it up!)
Example:
…
There are several SQL split functions, from loop driven, to using xml commands, and even using a numbers table. I haven't found one that supports text qualifiers.
Using the example string below, I…
I'm using PHP and MySQL. Is this the best method to select information about "user_1" from four different tables? I know it works, because I have tried it. But is this the preferred method of…
Hi, I am using the following php code which has been given to me, it works fine, apart from the auto response bit. I know its not a lot of code I just dont know how to do it or why it snot…
My website dynamically embeds an external Javascript file into the head tag. The external Javascript defines a global variable myString = "data". At what point does myString become…