Search:
Type: Posts; User: sparrow1
Search:
Search took 0.21 seconds.
-
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...
-
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...
-
After some search and suggestions I created this code.
con.Open()
Dim search As String
search = "select id,givenName,familyName,userName,password from tabelregistratie...
-
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...
-
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...
-
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...
-
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...
-
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.
...
-
Hi,
You can find an example in this link.
-
Hi,
I think that Regular Expression better is for this. Look here.
-
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...
-
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.
-
Hi,
I think you thinking to use a Treeview.
You can find some information here.
-
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...
-
Hi,
Try this;
DataGridView1.Columns("Column4").DefaultCellStyle.Format = "c"
-
Hi,
You can find some information about mouseEventArgs, here.
-
Hi,
You can find perhaps some answers, here.
-
Hi,
You can find some information, here.
-
Hi,
You can try this in the form load event:
Me.WindowState = FormWindowState.Maximized
-
Hi,
You can find some explanation and example in this link.
-
Hi,
Compressing and Decompressing files as very complex.
Perhaps you can find some good information, here.
-
Hi,
Didn't you forgot to set the Keypreview = True in the form properties.
-
Hi,
Use the Form.TransparencyKey.Property for tha.
Look here.
-
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...
-
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:
...
-
Hi,
You can do it like this:
Process.Kill
-
Hi,
I think you can find some explanation, here.
-
Hi,
You can try something like this:
AxWindowsMediaPlayer1.URL = My.Resources.nameofthefile
-
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
...
-
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.
-
Hi,
You can find the explanation, here.
Btw, the Middle click is ignored by default.
-
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...
-
Hi,
Try this:
If rbtnAnswer1_1_1.Checked = True Then
lblResult1.Text = lblResult1.Text +1
-
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...
-
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.
-
Hi,
Like I said, try it, copy it and if it works for you compile it.
-
Hi,
You can call the file like this:
My.Resources.Filename ' your example resource1.Text, put just resource1 as filename
-
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 =...
-
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...
-
Hi,
You can add this in the Form load event:
Dim button1 As New Button
With button1
.BackColor = Color.ForestGreen
.Height = 25
.Width = 75
...
|
Click Here to Expand Forum to Full Width
|