Search:

Type: Posts; User: sparrow1

Page 1 of 13 1 2 3 4

Search: Search took 0.21 seconds.

  1. Replies
    3
    Views
    1,492

    VS 2019 Re: Zero value problem in datagridview

    What I want is that a negative (Min) or positive (Max) value will be displayed.
    With that information can I do other calculations and show the results in a graphic.

    I found a way to exclude zero...
  2. Replies
    3
    Views
    1,492

    VS 2019 Zero value problem in datagridview

    I've gat a datagridview bound to a datatable and I want to show Max and Min values.
    The code I have is working and showing the proper decimal Max and Min value in a textbox.
    The problem I have is...
  3. Re: Show firstname and familyname after login.

    After some search and suggestions I created this code.




    con.Open()

    Dim search As String

    search = "select id,givenName,familyName,userName,password from tabelregistratie...
  4. [RESOLVED] Show firstname and familyname after login.

    I want to show the firstname and familyname in a textbox in the main form.

    I've got a registrationform with a firstname, familyname, username and password
    After registration it is registrated in...
  5. VS 2019 Re: Coloring Text after percentage calculation

    Hello,

    After some search I added this code to the Form Load.


    Dim percentage as Decimal = Val(Textbox16.Text)

    If percentage >= 0.00 then
    TextBox16.Font = New Font("Adobe...
  6. VS 2019 Re: Coloring Text after percentage calculation

    I'ts working fine.
    The Textbox is coloring like I wanted.
    The're is however a problem after closing and reopening the form.
    Then the Textbox is coloring Black.

    What can I do to save those...
  7. VS 2019 [RESOLVED] Coloring Text after percentage calculation

    Hello,

    I'm calculate the persentage between two numbers.
    After the calculation I want that the positive numbers are green and the others red.

    It's working good, but the numbers -0.25 are still...
  8. VS 2010 Re: If WebBrowser1's Document Complete + 5 seconds delay then...

    Hi,

    You can perhaps use the Sleep method that causes a program to suspend operation.
    This Subroutine receives one parameter, which indicates the number of milliseconds to pause the program.

    ...
  9. Replies
    5
    Views
    4,763

    Re: adding text into picturebox

    Hi,

    You can find an example in this link.
  10. Replies
    6
    Views
    879

    VS 2008 Re: Bold text in a RichTextBox?

    Hi,

    I think that Regular Expression better is for this. Look here.
  11. Replies
    17
    Views
    1,421

    VS 2010 Re: What is the declaration...

    Hi,

    You don't need code for that.
    Go to the properties of your Form and select: AcceptButton -> numofSubs

    That means everytime the button has the focus you can use enterkey to do the click...
  12. VS 2005 Re: Modify Locked Textbox in Remote Application

    Hi,

    If it's your application then you created it and can you easily unlock the textbox and change his text, because you locked the textbox before.
  13. Replies
    1
    Views
    353

    Re: What is this and how do I do it?

    Hi,

    I think you thinking to use a Treeview.

    You can find some information here.
  14. VS 2010 Re: Why does my message box appear twice?

    Hi,

    You can try this:


    Private Sub Form2_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
    If MessageBox.Show("Are You...
  15. Replies
    2
    Views
    541

    VS 2010 Re: format of cells in datagridview

    Hi,

    Try this;


    DataGridView1.Columns("Column4").DefaultCellStyle.Format = "c"
  16. Re: what is the difference between these events

    Hi,

    You can find some information about mouseEventArgs, here.
  17. Replies
    2
    Views
    805

    VS 2008 Re: Weird install issue

    Hi,

    You can find perhaps some answers, here.
  18. Replies
    8
    Views
    1,050

    VS 2008 Re: default date vs null

    Hi,

    You can find some information, here.
  19. Replies
    11
    Views
    5,406

    VS 2010 Re: how to center my form

    Hi,

    You can try this in the form load event:

    Me.WindowState = FormWindowState.Maximized
  20. Replies
    11
    Views
    1,119

    VS 2005 Re: Can I use the module in vb.net

    Hi,

    You can find some explanation and example in this link.
  21. Replies
    5
    Views
    13,150

    VS 2010 Re: Compress files in vb.net?

    Hi,

    Compressing and Decompressing files as very complex.
    Perhaps you can find some good information, here.
  22. Replies
    2
    Views
    635

    VS 2010 Re: Hotkeys

    Hi,

    Didn't you forgot to set the Keypreview = True in the form properties.
  23. Replies
    9
    Views
    1,095

    VS 2008 Re: object opacity

    Hi,

    Use the Form.TransparencyKey.Property for tha.
    Look here.
  24. Thread: shortcut keys

    by sparrow1
    Replies
    8
    Views
    5,350

    VS 2010 Re: shortcut keys

    Hi,

    Use the ShortcutKeys property to assign a key combination to a menu command, such as CTRL+C for the Copy command. You can use shortcut keys instead of or in addition to access keys, which are...
  25. Replies
    4
    Views
    970

    VS 2008 Re: Preforming a button on pressing a key

    Hi,

    It depends on the scope you want your hotkey to have. if you want a system wide hotkey, you need to use the registerhotkey API function. To programmatically press a button:
    ...
  26. Replies
    2
    Views
    587

    VS 2010 Re: End Program's Process

    Hi,

    You can do it like this:

    Process.Kill
  27. Replies
    1
    Views
    1,804

    Re: devexpress version for vb.net 2008

    Hi,

    I think you can find some explanation, here.
  28. Replies
    2
    Views
    1,938

    VS 2010 Re: AxWMP My.Resources

    Hi,

    You can try something like this:

    AxWindowsMediaPlayer1.URL = My.Resources.nameofthefile
  29. Replies
    3
    Views
    611

    Re: While press on user you see message

    Hi,

    Here's an example how to check an item in a checklistbox and show it in a TextBox:

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ...
  30. Replies
    3
    Views
    611

    Re: While press on user you see message

    Hi,

    Instead of Zip file, show us your code and the part where you have some difficulties with.

    Most members, including me, doesn't open zip files.
  31. Re: Simple question related to vb express 2010

    Hi,

    You can find the explanation, here.

    Btw, the Middle click is ignored by default.
  32. Replies
    6
    Views
    626

    Re: Visual Basic 2010 HELP

    Hi,

    Try this:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    Dim lblResult1 As Integer = 0
    If...
  33. Replies
    6
    Views
    626

    Re: Visual Basic 2010 HELP

    Hi,

    Try this:

    If rbtnAnswer1_1_1.Checked = True Then
    lblResult1.Text = lblResult1.Text +1
  34. Replies
    1
    Views
    3,612

    VS 2010 Re: VB.NET Publishing

    Hi,

    For your first question:

    - select your setup project solution and add Primary output of your developed project. You just need to right click your setup project in Solution Explorer, click...
  35. Replies
    9
    Views
    2,013

    Re: VB.net and printing to pdf

    Hi,

    How did you used it?
    When I'm trying this part of code.
    I can open acrobat reader, without a file, select a pdf file and print it.
  36. Replies
    9
    Views
    2,013

    Re: VB.net and printing to pdf

    Hi,

    Like I said, try it, copy it and if it works for you compile it.
  37. Replies
    7
    Views
    8,462

    VS 2010 Re: Embedding resources with VB 2010 Express

    Hi,

    You can call the file like this:

    My.Resources.Filename ' your example resource1.Text, put just resource1 as filename
  38. Replies
    9
    Views
    2,013

    Re: VB.net and printing to pdf

    Hi,

    You can try something like this:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim pathToExecutable As String =...
  39. Replies
    7
    Views
    8,462

    VS 2010 Re: Embedding resources with VB 2010 Express

    Hi,

    To include a file as a resource inside an assembly, add the file to your project in Visual Studio by dragging it into the Solution Explorer from Windows Explorer, or right-click the project...
  40. Replies
    3
    Views
    764

    VS 2008 Re: Dynamically added button

    Hi,

    You can add this in the Form load event:

    Dim button1 As New Button
    With button1
    .BackColor = Color.ForestGreen
    .Height = 25
    .Width = 75
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width