Programming & Development
-
call parent page from user control to invoke page methods
To illustrate how we will accomplish this using Reflections, we will be using repeater in a user control within a page. Your repeater loads data easily within the user control code behind, but you want to utilize the “ItemCommand” event… Continue reading
-
C# .Net Clone and Copy Objects using Extension Methods
One of my earliest blog articles – Clone Objects in .Net Using Reflections – briefly discusses shallow and deep object copying and cloning. For more info. on the semantics and what these terms really mean, see referenced wikipedia article. You… Continue reading
-
C# Create a Windows Installer Class Custom Action bootstrap DLL in .Net
The standard windows installer project included with Visual Studio right out of the box is great in many deployment scenarios. For more advanced needs, organizations and developers usually defer to 3rd party solutions, such as InstallShield, Wise, wix or NSIS… Continue reading
-
Change Company Name in XCode __MyCompanyName__ Objective-C Cocoa
See references below for original article. There are a couple ways to change the __MyCompanyName__ value. Permanently (open terminal and enter): Alternatively, changing the “Me” card in Address book or going to Project->Edit Project Settings->General Tab in XCode 3.2.3 also… Continue reading
-
Get Current Directory in Objective-C
Since Mac OS X is a unix based system, you can always use “getcwd” from the standard C library, but in general if you want to stick within the context of Objective-C/Cocoa, see the examples below. Here’s one snippet you… Continue reading
-
Concatenate string in Objective-C
Unfortunately, this is not as straight forward as it seems it should be. This really comes down to roughly two approaches in my opinion: stringByAppendingString approach: strigWithFormat approach: References StackOverflow, http://stackoverflow.com/questions/510269/how-do-i-concatenate-strings-in-objective-c cocoadevcentral.com, “Learn Objective-C”, http://cocoadevcentral.com/d/learn_objectivec/ Continue reading