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

aalex675

@aalex675
About
Posts
24
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Fed up of aggregator and pay per view sites in search results
    A aalex675

    Hmmm. Well I am sure that you have to be signed in for it to work, but here is a screenshot of how it looks on my system: http://ScrnSht.com/rcjeaw[^]

    The Lounge com json question

  • Fed up of aggregator and pay per view sites in search results
    A aalex675

    You have to go to the site from your search results (without opening in a new tab) and then go back and it will magically show up.

    The Lounge com json question

  • Fed up of aggregator and pay per view sites in search results
    A aalex675

    Did you know you can block that stuff on google? You just have to go to the site and then hit back to go back to your search and there will be a link to block all sites on that domain from future searches. It's pretty handy

    The Lounge com json question

  • Unpaid overtime during 2-week notice
    A aalex675

    Long time lurker here with a dilemma. I just resigned from my job this week, giving about 2 1/2 weeks of notice. For the last few weeks, the company has asked a few of us to be on a rotation to work on Saturdays for a few hours so each of us only has to work every other Saturday. Now the boss just came by to say that they are going to be changing it to 2 shifts on Saturday and Sunday so that we will both be working both days. This job does not pay for overtime and it's always just been something that is accepted that we need to do to get through crunch times, but it feels like now the crunch is because I am leaving in two weeks and it doesn't really seem fair to force overtime because someone is leaving. Would you work unpaid overtime after giving your resignation?

    The Lounge question career

  • Suspicious Article?
    A aalex675

    Hi everyone. I usually don't post and I'm not sure if there is a different forum for this, but this[] article was posted today. Is it just me or is it basically the same as this one[] on a different site. The code is too similar (in my opinion), but the article has been rewritten. Is this ok by CodeProject standards?

    The Lounge csharp php wpf com regex

  • Chart recommendation (for.NET)
    A aalex675

    I second ZedGraph. It is a very nice library if you are using WinForms. It is licensed under LGPL so there shouldn't be anything to be afraid of. Here[^] is the page with their license.

    The Lounge csharp com question discussion

  • Printing Articles Problem
    A aalex675

    I printed out an article to read over the weekend and when reading it noticed that all code blocks longer than a page are truncated at the end of the page. This is the same issue that was discussed in this post[^], but I am not using Adobe to save the articles as pdf. I have a Dell Laser Printer here, but I can't imagine that the printer would affect the way the page looks in the print preview so long as the page size is the same. The article I was trying to print is WPF : If Carlsberg did MVVM Frameworks Part 2 of n[^]. The problem can be seen on Page 6 where the code snippet is stopped at the end of the page in print preview. Looking at the HTML it appears to be a problem where the PRE tag contents are not wrapped to a new page and I found a blog post here[^] that has a section on making PRE tags print across pages if that helps at all. Thanks

    Site Bugs / Suggestions wpf help csharp html css

  • VB to C# conversion. Implements
    A aalex675

    I am converting a class from VB to C# so that it can be compiled into the same assembly, but have run into something that I don't know how to handle. The class is a generic ObservableDictionary. My problem is that I don't know how to implement both System.Collections.Generic.IEnumerable.GetEnumerator and System.Collections.IEnumerable.GetEnumerator since both of them need an exposed function named GetEnumerator(). The VB code is as follows:

    Public Function GetEnumerator()
    As System.Collections.Generic.IEnumerator(
    Of System.Collections.Generic.KeyValuePair(Of TKey, TValue))
    Implements System.Collections.Generic.IEnumerable(
    Of System.Collections.Generic.KeyValuePair(Of TKey, TValue)).GetEnumerator

    Return DirectCast(Dictionary, IDictionary).GetEnumerator()
    

    End Function

    Private Function GetEnumerator1()
    As System.Collections.IEnumerator
    Implements System.Collections.IEnumerable.GetEnumerator

    Return GetEnumerator()
    

    End Function

    It looks to me like the VB code is renaming the GetEnumerator function to GetEnumerator1 and explicitly mapping this back to the GetEnumerator function that is being implemented, but I have never seen anything like this in C#. Is this possible in C#?

    C# csharp help tutorial question

  • Google Wave invites
    A aalex675

    If it's not too late, could I get one?

    The Lounge learning

  • One plus for W7 that I actually use..
    A aalex675

    Ah-ha! I never tried totally killing it, just "Closing" it which I guess just sends it to the system tray and keeps running. I surrender!

    The Lounge com

  • One plus for W7 that I actually use..
    A aalex675

    You can have gadgets outside of the bar in Windows Vista also.

    The Lounge com

  • Dayta or Darta?
    A aalex675

    Irregardless used to bug me too until I learned it is actually a real word. Check it out.

    The Lounge tutorial question

  • SSIS, .net and C#
    A aalex675

    Sorry, I didn't realize that Serv37 was the server name...

    C# csharp help sql-server visual-studio sysadmin

  • SSIS, .net and C#
    A aalex675

    Try changing: pkgLocation = @"\Serv37\wwwroot\AS-MIS\LoadBeaPayroll\LoadBeaPayroll\package.dtsx"; to pkgLocation = @".\Serv37\wwwroot\AS-MIS\LoadBeaPayroll\LoadBeaPayroll\package.dtsx";

    C# csharp help sql-server visual-studio sysadmin

  • TabControl with DataGrid. Columns won't size correctly
    A aalex675

    Thanks, I tried setting ItemsSource in code the first time each tab is selected and that takes care of the issue. I think this may already be in the bug tracker on CodePlex as issue #8842(DataGrid Star Column Widths incorrect when DataGrid was loaded with its Visibility not Visibile[^]) so I just voted for that issue. Thanks again for the help.

    WPF wpf help tutorial csharp question

  • TabControl with DataGrid. Columns won't size correctly
    A aalex675

    Great! Thanks for trying it. I'm glad it's not something really obvious that I missed at least.

    WPF wpf help tutorial csharp question

  • TabControl with DataGrid. Columns won't size correctly
    A aalex675

    I am really hoping someone here can help me. I've been playing around with the WPF DataGrid and am having a weird problem. What I have is a TabControl with two tabs. Each tab has a DataGrid with two columns. The first column Width is "Auto" and the second column Width is "*" which should fill the remaining space in the Datagrid. What is happening is that the DataGrid in the first tab's columns are sized appropriately, but the second tab's second column is wider than it should be. Also, if I change the SelectedIndex to the second tab, it's columns are size correctly but the first tab's columns aren't. I have tried to Invalidate the DataGrid control when the selected tab changes but that didn't seem to do anything. I'm not sure how to explain this better but here is some example XAML:

    WPF wpf help tutorial csharp question

  • I'm sick of Safely Remove Hardware!
    A aalex675

    Right, sorry about that. I know how you feel though. I did what you were doing for a long time before I figured out the single left click thing and it was about the most annoying process ever.

    The Lounge hardware question

  • I'm sick of Safely Remove Hardware!
    A aalex675

    You can save a few clicks by single-clicking on the Icon. It will then pop up a list of plugged in devices and clicking on one them will stop it.

    The Lounge hardware question

  • TabControl question
    A aalex675

    Thanks for replying. I have considered this, but feel that working with multiple layered panels in the designer is messy at best and it just feels like there must be a better solution. Since posting the question I have tried what I want to do in WPF and it is very easy so I may just go with that, but if anyone has any other ideas, I would be glad to hear them.

    C# question algorithms data-structures tutorial
  • Login

  • Don't have an account? Register

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