janne_panne's Profile User Rating: -----

Reputation: 429 Architect
Group:
Expert
Active Posts:
1,047 (0.52 per day)
Joined:
09-June 09
Profile Views:
20,012
Last Active:
User is offline Apr 03 2014 03:31 AM
Currently:
Offline

Previous Fields

Country:
FI
OS Preference:
Windows
Favorite Browser:
Opera
Favorite Processor:
Intel
Favorite Gaming Platform:
Nintendo
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   janne_panne is confused about this status thingy

Posts I've Made

  1. In Topic: vb.net vs. vc++?

    Posted 15 Jan 2013

    So you are doing that kind of UIs with WinForms? Sounds like a pain in the butt.

    How about you switch to WPF instead of C++. Learning curve is smaller and that will guarantee that your controls will be fast because all you are doing above can be done pretty simply with XAML.

    For example, here is the Record button (I assumed it was a button) in your code quickly written in XAML:
                <Button BorderThickness="0">
                    <StackPanel Orientation="Horizontal" Height="40">
                        <Border Background="Purple" Width="20" />
                        <TextBlock Text="1" FontSize="50" Margin="0,-15,0,0" Foreground="Red" />
                        <Border CornerRadius="0,20,20,0" Width="100" Background="Blue" >
                            <TextBlock Text="RECORD" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        </Border>
                    </StackPanel>
                </Button>
    
    


    No need to write any actual VB code for styling the UI. You can also search for sample UIs done with WPF by using google's image search (search for "WPF ui design" for example)

    So I would suggest to create a small sample application with WPF so you know if it's fast enough (should be) and fills your needs. If it doesn't, I doubt that just C++ will either. Writing applications in C++ won't make them fast automatically. Sure, it might give you 10% boost in performance but slow code is still slow.

    Btw. Have you tried to figure out why your code runs so slow? Try to set up some StopWatches inside your startup code to see which sections are bottlenecks.

My Information

Member Title:
WinRT Dev
Age:
26 years old
Birthday:
December 6, 1987
Gender:
Location:
Oulu Finland
Full Name:
Janne Rautiola
Years Programming:
5
Programming Languages:
C#, VB.NET

Contact Information

E-mail:
Click here to e-mail me
MSN:
MSN  janne_the_panne@hotmail.com
Website URL:
Website URL  http://janne.rautiola.fi/portfolio/
LinkedIn:
http://fi.linkedin.com/in/jannerautiola
Facebook:
http://fi-fi.facebook.com/janne.rautiola

Comments

Page 1 of 1
  1. Photo

    samadalove Icon

    20 Jul 2012 - 03:27
    Hello dearest
    My name is Miss Samada
    How are you? I Hope you are fine and in perfect Health.i came across your profile today and deemed it necessary to write you immediately. Am too curious to know you more. Could you please reciprocate to my message by dropping mail on my contact email (Samada4love88@yahoo.com) so we can introduce our self better on media and also share the passion ...
  2. Photo

    Malor Icon

    19 Apr 2012 - 04:40
    hi janne_panne, i'm using the c# weather app, but when i asking for the weather in Paris, he crashed, because he can't read foreign keys,, can you help me about that please ?
  3. Photo

    hdany Icon

    27 May 2010 - 12:19
    Hi janne_panne,
    Thanks for your help. When I saw your answer, I was thinking you are something like 30 years old and have that kind of experience :) Can I add you as a friend on msn ?
Page 1 of 1