Problems posting code

I've noticed some problems with posting code samples here from my Infopath form. I'm cutting and pasting code from my editor into the form and it's not coming out quite right; spaces seem to go missing for some reason. In a couple of cases I've deleted an entry and gone back and hand edited the XML in the Infopath form. Although this does solve the problem it's rather time consuming and I don't have time (or will!) to do it for every entry. If this causes problems for anyone (i.e. you can't read the code because of the occasional missing space) let me know. Even better, if you know of a fix for the problem ( that doesn't involve me giving up my Infopath entry mechanism ) let me know about that too!

Posted May 12 2005, 01:40 AM by martin-gudgin

Comments

Paul Downey wrote re: Problems posting code
on 05-12-2005 3:59 AM
I don't know about that, but i wanted to say your colour coded code snippits look really cool. First time i've seen that work well in an RSS feed!
Gudge wrote re: Problems posting code
on 05-12-2005 4:05 AM
Hi Paul, I'm glad the colour coding works well, I just wish the spacing worked too!
Voytek wrote re: Problems posting code
on 05-21-2005 7:48 PM
Hi!

I'm trying to launch config-less client and ping service, but i have some problems (timeout connection - no reponse).
Enabled trace shows that message is received by service (is logged to LogFiles) but no response is generated? Breakpoint set on first line of method isn't hit.

Could You write what additional configuration is required?

Voytek
Voytek wrote re: Problems posting code
on 05-21-2005 9:53 PM
Ok. I got it. When on single app (app domain?) runs service and client then client call is frozen in the middle of call.

Is this bug or feature-by-design?

Voytek
Gudge wrote re: Problems posting code
on 05-21-2005 11:28 PM
Voytek,

I tried running the server and client code in the same Main (single exe, single app domain) by the simple approach of pasting the client code after the Server.Open() call and before the call to Console.ReadLine(). This worked fine for me. Can you tell me what you did differently?

Gudge
Voytek wrote re: Problems posting code
on 05-22-2005 2:40 AM
I send You an email. Please reply and I'll send You my project.


PS: i received "Message Delivery Delay" notification from hotmail.com, please send an email to: eurocorp_AT_tlen_DOT_pl
Gudge wrote re: Problems posting code
on 05-29-2005 10:50 PM
Voytek,

I got your e-mail, looked at your project and replyed. Hopefully yoy got the mail, but the long and short of it is that with windows apps (as opposed to console apps) you'll need to spin up another thread either to call Service.Open on or to call the client on.

Gudge
madhavi wrote re: Problems posting code
on 07-26-2005 11:54 AM
I have a problem while I am writing userdefined functions in jsp. The function without "request.getParameter" statement is working well, but including that statement gives error? i.e. request.getParameter(); is causing an error in function body.


i.e works well
<%String str=request.getParameter("name");%>
<%! void setValues()
{
out.print("name "+str);
}

%>

but the following gives an error
<%! void setValues()
{
String str=request.getParameter("name");

out.print("name "+str);
}

%>
what is the reason?

regards madhavi
Moueen wrote re: Problems posting code
on 02-03-2006 8:32 PM
are you providing the Code of capth free
regards

Add a Comment

(required)  
(optional)
(required)  
Remember Me?