|
How can i post only two special characters in textbox by using VB.net, Can u help plsssssss
|
|
|
|
|
If your subject is the same as your text, the subject is way too long, or the text way too short. Or both, as in this case.
Don't write everything using bold.
You have to be more specific for anyone to be able to help you. What do you mean by "posting" characters in a textbox? What is it that is special about the characters? Why the limitation of two characters?
As you state that you want to use VB.NET, why didn't you post the question in the VB.NET message board instead?
---
b { font-weight: normal; }
|
|
|
|
|
How can i post only two special characters in textbox by using VB.net, Can u help plsssssss..
S.R.prasanna
|
|
|
|
|
I am not sure what the special characters are. Maybe you could use a MaskedTextBox or a MaskedTextProvider.
For a simple fix you could handle the key press event. In my app I just wanted post code data so I limited the MaxLength property of the post code text box and handled the key press event not allowing any chars others then numeric chars to be entered.
<br />
Private Sub PostCodeTextBox_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles PostCodeTextBox.KeyPress<br />
If System.Char.IsControl(e.KeyChar) Then<br />
Exit Sub<br />
End If<br />
<br />
Dim validChars As String = "0123456789"<br />
<br />
Dim ch As Char<br />
ch = e.KeyChar<br />
<br />
If validChars.LastIndexOf(ch) = -1 Then<br />
e.Handled = True<br />
End If<br />
|
|
|
|
|
Hi i'm trying to build an ftp service which will poll a unnix machine to bring the files back to a w2003k machine. i'm doing it in vb.net/1.1 using vs2003, any tips or pointers getting started on this as i don't know where to start on this one much!
thanks
dan
Never get off the boat!
|
|
|
|
|
This should help you get started.
Link
Mike Lasseter
|
|
|
|
|
cheers Mike, that looks a winner.
Dan
Never get off the boat!
|
|
|
|
|
Hi
is there anyone how can tell me how to remote a windows form? it means that the server is a form that I would like to get it when establishing a connection,.
thank you for you help .
hello
|
|
|
|
|
I currently use the .net framework bootstrapper with my app to check if the framework is currently installed on the client machine, that works well and everything. Now what I need to do is somehow include the msde via bootstrapper, so that the msde can also be installed.
Does anyone have any idea how to do this???
Thanx in advance
He who laughs last is a bit on the slow side
|
|
|
|
|
|
hi,
can someone help me in providing some tutorial links related on how to create or develop an application in commerce server 2007 using visual studio 2005.
iam a beginner in development of commerce server applications using visual studio 2005,Please can anyone help me
|
|
|
|
|
Hello All,
I am using .NET Framework 1.1. I am working on a web application. I have a 3rd party dll used in that. Now my project is running fine on my local machine. But when I setup it on the server it gives CS1704 error (An assembly with the same simple name 'SomeName' has already been imported. Try removing one of the references or sign them to enable side-by-side.)
Now I have only one reference to that assembly in my project.
Any suggestion ??
Thanx in advance
Mubashir
|
|
|
|
|
Hi All,
My task is to design a MultiColumnComboBox.I tried a lot to get help
using Internet.But I haven't Get any Solution for It.
Please Suggest me In designing MultiColumnComboBox.
Thanks In Advance
Nagaraju
|
|
|
|
|
I was wondering whether anyone knew how to go aobut getting a list of all of the keys on the keyboard, like in programs which have comboboxes which allow you to select the keys you're going to use for your shortcut.
I'd appreciate any help you can offer. preferably in j# but anything else is still appreciated
Thanx
|
|
|
|
|
Has anyone used the CSLA framework as is? What has been your experience with it? I am trying to figure out whether to create my own framework, which would consist of a subset of the features in CSLA, but not the whole thing (namely remoting) or use it as and extend some functionality to it.
If anyone could provide feedback on their experiences of CSLA.Net I would grately appreciate it.
Thanks in advance.
Mike Lasseter
|
|
|
|
|
Not used it. Only read about it.
Kevin
|
|
|
|
|
Hi,
With .NET 3.0 and Vista, i hear that MS is giving us an almost completely Managed API sub-system of Windows OS (maybe on top of or side by side along with the Win 32 sub-system). Is this correct? I could not find any specific mention about thin anywhere in MS site.
Also is it true that .NET 3.0 will only support Win XP SP2 and Win 2003 and above (i.e. Vista, etc) and not Win 98/NT/Win 2K. If that is true (i hope not) then how do we deploy .NET 3.0 apps for Win 98 through Win 2000 users?
Thanks.
|
|
|
|
|
code_wiz wrote: With .NET 3.0 and Vista, i hear that MS is giving us an almost completely Managed API sub-system of Windows OS
Not true. .NET 3 is not a replacement for Win32. .NET 3 is .NET 2 with entensions added. These are Windows Presentation Foundation (WPF), Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), and Windows CardSpace.
code_wiz wrote: Also is it true that .NET 3.0 will only support Win XP SP2 and Win 2003 and above (i.e. Vista, etc) and not Win 98/NT/Win 2K.
True, unless the requirements change at the final release, but I doubt they will.
code_wiz wrote: If that is true (i hope not) then how do we deploy .NET 3.0 apps for Win 98 through Win 2000 users
You don't since those O/S' are not supported. You'll have to use .NET 2 are lower depending on what you're targeting.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I knew this naming decision would cause problems. When it was still called WinFX it was something distinct and didn't cause people to think they needed to upgrade. Not that you need to upgrade from .NET 1.1 to 2.0 if it's working, since you can install the runtimes side-by-side. You can still install .NET 1.1 on Windows Vista Beta 2.
|
|
|
|
|
Mike Dimmick wrote: I knew this naming decision would cause problems.
The problems have just begun. Think of how confusing it will be for "decision makers" at companies when they need to decide if they want to use .NET 3 or 2. Well, 3 is 2, but 2 is not 3. Hmm...
|
|
|
|
|
:-DDear All,
Did .NET Framework Designers used Design Patterns for their Base Class Libraries? If yes, How? And what are those patterns and especially
in which BCLs?(Mainly my interest is in C#). What are the Top 10 Design patterns used in top 50 BCL(.NET) out of 23 GOF patterns??
Raihan Masud
Member of ACM
Member of IEEE Computer Society
Member of CodeProject
-- modified at 8:23 Sunday 6th August, 2006
|
|
|
|
|
Raihan Masud wrote: .NET Framework Designers used Design Patterns for their Base Class Libraries?
Of course!
Raihan Masud wrote: If yes, How?
Various patterns are used throughout the entire BCL.
Raihan Masud wrote: And what are those patterns
These are questions that you'll have to ask the Design Team. I'm willing to bet that it's more than just a few different patterns in a few different places.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hey folks,
what is the fastest way to have a clean fresh System.IO.MemoryStream each time i write into it?
one way is to make a
ms.SetLength(0)
before i write in to it. Another way is to create a new one each time. i think this two methods aren't very fast. is there another posibility to clear a stream?
thanks, bernd
|
|
|
|
|
No, there isn't. If you want something faster, perhaps you should use something other than MemoryStream. Why the need for speed?
---
b { font-weight: normal; }
|
|
|
|
|
thanks guffa,
speed is always nice to have and what's faster, setting the length to 0 or create a new one?
|
|
|
|