modification

Sharepoint Workflow Modification is not disabled

Hi Everybody, I am working on a Sharepoint Server 2007 State machine Workflow. Until now I have a few states and a custom Association/InitiationForm which I created with InfoPath 2007. In Addition I have a few modification forms. I have a Problem with the removing of the modification link in the state-page of my workflow. I have a sta...

c++ modify resources at runtime

Is it possible to edit resources for an executable at runtime programmatically? If so, how? If not, is there another program that can easily be used to modify resources? Thanks, Derek. ...

How can I write a program that can detect by itself that it has been changed?

Hi, I need to write a small program that can detect that it has been changed. Please give me a suggestion! Thank you. ...

How to execute an Ant task only when source files have been modified?

There must be an easy way to do this. I build a Flex app using ant that depends on a SWC library, which works fine except that it rebuilds the library whether it needs to or not. How do I tell ant to only run the task if any of the sources files of the library (*.as, *.mxml) are newer than the SWC? I've looked at <dependset> but it ...

Choosing forum software based on modifiability

I am aware that this question will be judged as a non-programming question but I would like to point out that my software decision is very largely based on the programming standpoint. I am interested in changing from SMF to a better forum software. Unfortunately I'm unsure of which software I should choose. Many people like to recommend...

Batch file which deletes a file which last modification was not today

I just wanna know: How can i delete 'log.txt' if the last modification was not today? With a batch file. I'm just talking here about 1 FILE! ...

TFS : show modification (new and edited files) since a given date.

Hi; How can I ask TFS to show me only modified files (new and edited files) in a workspace (or in a folder) since a given date. Is it possible? or do I have to go myself through all the history and build my own "modification tree". Thank you for your help. ...

Referencing controller methods in my index page in a scaffold-ed rails app

Hi, rails newbie here. I've started making a value based to-do list. So far I've scaffolded my app like this: dir> rails --database=mysql test1 dir> cd test1 test> ruby script/generate scaffold list item:string done:boolean value:int [Changed default value of done to false in the migration file] test> rake db:migrate All is working ...

how to modify items in a Generic List using foreach?

I have the following Generic List which is populated with a list of string: List<string> mylist =new List<string>(); myList.add("string1"); myList.add("string2"); Say I want to add 'test' at the end of each string, how can I do it in a simple way? Intuitively, I tried this which compiles ok: myList.ForEach(s => s = s + "test"...

What is the easiest way to track a change in a folder in Java ?

I have a set of source folders. I use a Java class to build the distribution file out of these folders. I'd like to write another little class in Java which runs every half a second, checks if any of the files in the folders have changed, and if yes, run the building class. So, how do I detect easily that a folder has been modified ? ...

How to Modify a restricted registry key under HKCU in Vista programatically?

I want to modify a restricted registry key in Vista under HKCU hive programatically. Can anybody help me out in this regard? ...

Porting LGPL library and selling platform-specific glue code

I want to port LGPL library to another platform. This would introduce some changes to the library itself (mostly #ifdefed pieces of code) and also would require me to write additional code to glue library to the platform. Now, I know that I will have to make available modified library source, and this is no problem. But should I make av...

Removing items from a collection in java while iterating over it

I want to be able to remove multiple elements from a set while I am iterating over it. Initially I hoped that iterators were smart enough for the naive solution below to work. Set<SomeClass> set = new HashSet<SomeClass>(); fillSet(set); Iterator<SomeClass> it = set.iterator(); while (it.hasNext()) { set.removeAll(setOfElementsToRemo...

Concurrent modification whilst traversing a ruby Hash

Suppose you had this: def wipeProduct(hash, nameToDelete) hash.each do |i| key = i[0] productName = i[1].first hash.delete(key) if productName==nameToDelete end end I'm not sure it's safe to delete things from a hash whilst you're iterating over the key-value pairs of the hash. I checked the RI documentation but I ha...

Manipulating the content of an email message

Hi, I am looking for a solution that will enable me to connect to a mailbox, obtain an email, apply specific modifications to the email body (for example, change the content), and then forward the newly modified email to a new email address. The trick is that such modification must not destroy the format and headers of the original emai...

Showing 10 recent (same month/year?) items from a category (Wordpress)

I'd like to display 10 recent posts (probably from the current month or year) from the "featured" category in random order, i.e, rotate posts on each refresh/pageload. I'd like to show small thumbnails (the same image(s) used in the posts just resized to fit) on left, and excerpt on right. So the formatting would look like: [#1 Post Ti...

Is there a svn:keyword for "modification count" of a versioned file in subversion

The $Revision$ in CVS shows the version of a file, which based on modification count. This is very convienient, as the modification count can be used as "Build Number", and for each file, the number itself reflects the "growing life" of a file. But in SVN, the version is about the whole repository, any modification to files are by me...

Library to Perform Link-Layer Packet Modification

Is there a library out there that will allow me to perform link-layer packet modification for both incoming and outgoing packets? Basically I want to do some transformations to a packet (for eg. changing IP payload) based on incoming MAC address, IP address, port, etc. I also want to be able to do the same thing for outgoing packets, i....

Windows network packet modification

I'm looking to write a small program which will intercept network packets (on the local machine) and modify them before they go out on the network. I need to be able to modify the headers as well, not just the data. I've already looked through several possibilities but am unsure which one is best to pursue. There are open source packet ...

Is it possible to add workflow modification programmatically?

I`m interested in adding SharePoint Workflow Modification programmatically from my workflow, without using forms. What i'm trying to achieve - I want to add Workflow modification when user uploads new document version to document library. I have OnWorkflowItemChanged and from there i'm willing to add WF Modification. Is this possible? ...