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
N

Nick Alexeev

@Nick Alexeev
About
Posts
30
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What Do You Use For Serial Communications?
    N Nick Alexeev

    SIOW It's an obscure terminal programs, which comes with a CCS compiler for PICs.

    The Lounge testing tools question

  • Poetry Written in Code Contest
    N Nick Alexeev

    0x2B || !0x2B Saw it in the book somewhere. No, it wasn't Shakespeare, it was an embedded firmware book.

    The Lounge tutorial

  • if you're thinking about donating to Japan earthquake and tsunami relief
    N Nick Alexeev

    from the second link:

    Unlike Louisiana (re Hurricane Katrina), Japan is a developed country with a good response system and an effective government.

    swjam wrote:

    What the hell? =)

    Sad but true. They didn't handle BP rig explosion gracefully either.

    The Lounge game-dev

  • if you're thinking about donating to Japan earthquake and tsunami relief
    N Nick Alexeev

    Folks, If you're thinking about donating to earthquake and tsunami relief in Japan, read these 2 posts: http://goodintents.org/disaster/why-waiting-to-give-to-japan-is-a-good-idea[^] http://humanosphere.kplu.org/2011/03/guest-post-the-ugly-game-of-relief-for-japan[^] They are insightful. I didn't write either of them. - Nick

    modified on Monday, April 4, 2011 2:46 PM

    The Lounge game-dev

  • Advanced ComboBox in WinForms
    N Nick Alexeev

    Colleagues, Is there a standard (and free) control which is like a ComboBox, only better? ;) Some of the potential features could be: * being able to control the font for each of the items individually * icons, checkboxes next to the items If such thing exists, could you post a reference? If not, then I’ll stop the wishful thinking and carry on with the standard ComboBox. Cheers, - Nick

    Windows Forms csharp winforms question

  • An issue with the file name SerialPortSettings.xml
    N Nick Alexeev

    Colleagues, In XAML I’m trying to declare XmlDataProvider objects to bind controls to XML files.

    <XmlDataProvider x:Key="SerialPortOptions" Source="Settings/SerialPortOptions.xml" XPath="//Options" /> <!—- This one works. No complaints. -->
    <XmlDataProvider x:Key="SerialPortSetting" Source="Settings/SerialPortSettings.xml" XPath="//SerialPorts" /> <!—- But this one gives an error. -->

    The second instance generates an error:

    The file Settings/SerialPortSettings.xml is not part of the project or its 'Build Action' property is not set to 'Resource'.

    The SerialPortSettings.xml file is added to the project and the Build Action is set to ‘Resource’. If I rename the file to SerialPortSettings_es_.xml, the error disappears. What’s special or unusual about the original file name SerialPortSettings.xml? Any thoughts, insight, references are appreciated! Cheers, - Nick

    WCF and WF xml help wpf question discussion

  • DataGrid displays lengths of strings instead of the actual strings
    N Nick Alexeev

    How can I make a "bindable string"? Is there a framework object with a bindable string property which is commonly used for this purpose? May be, one option is to make a wrapper object with a bindable string property (call it, say, BindableString). Is there a simple/quick solution to "populate DataGrid with primitive values" problem? Tried with manually defined columns (AutoGenerateColumns=False). Didn't work either. Looking for a good DataGrid tutorial... Cheers, - Nick

    modified on Monday, October 19, 2009 2:26 AM

    WPF csharp css wpf com question

  • DataGrid displays lengths of strings instead of the actual strings
    N Nick Alexeev

    Colleagues, Familiarizing myself with DataGrid (and with C# in general). My DataGrid is declared like this:

    <my:DataGrid AutoGenerateColumns="True" Margin="74,32,68,103" Name="dataGrid1" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit" />

    I’m setting the ItemSource property equal to a list of strings.

    public Window1()
    {
    InitializeComponent();

    List<string> lstGridData = new List<string>();
    for (int i = 0; i < 8; ++i) lstGridData.Add("str");
    dataGrid1.ItemsSource = lstGridData;
    

    }

    I’m expecting that grid would display one column and each line would show “str”. Instead, the grid displays one column titled “Length” and each line displays “3”. What am I missing? Cheers, - Nick

    WPF csharp css wpf com question

  • WPF DataGrid without database
    N Nick Alexeev

    Colleagues, I would like to populate WPF DataGrid with data that my program generates on the fly and without a database or a file. Could you suggest me how to do it? Tips, hints, references, insight are all appreciated! Cheers, - Nick

    .NET (Core and Framework) csharp database wpf tutorial question

  • NI Measurement Studio question
    N Nick Alexeev

    Dave what are some of the poor design decisions in your opinion? May be you could give me a heads-up. I'd really appreciate that. - Nick

    Visual Basic question com data-structures json

  • NI Measurement Studio question
    N Nick Alexeev

    Dave Kreskowiak wrote:

    [NI Measurement Studio is] Not the best libraries in the world.

    IMHO, they are pretty good. May be they have improved since the last time you worked with them. I've just started using it. I've been looking for a chart control for plotting large amounts of data in real time (8 traces, 3000 points on the screen per trace, 10 new points a second on each trace). Among the chart controls that I've tried, CWGraph from MStudio had the best performance. - Nick

    Visual Basic question com data-structures json

  • NI Measurement Studio question
    N Nick Alexeev

    Colleagues, Does anyone know how to scroll the CWGraph control? Here's the behavior I want to achieve: 1. The graph's X axis spans from 0 to 3000. In the beginning, it's charting a baseline (using ChartY method). 2. Let's say, it charted to 2500, when the user initiates a certain activity of interest. 3. Graph scrolls left leaving only the last 500 points of the baseline (this is the part I don't know how to do). The rest can be discarded. 4. Plotting continues from 500 onward. Here's the same behavior on a storyboard: http://www.prolifictec.com/filehost/CWGraph_shifting_rev01.PNG[^] Could anybody give me some suggestions? Thanks, - Nick P.S. I'm using VB6 and Measurement Studio 8.1.11.

    Visual Basic question com data-structures json

  • 2D chart for VB6
    N Nick Alexeev

    I've been using RMChart for a while now. They are great for static data, but they have problems with fast real-time data (especially when compared to NI Measurement Studio). Here's my thread on the RMChart forum about the real-time issues. It has some benchmark data: http://www.rmchart.com/webpages/forum/forum_posts.asp?TID=400&PN=1[^] I'm switching to NI Measurement Studio for plotting real-time date. - Nick

    Visual Basic help tutorial question announcement

  • Algorithm performance comparison question
    N Nick Alexeev

    I’m posting this question after a conversation with one of my friends. There are two algorithms that accomplish the same goal – search through XML file. These algorithms are developed by two different academic research groups. A friend of mine works in one of them, and she wants to compare the performance of the algorithms. The problem is that they are implemented in different languages: C++ and Java. Source codes for both are available. The question is – is there an experimental method for comparing the performance of these algorithms without having both of them implemented in the same language? What assumptions are safe to make? Thanks, - Nick

    Algorithms question c++ java algorithms xml

  • Shape and line controls for VB6, only a little more interactive?
    N Nick Alexeev

    Colleagues, Are there controls for VB6 that have the visual properties of a shape and line controls, and also have better mouse support, so that they can be made more interactive? I’m writing an application that displays a process diagram. I’d like to add things like ToolTips and to make some elements on the diagram clickable. I know that I can put a label on a shape and it would provide the mouse support that I need. It would work for square-ish shapes, but it doesn’t work well for circles. - Nick

    Visual Basic question

  • 2D chart for VB6
    N Nick Alexeev

    I chose the RMChart control. It's quite powerful, it has good sample projects for VB6, and it's free. http://www.rmchart.com[^] -Nick

    Visual Basic help tutorial question announcement

  • 2D chart for VB6
    N Nick Alexeev

    Dave Kreskowiak wrote:

    The MSChart control isn't a good candidate for this problem. ... In fact, there's nothing you can do about the flickering using the MSChart control.

    Yes, I can agree that MSChart is not a good tool for this job. I've searched the web for suggestion on how to make good real-time plots with MSChart and tried every suggestion I could find, but the results weren't good enough.

    Dave Kreskowiak wrote:

    You'd be better off using a third party component to draw a scrolling line graph, or making your own control ...

    Unfortunately, I don't have the time to make my own control, although that could be a fun endeavor. Which 3rd party chart controls would you recommend?

    Visual Basic help tutorial question announcement

  • 2D chart for VB6
    N Nick Alexeev

    No, I haven't tried to use DoEvents. How would that stop the flickering? I suspect that MSChart flickers, because it doesn't do the double buffering.

    Visual Basic help tutorial question announcement

  • 2D chart for VB6
    N Nick Alexeev

    Colleagues, Could you recommend a 2D chart control for my application that can work with VB6? I need to plot an EEG signal on the screen in real time. The update rate of the chart will be on the order of 200ms to 1000ms, and I want to display 1000 points. Ideally, the whole chart would scroll to the left as new values are added on the right. I’ve tried the MSChart, it would work ok, but I don’t know how to get rid of flickering. Flickering is a real problem, because somebody will be looking at the chart for hours. Thanks and have a happy new year! - Nick

    Visual Basic help tutorial question announcement

  • Create a new nested branch efficiently with DOM
    N Nick Alexeev

    Colleagues, I’m brand new to XML. I’m using VB6 and DOM to write an XML log file. (I have to use VB6, because I’m retrofitting a legacy application.) Each log entry has 3 layers of nesting and about 20 nodes. I want to avoid pain of creating every new entry node-by-node. I’m looking for a way to create a new blank log entry efficiently (in terms of required amount of code). I have some ideas, but how do the big kids do it? -Nick P.S. I know Java and C++, so if you have examples in other languages, please post them; I can translate them to VB6. -- modified at 15:52 Wednesday 21st November, 2007

    XML / XSL c++ java html xml
  • Login

  • Don't have an account? Register

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