User Profile

Collapse

Profile Sidebar

Collapse
m6s
m6s
Last Activity: Nov 26 '10, 12:38 PM
Joined: Aug 10 '07
Location: GR
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • m6s
    replied to Special character (") in textfield
    in PHP
    O-M-G! Was that awful simple? :-)
    Sure hadn't any clue about this function! Thank you very much Kovin!

    For the record, I tried to make replacements in order to manipulate the symbols...And really it makes me a bit worry, why didn't catch the trick....but the thing now is that it works!
    Thank you!
    See more | Go to post

    Leave a comment:


  • m6s
    replied to Special character (") in textfield
    in PHP
    Code

    Code:
    public static function textfield($name, $value, $edit) {
            if ($edit) {
                print $value . "<BR/>";
                $str2 = str_replace('"', "'", $value);
                $str2 = ereg_replace( chr(ord("'")), "\"", $str2);
                print $str2;
                print( "<input id = \"$name\" name=\"$name\"
    ...
    See more | Go to post

    Leave a comment:


  • m6s
    replied to WCF 10061 error. "Actively refused".
    in .NET
    Plater what would be a diagram or a flow to check this? Perhaps a url link in msdn?
    I found out, that services on my pc, have some names like net.tcp ( which seem to me have to do with my case), they are disabled.
    See more | Go to post

    Leave a comment:


  • m6s
    started a topic Special character (") in textfield
    in PHP

    Special character (") in textfield

    I have a value saved in mysql table like this:
    {"name":"poppy" }
    When I need to place another symbol " for example to name it "Cheeps and Potatoes", it's saved in mysql table with \". Up to now all ok. This seems to me ok. Escape character added.

    I restore the value twice, now...
    Into a textfield in order to edit the value of name.
    And also as plain value in order to...
    See more | Go to post

  • m6s
    replied to WCF 10061 error. "Actively refused".
    in .NET
    It seems so, but I don't have either firewall or proxy in the middle...
    See more | Go to post

    Leave a comment:


  • m6s
    started a topic WCF 10061 error. "Actively refused".
    in .NET

    WCF 10061 error. "Actively refused".

    I created the WCF service library. The purpose of the program is to expose two functions.

    While locally, on the same machine, when running the vs2010, the wcfTestClient executes and "speaks" with the services, on the remote pc, invoking wcfTestClient and the url, I get 10061 error. "Actively refused".

    Url I use is : "net.tcp://172.16.1.138:87 32/WCFEAFDSS/Box
    or the same plus "/mex"....
    See more | Go to post

  • m6s
    replied to itext table spares page with a gap
    in .NET
    I am developing it in .net , with C sharp (who has constrained 20 words per reply )!!!!!
    See more | Go to post

    Leave a comment:


  • m6s
    started a topic itext table spares page with a gap
    in .NET

    itext table spares page with a gap

    Good morning. I have a major issue with iText. Major but most of all ridiculous.
    After the cration of a table like that
    Code:
    tbl = new Table(7, dataTbl.Rows.Count);
    					tbl.setBorderColor(System.Drawing.Color.LightGray);
    					tbl.setDefaultCellBorderColor(System.Drawing.Color.LightGray);
    					tbl.setAlignment(Element.__Value.ALIGN_CENTER);
    					tbl.setPadding(2);
    					tbl.setWidth(( w - 495 ));
    ...
    See more | Go to post

  • m6s
    replied to Java Thread return data
    in Java
    OK, thank you...Probably does the work but I should try first..though
    See more | Go to post

    Leave a comment:


  • m6s
    replied to Java Thread return data
    in Java
    Se efharisto.. Mallon kanei tin douleia tou...alla prepei na to dokimaso vevea...
    See more | Go to post

    Leave a comment:


  • m6s
    started a topic Java Thread return data
    in Java

    Java Thread return data

    Code:
    MovAvg run = new MovAvg(_symbol, this, SumDays.SMALL );
    threadExecutor.execute(run);
    Collection<Double> vl = run.getMovAvg().values();
            Iterator itr = vl.iterator();
            while(itr.hasNext()){
                System.out.println(itr.next());
            }
    This snippet generates, or at least tries to generate a Moving Average. The MovAvg is a Runnable class. I send in the symbol, the values...
    See more | Go to post

  • m6s
    replied to Java RegEx pattern
    in Java
    It seems rather clear now, perhaps, however if we need the first word after the '>' whether name or number this trick is too restrictive I think. We could have loosen it a bit.....
    I tried to some regexp utility or grep itself, but couln't get what the writer wanted to say...
    In any case thank you very much... It was very detailed description....
    See more | Go to post

    Leave a comment:


  • m6s
    replied to Java RegEx pattern
    in Java
    Could n't just say then [A-Za-z0-9]? ? So the english questionmark to say one or more?
    I bet the | is the or for nothing, so to say bring me one ore more, or nothing.. I think.....
    See more | Go to post

    Leave a comment:


  • m6s
    started a topic Java RegEx pattern
    in Java

    Java RegEx pattern

    Let's suppose we have, this in an XML
    <cs:CUSTOMER_ID ><cs:CUSTOMER_I D/>

    and a pattern to match : ":CUSTOMER_ ID>([A-Za-z][A-Za-z0-9]*|)"

    Really, I understand that between the second [] looks for alpharethmetic.
    But I don't understand the first [] and after the OR operator '|'.
    Has anyone any experience to decipher it?

    Thank you in advance
    See more | Go to post

  • m6s
    started a topic Java code as plugin
    in Java

    Java code as plugin

    Good morning.

    I was looking for building a plugin code, for using it as module for billing policies in a java program. Looking that, I saw many libraries, equinox, jpf, all hard to implement for nothing really curious and bizzarre.

    The only thing I wanted is to have a jar, once-compiled. One jar that always gets compiled and has inside it the pricing parameter functionality. If it is with the same signature then just...
    See more | Go to post

  • No, nothing special. The only thing it is, is that they are greek.
    But then again as values in combo box, exist there.

    This happens at times to some of the guids also, in a bunch of..1000? guids in a grid.

    98% is ok, 2%? has this erroneous behaviour...
    See more | Go to post

    Leave a comment:


  • Infragistics UltraCombo - Display Member not shown with guid as valuemember

    If anyone has met the problem:

    I have setup a ultracombo with values from sql 2000. Valuemember = guid from the table, and DisplayMember property is the Description from the table.
    So it's like that :
    DisplayMember = Table.Descripti on
    ValueMember = Table.Guid

    I have now the issue, that the ultracombo does not really show the values but show guid. And this does not happen always at all the combo boxes....
    See more | Go to post

  • m6s
    replied to Removing multidimensional lists
    This link
    http://www.python.org/search/hypermail/python-recent/0678.html

    finally did resolve the case.
    The only thing I used the copy module.
    See more | Go to post

    Leave a comment:


  • m6s
    replied to Removing multidimensional lists
    First, thank you for your answer...
    Yes this seems to be the theory, the real problem comes when I want to loop through the elements of the list, and remove items. I think it has nothing to do with multidimensiona l, really.
    suppose we have one list, I want to iterate through all the elements remove by index and leave the list with less items than the start.

    I used the copy module, and tried copy.deepcopy, in order to...
    See more | Go to post

    Leave a comment:


  • m6s
    started a topic Removing multidimensional lists

    Removing multidimensional lists

    Hello to all,
    I am having trouble removing an item from list, which the item is a list by itself.
    <code>
    for self.line in self.filtered:
    if self.appid:
    if self.line[0] <> self.appid:
    print RED + " ".join( map ( lambda x:str(x), self.filtered[self.filtered.i ndex( self.line) ] )) + RESET
    self.filtered.r emove( self.line.index (self.line[0] )...
    See more | Go to post
No activity results to display
Show More
Working...