Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

windows - Drag and drop on Win7 machine to my app -


i have user running winforms app on win7. app allows users select rows open excel spreadsheet , drag-n-drop them onto app. however, user cannot drag-n-drop. cursor changes "no" cursor (little circle line through it) , operation won't complete.

i researching drag-n-drop , win7 , found points uac and/or uipi. looking solutions , not sure if of below work:

  • if user logs in admin (and result runs app admin) allow drag-n-drop work?

  • does user need turn off or change settings of uac/uipi in order able drag-n-drop?

i not sure issue is. app runs c:/documents , settings/... (c:/users/... on win7). running matter? drag-n-drop not work because user not running app enough permissions? excel , app on different permission levels? if so, can done that? note though app allows users drag file directly, doesn't work either.

also, there way can have user reproduce issue other apps? there apps come win7 can see same problem with. example, can reproduced using notepad?

thanks.

explaining problem away uipi very long stretch. doesn't have whether or not user logged-in admin, doesn't affect uac , program running same account anyway. way uipi kick in stop d+d when your program elevated , excel not.

to elevated requires work , doesn't happen accident. you'd have include manifest user gets uac prompt, you'd know that. or user have change desktop shortcut , tick "run program administrator" option, she's know that. while uipi can bypassed windows messages (changewindowmessagefilter), cannot drag , drop if elevation going on stuck. ultimate test ask user put uac slider way down.

the more scenario dragenter event handler isn't happy data sees , therefore doesn't assign e.effect property. if can't debugger on-site write little test program logs values of e.data.getformats() plus whatever else use check if drop acceptable. , don't forget obvious: user fumbling drag somehow.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -