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
Y

Yoav Ben Zvi

@Yoav Ben Zvi
About
Posts
15
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Large text in RechTextBox
    Y Yoav Ben Zvi

    Thanks for the replies. I experimented with the ListView - 30,000 thousand lines with no problem. Since most users will probably apply some heavy filtering, there shouldn't be any problem. I don't even have to use virtual mode. I'll try out the datagridview to see which is easier to use.

    C# sharepoint beta-testing question

  • Large text in RechTextBox
    Y Yoav Ben Zvi

    Hi, I am writing a small application that is used to investigate log files. Currently our QA teams are using TextPad for this task. My goal is to create an application that will be able to filter and search the log text for preset expressions. The size of a typical log file is 2 - 3 MB, and contains about 30,000 lines. I am using RichTextBox so I will be able to format text. I am using a StringBuilder to concatenate all the lines (note: I am using '\r\n" after each line). I then set the content of the stringBuilder to the RichTextBox: textBox.Text += sb.ToString(); This causes the application to freeze. I tried SuspendLayout / ResumeLayout but as soon as the form is displayed the application freezes. Limiting the lines to 10,000 prevents the freezing. Any ideas?

    C# sharepoint beta-testing question

  • Tabcontrol won't fill the window
    Y Yoav Ben Zvi

    Thanks a lot. Its working great.

    WCF and WF question wpf com help

  • Tabcontrol won't fill the window
    Y Yoav Ben Zvi

    The code:

    WCF and WF question wpf com help

  • Tabcontrol won't fill the window
    Y Yoav Ben Zvi

    It was supposed to be a menu, and beneath that a tab control with 4 tabitems. The headers of the tabitems (the section were you press to select the tab) are using a control template that replaces the normal look. It should look like this, but the now the tab won't stretch on the whole screen: http://farm4.static.flickr.com/3219/3139805444_91eedf8bdd.jpg?v=0 The code is in the next post (image link don't like 'ignore HTML tags)

    WCF and WF question wpf com help

  • Tabcontrol won't fill the window
    Y Yoav Ben Zvi

    This is what I am seeing: http://farm4.static.flickr.com/3204/3138578581_e665ec2790.jpg?v=0

    WCF and WF question wpf com help

  • Tabcontrol won't fill the window
    Y Yoav Ben Zvi

    I didn't notice until now that everything turned to lowercase :( I tried to do that and it worked, but then I applied a control template to the tabitems and it broke again. I hope the xaml is better this time:

    WCF and WF question wpf com help

  • Tabcontrol won't fill the window
    Y Yoav Ben Zvi

    I have a tab control with 4 TabItems . The width of the tab control is the combined width of the 4 TabItems headers, instead of filling the window. How can I set it to fill the screen? Here is the code: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="THEMIS" Height="630" Width="668" WindowState="Maximized">Desktop Messages Projects Administration Thanks for any help.

    WCF and WF question wpf com help

  • WCF ServiceHost shuts down when not in console application
    Y Yoav Ben Zvi

    I did have host as a member. I think the problem was using the 'using' statement. After looking at your code I dropped it and it works so thanks a lot.

    WPF csharp database wcf question

  • WCF ServiceHost shuts down when not in console application
    Y Yoav Ben Zvi

    Hi, I am just starting to learn WCF. In all the examples I've seen so far, the SerciveHost was initialized inside a console application and remained listening until the console was closed. I am trying to have it initiated from inside a winform app. I have a button which triggers this method: private void StartServer() { using (host = new ServiceHost(typeof(DataBase.DataBaseService ), new Uri("http://localhost:8000/DataBaseService"))) { host.AddServiceEndpoint(typeof( DataBase.IDataBaseService), new BasicHttpBinding(), "DataBaseService"); host.Open(); } } As soon as the method reaches the end, host.Status is set to Closed. Is there any way to stop this?

    WPF csharp database wcf question

  • Problems with ToolStrip control - ToolStripButtons flickering [modified]
    Y Yoav Ben Zvi

    th eproblem seems to be with another control teking focus. Thanks anyway.

    C# csharp winforms question

  • Problems with ToolStrip control - ToolStripButtons flickering [modified]
    Y Yoav Ben Zvi

    Hi, Working with WinForms, I have a ToolStrip for which I add ToolStripButtons in runtime. I have 2 problems: 1. When the mouse hovers over these ToolStripButtons they constantly flicker. 2. I need to click them twice or three time to invoke the method that is assigned to the MouseClick event. Is this caused by adding the ToolStripButtons in runtime? Thanks, Yoav Ben Zvi

    modified on Tuesday, April 22, 2008 3:30 AM

    C# csharp winforms question

  • Sending more then 28 file names to string array in app creates error
    Y Yoav Ben Zvi

    Bump?

    C# data-structures help question

  • TreeView
    Y Yoav Ben Zvi

    Set HideSelection to false.

    C# question

  • Sending more then 28 file names to string array in app creates error
    Y Yoav Ben Zvi

    Hi I wrote a small app that receives a string array with file names from windows explorer (using 'Send To'). If i send up to 28 file names every thing is ok. If I try to send 29 or more I get this error message: "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item" And the app closes. It doesn't even enter the app or the try/catch should have caught it. Any ideas please? This is the startup class: static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmMain(args)); } catch (Exception e) { MessageBox.Show(e.Message); } finally { Application.Exit(); } } }

    C# data-structures help 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