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
D

DeltaWind

@DeltaWind
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Confusing Code Execution
    D DeltaWind

    It is a PictureBox

    Visual Basic help graphics question

  • Confusing Code Execution
    D DeltaWind

    OK. I found a solution of sorts. For some reason the code execution jumps to the ToString method and then to a high level Try...Catch. I placed a local Try...Catch around the 'offending' code and catch a meaningful exception at that point. I still don't know why the code jumped to the ToString function, but at least I can now debug the actual problem. In further insights would be appreciated, but for now I can move forward. Thanks for the help.

    Visual Basic help graphics question

  • Confusing Code Execution
    D DeltaWind

    No multithreading

    Visual Basic help graphics question

  • Confusing Code Execution
    D DeltaWind

    Sounds good, but the same problem occurs on co-worker's computer as well.

    Visual Basic help graphics question

  • Confusing Code Execution
    D DeltaWind

    Public Class ControlStaffDemographics Inherits DevExpress.XtraEditors.XtraUserControl #Region " -- Member Class: ClassGroupListItem -- " Public Class ClassGroupListItem Public ReadOnly Group_PK As Guid Public ReadOnly GroupName As String Public Sub New(ByVal group As DataRow) Me.Group_PK = DirectCast(group.Item("Group_PK"), Guid) Me.GroupName = group.Item("GroupName").ToString End Sub 'New(ByVal group As DataRow) Public Overrides Function ToString() As String Return Me.GroupName End Function 'ToString() End Class 'ClassGroupListItem #End Region '-- Member Class: ClassGroupListItem -- Private Sub Save() Dim signatureStream As System.IO.Stream = New System.IO.MemoryStream() Me.picSignature.Image.Save(signatureStream, System.Drawing.Imaging.ImageFormat.Bmp) 'Other code removed End Sub 'Save() I have removed the excess code from this class for ease of reading. My problem: The second line in the Save method executes and jumps to the overridden ToString() function in the member class. There is no reference to the class or an instance of the class. Why would the execution jump to that point? Additionally, an exception is thrown when trying to execute the ToString method. Any help or ideas would be appreciated. :confused: David Zorn

    Visual Basic help graphics question

  • Readings on Regular Expressions
    D DeltaWind

    This site also has a handy free tool for testing regular expression patterns! I learned everyting I know about regular expressions from this site (that may not say much though!).

    The Lounge csharp com question learning
  • Login

  • Don't have an account? Register

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