Posts

Access Denied Error when attempting to Zip A file after creating it

hello: have code create folder append date , time , zip folder. code: namespace filecreation { class program { static void main(string[] args) { string foldername = @"c:\test"; string subfoldername = "sample_" + datetime.now.tostring("yyyy_mm_dd.hh.mm.dd"); string pathstring = system.io.path.combine(foldername, subfoldername); system.io.directory.createdirectory(pathstring); zipfile.createfromdirectory(subfoldername, foldername); } } } following error eventhoug admin on computer. referencing resources on page: http://msdn.microsoft.com/en-us/library/hh485721%28v=vs.110%29.aspx an unhandled exception of type 'system.unauthorizedaccessexception' occurred in system.io.compression.filesystem.dll additional information: access path 'c:\test' denied. not sure why access denied. feedback. zipfile.cre...

How to develop a SharePoint Designer Workflow Action for use in SharePoint (2013) online

over past few years have been developing custom workflow actions - use in sharepoint designer workflows - sharepoint 2007, 2010 , 2013 (on-premise). see example kind of workflow action talking about. i questions people want use similar actions in sharepoint (2013) online. aware in 2010 version of sharepoint online there possibility (painfully) create sandboxed workflow actions, no longer appears option in sharepoint 2013 version. i fear answer 'it not possible', there way create , deploy custom workflow action sharepoint online use in sharepoint designer workflows? cannot find documentation on topic. hey joroen, you can create sharepoint designer custom action sharepoint online, has deployed sandbox solution . important part have manually create actions4 file can used in sharepoint designer property accept input parameters end user , capture output parameter custom activity , pass workflow. thanks akhilesh nirapure ...

Unexpected behaviour with assemblies and type resolution.

hi; if create simple console app, in there use assembly.load(file_path) load assembly, call type.gettype(full_type_name), fails. it fails if use load(raw_binary) too. i can add assemblyresolve handler , pass loaded assembly there, why must i? why cant see assembly has been loaded? also noticed when load raw binary there no version shown assembly in visual studio 'modules' window... incidentally pass qualified (namespace, assembly, version etc) name of type gettype. also if load assembly, use type = assembly.gettype(shortname) - works, finds type in assembly, so...if take type , pass assemblyqualifiedname property type.gettype() still fails. this eliminates cause due me messing full name spelling etc, odd. thx cap'n there no api assembly.load(file_path). did mean assembly.loadfile or assembly.loadfrom? afaik type.gettype scans load context. therefore nothing loaded loadfile context (aka neither context), nor loadfrom context searched. ...

Rest Call to c# webservice asmx file

hi, i have  webservice , building new mobile client expects rest api. new rest api. there way have rest wrapper on existing webservices? thanks. hi, check below rest article http://www.codeproject.com/articles/21258/everything-about-rest-web-services-what-and-how-pa regards purvi Archived Forums A-B  >  ASMX Web Services and XML Serialization

Errors during creation Azure Search Service

Image
during creation of our first basic search service (western-europe) following error:  i tried again different subscription (other company) , experienced same error. is there wrong preview portal? thanks, marc hi marc, sorry inconvenience. there issue in system which affected of our customers in terms of causing failures when they tried create new search service. issue should solve already. please try it again? if error persists, please share subscription id use. may further trouble shooting. Microsoft Azure  >  Azure Search

Date Maximum for a DatePicker field

i have date field defined datetimepicker. it's , expiration date want default max date...which believe on date format column in sql server 12/31/9999. can add years datetimepicker field default it's date out. there way can default 12/31/9999? thanks review , hopeful reply. psulionrp set value property of datetimepicker datetime.maxvalue: datetimepicker1.value = datetime.maxvalue; Visual Studio Languages  ,  .NET Framework  >  Visual C#

Can't edit style template, all properties are readonly

i'm visual studio express phone7 developer trying find way in expression blend 4 windows phone. somehow, when choose "edit template -> current" on control, can't edit properties in right-side panel (borderbrush colors etc). these properties seem read-only ? how visually edit template of button, including states (pressed, disabled) ? if have in xml, can stick visual studio ;-) thanks all. distrinet research group, dept. computer science, k.u.leuven, belgium i dont know experience level using blend, when try edit default template of control in blend alot of properties bound control template doesnt allow edit them using blend interface until reset them.  suggest clicking little square next each property , resetting property.  open xaml , edit properties there. Expression  >  ...