Jump to content
Xtreme .Net Talk

sjchin

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by sjchin

  1. RE:Dll Return Error while post on other form!!Pls Help I have make an dll using user control for my project. While i pass to other colleague, sometime the project will appear eror message "Object Reference Not Set to an Instance of An Object", may i know why it appear this error? While i open new project in my own pc(which using for develop dll), it working fine, if my colleague open new project, it won't return error. May i know what this problem is?
  2. How about Can i do it in DataSet? Can it support 2 connect SQL at the same time in 1 connection?
  3. May i know if i want to used 2 connect SQL at a same time,which shall i used? I try DataReader, when i try to connect other datareader, it appear error and ask me to close my 1st reader before open 2nd, may i know what the problem?
  4. May i know what different between datareader and DataSet? When to used these 2? As i know both also working fine in connect to DB.
  5. Can we open new reader while i doing loop of 1 reader? example : oDataReader = oCommand.ExecuteReader() While oDataReader.Read() 'Loop though data ' At there contain read to other sql statement to retrieve info End While
  6. May i know any API or command can get title bar height ? Normally we can set different FormBorderStyle for what we need, does who know how to calculate it's height? ( I dun want the form height, just only title bar height) thanks.
  7. is on coding stage, not design stage
  8. Assume i have 2 form(formA and FormB), both also contain it's own Listview, My question is in FormA i have set all the columns, add data in the listview, do we have any command to set FormB listview same as FormA listview by click 1 button instead to run again the routine to add all columns and header to listview in FormB?
  9. May i know if i develop a user control, which will call to other form, how can i assign value back to existing user control? Assume after calling to show other form from user control, i wish to run a function or sub in user control, may i know how to do that?
  10. So does any way can i used for display multi column purpose for Combo when user click drop down ? Do any sample or ocx allow me to do that?
  11. In our Com components in Vb.net, we have FM20.dll, which contain Microsoft Forms 2.0 ComboBox, you may check it out.
  12. Who know how to used vb.net microsoft form 2.0 - Combo ? It seem like different from default combo. Does it support multi columns? if yes, can show some sample? thanks you and wait for prompts reply.
  13. my problem is the click on combo drop down, instead appear 1 columns, i want 2 or 3 columns. Example : Text1 Text 2 Test 3 Not Text1 Text2 Text3 Beside this, as i know in VB.net contain Combo Version 2, may i know how to used it? Thanks
  14. Hi guys, may i know any way make the combo in VB.Net contain multicolumns when user click on drop down? Is there any OCX or components can do it in VB.NET?
  15. by the way, the object also call as ToolBox, as what Vb.Net have currently
  16. yes, the left side of Vb.Net, which allow us add tab in . May i know where can I call this function?
  17. RE:ListBar in VB.NET Hi guys, May i know that any ListBar in VB.NET? If not, any 3rd party is good for it?(wish is free :>) Thanks and wait for prompts reply.
  18. divil, Thanks you for your help. Beside this, I still have other question, wish you can do me a favour. :> In VB.Net, beside using showdialog, how can i know which form is calling from which form? Example: Assume i have 2 form, Form1 and form2 Form1 contain textbox1 form1 contain sub routine call setValue (This routine will set textbox value) In form1 ,i will write: Dim f2 as new form2 f2.show In form2, i wish to call form1 value, but if i using : dim f1 as new form1 f1.setvalue f1.show it will appear new form1, which not overwrite the exisitng form1, so may i know how to solve this problem? using showdialog will force user to close form2 before goto form1, i want allow user to click on form1 instead close of form2. Beside this,does any command can make the form2 show only once form? I have try click on the form1 button twice, it will appear 2 form2. The way i using is '--> on click button of Form1 dim f as new form2 f.show Thanks and wait for prompts reply :>
  19. RE: How to call Refresh Form? Hi guys, If i have 2 form,name it as Form1, Form2. In form1, assume that it display summary of all records, when i call form2 to update somthing and will back to form1, how can i call form1 to refresh my result? Assume that in form1 i have a sub routine,which used to reload all my result to listview. How can i call form1's sub routine in form2 to reload my listview? Assume that form1 is show at the back of form2. Beside this, how can i do a call new form2 and not allow it reopen again? In VB6, we have form2.show vbmodal, so what can do in vb.Net? Thanks and wait for prompts reply.
  20. Derek Stone, Thanks, It help for me very much . Clear in mind. Beside this, May i know if we have 3 button of insert, update and delete in a same form, when user click on each 1 will do different transaction, may i know do i need to open SqlConnection when i start load my form and close on exit, or when i do a transaction just open the SqlConnection and close when the transaction is finish ? Which 1 is faster and preferable ? Thanks and wait for prompts reply.
  21. Hi guy, I am fresh in VB.net. May i know how to execute SQL string in VB.NET to MsSQL ? Normally what i did in VB6 is using Connection.Execute "insert into table values ...', so how about in VB.NET? The SQL String maybe in Insert,Update or delete. Thanks and wait for prompts reply.
×
×
  • Create New...