Search:
Type: Posts; User: VBDT
Search:
Search took 0.18 seconds.
-
Hi Jmc, you are absolutely right. I just responded to the post without giving a though to it. I don't have VS with me now but I think this should work, correct me if I am wrong.
public static...
-
You don't even need an instance of a class. To achieve what you want you need to have a public property 'Trig' in your 'Calc' class which is a Trig type. Both classes needs to be declared with static...
-
It is interesting to see that the same questions repeat over the time. It feels nothing has changed :D
It is good to see you JM still helping the community. I have learned a lot here from you, Thank...
-
First, you can put all your questions in an array of string that can be accessible by index. Than you need a random index number which could be generated by the Random Class as it was mentioned...
-
As what i see from your data structure the data can be saved in 2 tables "GamePiece" & "Weapons" that would be related by weaponId. In other words you should have a relation between these two tables....
-
Yes, the module template doesn't exist in web site project but you can still have it. What you need to do is to add the existing module file to the App_Code folder and add the "Public" key word in...
-
Right click on the WebApplication in the solution window -> Add -> New Item. Rest is shown in the image below.
Here is the content of the Module.
Module Extensions
Public Enum sortOrder
...
-
use: My.Application.Info.DirectoryPath
-
These two are not the same ;)
1. Public Sub Clickonform(ByVal x As Integer, ByVal y As Integer)
2. MyControl.ClickControl(test)
Not by the name or by the signature!
-
Put a break point on the line "cryRpt.Load(Application.StartupPath & "ProductList.rpt")" and check the "Application.StartupPath & "ProductList.rpt" to see if you get the full qualified file path.
-
This tread is almost 3 years old :D
Dawg, yes the same approach would work for a TreeView web control. The only difference is that web control TreeNode collection doesn't have AddRange method so...
-
Me.Panel1.Region = Shape.RoundedRegion(Panel1.Size, 10, Shape.Corner.None)
-
The IF statment:
If TextBox1.Text = loadmd + TextBox1.Text Then
will never evaluate to true!
it is like you have
If 2 = 1 + 2 Then
?!?
You need this instead
If...
-
Hi,
I am not aware of any issues with framework 4. If there is one than provide the error please.
-
Just think about it for a second, what your text file contains. It contains lines of text that represent records. Each line has "," separated fields. So what you need is to read all lines from the...
-
I meant check the code on #13 :D
-
-
Yeah, I would agree with Jmcilhinney. DataGridView would be better for this. But you could also have one listbox instead of 6. You don't need 6 listboxes to show data. They are all one record, one...
-
Are those all listbox controls?
-
What is the problem with your code?
-
-
Ok, now I understand the nature of the question. If you take away the condition statement than yes with present code kaboom will happen. The bad thing of passing none timer type object in to sub...
-
Are you saying that debug statement was writing something by calling the sub procedure? Or am I missing the point in here.
calling the sub procedure by those parameters will not pass the condition...
-
"kaboom" didn't happen but you haven't seen the "Debug.WriteLine" did you?. Take a look on what you passing to the event sub procedure as a parameter:
_TickTock(New TextBox, New System.EventArgs)...
-
The ID is a unique number or a string or what ever type. It must be unique.
Here is an example:
Let's say one user wants to delete the row at 10th index. The anther user wants to change a data...
-
Well, I was taking about the design that uses Index instead of ID. I don't think that is the way you want to go specially when there would be multiple users who would add or delete data in the DB at...
-
I may be wrong but doesn’t Combobox have custom item paint functionality? If it does than you can paint the item the way you want setting its size, drawing borders etc.
My approach would be having a...
-
Sql db is better because it is more secure and can handle multiple queries at the same time and it is fast.
Also your data tables should have ID column to access the data rows not using indexes. It...
-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim stud as new Student
stud.FirstName = "Joe"
stud.LastName = "Mama"
s(0) =...
-
I think this could be an option:
<books>
<book title="title" author="author">
<note>This is Note 1</note>
<note>This is Note 2</note>
</book>
<book title="title"...
-
Hi,
Try to use "Default" encoding instead of ASCII. The default encoding is also ASCII but for the current system. Anyway, my test of
Dim bytes() As Byte = {5, 55, 84, 125, 243}
Dim t As String =...
-
I think this is more ASP.Net question than winforms.
One thing I would suggest is to have the textbox in AJAX update panel and when the timer sets the textbox text property call the panel update...
-
-
Why not check one of the radiobuttons in the design time property. Check the one that you think it should be the default checked radiobutton. So when the app starts it will be checked.
-
I think there are two ways to do it. One way is as Jmcilhinney said by removing and inserting new listitem.
The second way would be to flip the items' objects and than refresh them. I haven't tried...
-
I am glad to hear that :wave:
So back to the problem, what have you tried?
Also it would be good to know what kind of objects are saved in ListBox items.
-
I know 2008 but I also know 2010, and the question I want to ask you is this: what have you tried so far? Show as the code.
-
-
Try this
Private Sub RYAN3estimatesBindingSource_CurrentChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RYAN3estimatesBindingSource.CurrentChanged
If...
-
i can read them and enter the captcha into a textbox and hit a submit button
interesting!!! And how would you do that? You got to have some code that reads pictures. If you got that one than you are...
|
Click Here to Expand Forum to Full Width
|