user

How to create a Mobile Web User Control

I'm making some mobile web pages to be accessed by smartphones and such. However, I do not see either Mobile Web Form, or Mobile Web User Control in the list of installed templates in Visual Studio. I probably need some mobile toolkit or something like that, but I can never find what I'm looking for on MSDN. Anyone know what I need to...

PHP choose the side a die has?

The php section of my code is not doing the correct operations when the user submits his/her number, for example, if the user submits 5, I want the rand function to randomly output 5 as the number selected; however, my code sometimes works and at other times does not work. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "...

How do I get a list of locked users in an Oracle database?

I want to be able to list all of the users in a given database along with an icon that determines whether they are locked or not. The problem I'm having is querying the "locked" status for a given user, I though it might have been on all_users but it isn't. Can anyone point me in the right direction? ...

proper way to get all users using OOP

Hello, ive got a user class where i can get the name, date of birth etc of the user... (below) class user { private $id; private $name; private $dob; private address; function __construct($id) { $this->id = $id } } i was just wondering what the best practice to get all users. do i create a function...

How to store simple name value pairs in an ldap directory

I'm creating a user repository ldap backend for a series of web applications sharing the same users. I would like to store preference information in this ldap location. This way everything related to users is maintained in the same place and can be shared among all applications. I'm thinking of a general structure like this: ou=Peop...

Monitoring Eclipse Window Acceptance

I know that the Eclipse Foundation has a Program withhin Eclipse (I guess it's a Plugin) that can Monitor the User behaviour. E.g. what Window was used how many times. I forgot the Name of that Program and wonder if it's possible to use the Plugin in a Company to monitor how the Programers use Eclipse? ...

How to add user id in Excel header / footer?

Does anyone know how to add user id to the Excel header or footer? I know I can set it in a macro but I'm trying to avoid it. Is there any shortcut like &D or &t for user id? ...

MVP - User Controls - Hiding the IView interface from consumers?

Hello, I would like to use Model View Presenter pattern for a library containing user controls which will be used in other projects. According to MVP I have to implement an IView-interface on a user control and pass it on to a Presenter-class. In my case the consumers don't need access to the IView-contract. But because the IView-inte...

Drupal - Including more than one user_profile_form on a page?

Edit: So, I've been working on this for hours now... I think it's because the action is the same or something... I tried to modify the action using this: function mytheme_user_profile_form($form) { global $user; $uid = $user->uid; //print '<pre>'; print_r($form); print '</pre>'; $category = $form['_categ...

SQL Server user name functions -- CONFUSED

Consider this T-SQL: CREATE USER my_test_user WITHOUT LOGIN; SELECT USER_NAME(), USER, SUSER_SNAME(),SYSTEM_USER, suser_name(); EXECUTE AS USER = 'my_test_user' WITH NO REVERT; SELECT USER_NAME(), USER, SUSER_SNAME(),SYSTEM_USER, suser_name(); I'm looking at using these accounts WITHOUT LOGIN for auditing purposes. Basically, my "get...

Which Property type do I use to put a User's user_id() in the Datastore?

This is why I need to put user_id()'s in the Datastore: A User value in the datastore does not get updated if the user changes her email address. This may be remedied in a future release. Until then, you can use the User value's user_id() as the user's stable unique identifier. http://code.google.com/appengine/docs/pyt...

Samba share change user

I have mounted a NAS device on Debian Linux using mount -t smbfs, and everything works well. except for one thing. When I create a directory on the mounted device, it creates it with root user and group, and a 0777 permission. Can this be set to, that the current linux user is the owner of the new directory, with a different permission? ...

how to allow user to order columns with wxListCtrl in report mode

with wxListCtrl, how to allow the user to rearrange the column order at runtime ? just like in windows. Tnx, Vertilka ...

How can I create a new user for a sharepoint site

I am trying to create users that I can add to groups on my site, but I just can't figure out how to create a new user, all I can find is how to add an already existing user. Please help me. ...

How do I unlock an Oracle user's account from Java?

I'm trying to figure out why my application is unable to unlock a user's Oracle account successfully. Here's a snippet from my code: OracleDataSource ods = new oracle.jdbc.pool.OracleDataSource(); Properties props = new Properties(); props.put("user", "sys"); props.put("password", "sys"); props.put("internal_logon", "sysdba"); ods.set...

Facebook - is it possible to get user id by userName ?

Hi all, I am building a small facebook application, in which I am performing the following: The user fills out his friend's names (using friend selector), What I want to do next is retrieve the friend's user ID based on their user name. Is it possible? Can I query a user by its name and receive his id? ...

Removing a Control from a Form

Hello, So I've got some serious problems with removing a Control from a Form of my application. It's kinda messed up but I can't change anything. I have a form and I have a separated user Control. The control opens an exe file and shows a progress bar while loading it's bytes. And here comes the problem. I do all of it with a BackgroundW...

detect users' operation on browsers

How to use javascript to detect users operation on browsers such as click backward/forward/refresh button, keyboard inputs in navigation bar or search bar of Firefox, as well as any hotkeys for these operations. Thanks! Paul ...

CRM Filtered Views through VPN access

Hi, I'm currently developing a set of reports for Microsoft CRM. I'm using Visual Studio 2005 to create and design the RDL files from my local development machine which sits on a different network from the client. I have access to the CRM database through VPN and by using a SQL Server user logon which is not an Active Directory user set...

Php : running ssh from Windows to login to a Linux and run a script

Hi ! Here's my goal : I have a Windows XP PC with all the source code in it and a development database. Let's call it "pc.dev.XP". I have a destination computer that runs Linux. Let's call it "pc.demo.Linux". Here's what I've done on "pc.dev.XP" (just so you get the context) : installed all cygwin stuff created a valid rsa key and p...