Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

bonkers

@bonkers
About
Posts
8
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ROW_NUMBER Conversion
    B bonkers

    Customers.AsEnumerable().OrderBy(obj => obj.LastName).Select((obj, index) => new {Index = i++, obj}); Or something like that...

    LINQ csharp linq help

  • WF - TreeView
    B bonkers

    omg ... tnx a lot ! That helps ^_^ I will buy that one ... hope it's a good read !

    WCF and WF sysadmin data-structures help announcement workspace

  • CreateUserWizard control button problem
    B bonkers

    mmm.... javascript. I am not too familiar with javascript, and I only recently stepped into the as world ^_^ How would you do that?

    ASP.NET help

  • Is there a limit on the amount of concurrent workflows?
    B bonkers

    It was pointed out to me that only 5 concurrent Workflows are allowed, and to fix it : In the Program file, import the System.Workflow.Runtime.Tracking namespace so that you can use the types in that namespace. C# Copy Code using System.Workflow.Runtime.Tracking; In the Program class, create a static Int32 field named maxSimultaneousWorkflows, and assign it the value 1. C# Copy Code static int maxSimultaneousWorkflows = 1; In the Main method that is defined in the Program class, add the DefaultWorkflowSchedulerService to the WorkflowRuntime. Use the AddService method, and pass the number of maximum simultaneous workflows that the DefaultWorkflowSchedulerService can schedule as a parameter. C# Copy Code workflowRuntime.AddService( new DefaultWorkflowSchedulerService(maxSimultaneousWorkflows)); Note, this was copied directly from the help file....

    WCF and WF question workspace

  • Is there a limit on the amount of concurrent workflows?
    B bonkers

    Hi, I have an app that kicks of miltiples of the same Workflow, but it almost seems like only 5-15 concurrent workflows are running at a time. Is there a default limit to the amount of concurrent workflows and how can this limit be adjusted? Kind regards :confused:

    WCF and WF question workspace

  • Passing an Object to a WF and persisting it.
    B bonkers

    Hi, I am creating a workflow that runs an Ldap search, containing the different LdapEntry vals. I then get the current LdapEntry by iterating through it. I then invoke the workflow, and in the invoked workflow, I get the LdapEntry. The problem is that in the main workflow, new entries are obtained (in a while loop), and the current LdapEntry changes, which changes the entry in the invoked workflow. Thus, how can I send an entry to the invoked workflow and ensure that the object obtained by the invoked workflow will not change.... a copy in a sense. Kind regards, H :confused:

    WCF and WF help question workspace

  • DateTimePicker
    B bonkers

    m_TimePicker.SetFormat(..... etc);

    C / C++ / MFC question

  • PostMessage problem
    B bonkers

    You need a class that handles the post msgs....

    void FACTORY::addWindow(HWND hWnd)
    {
    m_Windows.push_back(hWnd);
    }

    thus, regsiter all the windows with this class with the function above. (FACTORY::instance().addWindow(m_hWnd);) then, you send these messages to the different classes that registered to this via the PostMessage function....

    void FACTORY::PostMessage(UINT Msg, WPARAM wParam, LPARAM lParam)
    {

    list<HWND>::iterator i;
    int count = 0;
    
    HWND hWnd;
    for( i = m\_Windows.begin(); i != m\_Windows.end(); i++)
    {
      hWnd = \*i;
    
      ::PostMessage(hWnd, Msg, wParam, lParam);
    }	
    

    }

    Then simply post the message and catch it in the class....

    FACTORY::instance().PostMessage(THE_MESSAGE, (long)VAL1, (long)VAL2);

    and "catch" it in you PretranslateMessage functions....

    if(pMsg->message == THE_MESSAGE)

    then get the vals...

    int VAL1 = (long)pMsg->wParam;
    int VAL2 = (long)pMsg->lParam;

    OR SOMETHING LIKE THAT....

    modified on Tuesday, June 24, 2008 3:04 AM

    C / C++ / MFC help tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups