I am doing a PoC that involves creating an MSI that has version 1.0.0.0; installing that version to a test machine. Next, I create another MSI (same name, same product code, different package code, same upgrade code). I merely added a single new .txt
I'm trying to replicate (and if possible improve on) Python 2.x's sorting behaviour in 3.x, so that mutually orderable types like int, float etc. are sorted as expected, and mutually unorderable types are grouped within the output. Here's an example
Im trying to open a iframe thickbox window with the following url: < a id="thickbox2" title="Contact us" href="/send.php?keepThis=true&TB_iframe=true&height=370&width=300" class="blue_link">Contact
I am new to using PHP with active directory and LDAP. I want to retrieve a users full name, and then display it on a page. I gone to PHP's website to read up on the ldap syntax. I am having problems the ldap_search. I get the following error messages
Is there any way to protect a shared library (.so file) against reverse engineering ? Is there any free tool to do that ?The obvious first step is to strip the library of all symbols, except the ones required for the published API you provide. The "s
I have an VFP based application with a directory full of DBFs. I use ODBC in .NET to connect and perform transactions on this database. I want to mirror this data to mySQL running on my webhost. Notes: This will be a one-way mirror only. VFP to mySQL
I have a jetty 9 installed on CentOS in /srv/jetty, and I have a webapp deployed inside jetty. When I start jetty with java -jar start.jar & then inside the web application I can do this: File base = new File("."); System.out.println("B
I would like to write a cron job that has to run a PHP script at 6am, 11am,2pm,4pm on each day. Can you please help me with this? I wrote a shell task in shells and I want to run that task at the timings i said in the earlier statement. Thanks.Link f
My file authorsController.php contains the following code: <?php namespace App\Http\Controllers; class authorsController extends HomeController { public function get_index() { return View::make('authors.index', array('name'=>'James')); } } My file r
I want to reassign the Alt-Enter keystroke (for the light bulb suggestions) to another key but I can't find it in the Options->Keyboard list. All the ReSharper commands seem to have ReSharper_ in the name. but I can't figure out what name they used f
I am trying to add a UIView to UIWindow using the appDelegate I am using this code: NSArray *myViewArray = [[NSBundle mainBundle] loadNibNamed:@"View" owner:self options:nil]; UIView *myView = myViewArray[0]; UIWindow *window = [[[UIApplication
I am trying to connect to my remote oracle database, and it is locked down and has a white list of users and pc's that they can connect from. However, oracle is not providing OSUSER when I attempt the connection so I'm getting denied. Here is how I a
Can anybody tell me how to set a footer to all the activities in the application with dynamic data based on activity loaded? I need to change the footer text to selected student from the listview for all the activities and if no student selected disp
I am trying to start OrientDB server but i get the following error "The ORIENTDB_HOME environment variable is not defined correctly This environment variable is needed to run this program." I have created the environment variable but the error s
i have almost a half year since i continuously learn javascript and started to use more seriously. JS has the C like syntax and other parts like closures, dynamic typing, optional paramates, etc. The language feature that still i don't see his power
I'm doing Wes Bos' react tutorials, but after few gulp rebundling it stops working and stops on this app state. It's really frustrating, because everytime something doesn't work I have to check if it's code or gulp just stopped working. Here is my gu
I have this structure: table1 table2 id_t1 id_t2 id_t2 Now, I need to enumerate the rows within table2 but by the id_t2 in a single query. Example of the output: ennum id_t1 id_t2 1 1 1 2 2 1 3 3 1 1 4 2 2 5 2 4 6 1 Leading to rows enumerated with ex
In my PHP 5.3 application I get string eg: ACTION data with lot of spaces I need to get ACTION and 'data with lot of space' as to strings. I have few actions.Use explode() like this, print_R(explode(' ', 'ACTION data with lot of spaces', 2)); Output:
I am trying to compare two list of same type using multiple properties of that type. For example, I have a class named Details public class Details { public int id; public string symbol; public string code; } I have below two lists: List<Details> li
I am currently working on a Windows Form application, and setting the text of labels in the InitializeComponent() method of MyForm.Designed.cs. I'm setting it to a function call so it looks like the first line, but it keeps getting reformatted into t
Maybe this question make you confuse ,but please help me In .NET 4.0 , language C# I have two project ,one is the library define classes and attribute mark infors for class, one is the project that process reflection of class declared from that libra
Interator<elementType> it =myCollection.Interator(); Just started programming and want to know what this means?With iterator you can iterate over your collection! for example you can get next or previous item. How to use Iterator
In .Net (C#) server process, i want to generate image with lot of rich text (with paragraphs, font style, etc.. ). The richtext can be described using RTF or HTML. Is there any way to convert RTF/HTML to a image ? Since it is a server process, i want
I am unable to update or uninstall the NuGet Package Manager for Visual Studio 2012. I've looked around to several solutions, but have not found one that works. Running Visual Studio 2012 as the administrator... Attempting to update the NuGet Package
Below is a function to convert rgb to hex color. But it is not totally correct. With (0, 255, 0) (#00ff00). it return ff00 and so it is not valid color. I need help to modify it to return correct hex value. function rgbToHex(r, g, b) { var rgb = b |
How do I make an HTTP GET request with parameters in Ruby? It's easy to do when you're POSTing: require 'net/http' require 'uri' HTTP.post_form URI.parse('http://www.example.com/search.cgi'), { "q" => "ruby", "max" => &
I have the following list of objects List<Obj> source = new List<Obj>(); source.Add(new Obj() { Name = "o1", Attributes = new Dictionary<string, string> { { "attA", "1" }, { "attB", "1" }
I am new to the MVC concept and seperating Data from the controller logic. I am using Linq to Sql - and now I create a new instance of my DbContext , then use that to query the db from the controller. I have to do a lot of the same queries in differe
I am writing this query service that's suppose to work with couple predefined classes. However, it seems to me to be redundant that, when using this service class, I need to pass both the Type of the class and a class object it self. For example, to
I found this thread in which the OP's original fiddle where an ng-included scope doesn't modify its parent scope. One of the replies suggests: It is ugly and unpredictable, so i recommend you to wrap your data in an object variable: http://jsfiddle.n