Search:
Type: Posts; User: .paul.
Search:
Search took 2.72 seconds.
-
Here's an example...
Dim dt As New DataTable("DataTableName")
dt.Columns.Add("Field1Name") ' This field is String
dt.Columns.Add("Field2Name", GetType(Integer)) ' This field is Integer...
-
Professional programmers who might not always be around to maintain their software, should always comment their code thoroughly, particularly the more complex code, as some code can take a lot of...
-
My guess is 5 seconds before stopping
-
You need an if statement, where you currently play your tick sound, you need to test if it’s 5 seconds before stop time and if so play your warning sound…
-
He meant you should create a new application for testing purposes only. In a new application you can isolate the problem areas…
-
It looks like they’re all being written on the first page. You specify doc.Range, but I don’t see you’ve changed that anywhere…
-
Set the Height at design time and set Dock… I don’t remember the possible values at the moment, so try it, and see how it looks
-
Have a look at the TrimEnd method…
-
You could start by asking in the Classic VB forum instead of the .Net General forum...
https://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
-
If you are asking which framework you're using, you can find it in...
Project-->Properties
-
It's in your VS menus...
Help-->About Microsoft Visual Studio
-
It's a little tricky working out card rotations and image positions... Try my example.
190971
190972
There are 28 custom pictureboxes shown on the form.
-
If you’ve written an analog clock, you already have used GDI+
-
You can change the shape of a control by setting it's region property, but as jm said - you'll have to draw rotated images yourself, and the control will still always have a bounding rectangle.
-
http://www.scproject.biz/itc.php
-
Are you trying to draw an analog clock? I’ll post a link to an example…
-
The Add Scan button… Do you upload an image there? It’d be easiest to rename the file ‘YYYYMMDD.jpg’ when uploading
-
https://stackoverflow.com/questions/59800375/how-to-set-the-text-of-a-textbox-to-a-default-value/59803179#59803179
-
Private Const EM_SETCUEBANNER As Integer = &H1501
<DllImport("user32.dll", CharSet:=CharSet.Auto, SetLastError:=True)>
Private Function SendMessage(ByVal hWnd As IntPtr, ByVal msg As Integer,...
-
Or, put a watermark on the blank textbox requesting input as YYYYMMDD. If the user enters the correct format, no problem. But it’s still iffy :D
-
Use a date time picker instead of a textbox. No need to ascertain the date format…
-
A grade calculator is a common programming homework assignment.
You do realise you’ve just revived a three year old thread?
-
Winforms isn’t your best choice for intensive graphical games. That’s the point…
-
You can fool the human eye with 20FPS. Why do you need more?
-
Right click on the project in solution explorer, then select Rebuild
-
As jmcilhinney told you, numbers are numbers and text is text, however much it looks like a number on your screen.
If you try Button1.Text = “20” + “5” what do you get??? You’d expect “25”, but...
-
I have an app, with an animated form that remembers its last location. I’ve had times when the compiled app config file has been corrupted and replaced with default values, resulting in the form...
-
Try this
For i As Integer = 0 To ((bmpData.Stride * bmpData.Height) / 4) - 1
To convert to integer, as the error says
For i As Integer = 0 To CInt((bmpData.Stride * bmpData.Height) / 4)...
-
In 2009, it was the best i could find :D
I understood what the algorithm did, but the kludgy way it did it was what stopped me trying to rewrite it...
-
Something like this?
Dim rx As New Regex
If rx.IsMatch(TextBox1.Text, ?^[a-z0-9]+\@gmail\.com$?, RegexOptions.IgnoreCase) Then
?Email address found
End If
Edit: The question marks in...
-
From several seconds to less than 1/5th of a second, in a top-level language is quite an achievement though
-
Good idea with the codebank entry. I didn't, and still don't understand the 4 way recursive algorithm :D Which is why i asked an expert when i saw the opportunity :D
-
This site is still buggy. Changing punctuation characters in my text input
Edit: Site problem reported to admin
-
I will implement it, when I get round to having another look at my paint app. I know you?re right about the time savings. That was one of the issues that made me limit the size of images in my paint...
-
I didn't time it. Just judging by eye with that simple image (post #31). In a real graphics app, with less regular shapes to fill, i'm sure it'll perform much better than the code i was using...
-
I fixed one bug (first line of code in FloodFill5)
Running the 2 methods side by side on a very simple image, there doesn't appear to be much difference?
Anyway, thanks Niya. I've uploaded the...
-
Ok thanks. This is the slow code. It takes a few seconds rather than milliseconds, and the images i was using aren't large images...
#Region "UnsafeFloodFill"
' Flood the area at this...
-
@Niya
Using this method, how could i create an MSPaint-like floodfill feature? I have an existing method, that radiates out from the clicked pixel that i found on the www a long time ago. The code...
-
The standard TextBox has a MultiLines Property that is False by default
-
In VB.Net?
Short=Int16
Integer=Int32
Long=Int64
|
Click Here to Expand Forum to Full Width
|