manager

access the IInternetHostSecurityManager::GetSecurityId Method to work around a cross domain iframe issue

After much research it appears to create and use our own security manager in the web browser control in IE we need to override the GetSecurityId method for both IInternetHostSecurityManager and IInternetSecurityManager as at some point they are compared and if found to return a different result they throw a UnauthorizedAccess exception. ...

django Cannot set values on a ManyToManyField which specifies an intermediary model. Use Manager instead

i am working on saving on the same form two tables - having a m2m relation. I don't succeed, my error persists with something like: Cannot set values on a ManyToManyField which specifies an intermediary model. Use Membership's Manager instead where Membership is my 'through table'. my code : def save_classroom(request): classroom_...

WiX uninstall - close application before Restart Manager

Hi I have an installer done with WiX. When it's done installing, it starts an application that injects some code in the Explorer process. Currently when I uninstall, the Restart Manager kicks in and offers to shut down my application and Explorer. Instead of that I want to close my application manually (this is done by running it again...

How to create a windows 3D desktop application manager?

I want to create a 3d application desktop manager in C++. How do I go about making application render to a 3D surface, like OpenGL or DirectX, for example? Any API, information or links would be helpful since I've scoured the net and can't find any information on this. ...

How to download files from Megaupload?

Hello. Can anyone tell me how to download files from MegaUpload using C#? So really, a Megaupload download manager. I've looking for a API, but I've been unable to find one. I want users to be able to use their own Username and Password from Megaupload. Thanks. ...

Data Management - Readonly data

Hi, I'm working on a some project in C#, and I came across the following problem: I have some data-type classes, for example a Person class, which keeps information about a person. In addition, I have a DataManager class, which is responsible of managing the persons in my program. If you want to add, get, find, or remove a person, you...

Tkinter grid() Manager

I am having a bit of trouble with the Tkinter grid() manager. It is spacing the rows too far apart. I have two entry widgets to place, and I need one almost directly under the other. When I place them both on the same row and column, but change the pady option, it places them directly on top of each other. I know there has to be a way to...

Android AssetManager/InputStream Exception

Doing Android 2.1 development. Can anybody explain to me why the following code generates a IOException and doesn't load the file? This exact code used to work, and as far as I can tell, it should still work. For reference, the Log.d() command correctly lists all files that I expect, and the files are correctly zipped into my .APK file. ...

question regarding mulitple entityManagerFactory in Spring 2.5.6

I am using Spring+JPA+Hibernate in my application. The issue I am facing is that I have multiple databases in my application and I have configured them correctly(I think) in the applicationContext.xml. Please refer to my applicationContext.xml below and tell me if: That's how I am supposed to configure the multiple databases If yes h...

NetworkAvailability check returns false yet the phone is online

I have am having some issues with getting consistent results when checking if the network is available or not. I use this code snippet inside a class AppPreferences to check the availability of a network. /** * @return the networkAvailable */ public boolean isNetworkAvailable() { connectionManager = (ConnectivityM...

How to Access all the fields that have been filtered in a Django Custom Manager

Hi, I am writing a custom manager, and implementing the get_query_set method. Basically, I want to see that certain fields are passed into the query, think the Custom Site Manager but not wanting to add filters I want to ensure that some fields ARE filtered on. Below is one way, but I was wondering if there is a better way to get the f...

How to get applications from Windows Task manager (Applications Tab) + their locations on HDD from Delphi

I would like to get list of programs running and visible in windows task manager's Applications Tab (not processes tab) and get their locations on HDD ? I need it to be done in Delphi. Anybody can help ? ...

How to register custom module manager in PRISM?

Hi, I've created some simple custom ModuleManager in my silverlight application based on PRISM. I also registered this type in bootstrapper, but PRISM still use the default manager. The constructor of my CustomModuleManager is called, but the property ModuleTypeLoaders is never accessed. I can't figure it out, how can I make it work prop...

Possible to have microsoft test and lab manager and visual studio 2010 on two separate machines?

I have 2 virtual machines both on the same network. and both on the same team foundation server, is it possible to have test and lab manager running on one machine, and visual studio 2010 running my program on the other. Thanks in advance ...

Suggestion on web UI manager tool

Hallo all. I have to create a java web-application for a multi brand client. The crm would be the same meanwhile the layout could be different. This is easily achievable with a multi css web-application. But the user would like to have something where he can move in different position the key elements of the page. Imagine the struts-t...

Android Alarm Manager with broadcast receiver registered in code rather than manifest

Hi, I want to use an alarm to run some code at a certain time. I have successfully implemented an alarm with the broadcast receiver registered in the manifest but the way i understand it, this method uses a separate class for the broadcast receiver. I can use this method to start another activity but I cant use it to run a method in m...

edit the frontpage manager on joomla

No matter what I do to the parameter settings, the entire article is being displayed. How can I limit that to only show a few lines of the article and then have a read more and see more link to show up? ...

looking for a web based file mgr, workflow (open source) app

hey guys. working on a project, that will involve 100s of files that go through a development/review/test workflow process. (knowledgetree is too large/bloated..) the developer checks the file out/in, where the reviewer then reviews (accepts/denies) the file which passes it to the next phase where it's tested and again (accept/deny). i...

suggestion of Project manager

I need suggestion of project manager (with task manager, etc) ...

AM kill proces and did not restart all services

Hi , we observed one scenario where activity manager killed our application process(it includes 5 running services) and then when it re-started the application process, it re-started only 1 service (this service was first one to be destroyed) . I/ActivityManager( 1660): No longer want com.android.bluetooth (pid 4961): hidden #16 I/Activ...