Search results for query: *

  1. J

    Error occurs at the beginning

    My VB.NET program work fine from Win XP/7/8. However error occurs at runtime when this program is run in Windows server 2008 R2 standard and some form is opened. I added msgbox like following at the beginning of form_load event to investigate where this error occurs but error occurs prior to...
  2. J

    time value overflows

    Can you change my code directly? Still I don't get.
  3. J

    time value overflows

    I changed my code to fit the byte size like following but still error occurs. datarow("patient_id") = Convert.ToInt64(gszPATIENT_ID) datarow("exam_date") = Convert.ToDateTime(strExamDate) datarow("exam_seq") = nSeqNo datarow("save_datetime") = dtExamDate datarow("edit_datetime") = dtExamDate
  4. J

    time value overflows

    I've already read error message but couldn't fix error. If I remove(comment) following 2 lines, then no error occurs. ' datarow("save_datetime") = dtExamDate ' datarow("edit_datetime") = dtExamDate However I can't any problem this code. dtExamDate is DateTime type...
  5. J

    time value overflows

    Following code works fine with MS Access DB dtExamDate = DateValue(Now) Sql = "SELECT * FROM surgical_exam_history" adapter = New OleDbDataAdapter(Sql, cn) commandBuilder = New OleDbCommandBuilder(adapter) ds = New DataSet() adapter.Fill(ds...
  6. J

    FolderBrowserDialog in Russian Text

    I found the reason why it doesn't display Russian language even though I changed System Locale. I should install language package but this feature is supported from Win7 Ultimate or Enterprise version. After install language pack, language should be chosen in the display language option. Thanks!
  7. J

    FolderBrowserDialog in Russian Text

    How to change system culture in Windows7? I can't find that option in Control Panel>Clock, Language, and Region>Region and Language.
  8. J

    FolderBrowserDialog in Russian Text

    Hello everyone, I have a problem in making Russian version. I made my program to display in Russian text including menu, button, tooltip...... By the way, I have no idea how to change the text of the FolderBrowserDialog. I could change only message("Select the directory.....") with...
  9. J

    Error occurs when terminate Visual Studio 2010

    I open project opening solution file(*.sln) and just exit without doing anything but following error occurs. If I create folder on the desktop and copy project files and try open/exit but no error occurs. How do I solve this problem?
  10. J

    Changing MessageBox text

    I want to change the English text in [OK] button to the French text like Windows French version. I made my program display all texts in the menu, button, labels... as the preference language between English/French dynamically But I can't do in MessageBox. This is a kind of question regarding...
  11. J

    Changing MessageBox text

    I want to change Text of the OK, Cancel, Yes, No buttons in the MessageBox. Is it possible?
  12. J

    Multi Language Support

    My application program's default language is English. I want to make it support several language, for example, English/Spanish/Franch/Chinese/Russian. Default is English and change in the Preference window. How could I do this? Long time ago, in VB6 application, I have done this using Excel...
  13. J

    Error when open Excel file just in case regional date format is Bulgarian (Bulgaria)

    I try opening Excel file using OleDbConnection like following. cn = New OleDbConnection("Provider=Microsoft.jet.oledb.4.0; Data Source=C:\Test.xls;Extended Properties = ""Excel 8.0;HDR=Yes""") cn.Open() '<===== here error occurs! . . . This works fine in English (United States) or other...
  14. J

    Sort by Columnheader click

    I want to make listview to be sorted by columnheader click. I made code like this.Class ListViewItemComparer Implements IComparer Private col As Integer Private AscOrder As Boolean Public Sub New() col = 0 AscOrder = True End Sub...
  15. J

    Reference to caller form's public variable/function

    Thanks for answer. I'll try this.
  16. J

    Reference to caller form's public variable/function

    There' a form(formA) which calls another form(formB). formA calls formB like this. Using frm As New formB frm.ShowDialog(Me) End Using In formB, refer to formA's control like this. CType(Me.Owner, formA).Text1.Text = "AAA" How do I refer formA's...
  17. J

    Textbox update from other form

    I did as the JuggaloBrotha's way and work fine. Is there any hole in this way? I'm sorry but I can't figure out the difference between his way and yours.
  18. J

    Textbox update from other form

    Thanks! I fixed my code and work fine. Thanks for kind answer.
  19. J

    INSERT statement error

    Sorry for reply. Here is the data type of provider_schudule table of access db. provider_id : double day : long integer open_yn : long integer start1 : date/time end1 : date/time Can you make correct INSERT statement for this?
  20. J

    Textbox update from other form

    Here is 3 forms, form3, form1, form2. form1 has textbox. A. Start form3, form3 load form1, form1 load form2 and form2 try updating form1.textbox but failed. B. But start form1, form1 load form2 and form2 try updating form1.textbox and then textbox is normally updated. I don't know why B...
Back
Top