Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

hello gurus! :)

 

i am new to VB.net and i am now exploring the some of the controls in VB.net :)

 

i have a problem with regards to autocomplete in VB.net 2005

 

in my textbox, i set the AutoCompleteMode to "SuggestAppend" and i have filled my AutoCompleteCustomSource.

 

the autocomplete works but with one problem.... i have a problem with regards to "/" character

 

in my attachment when you type "A"... and your succeeding characters is with "/" character... it will not display the rest of the characters...

 

for example, "A. VALVE 1/2 X 3/4" in textbox will display "A. VALVE 1/".

 

 

i would like to ask also about displaying "ENTER KEY/vbcrlf" in datagridview... my data has "enter key" but in datagrid... it only displays "square" character... how can i use the enter key value to display my information correctly in my datagridview?

 

for example,

 

Address Contact Person Telephone No

-------------------------------------------------------------------

#123 San Juan Street, Joe Smith 999-99-99

San Isidro City,

Cagayan, Australia

102520

-------------------------------------------------------------------

#143 San Lorenzo Street, Lea Smith 999-99-99

San Isidro City,

Cagayan, Australia

102520

 

How can i achieve this kind of display?

 

I hope that you can help me with regards to my problem... it really confuses me :(http://www.xtremedotnettalk.com/attachment.php?attachmentid=5669&stc=1&d=1246416888

Edited by monkeynote
Posted

hello guys!

 

i resolved the datagrid issue by setting the wrapmode = true in datagridview

 

but with regards to textbox autocomplete error... i cant find a way to display autocomplete "/" correctly

 

i hope that you can help me with my problem guys :(

  • 1 month later...
Posted

I once used keypress/textchanged event for text box to get customized autocomplete feature. Try it out. Only thing is that you may have to write more than 50 lines of code and get information from database many times during the process.

 

All the best!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...