User Profile

Collapse

Profile Sidebar

Collapse
PeterSchwennesen
PeterSchwennesen
Last Activity: Apr 25 '10, 08:06 AM
Joined: Mar 30 '08
Location: Denmark
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • DataGridView, add unique gradient to each Row

    I like to add a gradient brush to each row of my datagridview. I like to change the gradient colors for each row independently depending of some cell values in the row.

    I know how to add a solid background color to each, cell, row, column etc. but I do not know how to add a gradient brush to each row individualy.

    I need to fill the datagridview with values, the datagridview is disconnected from any database or other...
    See more | Go to post

  • Problems starting a Timer Programmatically within a BackgroundWorker

    Problems starting a Timer Programmaticall y within a BackgroundWorke r.

    I am trying to start a Timer inside a Backgroundworke r. I want to start the BackGroundWorke r and then have a timer tick a calculation reppeting inside the BackGroundWorke r. The Code below seems to work ok for sending back the informaton "DoWork - Enter" and "DoWork - Exit, but the Timer "Timer_Ping " is newer ticked and the line "Time...
    See more | Go to post

  • PeterSchwennesen
    started a topic SQL Serial Data to Parallel

    SQL Serial Data to Parallel

    Hi

    Hope somebody can help. The following is just an simple example of what I need to do. I am queering the Table "SomeTable" for "Number", "Type" and "Value" values:

    SELECT [Number], [Type], [Value] from [SomeTable] ORDER BY [Number]

    The result looks like this:

    1 A 110
    2 B 220
    3 A 330
    4 B 440
    5 A 550...
    See more | Go to post

  • PeterSchwennesen
    started a topic Use Type as Type in Sub/Function

    Use Type as Type in Sub/Function

    In the following the line "dim Str1 as String = CType(2,Test1). ToString" line of code are working as I expected.
    But if I try to wrap the same functionality in a function then the Line "Convert = CType(Number, EnumType).tostr ing" gives me the error: "Type 'Enumtype' is not Defined"
    How do I get the Function to work? Anyone knows how to help?

    Peter Schwennesen

    Code:
    Public
    ...
    See more | Go to post
No activity results to display
Show More
Working...