Search:
Type: Posts; User: InertiaM
Search:
Search took 0.05 seconds.
-
I am trying to code Holt-Winters Triple Exponential smoothing in VB.NET.
http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc435.htm
The part I am struggling with is "alpha, beta and gamma...
-
It's actually possible in 2005, and may be possible in other versions as well :-
Dim TextBoxText As String = "5 4.1 6.23 0 0 7 7.924"
Dim Formula as String =...
-
Draw the circles, then draw the rectangle? :D
-
Thanks boops, I'll give that a try :)
-
I am drawing on the screen with Y direction as up the screen, rather than down, using the following code :-
Private mYFlip As New Matrix(1, 0, 0, -1, 0, 0)
With e.Graphics
...
-
I am trying to send messages to multiple PCs using UDP MultiCasting. The code I am using is essentially the same as this UDP chat
The problem I have is that I only ever seem to receive four...
-
My notes appear to suggest a Caspol issue, with the Ole not being allowed access to the shared drive where the database is stored.
In the example below, F and O are the shared drive letters. ...
-
I have the same problem with my t5730s. It's either a caspol, or a gacutil issue.
All my code is at work - if you havent solved it by Monday, I'll send it to you.
-
I am trying to draw on the screen, with Y being positive from the bottom up - like a normal graph.
Private mYFlip As New Matrix(1, 0, 0, -1, 0, 0)
Private Sub frmMain_Paint(ByVal sender As...
-
Pity Toyota arent competing this year. It would have been great to see them flying past whilst everyone else braked :) :)
-
So is it enough to change to WPA as my router doesnt support WPA2?
-
I find coffee helps to avoid:-
http://ircamera.as.arizona.edu/NatSci102/images/brain_full.gif
-
Thanks jemidiah :)
I think I have found a solution by approaching it from the opposite direction. Assuming 9 is the shortest length, and 1 is the longest length :-
9,9,9,9 - fits
9,9,9,8 -...
-
In the example:-
there are 13 lengths
the longest length 1 (2200mm) fits 2.54 times
the shortest length 13 (1380mm) fits in 4.05 times
So the maximum number of pieces is 4, and the minimum is...
-
http://en.wikipedia.org/wiki/Cutting_stock_problem
There is an example in this article. In summary, assume you have a bar 5600mm long. You must cut various sizes from the bar, ranging from 22 @...
-
I've only ever used delegates before when trying to update a ProgressBar etc.
Unfortunately, I now have to write an application that communicates with a third party DLL written by a coder who has no...
-
Precisely. Try it sometime. Find out where the limit is, and get used to what happens when the car breaks away from you - but at low speed, not at high speed. Drive round like that for a couple of...
-
Some simple cheap solutions that I have found seem to work for me:-
1. Check the tread depth on your tyres. Assuming you have the same tyre size front to back, put the tyres with themost tread...
-
-
I would also suggest turning Option Strict On, as
Dim rc As Integer = CType(FormView1.FindControl("rental_chargeTextBox"), TextBox).Text
is technically not a valid line.
-
@Jenner - It was probably this site
PDF417 isnt really a genuine 2D barcode, it's more like a multiple-stacked 1D. DataMatrix (and others) are proper 2D barcodes.
-
Look on the bright side - if you break another vertebra, you already have a spare one for them to install :)
-
I may be barking up the wrong tree, but the field names that you are saving to, do not appear to match the values you are trying to assign to them (eg you are trying to save Students into Activities,...
-
Yes, it's easy. This code should get you started :-
Option Explicit On
Option Strict On
Imports SYSTEM.Drawing.Drawing2D
Public Class Form1
-
Create a GraphicsPath for your Double 13 shape using the coordinates as listed - call it say gpDouble13. You can then use gpDouble13.IsVisible (571,260)
-
Random thought (I've had my coffee now :D) - try splitting the connection definition line down into individual parts
Dim cmd As New SqlCeCommand
cmd.Connection = con
cmd.Commandtype =...
-
Not that it helps much (if at all), but I have just tried an ExecuteScalar on a SQLCE database with a COUNT (and no GROUP ;)) and it worked fine.
I would check how the connection is set up.
-
*edit* : forget me, I obviously need coffee :)
-
Thanks for that :thumb: Seems like your pallets are smaller than ours ;)
One point. If I take out my first step and just rely on yours, it wont find any solutions with only portrait or landscape...
-
Brute force may be possible, because there will be a fairly limited number of combinations.
I've written the first step (simple row and column checking), but I'd still like suggestions.
...
-
I need suggestions :blush:
Imagine a cardboard box 1200 x 1000. You have to place smaller boxes (325 x 225) inside the larger one. The smaller boxes can only be rotated in multiples of 90...
-
I'd choose a Beckhoff BC9000 PLC. I've built libraries for doing most functions via Ethernet. Let me know if you need any help with this :)
-
Yup, it's still there. You may have to customise your IDE popups as required to give you the same effect as VB6, but it still works :)
-
I didnt actually start from the nearest point - I found a better way. Here's how I achieved it.
Starting from the left point, I kept adding points to a list and performing a linear regression on...
-
MeasuredPoints(2).Distance = 1855
MeasuredPoints(3).Distance = 1855
MeasuredPoints(4).Distance = 1855
MeasuredPoints(5).Distance = 1917
MeasuredPoints(6).Distance...
-
Has anyone done any linear regression algorithms in VB.NET?
I have a laser sensor which streams distance measurements via TCP. The minimum dimension is 700mm and the maximum is 3000mm. It takes...
-
As FastEddie said, MOST barcode scanners are keyboard based.
To do what you want, you would be best to change to a Serial based scanner. You can then use an event when data is received, and force...
-
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show(EAN8_Checksum("5512345"))
End Sub
Private Function...
-
Try looking at the ScaleTransform method. Your Paint method would then look something like this :-
If Me.rbtn25.Checked = True Then
e.Graphics.ScaleTransform (0.25, 0.25)...
-
I think you've missed :-
TJ_Ida.InsertCommand.Parameters.AddWithValue("@Tjoperationid", ......)
|
Click Here to Expand Forum to Full Width
|