Search:
Type: Posts; User: Tinbeard
Search:
Search took 0.61 seconds.
-
Thanks for the help unfortunately if I prevent the MyBase.Wnproc(m) from executing with the boolean flag, the form does not load and I get the folowing exception
'An unhandled exception of type...
-
OK need a little advice on this, I've had a few goes at it and done a fair bit of reading but I must be missing something as I can't seem to disable the press and hold function.
Here are the...
-
Looks like the answer is to stop the window receiving the event using this method.
http://msdn.microsoft.com/en-gb/library/windows/desktop/bb969148%28v=vs.85%29.aspx
It steps beyond my comfort...
-
Thanks for your reply, what you are saying regarding the mouse down event does make sense, I can however get it to work by tapping the button quickly then holding it down and the mousedown code...
-
Hi,
I've created a win forms application that is designed to run on a windows 8 tablet, however I have one issue that I cannot seem to resolve.
The application allows the users to move remote...
-
Sorted it out, for future reference I needed to use the following.
myChart.ChartAreas("TimeChartArea").AxisX.Interval = 1
myChart.ChartAreas("TimeChartArea").AxisX.IntervalType =...
-
Hi,
I'm seeing a strange problem with the labels on the X axis of my charts.
I've setup two chart areas and aligned them (which displays fine) and the user can manipulate the chart by...
-
Hi,
I've now re written the application so that all the grouping and counting is done by the SQL server and the graph is now more or less instant :D
Thanks to you all :thumb:
-
Hi,
Looks like the SQL query is relatively fast around 10 seconds, the major bottle neck seems to be the dataManipulator operation.
I'll re write the application so the counting and grouping...
-
Hi,
Sorry for not being clear, the query returned 240,000 rows and the two columns I'm getting via the select statement are an eventID and a Created Time.
I'm then grouping these using the...
-
Hi,
I''m using a select statement as I only need to grab a couple of columns from the database table but there are lots of rows :sick:
I recoded the application today to use the SqlDataReader...
-
Thanks for the replies and tips.
I'm only reading from the database there's never going to be any writing back to it so I'll give the reader a go and see what sort of difference it makes.
Also...
-
Hi,
Been a long time since I fired up Visual Studio or posted here but I've got the bug again.
I'm currently writing a reporting application and some of the queries I need to run will return...
-
Just put me.visible inside the forms 'Shown' event, think the reason it won't work in the load event is that the form is still being created.
-
Use the KeyPress event,that will give you access to the KeyChar of the pressed key, then its a very simple matter to store this and do what ever you want with it.
Private strKeypress As String
...
-
Just a quick question, what is the best way to wait for keyboard input in an application.
For background this is a morse code trainer application and I want it to pause after the morse is sounded...
-
Your trying to assign a system drawing point to a textbox, this won't work.
What are you trying to do here ?
btw Welcome to the forum :)
-
Try changing your sub to use 'ByVal' instead of 'ByRef'.
-
hmm......... something strange going on there then, the copy if newer prevents a fresh copy of the database being copied to the bin directory which would result in previously added data being lost.
...
-
In the database properties 'Copy to Output' property you need to select the 'Copy if newer' option, this will maintain the database in the bin directory complete with your data.
-
To simplify things you could replace your select case...
For i = 0 To 4
Select Case digit(i)
'number 0
Case "0"
If txt1.Text =...
-
Look at your select case and think what will happen on each one ..........
Given the values assigned to the digit array.
digit(0) = txt1.Text
digit(1) = txt1.text
...
-
Well just looking at it briefly every value of the digit array will always be the same because your assigning txt1.text to each element.
-
You need to convert the textbox 'Strings' to 'Integers' then do the evaluation.
-
Fairly simple to modify it to resize the rectangle smaller if the mouse is dragged back......
Dim ptStart As Point
Dim ptCurr As Point
'rectangle to hold current rectangle
Dim...
-
This will give you a starter, it's fairly basic and only supports dragging from top left to bottom right but it shows the general principals.
Dim ptCurr As Point
'rectangle to hold current...
-
What happens if you just pass the path ?
RTB.LoadFile(sFilePath)
-
You can paint the splitter bar yourself to make it always visible.
Private Sub SplitContainer1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles...
-
-
Think I may have found part of the answer but this raises another question, how do I declare this structure in vb.net ?
http://msdn2.microsoft.com/en-gb/library/ms707173(VS.85).aspx
-
Just a quick question, does anybody know how to invoke and display a web cams settings page from within an application.
I can display and record the video but I am looking to control frame rate...
-
If your only saving the state of four check boxes it would be pretty straightforward to use My.Settings instead on an ini file.
-
Welcome to the forum :wave:
You need to change 'Enabled' to 'Checked' .....
if radiobutton1.checked = true then
label1.text= "Correct"
Else if radiobutton2.checked = true then...
-
Try this to get your decimal seperator..
MessageBox.Show(Thread.CurrentThread.CurrentCulture.NumberFormat.CurrencyDecimalSeparator.ToString)
-
I could be wrong but t think Access uses a '?' to represent a parameter..
Insert into table1 (field1) values (?)
Might be helpful if you post the error details too.
-
You should have this in intellisense.....
60354
-
Maybe I'm missing something here, but if I add a watch to both rectangle1 and rectangle2 after I modify rectangle2.x the modified value only shows up in rectangle2, rectangle1 remains unchanged.
...
-
It's pretty straight forward to do, I hope this example is easy to follow...
Dim rectangle1 As New Rectangle(50, 50, 100, 100)
Dim rectangle2 As Rectangle
Public Sub ModifyObject()
...
-
Yes you can, just set the dialogResult you want in the SelectedIndexChanged event...
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
-
You need to select the 'Settings' tab from the project property page and configure your settings there before you use them in your application.
properties --> Settings
|
Click Here to Expand Forum to Full Width
|