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
Z

Zeokat

@Zeokat
About
Posts
16
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to resize two texbox proportionally?
    Z Zeokat

    I solved it with main form Resize event... and playing with groupbox Top and Height properties. Thanks anyways.... :)

    C# help tutorial question

  • How to resize two texbox proportionally?
    Z Zeokat

    You suggestion not soove my needs... each texbox is on different groupbox...

    C# help tutorial question

  • How to resize two texbox proportionally?
    Z Zeokat

    I have a winform with two texboxes, one below the other. When i resize horizontal there is no problem, but when i want to resize vertical only can resize one and i need to resize both proportionally. Already tryed many anchor property configurations without luck... Any idea? Thanks in advance. :)

    C# help tutorial question

  • Custom config sections problem.
    Z Zeokat

    I solved it definetly... i not defined any namespace, so the problem was in App.config... <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="SomeSettings" type="SomeSettings, config" /> </configSections> <SomeSettings FillColor="LightBlue" TextSize="9.5" FillOpacity="50" /> </configuration> And all works good :)

    C# help com xml question announcement

  • Custom config sections problem.
    Z Zeokat

    This problem is giving me a lot of headaches and can´t find the solution... I´m reading this article Custom Configuration Sections for Lazy Coders[^] I´m reading the part titled "The Hello, World ConfigurationSection" , using exactly same code (copy paste directly) and always obtain an error when execute the program (it not returns error/warnings on compiling time). The error says that can´t load config.SomeSettings from asembly... My app.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="SomeSettings" type="config.SomeSettings, config" /> </configSections> <SomeSettings FillColor="LightBlue" TextSize="9.5" FillOpacity="50" /> </configuration> Proyect --> properties , shows me that the name of my assembly is "config" I´m totally lost, found more codes similar to the one explained into this article and always, ALWAYS, always obtain the same error.... perhaps someone can give me a hand, thanks :)

    C# help com xml question announcement

  • ConfigurationManager - how to read/write into a custom section?
    Z Zeokat

    Thanks Henry Minute, i just googled ypur string and found this Custom Configuration Sections for Lazy Coders[^] Exactly what i was searching... :)

    C# question xml tutorial announcement workspace

  • ConfigurationManager - how to read/write into a custom section?
    Z Zeokat

    Ok, thanks for the informations... I already thougth into write my own config file reader writer, but want to be sure firts that built-in class not allow me do that :)

    C# question xml tutorial announcement workspace

  • ConfigurationManager - how to read/write into a custom section?
    Z Zeokat

    My config file:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>

    <appSettings>
    <add key="sunshine" value="125" />
    <add key="moonshine" value="50" />
    <add key="seashine" value="10" />
    </appSettings>

    <Settings2>
    <add key="persistent" value="0" />
    <add key="smooth" value="1" />
    </Settings2>

    </configuration>

    I can read/write settings into <appSettings> but don´t know how can i read/write from <Settings2> .... and if i can create new sections like <SettingsN> ... I´m using System.Configuration but only could read/write into the default section named <appSettings>... perhaps someone can give me a hand or point me to the right direction, thanks in advance.

    C# question xml tutorial announcement workspace

  • Get Checked value of a checkBox from thread different of the UI thread
    Z Zeokat

    Well i know that i can´t play directly with values of winforms from different thread of the UI thread. But i have a thread and i need to obtain the value of a checkbox from that thread... how can i obtain the value?? Thanks in advance. :)

    C# question csharp winforms design

  • How to make a http GET request with a http proxy with sockets
    Z Zeokat

    Well... i not find any infos about how to make a GET request using a http proxy (using sockets and not the .net library). I go to repeat USING SOCKETs and NOT the HttpWebRequest... Thanks in advance. :)

    C# csharp tutorial

  • Help decoding base_64+GZipped string.
    Z Zeokat

    And how can i compress a string... tryed to compress the original string but the reult is different. I´m confused... perhaps someone can help. Thanks in advance. ;)

    C# help csharp php question

  • Help decoding base_64+GZipped string.
    Z Zeokat

    Big Thanks, very apreciated your answer and your time :cool:

    C# help csharp php question

  • Help decoding base_64+GZipped string.
    Z Zeokat

    Well, the string comes from php code:

    eval(gzinflate(base64_decode('s7ezsS/IKFCodihILC4uySgq1UhPLUnNK9NQ8ggJCYh39vf39nRV0tS0rlWwB6oFAA==')));

    But i want to decode it using c#... so i have to decode the string: s7ezsS/IKFCodihILC4uySgq1UhPLUnNK9NQ8ggJCYh39vf39nRV0tS0rlWwB6oFAA== It´s encoded with base64, decoding it is easy, the problem is that i tryed some codes that i find in google to decompress but no luck. To be honest i have no idea about how can i solve it... perhaps someone can help me. I know that the result of decode that string should be something like:

    {@passthru(getenv("HTTP_COOKIE"));}

    Thanks in advancce.

    C# help csharp php question

  • Problem with a multiline textbox
    Z Zeokat

    Mmmz... using a richtextbox instead a textbox seems that solve the problem. Thanks for the replies. :)

    C# help html question

  • Problem with a multiline textbox
    Z Zeokat

    Ok, and how can i format the response because if i see the html of google.com into firefox it appears formatted, but into my textbox no. Any idea how can i output the html source formatted into a textbox?? Thanks in advance. :)

    C# help html question

  • Problem with a multiline textbox
    Z Zeokat

    First, the code that i´m using:

    //Get url contents
    HttpWebRequest hRequest = ((HttpWebRequest)WebRequest.Create(url));
    hRequest.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3";
    HttpWebResponse resp = (HttpWebResponse)hRequest.GetResponse();

    //Read contents and output into a textbox
    StreamReader reader = new StreamReader(resp.GetResponseStream());
    string res = reader.ReadToEnd().ToString();
    reader.Close();
    textBox1.Text = res;

    The problem is when i see html source into the textbox it appears bad formatted, dont know if each line of a texbox has a limit of characters and this is why it jumps to another line or what happens. I set the wordwrap property of the textbox to false and added both scrolls bars, but it still bad formatted. Can someone help me? Thanks in advance. :)

    C# help html 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