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
J

Jim from Indy

@Jim from Indy
About
Posts
14
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Heap in C#
    J Jim from Indy

    A heap is a memory storage and retrieval construct I learned about in college. It's a memory allocation and storage scheme not terribly unlike a stack. I honestly can't remember the exact details (from 1972...) but it's used extensively in compilers and other system level programming to manage limited memory efficiently. Google "memory heap", or consult Knuth's "The Art of Computer Programming" Volume 3 page 145. [Addison-Wesley, 1973]

    Jim

    C# question csharp data-structures tutorial

  • Pet Peeve
    J Jim from Indy

    You guys need to investigate APL, a language described by one of my fellow students as "the ultimate in elegance"

    Jim

    The Lounge tutorial question

  • Users can't get to my new web site
    J Jim from Indy

    I have developed a new ASP.NET (4) website on my client's domain using a server dedicated to me (it also runs SQL Server.) The problem is, I need to knwo who's accessing the site, and I can't seem to get Windows authentication to work for my users (works fine for me and at least one other....) In my global.aspx page, I look for authenticated users, and set up security. But my users are coming through with anonymous authentication. When I disable anonymous authentication, they get an HTTP:400 rejection. I don't know where to look. I'm no IIS (7) expert, but I've tried every suggestion I can find on the forums, and I can't figure it out. Here's what I know so far... ...Windows Integrated security is enabled on my users' browsers (IE8/32bit) ...I've disabled Anonymous access to my site (HTTP://Servername/Timesheets/) and enabled Windows Authentication. ...I've set up my Web.Config file:

    I can't even get any responses on the forums. Can anyone walk me through the process?

    Jim

    ASP.NET security csharp asp-net database sql-server

  • Sharepoint Task List Change Not Noticed by Workflow (MOSS, Sharepoint Web Services)
    J Jim from Indy

    Mark, Do I mark the workflow complete, or the task? If I'm reading the docs (what there is of them...) correctly, I can (though I haven't tried yet...) link from the item to its active workflow(s), then to the Workflows' active workflow ToDos. So my strategy should change, I think. I need to start at the library list member, filter for members with active workflows, then link over to the active ToDos (Tasks) for that workflow, and act on it, marking the (Task/Workflow) as "Completed?", so the workflow can "resume".... Do I have that right? Jim

    SharePoint javascript sharepoint database wcf help

  • Sharepoint Task List Change Not Noticed by Workflow (MOSS, Sharepoint Web Services)
    J Jim from Indy

    I am creating a very simple workflow on a (MOSS) document library list. The workflow creates a simple to-do task for me whenever a new document is added to the underlying library list. Periodically, I run a little program from my client that uses Sharepoint Web Services to query the WORKFLOW TASK LIST, looking for new tasks. When it finds a new task, it processes the underlying library list item, then posts some error messages to the workflow task item, and marks the workflow task item "Complete". But the original workflow doesn't seem to detect that action unless I use Sharepoint to "Complete" the task manually. What do I need to do to "complete" the workflow task using Sharepoint Web Services? I assumed if I marked the task item Complete, it would react accordingly. I am limited to Sharepoint Web Services ONLY. I'm not allowed to create my own web parts.

    SharePoint javascript sharepoint database wcf help

  • Sharepoint Workflow Strategy
    J Jim from Indy

    LOL.... Who can bill that much? I've figured out I can send an email from the C# app, so I'll just skip the task entirely, and handle it all from the app. It's only 50 lines of code (probably would be 10 if I had ever written C# before... ;P ) Thanks.

    SharePoint csharp sharepoint wcf help question

  • Sharepoint Workflow Strategy
    J Jim from Indy

    Mark, I neglected to tell you my client will not allow me to write Sharepoint code at all. I can't attach an event receiver. I am only allowed to use Sharepoint Web Services, and Sharepoint Designer. I'm not allowed to create web parts, etc.

    SharePoint csharp sharepoint wcf help question

  • Sharepoint Workflow Strategy
    J Jim from Indy

    I have a document library where my clients upload xlsx workbooks for import into an Access app. I developed a workflow that creates a task (assigned to me). I have a C# program, using Sharepoint Web Services (VS2005, MOSS 2007) that runs periodically, spots a new task, and imports the workbook. It then updates the TASK, setting its status to "Processed" or "Processed With Errors", along with a string containing any error messages. Now, I want some device (workflow?) to see that the task has been set to "Processed" or "Processed With Errors" and notify the original document author that the workbook has been processed, and identify any errors. I can't seem to make that part work. What's the strategy here? I am particularly concerned that someone be notified if the task hasn't been "Processed" within a couple days, indicating something else is wrong....

    SharePoint csharp sharepoint wcf help question

  • Sharepoint Noob Sharepoint Web Services (MOSS 2007)
    J Jim from Indy

    My objective is to select all workflow list items that are not "complete", pass the associated Excel workbook to a routine that will edit and post the workbook to an Access database, then update the workflow item with a "completed" status and a string of error messages passed back by the update program. Pretty simple. Wish I could do it without all this programming, but I must respect my client's environment. My client allows programmed access to its Sharepoint sites via Web Services only. I tried using Access 2007 which would have been perfect, but I get a strange intermittent failure. Since the app I need to code will run unattended, intermittent errors aren't tolerable. So, I (a vba programmer) have dived headlong into C# and SP Web Services. Honestly, Web services aren't as much a mystery as is the parsing of XML and use of C#. All the help stuff is in C#, so I need to do that... I used Jennifer Lewis' code to get the list I need to get. Did that successfully. But all she does with it is write it to the console with no formatting. I went to the Stramit CAML viewer and I can see the list I want (see XML) but how do I do what I need to do?

    SharePoint sharepoint help question workspace csharp

  • 100th Anniversary of the birth of COBOL's creator
    J Jim from Indy

    For those of you making the jokes about her being a woman, imagine the difficulty she faced as a project manager and Captain in the Navy in a time when women were treated like that to their faces in all seriousness. And yet, despite all that, she invented a language that was structured, trainable, and used happily by programmers such as myself for decades to follow. My hat's off to her, may she rest in peace. Jim

    The Lounge csharp php com question announcement

  • How old did you start programming?
    J Jim from Indy

    I was a freshman in college. My high school didn't have classes like that -- too expensive. I took a class in FORTRAN in school...yes, punch cards on a CDC6400 (sort of a junior super computer....) I enjoyed it so much, but hated cards, that I became the fella who sits at the desk outside the computer center and helps others with their programs (the "insultant"). My favorite question: "I didn't change anything, but my program doesn't work anymore..." Answer: "If you didn't change anything, why did you run it again?" The closest we had to a PC back then was a PDP-8 minicomputer. Jim (college class of 1976)

    The Lounge question

  • What do you people think of this?
    J Jim from Indy

    Thank you. I think we will continue to see these types of safeguards, so the slope may not be as slippery as it might appear. I should ask, though, how is the employee of a company protected when he executes an emailed order, but the email can't be referenced later because the company won't produce it (since they're covering their butts...)?

    The Lounge html question

  • What do you people think of this?
    J Jim from Indy

    I think the article is well-thought-out and written. I think the author is naive if he/she thinks all software will come with source code. It's neither likely nor appropriate. I do think that DRM is a slippery slope. We should be on guard against the possibility that the wheels of justice could be subverted by "disappearing" email messages, etc. Still, we're not there yet.

    The Lounge html question

  • How to add only numeric values to a textbox control
    J Jim from Indy

    I built a little function: function CashVal (byRef Intext as object, byRef ErrInd as boolean) as double 1. Check Intext to be sure it's not nothing 2. Check Intext to be sure it's not null 3. Check Intext to be sure it's numeric (and in my case, > 0...) 4. Return CDbl(Intext) and an appropriate ErrInd. I invoke this (x = CashVal(textboxname.text,Error_Indicator) )when the "leave" event is fired, so the user can type anything, and it's evaluated as a whole. The event handler checks to see if there was an error. If not, it sets the text property of the text box to format (x, "currency"). If there's an error, obviously, it can react appropriately.

    Visual Basic help tutorial
  • Login

  • Don't have an account? Register

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