Search:
Type: Posts; User: Arve K.
Search:
Search took 0.15 seconds.
-
Translated using InstantVB.
Option Infer On
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Threading.Tasks
-
-
-
You should use the List.AddRange method, which accepts the array from the .ReadAllLines method.
Option Strict On
Option Explicit On
Public Class Form1
Dim list As New List(Of String)
...
-
-
Option Strict On
Option Explicit On
Public Class Form1
Dim rn As New Random
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
...
-
-
Congratulations :) Thanks to you, I read the documentation ;)
-
Don't use a Word document. If you can't post the code here for whatever reasons, then use a service like Pastebin and share the link here
Since the name of your procedure is CommandButton, it seems...
-
Those are the move handles for the Toolstrips... You can hide them with the .GripStyle property
-
Hungarian notation are so last decade :cool:
-
It just looks like the font you are using have some un-smooth edges:
167779
Aliased vs anti-aliased:
167777
Or click here to open the source of the image above...
-
Hi jumper, maybe its just the font, but it doesn't seem to be anti-aliased.
e.Graphics.TextRenderingHint = TextRenderingHint.SingleBitPerPixel
e.Graphics.DrawString(string1, font, solidBrush,...
-
-
If the sizes of these bitmaps are not consistent then this would be a good candidate for the root cause of your problem.
-
You should post the code for the DeserializeFontObject function.
-
Put a Panel inside your form and move your controls (except the title bar) to this panel, and then use the auto-scroll property of the panel instead.
-
It is present, it always is. However, it is hidden in your project folder so you won't be able to see it unless you choose to see hidden files and folders.
-
Yeah, it would only work for the actual ListView object unfortunately :)
-
There should be no need for copying anything, as Visual Studio will automatically create the folder and its content for you.
-
What exactly is a 'Simulated Listview'? Do you mean that you are creating and adding it to the form's Control collection at run-time instead of design time?
If so, did you enable the MultiSelect...
-
Have you tried to delete the .vs folder and then do a rebuild? Usually it helps for these occasional hiccups...
-
A little, but maybe not so known feature of the Label, is that if you double click it, it will copy whatever text it is holding.
-
Yes, just like the first result in a Google search for 'visual studio visual basic' would have told you...
-
The forum doesn't handle attached images very well. I suggest you use a service like Lightshot (prnt.sc), and then share the url to your image.
They also have a nice app you can download that...
-
Why re-invent the wheel?
.Net is already capable of encrypting/decrypting.
Edit:
Or I might have misunderstood the topic. In that case, you should create some kind of table and map each...
-
Just a note...
Dim ScreenHeight As Int32 = My.Computer.Screen.WorkingArea.Height
is actually the screen height minus the Taskbar height (normally around 40 pixels if the Taskbar is not...
-
I would probably go for a Dictionary(of DateTime, SomeWeatherClass), and then compare the DateTimePicker.Value with the Keys of that dictionary and then use the Value for the correct Key...
-
-
You can add a List(of Control) to the Tag property instead:
Option Strict On
Option Explicit On
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles...
-
I find that quite unlikely, but ok...
As the message says, it should be inside a method (sub). Put it in the form_Load procedure.
frmThree is obviously a Form, so why not declare it as...
-
Sounds like your form (frmThree) is TopMost. Either set the TopMost property to False, or make the new form TopMost:
Dim SecondForm As New frmSecond With {.TopMost = True}...
-
This would be my first try: SuspendLayout
-
Project > Properties (at the bottom) > Application > Startup form
-
Can you open the file containing the code (form?.vb) in, for example, Notepad?
-
-
This should do the trick:
Private Shared ReadOnly HWND_TOPMOST As New IntPtr(-1)
Private Const SWP_NOSIZE As UInt32 = &H1
Private Const SWP_NOMOVE As UInt32 = &H2
Private Const TOPMOST_FLAGS...
-
Certainly.
Private Sub Button11_Click_1(sender As Object, e As EventArgs) Handles PreviewCSV.Click
SpinnerForm.StartPosition = FormStartPosition.CenterParent
SpinnerForm.ShowDialog()...
-
Instead of this...
Dim TextFormat As StringFormat = New StringFormat
TextFormat.LineAlignment = StringAlignment.Center
TextFormat.FormatFlags = StringFormatFlags.FitBlackBox
you can...
-
|
Click Here to Expand Forum to Full Width
|