would that be for off road use?
Alex UEA
Posts
-
[Message Deleted] -
MouseDown Event? [modified]could you indicate that each picture box has been selected by highlighting in some way when it is clicked (and released). Clicking it again would unselect it. Then when selection of all boxes is complete itterate through picture boxes and if highlighted/selected do whatever it is you want to do? I guess that involves a selection stage and then an action upon the selected stage rather than happening all in one as I think you wanted
-
License Key generation.I'm sure activelock website has examples, look at those. it's a long, long time since I used vb6 and I'm in rush to go back there.
-
propertise inheritedIf I understand you, which I doubt generate a VisibleChanged Event for your TextBox
private void aTextBox_VisibleChanged(object sender, EventArgs e)
{
aLabel.Visible = aTextBox.Visible;
} -
License Key generation.I have a vague recollection of something called Activelock for VB6. Have google for for that
-
Control Hardware through SoftwareFor USB based control and measurement of external devices I'm a big fan of the miniLAB 1008[^] 2 10 bit analog outputs 4 12 bit analog inputs or 8 11 bit single ended 28 dio Slight overkill for just turning one device on and off (for which you would need to use the miniLAB to switch a relay), but should you progress to analog contol and measurement or decide to control several devices it's pretty cheap and very easy to set up and use. No doubt there are loads of other similar bits of kit - I've just had a lot of success with these.
-
using a variable on two different forms -
What Sci-Fi planet would you like to live on? -
yesterday's timeHow about
//DateTime d1 = first date
//DateTime d2 = second date
if (DateTime.Compare(d1.Date, d2.Date) == 0)
{
Console.WriteLine("Same Date");
}ah just noticed answer was already in thread but off bottom of my browser
-
Notepad ReplacementI've always favoured notetab http://www.notetab.com/ntl.php[^] Quoting from the help NoteTab automatically detects the format (DOS/UNIX/Mac/Unicode) of a text file when you open it. During the loading process, UNIX and Mac files are converted to the DOS/Windows format. Through the "Options | Documents | Save As" setting, you can determine what format should be used when the document is saved. If you choose "Original", the original format is restored. Alex
-
passing value from one form to anotherform_month needs to know about form_main In form_month:-
Public Class form_month Private m_FormMain As form_main Public Sub New(ByRef formMain As form_main) MyBase.New() m_FormMain = formMain 'setting a ref to the orig form form_main ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. End Sub
In form_main:-Public Class form_main Dim m_form_month As New form_month(Me)
in the code for the submit button to open form_month:-m_form_month.Show()
in the code for the load event for form_month read the value of tbid:-Private Sub form_month_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim contentsOftbid As String contentsOftbid = m_FormMain.tbid.Text
hope this helps Alex -
Button ShapeHere is how Gary Perkin made circular buttons.
-
HOW TO TELL AMOUNT IN WORDS -
Fill a pictureBox with linear gradientelsombreron wrote:
P.S. Out of curiousity, does anyone know how to create custom shaped buttons?e.g. instead of having the window close button as a square having a button that's a half-moon shape or something. Cheers.
round buttons[^] Alex
-
SysTrayVasildb wrote:
Heeeeeeeeeeeelp.
I think that the 'e' must be sticking on your keyboard. I needed to do this recently myself and rather radically I did a search for it on Google. To save you spending valuable seconds doing the same, here is the url that I found. http://www.codeguru.com/csharp/.net/net_general/tipstricks/article.php/c6933/[^] regards Alex PS you should try Google sometime it's surprisingly useful!
-
Where to post demo project ?http://www.codeproject.com/info/submit.asp[^] or maybe I'm missing your point
-
Help me in save values in app.config and retrieve it .How about using Settings? http://www.codeproject.com/csharp/UserSettings.asp[^]
-
how to draw a graph?As you are most probably already aware, but I wasn't certain so I thought I would just say, you can download version 4.3.5 from the SourceForge project site[^] which works with .NET 1.1.
-
how to draw a graph?It may well be that you want/need to do this from scratch, if, on the other hand, you don't want to reinvent the wheel http://www.codeproject.com/csharp/ZedGraph.asp
-
Determine integer?Dave Kreskowiak wrote:
BTW: In your version, the function will only work for values with the limits of an Integer. Which is probably fine for most cases, but if there is no specification, you're making an assumption that it will work for ALL of his cases. That leads to hard to detect bugs and why I put the note in the code that I did.
thank you for the pointer (of the non coding variety):)