Hi,
I have built up a number of common modules which I have been hitherto keeping in one directory and referencing from the project directories that need them.
I was wondering if there was a better way of doing this ?
Both the common modules and the code using them are written in C++.
...
Assume you want to create some form of web-dialog that allows you to do something. For instance querying for some information by filtering some selection criterias. This dialog might consist of a couple of textboxes, labels, comboboxes and buttons.
Now you notice that exactly THIS dialog needs to be used in different places. However, th...
I have a custom UITableViewCell which contains several UIButtons. Each button's frame position is relative to the cell width. I set autoresizingMask=UIViewAutoresizingFlexibleWidth so it will adjust the cell width and the button positions properly when the application starts with the device either in landscape or portrait mode.
The iss...
I tryed to create a socket in php and reuse it from other process.
I know this can be done with a daemon script but I want to do this without.
I created a socket and binded it to a specific port.
$sock = socket_create (AF_INET, SOCK_STREAM, SOL_TCP);
socket_set_option ($sock, SOL_SOCKET, SO_REUSEADDR, 1);
socket_bind ($sock, 'xx.xx....
Hey guys,
So far, I used to create custom nibs to make my cell as I wanted but this time, the height of a cell will change from one to another so that I can't create a fixed-size cell's nib.
So I decided to create it programmatically ... Is the way below the good way to achieve it ?
// Customize the appearance of table view cells.
- ...
I'm working on a site that will help private teachers manage their students, and part of this will be keeping track of how much money the teacher is owed.
I want my apps to be reusable and free from dependency on one another. So, I've created one app whose responsibility is the CRUD of student, teacher, and parent objects (these models ...
Hello All,
I'm trying to get the Reusable Content List on my SharePoint site, for that i have activated the office sharepoint server publishing infrastructure feature, even when that feature is active the Reusable Content List is not being displayed. Does anyone knows what could be the reason of this?
Thanks in Advance, i really appre...
In my project I am already having a number of reports and also new reports are being created. Now I need to apply a common Footer (with page number, total page number, user name, report name and execution time) for all these reports. This footer has to be in such as way that we can modify it anytime (at a single place) and all the report...
I have a function which sets my linkbutton as the default button for a panel.
protected void Page_PreRender(object sender, EventArgs e)
{
string addClickFunctionScript = @"function addClickFunction(id) {
var b = document.getElementById(id);
if (b && typeof(b.click) == 'undefined')
...
I can't find a good example of how to create a reusable named pipe listener that runs asynchronously. I can make a reusable listener:
NamedPipeServerStream pipeServer = new NamedPipeServerStream("MyPipe", PipeDirection.InOut);
while (true)
{
pipeServer.WaitForConnection();
StreamReader reader = new Stre...
Hello,
I am looking at how I structure my projects in ASP.NET (web applications).
Most websites will have the basics but each project will differ and I will need to add some extra functionality that I would like to group into applications. E.g. add a blog application.
I am interested in web applications so that I may package websites...
Hi guys,
my problem is that we try to use a MVC (php) framework. After discussing a lot think that MVC is very good, but I´m missing the possibility to write reusable model-(application)logic. So, I´m not sure if we have the right approach to implement our software in a MVC framework.
First I´ll describe the non-MVC, oo-approach which ...