What do you mean by "how to order"? I have understood it as "how to sort" am i correct?
After reviewing your code, i don't think it is populate the listview with the data in the ini file properly,...
Type: Posts; User: 4x2y
What do you mean by "how to order"? I have understood it as "how to sort" am i correct?
After reviewing your code, i don't think it is populate the listview with the data in the ini file properly,...
Is tab goes to yes, no, any in the same group?
From your screen shoot, you have three group boxes "High Wind", "Direct sun" and "Precipitation"
BTW: if there isn't any radio button checked,...
There is no weird because the controls circled in green are in different container (as i see)
This is standard behavior for RadioButton control, you can see this behavior in all Windows programs, e.g. the Notepad find dialog box.
You need a class for custom sorter, details and sample code is here
There is a visual tab helper, go to the menu View> Tab Order, each control will overlapped with a number, click on these number in the order you want.
No you cannot use Me keyword because that line is in a different module.
Edit:
The following is better
Private Sub MyApplication_StartupNextInstance(sender As Object, e As...
VB.NET has an option to make single instance application, do the following
1- Go to the menu Project> prj_name Properties...
2- In the application tab select the option "Make single instance...
Read this topic it may help you.
When you get the dragged file name, pass it to a procedure to open it and read its contents and put inside the listbox.
Try this
Private Sub Form_OLEDragDrop(Data As DataObject, Effect As...
Ops sorry i missed to open the file :blush:
try this new one
Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles Me.Shown
Dim strMsg As String =...
Please give more details, what isn't work?
Why do you want to save the message in exe?
In App1 save the message in a text file, in App2 read that file and show its contents in a message box, something like this
in App1
Private Sub...
Do you want App1 runs App2? if so
Try this
System.Diagnostics.Process.Start("path\to\showmessage.exe")
You code for reading files is buggy, because FileData1.Split() is split by space while you must split by vbNewLine
try this one
Try
Dim File1Data As String() =...
Most controls has OLEDragDrop event which you can use to open dragged file(s)
Try this
Option Explicit
Private Sub Form_Load()
Me.OLEDropMode = 1
End Sub
I don't use Avast, but any antivirus has an option to restore deleted malicious files.
Use Label control and set its property BorderStyle to Fixed single, it will looks like Text box but it will not focused, so you can reduce the code by removing parts that back the focus to the last...
Double post...
The code without using Mod
Private Sub Timer1_Timer()
Static HH As Long
Static MM As Long
Static SS As Long
Static TS As Long
TS = TS + 1
I forgot to change variables declaration to Long instead of Single, it is better for speed and also there is no need for single type. There isn't any error can occur from that code, so no need for On...
Try this
Private Sub Timer1_Timer()
Static HH As Long
Static MM As Long
Static SS As Long
Static TS As Long
TS = (TS + 1) Mod 100
Try this
Private Sub txtPlayerFireLocation_KeyPress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles txtPlayerFireLocation.KeyPress
If...
I think it was important to describe this step, because i knew it only from your properties window screen shoot, as it show the class name Form1 WindowsApllication1.SpecialForm
Attachment 100091...
When i create a class with this code
Public Class SpecialForm
Inherits Form
Public Property MyBorders As ToolStripStatusLabelBorderSides
End Class
i don't see MyBorders in the...
Can you please post a sample, because i did so but cannot see it in the form's properties window at design time.
As i understood, he wants to add his custom property Borders to a form and see/set it inside the form's properties window at design time.
Why you declare as array?
Private mBorders As ClsPnlBorders
<TypeConverter(GetType(ExpandableObjectConverter)), DesignerSerializationVisibility(DesignerSerializationVisibility.Content)> _
...
Yes it has been fixed
Only the following images > 16x16
alienfrog.gif
completeclear.gif
confused.gif
duck.gif
wave.gif
Thank you, i have updated my old VBforumReps.txt successfully :)
Did you changed the format of the file VBforumReps.txt?
I have added VBforumReps.txt (created by version 1) in the same folder of the version 2 in hope to merge new rep to previous but i got this...
Hi, me again :P
Try this kickoff :)
Sub FilterRows()
Dim cDestination As Worksheet
Dim cSource As Worksheet
Dim intRow As Integer
Try this
Sub test()
For j = 1 To 10 ' replace 10 with the number of last row
If Trim$(Cells(j, 1)) <> vbNullString Then ' it is not empty
If Val(Cells(j, 1)) < 10 Then
...
This error means that, the specified SelectedIndex is equal to or greater than the combobox items count.
Use code like this
Form1.PictureBox1.Image = Form2.PictureBox1.Image
@dvdk
Post your problem in separate topic!!!!!!!
It is better to separate different tasks in different subs/functions, this make coding, debugging and reading easy
try this
Private Sub Command1_Click()
Dim strFileToOpen As String
...
@The Welshman
My code and the concept behind is similar to yours, but i didn't see it before submitting mine.
Try this one
Private Sub mnuSHSize_Click() 'show/hide map size
mnuSHSize.Checked = Not mnuSHSize.Checked ' toggle check state
SetFormCaption
End Sub
Private Sub mnuSHCoords_Click()...
Try this code, it is capture the screen region occupied by Picture1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim imgBmp As New...
funObjid_show variable is declared inside a function, so it is invisible outside that function.
You must add Option Explicit at the first line of the code, it is important to warn you about...