How can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked:
Shift
CTRL
ALT
and for the Psion Teklogix machines
Orange
Blue
Although I may be able to work this out, if I can determine the others.
I want to create my own on-screen indicator panel and want to poll the keys, not using events.
I've had an entity framework model working for some time. Yesterday, it suddenly started complaining about a foreign key relationship issue during an insert. I've checked the fields and can do a manual insert using the exact field values. But the EF continues to complain. Any ideas what could have happened?
Can someone point me to a good tutorial explaining the Entity Framework using an XML file instead of a database?
I have seen some good tutorials with SQL databases, but I can't make the leap to an XML file.
Thanks!
Hi,
i have studied some examples for PHPUnit with Zend Framework, but there is one part iam not understanding.
In the most examples, the Application Bootstrap runs from some kind of baseClass inside
the setUp() Method.
Why not in __construct()? Is there any good reason?
Example iam talking about
I'm really struggling to tidy up a web site I am building for someone.
I've spent hours on trying to figure this out! I have limited knowledge so the code would be helpful. They want the section at the top (originally two images, now I'm trying background images and css) to fill the width of the browser- no matter what size it is. Does anyone know how to do this?
Similarly, is there a setting to get text to fill 100% width of the box, no matter what?
I would seriously appreciate even someone helping me move on a step! they want everything to sit tight and inline, in some browsers/screens it does but on mine it spreads out with lots of white space.
www.thegees.co.uk is the site.
Hi,
Is there a way in CSS or JQuery where I can dynamically change the background of li tags so they get slightly lighter for each element until it gets to white.
For example say I had a list of 10 li elements. The first would have a red (#ff0000) background, the next one would then be a lighter shade of red, and so on and so on until we got to the last one which would have a background of white (#FFFFFF)
The list can be any length and i just want the background colour to go from one colour e.g. red to another colour e.g. white. My site uses JQuery so if I have to use that I don't mind.
Thanks
Hello All:
I am using entity framework 3.5 for my application.
I want load data based on some condition e.g.
var data = from e in context.Employee.Include("Employee.Projects") where e.IsActive select e;
Using this, I will get all the Employees which are active with their project details. But I want to load only those projects which are active. So, how to load only active projects using the query?
Thanks
Ashwani
hey guys
i am new to ajax technology
and i want to use YUI technology with spring framework
so please guide me where to start;useful links & tutorials
thank you.
The lack of expression trees in Compact Framework has bugged me for some time now, but I haven't really looked for a solution.
Today, I've found a blog post about an alternative System.Linq.Expressions built on top of Mono System.Core and used e.g. by db4o (you can find it here).
My question is - have you used this library and if so, what were your experiences with it (especially regarding performance)?
I have a need to use a ColorMap object in .NET Compact Framework but from what I can tell it is not available.
Need some ideas on how to best workaround this limitation.
Hi all,
The question is quite simple : I have a plugin for Zend Framework.
Should I put it in the "library/Plugin" folder, or in "application/plugins".
(btw for now it is in library/Plugin but this works on Linux and Mac Os X, but not Windows so i figured maybe that is not the right place)
Thank you
I'd like to build a web app based on a zooming principle (ZUI)
I'm looking for a framework or a starting point.
something like OpenZoom http://openzoom.org/
but in javascript
Thanks
I know I've seen this done before but I can't find the information anywhere. I need to be able to route with .html extensions in the Zend Framework.
I.E. /controller/action.html should route to the appropriate controller / action.
We have an idea to throw away the .html extension with our .htaccess file but I think changing the route config would be the better solution.
Any advice is welcome.
Hi,
I'm a newbie to ADO.Net Entity framework 4. I have a set of pocos which I need to map to a legacy database. The problem is that the db field names are different to the poco property names. eg. db field name = 'cusID' and poco property = 'CustomerID'.
What is the best way to map these?
Hi,
I have .net 3.5 SP1 and VS 2008 SP1 installed in my machine. But what should I further install to create an Entity framework project. Is there any other add ons that is needed?
hello
i registered 2 plugin in my project on zend framework
the first one in application.ini
this is for change layout
resources.frontController.plugins.LayoutSet="App_Plugins_LayoutSet"
and second in the registred in the bootstrap
$fc= Zend_Controller_Front::getInstance();
$fc->registerPlugin(new App_Plugins_AccessCheck($this->_acl));
2 plugin work fine , i want to know what plugin execute at first ,
can we change prior's execute for these plugin?
Hi all,
I was working on a application with Zend Framework and PDO_MYSQL Adapter.
But my client server doesnt support PDO_MYSQL
I changed the adapter to Mysqli and im getting
Invalid bind-variable name
error.
How to resolve it thanks in advance.
Regards
Nizam
I am looking for some good asp.net sample applications which use Entity Framework. I saw a couple apps for NorthWind (one was MVC based). Looking for one with is more sophisticated than the simple apps at MSDN (HRSkillsCombined, CourseManager,AdWksSalesWinDataBind, ResearchCollaborationAssistant). Possibly using Entity Inheritance, multi table change tracking.. etc.
I am following the Zend Framework quickstart document and got stuck on the .htaccess rewrite rules. I am using this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
This works find when I access through HTTP, however, nothing is served when accessing through HTTPS. I am using a single directory for HTTP and HTTPS content.
I would not want to force HTTPS either.
How can I fix this?
I'm well aware that similair topics have been brought up before
e.g. http://stackoverflow.com/questions/1639043/entity-framework-4-vs-nhibernate
But instead of arguments like:
NHibernate have been around longer and is more mature
EF4 is drag n drop and not enterprisy
EF4 and LinqToSql are ...
I would like to see a more detailed list of features that you consider missing from EF4.
Personally, I think the lack of enum support is the biggest drawback of EF4.
Hi there,
In Zend Framework (1.10) i want to check if two input fields are identical
I have the following code in my form:
$this->addElement('password', 'password', array(
'label' => 'Wachtwoord:',
'required' => true
)
);
$this->addElement('password', 'verifypassword', array(
'label' => 'Bevestig wachtwoord:',
'required' => true,
)
);
I already tryed the "identical" validator, but I did'nt got it to work.