Jump to content
Xtreme .Net Talk

yewmeng

Avatar/Signature
  • Posts

    46
  • Joined

  • Last visited

Everything posted by yewmeng

  1. hi all i have some problem to check the value in a textbox im using this syntax if not char.isletter(textbox1.text) then messagebox.show end if lets said the user input 123 then the messagebox will showing but if the user input aaa11 the messagebox will not showing pls help me thx in advance
  2. hi all, how to check a textbox value is character? to check a textbox value is number using IsNumeric right? how about character? please help me thanks in advance
  3. try this dim listBoxItem as string ' item in listbox for each listBoxItem in listbox1.items messagebox.show(listBoxItem) next
  4. hi all, i have some problem to remove an item in a listbox when i select the item and press the remove button can anyone show me the code pls help me, thx in advance
  5. hi all in my windows form textbox1.text + button + dataset + report viewver sql server 2k + table i know how 2 binding the crystal report oreadi, but how about let say the user input an id in the textbox , when press the button the other attribute which is belong to the id will show in the report please help me, thx in advance
  6. hi all, i found this article from internet and i followed the steps to generate report in vb .net but not thing to show at the crystal report viewer. can u all check for me is there any losing step thx in advance walkthroughcrystalreport.zip
  7. hi all let say i have a decimal value 12.314 i just want to show 12.31 so how to convert it please help me thx in advance
  8. it working nice thx ya have a nice day
  9. hi all, i got some problem to get the value in a listbox dim i as integer for i = 0 to listbox1.items.count -1 messagebox.show(value in the listbox) next how code the value in the listbox pls help me thx in advance
  10. hi all, i m using vb .net n sql server 2k to develop a windows application i hav some problem to generate a crystal report this are my step to do it, please check for me if that have any wrong 1. File -----> Add new item -----> choose dataset 2. server explorer -----> drag the table to the dataset 3. File -----> Add new item -----> choose crystal report 4.Crystal Report Gallery display n i choosed blank report 5. right click the database at the right and choose add/remove 6. dialog database expert show n i expand the project data folder and ado .net dataset then i click at the icon server but i cant see any thing and the message display there no items found even i try data connection but still the same pls help me thx in advance
  11. hi again how about to obtain part of the string in the textbox when the textbox lenght = 3 lets say,input 123 to textbox1.text then how to obtain the value 3. pls help me, thx in advance!
  12. yeah both of the code also working good.... thx kas and heiko may god bless both of u ....
  13. it working good thx so much 1 more question how to check the value in listbox exist or not i have try this code in a button dim i as integer for i = 0 to listbox1.lenght - 1 if listbox1.text = "abc" then messagebox.show("aaaa") end if next but no messagebox pop up but in my listbox has the value abc
  14. yeah is working good how about this Private Sub txtQuantityIn_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtQuantityIn.KeyPress Dim keyAscii As Int16 keyAscii = Asc(e.KeyChar) If keyAscii = 46 Then MessageBox.Show("ajsdjha") txtQuantityIn.Text = "" End If End Sub i want to clear the textbox but cant. so how to clear it
  15. yeah is working but still have some problem coz the .net version i have is recognise , as decimal point instead of . so i want to clear the . and replace , when user key in . i have try the code u posted at here but how to clear the .
  16. hi all my problem is how to insert a value to a textbox length for example i want to insert string "a" when the len(textbox1.text) = 3 please help me thx in advance
  17. just found it sorry to ask the silly question heiko and Robby, thx so much :D
  18. sorry im not understand what did u trying to tell me. what is ide? and is that the combobox u mention is above the properties. please elaborate more thx in advance
  19. hi all how do use key press event? for example i want pop up a message box when i key in 1 in my textbox. i found some code at internet Private Sub txtKeyPress_KeyPress( _ ByVal sender As System.Object, _ ByVal e As KeyPressEventArgs) _ Handles txtKeyPress.KeyPress but how i get this code? i need 2 type manually ?
  20. hi all i got some problem in my mdi form lets say i have 2 form form 1 ----> textbox1 + button1 form2 ----> mdi parent + statusbar i declared public shared aaa as textbox coding in button1 dim form2 as new form2() aaa = texbox1 form2.show coding in form2 load event dim form1 as new form1() statusbar.panel(0).text = form1.aaa.text this code is working and i can see the value in the statusbar when form2 loaded but if i put the following code at form2 load event if form1.aaa.text = "hello" messagebox.show("hello") end if when i run it n i key in hello in textbox1 n click button1 then the mdi form show and i can see the word hello in statusbar but no messagebox popup. i try this code at a new project and do not set the form2 as mdi parent and the code is working and the message box is pop up but i need form2 as mdi form pls help me!!! im stuck:confused:
  21. is working good now i have another problem lets say i have a column Date in my table and 3 rows of record for example 22/01/2003, 24/02/2003/, 31/01/2002 im using sql statement "select max (Date) from table" to show the latest late. The date return by this statement is suppose to be 24/02/2003 rite? but the result is 31/01/2002 after i key in some different date, i found that the sql statement will the select the maximum value of the day only. so how i show the latest date? pls help me!!! :(
  22. hi all i got some problem 2 save my date value to the database im usinng this command in vb .net dim todayDate as DateTime = DateTime.Today i assigned todayDate to a textBox and i can see the date of today. but after i save it to the database the value become 20/02/2004 0:00:00 y this happen? pls help me i am stuck!!! thx in advance.
  23. thx its helpfull:D
  24. hi all im newbies in asp .net i need the data services to perform the database command like add, save and delete. what is data services ? and how i get it? thx in advance!!!
  25. hi all i am newbies in asp .net i have some picture in my hard drive i need to develop a web application to browse the picture in the hard drive and save it to the sql server i know in windows form for vb .net we can using the save file dialog. but how about in asp .net ? i really no idea can u all show the coding to save the picture too thx in advance
×
×
  • Create New...