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
C

CJotaO

@CJotaO
About
Posts
9
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Textbox keeps losing focus
    C CJotaO

    I will. I know now the way. It's easier to explore. :)

    Visual Basic debugging help question

  • Textbox keeps losing focus
    C CJotaO

    Thanks TnTinMn! It Works fine. And thanks for helping me understand the "LostFocus Mystery" :laugh:

    Visual Basic debugging help question

  • Textbox keeps losing focus
    C CJotaO

    I want to select all text in a textbox, so I coded the SelectAll() method inside the GotFocus event handler. This did not work, so I inserted a breakpoint to try to find the problem and what I found is that after the execution of the SelectAll() instruction the LostFocus event is fired and the code within the LostFocus handler executed. The same thing hapens when using the TAB key to go to the textbox. However in this case the text remains selected Bottom line I want to select the all text in the text box after clicking the control. I looked around and the MouseDown event does the trick. However if I try to move the insertion point by clicking with the mouse all the text is selected again. And that is not a desirable behavior for this program. Any ideas? Thanks In Advance!

    Visual Basic debugging help question

  • Reporting tool
    C CJotaO

    Hello! I’m sick and tired of Crystal Reports and it’s dll’s… Anyone knows a reporting tool simple to work, easy to deploy and (hopefully) free? The objective is to work with vb.net 2003 in windows apps. TIA Jorge

    Visual Basic csharp question

  • Strange variable convertion...
    C CJotaO

    Hi! I solved the problem thanks to you. Thank you very much for the tip! Jorge

    Visual Basic help database sql-server sysadmin question

  • Strange variable convertion...
    C CJotaO

    Hi! I'm sorry about the mistaken code... The correct one is as follows: Public Sub GravaConfiguracao_Fideliza(ByVal intESC As Integer, ByVal dblVE As Double, ByVal intPE As Integer) Dim strInsert As String = "Insert Into Configuracao (Escalao, ValorEscalao, PontosEscalao) Values (" & intESC & ", " & dblVE & ", " & intPE & ")" Thnaks Jorge

    Visual Basic help database sql-server sysadmin question

  • Strange variable convertion...
    C CJotaO

    Hi! Please take a look at this code... Public Sub GravaConfiguracao_Fideliza(ByVal intESC As Integer, ByVal dblVE As intPE As Integer) Dim strInsert As String = "Insert Into Configuracao (Escalao, ValorEscalao, PontosEscalao) Values (" & intESC & ", " & dblVE & ", " & intPE & ")" Please note the variable dblVE. It is a Double variable. If it's value is for instance 0.5 when the strInsert string is created the dblVE variable is converted to 0,5 and then SQL Server reports an error because in the end the string is created with 3 fields and "4" values... Can anyone help me with this? TIA Jorge

    Visual Basic help database sql-server sysadmin question

  • Strange problem - missing form
    C CJotaO

    Hi John! Thanks for the reply. Answering to your question… The problem was not on the creation of the form. It was correctly created and I was able to work with it for a while until its reference was not found any more. But I already found the problem… While working in the form (applying controls, formatting them, renaming them, etc…). I accidentally renamed the form instead of the control I wanted to rename… And of course the reference to its previous name was lost… And I started everything with a new form and it happened again and so on… For three or four times before I posted this message… What are the odds of a thing like that happen? Jorge

    Visual Basic help csharp winforms question

  • Strange problem - missing form
    C CJotaO

    Hi! I'm having a very disturbing problem. I'm working in a program witch has several forms (windows forms) When I add a form to the project I can invoke that form from a menu (for instance) The problem is that as I start working in the form (adding controls, formatting then, etc) suddenly the form is no longer recognized and when invoked I got an error "Type frmForm1 is not defined" In this particular form I'm adding GroupBoxes, CheckBoxes, TextBoxes and Labels. I'm using VB .Net 2003 Can anyone help please? I'm tired of repeating the work all over again. TIA

    Visual Basic help csharp winforms 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