access

How do I get multiple operating units access using ldap?

I'm having a problem getting users within who are within our domain and in the appropriate active directory group(s) to have access to the repositories. I am not very experienced with any of the security, nor using Subversion actively as a developer. This is a critical issue to be resolved as our developers are more and more part of vi...

iPhone xcode array losing state after load

Right i've had a search around and can't find anything. @synthesize list; // this is an NSArry -(void) viewDidLoad { NSArray *arr = [self getJSONFeed]; self.List = [arr retain]; // if i copy the access code into here it works fine. } -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath ...

NSMutableArray accessing issue.

I've searched and have no answer. I've created an NSMutableArray and am getting an EXC_BAD_ACCESS error in one place of access. Here. This is declaring in the .h file: NSMutableArray *buttons; ... @property (nonatomic, retain)NSMutableArray *buttons; And this is the synthesizing and implimenting: @synthesize buttons; ... - (id)init {...

Xchange column values in table in SQL Server

Hello people. I have problem to solve: Suppose in database is table TAB1(id,numb,text). The task is to exchange two column values in column 'numb' on some query in column 'text'. For example: We have ID | NUMB | TEXT 1 | 22 | hello <- this record 2 | 25 | today 3 | 34 | wow <- this record 4 | 53 | what...

Write-access for c# app in its own exe dir in Windows 7

I know that user accounts in Windows 7 are limited by default, so a program cannot just write anywhere on the system (as it was possible in Win XP). But I thought that it would be possible that e.g. a c# app is allowed to write inside it's own exe-directory or it's subfolders at least (not everything is 'user settings' or should be writ...

sql locking on silverlight app

Hi, i am not sure if this is the correct term, but this is what id like to do: I have an application that uses a mssql database. This application can operate in 3 modes. mode 1) user does not alter, but only read the database mode 2) user can add rows (one at a time) onto a table in the database mode 3) user can alter several tables in t...

Can we overide a textbox value in datagridview cell

i want to overide value in datagridviewcell. I have Dropdownlist.when i select the dropdown item. textbox value should overide in datagridview cell. any suggestion. //this particular code .pulls the vatrate from access database dvgproductlist.Rows[i].Cells[11].Value = dt.Rows[i]["VATRate"].ToString(); thanks in advance. ...

how to use iterator in c++?

I'm trying to calculate distance between 2 points. The 2 points I stored in a vector in c++: (0,0) and (1,1). I'm supposed to get results as 0 1.4 1.4 0 but the actual result that I got is 0 1 -1 0 I think there's something wrong with the way I use iterator in vector. Could somebody help? I posted the code below. typedef struct po...

Why i can not acces the protected properties in my web application

Hi i have a web application which has a Base class in which i define all the properties common to the web pages. The base class extends System.Web.UI.Page Furthermore i have a Base User control class where are defined all the properties common to the user controls. the Base User Control extends System.Web.UI.UserControl all the proper...

access a file in python that is created from SunGridEngine

Hi guys i have a python script, that submits an job to the SGE (Sun Grid Engine). When the job is done i want to access the output file, generated from the SGE job. i see with "ls" in the directory that the file is already existing and the job is done, but python needs about 20-30 seconds to get access to that file... is there a way to ...

MVVM: Delete a CustomerViewModel, but how to get the Customer model inside it?

Hello, I have a list of CustomerViewModels in a ComboBox. The selected CustomerViewModel I want to delete and also the Customer wrapped inside it to remove it from the repository. But how can I access the Customer model inside the CustomerViewModel? ...

Java Design Questions - Class, Function, Access Modifiers

I am newbie to Java. I have some design questions. Say I have a crawler application, that does the following: 1. Crawls a url and gets its content 2. Parses the contents 3. Displays the contents How do you decide between implementing a function or a class? -- Should the parser be a function of the crawler class, or should it be a clas...

Exception while ManagementEventWatcher(WMI) to notify events from remote machine

Hi all, I am trying to get notification from a remote machine 's event viewer using WMI and C#. I am able to connect the system and also get event log by using ManagementObjectSearcher. But when I tried to use ManagementEventWatcher.Start method I am getting a exception Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDEN...

RESTEasy - access to web folder for geting image

I would like to allow users to access images saved in web folder. For example - I have an image in web root folder "blank.png". But the link http://localhost:8080/myapp/blank.png returns 404 (not found). Adding type to resteasy.media.type.mappings does not work. I am a bit of a newbie in RESTEasy... ...

Joomla Development - Allow Direct File Access AND use Joomla-intern Framework

Hi As usual you write in Joomla Development defined('_JEXEC') or die('Restricted access'); I make a plugin which needs access from Paypal/IPN, so i exclude that in that specific file. BUT I also need to use the Joomla-intern Variables to access the Database, so i tried this: require("../filewithaccesstoframework.php"); OR even...

What is a good way of checking to see if a particular user may access a particular file?

I am working on application which runs as a special unprivileged user. I would like to be able to easily check to see if the user can read a given file. It seems like this should be easy, even when I go into the file in Windows Explorer and see that the read permission is checked, it sometimes seems that there is still something preven...

Access Violation

I've been learning how to NOP functions in C++ or even C but there are very few tutorials online about it. I've been googling for the past few hours now and I'm just stuck. Here is my code. #include <iostream> #include <windows.h> #include <tlhelp32.h> using namespace std; //#define NOP 0x90 byte NOP[] = {0x90}; void enableDebugPrivil...

How can I setup a svn subdomain so I can checkin/out without using svn+ssh?

I have a svn repository on my hosting account at ~/repository/. At the moment I have to create ssh keys to my server for users to checkin/out from the repository using a command like "svn+ssh://domain.com/project1/trunk". This is fine when there were 2 of us using the repository but now I have other people that might be doing work on the...

Team System web access rights

We're using team system to control our developement (product backlog items, sprint backlog items etc). It's a pretty nice tool but we wanted to allow other users to be able add bugs and new feature suggestions WITHOUT letting them mess with the actual development bits. I can set these guys up so they add the work items they need but ...

TFS2008 Remote Access No VPN Option

I am new to TFS and trying to setup where remote users can access the Source Repository and Work Items without having a VPN to the local network. Is this possible? From what I've seen the answer is NO. The TFS Proxy component does NOT appear to be what is needed to allow remote access, but rather a way to improve speed for remote users...