Search:
Type: Posts; User: CodeDabbler
Search:
Search took 0.13 seconds.
-
Would the Observer Design Pattern work in this case?
You would not have to loop through anything, just handle a notification when the state of an object changes
-
This Code Bank submission from @jmcilhinney is...
very useful in projects
excellent to learn from
able to solve all of the issues you're trying to handle
Link>>>...
-
Totally get this...
unfinished < done
@tg-
Thanks, I see how organization would depend on shop conventions.
-
To all,
Thanks for your insight thus far, I really appreciate it!
@Sitten-Spynne-
Thanks for your description/explanation/rant.
I code as a hobby, so I lack real-world experience with respect...
-
If I have a project with several classes, it seems to make sense to author them and contain them all in one solution.
This seems to keep thing nice and tidy, but reusing a single class in other...
-
You can...
MessageBox.Show(txtName.Text & " " &_
lblTotalCost.Text, "P.T.'s Order Total")
-
You may also want to look at the BlankMode Property which accepts 3 Enum vals {Accept|ConvertToZero|Reject}
If set to Reject, you are unable to leave the control if its value it blank.
-
I am no expert in coding <as my username would imply> but i would assume they are doing this at a lower level [less overhead] with a language like C or some such...
-
Have you looked at this from the code bank...
http://www.vbforums.com/showthread.php?517116-High-Speed-Syntax-Coloring&highlight=high+speed
-
I really am attempting to help you, but you are not answering the question.
What IS lblTotalCost?
Not what do you think it is or what you want it to be.
It would appear that from your naming...
-
Is it a variable, property or control?
-
In your code, what is lblTotalCost?
-
As a "backdoor" workaround...
I can start a new project
Open the location of the DLL
Drag the DLL to the Tool Box surface
Use as control as normal
The only thing that seems to be missing it...
-
I created a UC in VS2010 Pro.
I can add it to VS2013 Community and VS2015 Community as described.
I CAN add yoiurs in VS2013 Community, but not VS2015 Community.
I can add a reference in the...
-
I have, but it just does not show up in the toolbox.
It works in VS 2010Pro as described but in VS2015 Community.
-
I love this control and have used it in several projects to date.
However, I am unable to add it to the ToolBox in VS2015 Community edition.
Can anybody offer any suggestions?
Any help would be...
-
There is no magic.
You will have to write a class or function that takes the DMS input and parse to DD as the output.
-
This can be avoided/clarified with the use of Aliasing...
Imports SB = System.Text.StringBuilder 'alias the import
Public Class Form1
Dim count As String = 0
Private Sub...
-
It works as expected even with controls on the form.
BUT, if a button has focus and you hit ENTER, the default behavior is for the button to perform the Click event, you may need to move focus after...
-
This works just fine for me in 2010, can you test on your system?
Private Sub Form1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
Select...
-
You did not say what the problem is, simply that it does not work.
I'll assume that once you click print on the print dialog, it pops back up again.
in your code for the printing you have this...
-
if you are doing the printing from excel you can do this...
Application.ActivePrinter = "PrinterName"
oSheet.PrintOut()
Where "PrinterName" is the name of the printer you want to use.
-
Well, to be honest, I thought I was following your instructions from a post I read quite some time ago.
But as you've laid it out before me, I see that I've misinterpreted your wise instruction....
-
What is the best practice for this...
In a module I have an Enumeration...
Public Enum Test As Byte
one = 1
two = 2
three = 3
End Enum
-
Thanks to all.
Using the new line character & the delimiter will work.
The only case that it will not will be if the delimiter is the first character of the string, but I do not think this is...
-
I have a String that contains several lines.
I would like to split the string using the split function, but only when the split character is the first character of a given line.
Is this possible?...
-
Are you talking about a textbox? As you do not enter text into a checkbox.
As for the sponge question, it would be shallower, because they would not be there to displace water.
-
-
I have to be honest, I do not fully understand your question, could you provide an example of what you mean?
If what you mean is that you need a place holder for a position that is sometimes nothing...
-
Something like this...
Dim field1 As String = "X"
Dim field2 As String = "Y"
Dim field3 As String = "Z"
Dim field4 As String = "Reset"
Dim Comma As String = ","
-
You really should use the System.Text.StringBuilder Class for this.
-
I'm Guessing that you do not have Option Strict turned on...
-
You should do this as as cost1 is not type String ...
TextBox12.Text = cost1.ToString
What is the default value for cost1?
Add a Case Else to catch anything that does not fall into the Cases...
-
Webster says...
di-a-logue noun
2a: a conversation between two or more persons; also: a similar exchange between a person and something else (as a computer)
-
Sub main()
Dim HType As String = "test"
Dim NoItem As Integer = 123I
Launch(HType, NoItem)
End Sub
Sub Launch(htype As String, noitem As Integer)
...
-
Thanks for your help, I appreciate it! :)
-
The Dictionary will not be very large, so I figured that I would persist it in the form of a text file and read on start-up.
That way it would also be extensible.
The original file will be a...
-
I will be getting information from a GUI.
Building that information into usable Strings and storing them in a Dictonary, whose Key will represent a "Token" String.
I will read a text file line by...
-
You are welcom:)
Have fun!
-
That is why a calculator is harder to do than it appears on the surface.
MSDN has several walk throughs that get you going on the basics.
As you start out, you make hundreds of projects that do...
|
Click Here to Expand Forum to Full Width
|