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
A

andreas_farnstrand

@andreas_farnstrand
About
Posts
7
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hidden MainForm at startup
    A andreas_farnstrand

    Hi, I can't seem to hide my MainForm at my application startup. I just want the notifyicon in the systray to be visible. mainform.Hide() dosn't work. It displays the mainform anyway. Does somebody now a way to do this? Andreas Färnstrand

    C# question

  • DeSerialize
    A andreas_farnstrand

    Thanks Daniel! With some modifications that worked perfectly. Andreas Färnstrand

    C# help question

  • DeSerialize
    A andreas_farnstrand

    Hi, I have a problem I've been trying to solve for a couple of days now. I posted it before but couldn't get an answer that worked so I'm trying again. I'm serializing an arraylist containing my own classes to a file. It works just fine. I can deserialize this again solong as the application doing the deserializing is the same as the one doing the serializing. When trying to deserialize in another application I get an invalidcastexception, as far as I can see this is because the programname saved in the file is not the same as the programname trying to deserialize. Can someone please tell me if and how I can work around this? Thanks! Andreas Färnstrand

    C# help question

  • Serialize
    A andreas_farnstrand

    Hi! I'm trying to open a file with a serialized (binary) arraylist. The problem is that the application in which I save the data saves the assemblyname in the file, so when I try to open the file in another application whith another name, it throws an exception. System.Runtime.Serialization.SerializationException. There's probably an easy way to solve this but I'm rather new at this so... Thanx Andreas Färnstrand

    C# json help

  • Scrollbar problem
    A andreas_farnstrand

    Hi again! I'm sorry! It does work. The problem seems to be that there's a loop that wont let SetToCaret() work until it's finished. You can add text to the richtextbo but it doesn't scroll down until I shut the loop down. The loop is lístening to a Socket, while( online ). Thanks again, Andreas Andreas Färnstrand

    C# question help

  • Scrollbar problem
    A andreas_farnstrand

    Hi Dennis! Thanks for your help. It doesn't seem to work though. Here's my code: private void Print(string text){ this.messagesrichtextbox.AppendText(text + "\n"); this.messagesrichtextbox.SelectionStart = this.messagesrichtextbox.Text.Length; this.messagesrichtextbox.SelectionLength = 0; this.messagesrichtextbox.ScrollToCaret(); } Simple enough, but it won't work. I've tried adding a this.messagesrichtextbox.Select also but it didn't work either. What's wrong? Thanx, Andreas Andreas Färnstrand

    C# question help

  • Scrollbar problem
    A andreas_farnstrand

    Hi! I have a richtextbox with a vertical scrollbar. My problem is that the scrollbar is always at the top. How do I get the scrollbar to always be down, showing the lastest added text? Andreas Färnstrand

    C# question help
  • Login

  • Don't have an account? Register

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