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
W

WBurgMo

@WBurgMo
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Apply two animations to a text block simultanously
    W WBurgMo

    Setting the "PositionCount" solved the problem. Thanks. Now a second problem. With the animations defined as a window resource, they run one time only. What do I have to reset in a DoubleAnimation to reuse it? For now I am creating the animations at run time. But I would like to know how to reuse an animation.

    WPF wpf

  • Apply two animations to a text block simultanously
    W WBurgMo

    I am trying to animate the FontSize and the rotation of a TextBlock. The FontSize animates but I can not get the text to rotate. Here is the XAML

    Here is the relevant code behind

        DoubleAnimation fsa = this.FindResource("StringFontSize") as DoubleAnimation;
        DoubleAnimation sra = this.FindResource("StringRotation") as DoubleAnimation;
       
        Storyboard sb = new Storyboard();
        TextEffect te = new TextEffect();
        te.Transform = new RotateTransform(0);
        this.gameOver.Text = "G
    
    WPF wpf

  • [C#.NET 2008] Screen-scraping a HTML Page
    W WBurgMo

    Dimitri Backaert wrote:

    This doesn't work however, I seem to be stuck at the logon page. I'm not able to pass the user security. Anyone has an idea?

    It would seem that WebClient is not recognizing this page as an authentication request. You will most likely have to manually format the correct response and send it to the server. I would use "WireShark" to trace a manual session with the server. This should let you see what the server expects for an authentication response. James Johnson

    C# csharp help html security question

  • Units of time when using ToBinary() method of DateTime
    W WBurgMo

    Does any one know the units of time used by the ToBinary method of DateTime? For example

    long start = DateTime.Now.ToBinary();
    Sleep(1000);
    long elapsed = DateTime.Now.ToBinary()-start; 
    

    The variable elapsed will be in the range of 10,000,000. What does this value represent? Is it tenths of a micro second or some other unit of time? Thanks James johnson

    C# tutorial question

  • problems splitting string
    W WBurgMo

    Assuming you parse the variable names into a string array, then for each element of the array examine the last character. If is numeric then examine the next to last character. If that character is also numeric then strip the last character. Of course this assumes that your color info is only a single digit.

    C# help tutorial question

  • Column lenth as read from syscolumns table
    W WBurgMo

    What I ended up doing is creating a command to execute the following Select top 1 * from Customers Then DataReader dr = cmd.ExecuteReader(); DataTable dt = dr.GetSchemaTable(); The resulting DataTable contains all of the information I need. Thanks James Johnson

    Database database help question

  • Column lenth as read from syscolumns table
    W WBurgMo

    I am trying to come up with a query to determine the structure of a table. So far I have come up with the following query: SELECT SC.name, SC.length FROM syscolumns SC inner join sysobjects SO on SO.id = SC.id where SO.name = 'Customers' The problem is that the "length" column is twice the size it should be. Is there a flaw in my query or do I just have to divide the "length" by two? Thanks James Johnson

    Database database help question

  • Changing the style of a combobox
    W WBurgMo

    I have a wide dropdown combobox on a form. I would like to move the button that activates the dropdown list from the right to the left side of the combobox. I am aware of the RTL property but it also right aligns the text. Does anyone have a soultion to this problem? Thanks James Johnson

    C# help question

  • include file search sequence
    W WBurgMo

    I downloaded the Apache Portable Runtime for windows. It included a VC6 solution and project definitions. I loaded the soultion with Visual Studio 2005 and it successfully converted the solution and project to the new format. I can compile the code with the converted solution. I decided to create a new solution from scratch. But when I compile my solution it finds the wrong include file. In my configuration I specify an include search string of: ".\include; .\include\arch; .\include\arch\win32; .\include\arch\unix" The include in question, "apr_arch_file_io.h", exists in the "win32" and "unix" directories. but the compiler loads the one in the "unix" directory. I do not understand why the converted solution works and mine does not. If I remove the include from the "unix" directory then my solution compiles cleanly. Any thoughts as to what configuration option I have to set to my solution to work. I have looked at the converted project defintions but nothing obvious stands out. Thanks for any help James Johnson

    C / C++ / MFC csharp apache visual-studio 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