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
T

tasoss

@tasoss
About
Posts
10
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Positive Lookbehind question
    T tasoss

    Hello and thank you very much for your reply. Firstly i have to read the article you have mentioned and then we can talk again. But i believe this

    You see the expression (?<=) can be used both as lookbehind before the match and lookbehind after the match.

    is the most important thing that i didn't know. Can you choose if (?<=) will be treated as before or after only ??? (i will found out after reading the article :)

    Regular Expressions question

  • Positive Lookbehind question
    T tasoss

    Hello. I'm trying to understand why '(?<=a)[1-9]+' works with "a556" but 'F(?<=a)[1-9]+' doesn't work with "Fa556". Thanks!

    Regular Expressions question

  • How to share a server connection between different powershell runspaces in c# on a web application
    T tasoss

    Of course.Runspaces and code is running in C# using System.Management.Automation. Thanks for replying!

    C# help csharp com sysadmin windows-admin

  • How to share a server connection between different powershell runspaces in c# on a web application
    T tasoss

    I'm working on a web project and I need to do the following. I want to run different cmdlets on a VMM server (https://technet.microsoft.com/en-us/library/dn246490.aspx). Right now when I need to run a cmdlet I open a runspace, connect to the VMM server using this cmdlet: https://technet.microsoft.com/library/jj613273(v=sc.20).aspx and then disconnect. The problem is that disconnect doesn't work as expected and so I have memory leaks. The solution is to use one connection to the server,using the previous cmdlet, and then perform all other actions via this connection (on new runspaces). So I need to share the fact that I'm connected on each new runspace I open. I suppose I should use the RunspacePool class and maybe the InitialSessionState member but I'm not sure. Thanks for your help! ps: http://stackoverflow.com/questions/28254778/how-to-share-a-server-connection-between-different-powershell-runspaces-in-c-sha[^]

    C# help csharp com sysadmin windows-admin

  • xslt compilation error
    T tasoss

    Do you think that it's normal to search the xsl file inside in the c:\windows\system32 directory? the file is referenced because it has to.But it's referenced like "../foo.xsl" and not inside c:\windows\system32. I have read that .net's default dir is c:\windows\system32,so there's something that i'm missing. BTW thanks for answering!

    ASP.NET xml help sysadmin tutorial question

  • xslt compilation error
    T tasoss

    Hello people. I'm using something like

    TextReader sr = new StreamReader(HttpContext.Current.Server.MapPath("~/foo/" + xslFile));

    The problem is that this file includes or imports other xsl files for example (../foo2/bar.xsl or even foobar.xsl) and asp reports that

    System.IO.FileNotFoundException: Could not find file 'C:\WINDOWS\system32\bar.xsl'

    Any ideas please? Thank you in advance!

    ASP.NET xml help sysadmin tutorial question

  • Graphics.MeasureString accuracy
    T tasoss

    Thanks for the replies.Well i just want to fit the text exactly inside the cells(table cells).I create a table(control provided) and set text inside its cells.Then i process all the cells and try to set the correct width(using measurestring). How will i know that more pixels are needed to be added? I will try the links provided but i don't know if they fit in my occasion. Thanks again people.

    C# com graphics question

  • Graphics.MeasureString accuracy
    T tasoss

    Hello and thanks for replying. Well "personal information" is not in the same line.Moreover "Orders table" "for each order" etc. I would like them to be in the same line and not wordwraped.

    C# com graphics question

  • Graphics.MeasureString accuracy
    T tasoss

    Hello. I'm using

    Graphics gr = Graphics.FromHwnd(IntPtr.Zero);
    (int)gr.MeasureString(xrt.Rows[x].Cells[y].Text, xrt.Rows[x].Cells[y].Font).Width;

    But as you can see http://img156.yfrog.com/img156/3585/measurestring.jpg it doesn't work as i would like. Can you please advice me so i can increase its accuracy? Thank you in advance!

    C# com graphics question

  • vc++ 6 enviroment question
    T tasoss

    hello people.i would like to know if it's possible in vc++ 6 to have a feature that .net has.i mean the one that u can hide a functions or all the functions and a + appears.i hope u understand my question.like tree controls... thx!

    C / C++ / MFC csharp c++ data-structures 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