Search results for query: *

  1. B

    Question Combine String

    Hi, Does anyone know how to combine string as below? Table_Hobby: C_Name Hobby Peter Sleeping Peter Play Games Peter Badminton Amy Sleeping Outcome: C_Name Hobby Peter Sleeping/ Play Games/ Badminton Amy Sleeping
  2. B

    Exporting Dataset to Excel

    This is what I got: XslCompiledTransform = Type XslCompiledTransform is not defined XmlReader.Create = Create is not the member of System.xml.XmlReader XmlWriter.Create = Create is not the member of System.xml.XmlWriter
  3. B

    Exporting Dataset to Excel

    Hi cjard, Yes, words are highlighted by wiggle lines. I've imported System.Data, System.IO, System.Xml and System.Xml.Xsl but those wiggle lines still exist. What should I do to fix this?:confused:
  4. B

    Exporting Dataset to Excel

    Hi cjard, I'm trying to export a dataset to excel as well, but I found problem when using the below codes: The program highlights all the words begin with "Xsl"...by the way, where should I put this code? In the front of my code? or do I need to open a new form for that? or these code is...
  5. B

    Inserting a dataset to another

    Hi cjard, Thanks for your reply. Can I just easily use the merge function and 2 datasets can then be combined by adding the excel dataset to the database one?
  6. B

    Inserting a dataset to another

    Hi there, I've imported a set of data from Excel sheet to a dataset in VB.net and would like to update them to the database. Instead of inserting rows by rows, how can I add the new dataset to the the dataset of the database? It would be great if someone can help me solve this problem. Many...
  7. B

    It takes time when loading a form

    Yeah....thanks guys!! I got the reason below: under Form Load, I tried to fill in all related dataset...while the database is getting larger...therefore it'll take longer loading time...So, what do you think I can solve this problem? :p
  8. B

    It takes time when loading a form

    Hi, I got a problem when loading another form ... from my 1st form. I'll need the 2nd form to control the 1st one (by calling one function of the 1st form), therefore, I've the below coding when opening the 2nd form: Dim A As New form2(Me) However, everytime I open the 2nd form, it takes...
  9. B

    WinForm shut down automatically without error notice

    Hi all, When there's errors in the program, vb.net will highlight the error row with green color and a dialog comes out....but my Window Forms shut down automatically once error found...Can anyone know how to fix it?? Many many thanks in advance!!!!
  10. B

    No more Dialog Box??

    Hi jmcilhinney, Thanks for your reply. But the program does not highlight errors now....when there's any error,s the window form closes itself...without any error message appears...><" I feel hard for debugging....pls help!!!:(
  11. B

    No more Dialog Box??

    Hi, I think I've wrongly pressed the "continue" button last time when I saw a Microsoft Visual Studio Debugger (Exception Thrown) Dialog Box :eek: ....Can anyone pls tell me how to reset the default setting of this error configure? :o Many thanks!!!
  12. B

    Module Failed to read Form's textbox

    Hi all, So...I'll distribute all the function back to its related forms...and now, I would like to know the function of Module...can Module help me when working on the program? :)
  13. B

    Module Failed to read Form's textbox

    hey guys... Many thanks for your sharing...it seems that I need to return to the basic of VB.net = =' I've read thru the OO artical but I am not sure if I could get the message from there...In fact, I'm working on a program and designed to put all functions under Module (instead of under each...
  14. B

    Module Failed to read Form's textbox

    Hi jmcilhinney, Thanks for your reply. However, I am not sure if I'd understand your meaning. Would you please refer to my attachment and let me know the problem? Many many thanks!!!:cool:
  15. B

    Module Failed to read Form's textbox

    Hi, I've a form in my vb.net named "Form1", I would like to know if I can get a textbox value from this form by using the Module. Here below is the code of my Module: Module Module1 Public myForm As New Form1 Function testing() MsgBox(myForm.TextBox1.Text) End Function End Module Once I...
Back
Top