|
my be you try like this
arr = split(stringToRead,urDelimeter)
|
|
|
|
|
Hello Evrybody...
I have a problem and I need help , I want to make a button to prevent writing in Textbox without changing its Backcolor or Forecolor and another button to open writing in the same Textbox without also changing the 2 previous colors .
thanks for all
-- modified at 14:28 Saturday 20th January, 2007
OK
when you use
Textbox1.Enaled = False
that will change the Font color and the back color of the textbox
I want to prevent writing in textbox without changing the font color or the back color
that is the problem
-- modified at 14:29 Saturday 20th January, 2007
soly
|
|
|
|
|
What do you mean? i don't understand it, please explain it more spesific.
|
|
|
|
|
I can't really understand your question, but you might try TextBox.Enabled = False .
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
Handle the keypress event of your textbox. If you've turned off input, then set ea.Handled = true in the event, this rejects all keypresses.
The user interface you're designing is quite user hostile. Windows shows a textbox differently if it won't work for a reason.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Ok then, if you want to do so, these are the way:
- set the accepttab property of the textbox into False.
- And also set the acceptreturn property into false, too
- Add a code that move the focus into another control, like a cancel button when user click on the textbox.
PS: You can't avoid backcolor and forecolor of the textbox changed while the control is disabled. If you don't want it, so don't disable the textbox.
Experience is the best teacher
|
|
|
|
|
helo developers. I wanted to develop simple word processor using local languages. I have tried. But I couldn't finish. If you can help me, please.
thanks.
It is me.
|
|
|
|
|
With what???? Again, you haven't said anything about the problem you're having.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
what am saying is that my local languages is not English. It is called Amharic it is in Ethiopia. I just wanted to develop simple word processing using this language. I started creating menu. But I couldn't. It is displayed as junk. If you can give some clue , please. And also any useful idea and/or sample project on how to create simple word processing using visual basic 6. Thanks in advance.
It is me.
|
|
|
|
|
I haven't used VB6 in about 6 years. It's a dead language, no longer supported by Microsoft.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Helo there. I just download the code which says developing simple word processor and try to run. But I couldn't. what should I do. Please help.
It is me.
|
|
|
|
|
Have you check the code? there are maybe some mistyped word or the code version are not same as your compiler. If it's a vb 6.0 code and you use vb2005 you can upgrade the code using upgrade tool.
|
|
|
|
|
With your lack of a description of the problem, it's impossible to tell you whats wrong.
Go to where you downloaded the code from and see if there is a forum or some other means to contact whoever wrote the code.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Do you have a good and proffessenal sample code(s) of using Treeview control in vb.net?
Best regards
Mansour
|
|
|
|
|
Sir/Madam,
I am facing the date query problem .Actually , I am using the following query to get the records which are present in between two dates.
select * from table where field between 12/12/2000 and 10/1/2001
* Field is the date type in the database.
Please help.
Thanks and Regards
Pankaj
|
|
|
|
|
I don't understand what your problem is. What is it you are having a problem with? My only advise is that you should use ISO format dates because there are culture neutral.
|
|
|
|
|
If I've correctly understood your question, I think you should use following structures:
select * from table WHERE field >=#12/12/2000# And field <=#10/1/2001#
or
select * from table WHERE field Between #2000/12/12# And #2001/10/01#
|
|
|
|
|
Thanks You Sir.Thanks for ur kind attention.problem is solved .Ur query is working.
Can , I send the mail programically in vb.net (Window Application).
If possible please send a sample code link.
Thanks and Regards
Pankaj
|
|
|
|
|
refering you to your post[^]
|
|
|
|
|
Sir/Madam,
Can , I send the mail programically in vb.net (Window Application).
If possible please send a sample code link.
Thanks and Regards
Pankaj
|
|
|
|
|
you can try this:
Try
Dim oMessage As MailMessage = New MailMessage
oMessage.Body = "MESSAGE COMES HERE"
oMessage.To.Add(TO_User_Email)
Dim oFrom As MailAddress = New MailAddress(FROM_User_Email)
oMessage.From = oFrom
oMessage.Subject = "SUBJECT COMES HERE"
'oMessage.IsBodyHtml = True
'oMessage.Priority = MailPriority.Normal
Dim oSMTP As SmtpClient = New SmtpClient("Localhost")
oSMTP.Send(oMessage)
Catch ex As Exception
End Try
|
|
|
|
|
forgot to add :
<br />
Imports System.Net.Mail<br />
|
|
|
|
|
Sir/Madam,
It is for Window application or Web application?
Thanks and regards
Pankaj
|
|
|
|
|
Both.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi all friends
I want to work with Treeview Control in one program, but I have some problems:
1- Are keys of all nodes unique like VB6? I think only children of one node should have unique keys.
2- How can I set one treenode variable to one node with special key?
Many thanks
Mansour
|
|
|
|