Search:

Type: Posts; User: levanduyet

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Re: Security when we use ADO.NET connecting to Ms Access database

    Hi tg,
    Tks for your reply.
    I raise this question because someone has told me that we can avoid shared full folder by using
    _ Special connection string.

    I do hope that someone knew that.

    Tks,...
  2. Security when we use ADO.NET connecting to Ms Access database

    Hello,
    When we use ADO.NET connecting to the Ms Access, the problem is that we have to set the folder shared full.


    connection =
    new OdbcConnection("Driver={Microsoft Access Driver...
  3. Re: set value for the control from the other project

    Hi jmcilhinney,
    Agree with you, but this is the project in my class.


    LVD
  4. Re: set value for the control from the other project

    Hi Evil_Giraffe,

    If I declare as following in the frmSubForm:


    var frm = new frmMain();

    Then I can access other component on this form. But the problem is that I want to change the...
  5. Re: set value for the control from the other project

    Hi jmcilhinney,

    How can I set the text for ToolStripStatusLabel: lblStatus in the main form: frmMain in the Proj_1.
    Following link is my two project files....
  6. Re: set value for the control from the other project

    The error is as following:


    LVD
  7. Re: set value for the control from the other project

    Hi jmcihinney,
    in Proj_2 referencing Proj_1

    LVD
  8. set value for the control from the other project

    Hi All,
    I have 2 project in the same solution.

    Proj_1
    Proj_2



    In the Proj_1, I have a frmMain form with the control label statusbar: lblStatus
  9. Replies
    1
    Views
    1,241

    Add data to the text file not working

    Hi All,
    I have wrote the following code, but it does not work correctly.
    This code will be called to add the additional text to the text file (*.txt).
    _ fullPath: the full path of the text file....
  10. Replies
    5
    Views
    672

    Re: Avoid showing VSTO - ENU

    Hi LaVolpe,

    Thanks for your information.

    LVD
  11. Replies
    5
    Views
    672

    Re: Avoid showing VSTO - ENU

    Hi RhinoBull,

    I need to use the MouseWheelFix add-in.

    Do we have another way?

    LVD
  12. Replies
    5
    Views
    672

    Avoid showing VSTO - ENU

    Hi All,

    I have used VB6 for long time. Now, I install VSTO 2010 Ultimate on my PC. Now, every times I open VB6, then the following screen show:
    ...
  13. Replies
    9
    Views
    1,428

    Re: Importing Excel into Access using VB

    Depend on which Excel version that installed on your PC, then You can only work with which this version only.

    LVD
  14. Replies
    5
    Views
    1,621

    Re: Check control is CheckBox

    Hi LaVolpe,
    Thanks, the code is ok now.

    LVD
  15. Replies
    5
    Views
    1,621

    Re: Check control is CheckBox

    Hi Doogle,

    I have used MS Form 2. Can you try with CheckBox in MS Form 2. Tks.

    http://i2.photobucket.com/albums/y4/levanduyet/MSForm2.jpg

    So strange? When I debug, there is no control with...
  16. Replies
    5
    Views
    1,621

    Check control is CheckBox

    Hi All,

    I have put one CheckBox on the form.

    http://i2.photobucket.com/albums/y4/levanduyet/checkbox.jpg

    I have wrote a procedure to change the back color of the control: Label, CheckBox as...
  17. How to check the record was locked before doing other thing

    Hi All,

    I have create a topic at: http://www.vbforums.com/showthread.php?t=667106

    I have wrote a program in VB6. I have used Access as database. As their suggestion, I have move my database to...
  18. Replies
    9
    Views
    1,369

    Re: How to check who is using the record

    Hi Sapator,

    I use the UPDATE in my visual basic 6.
    I want to know that:
    _ When I UPDATE, If other user is UPDATING this record, then the program will inform the user and exit.
    _ Same as with...
  19. Replies
    9
    Views
    1,369

    Re: How to check who is using the record

    Hi Hack, sapator,
    I have moved to sql server 2008 (express).
    I have tested, my program run ok.
    Then how I should check who lock the record, before I update the record?

    Tks,

    LVD
  20. Replies
    9
    Views
    1,369

    Re: How to check who is using the record

    Hi Hack,

    Thanks for your suggestion. Do we have any other solution for Access database?

    LVD
  21. Replies
    9
    Views
    1,369

    How to check who is using the record

    Hi all,

    I have wrote a program to control stock In/Out. I have use Ms Access as database.
    Some times, there are two (or more) users update in the same time, then I have to open the Access data...
  22. Replies
    6
    Views
    881

    Re: Save Ms Word, Pdf document

    Hi Spoo,
    This project (visual basic 6) will manage the documents (in Word or Pdf format).
    These files are on:
    _ Hardisk
    _ LAN

    LVD
  23. How to read/write program database files (*.pdb)

    Hi all,
    I have search, but could not find out how to read/write program database files in visual basic 6.
    Any one know about this?

    Thanks,

    LVD
  24. Replies
    6
    Views
    881

    Re: Save Ms Word, Pdf document

    Hi Spoo,

    I would like to write to Visual Basic 6.0 program to store the documents. These documents are in Ms Word format or Pdf format.

    Any one has do this project before? Any suggestion.
    ...
  25. Replies
    6
    Views
    881

    Save Ms Word, Pdf document

    Hi all,

    Do any one know how to save Ms word and Pdf document into Access database and view it later?
    And in this case, what kind of the field that we should define?

    Thanks,

    LVD
  26. Re: Could not use file Excel 2003 with macro in Excel 2010

    Hi All,

    The error was shown even I have disable all marco.

    I have upload to Mediafire. Anyone help me.

    http://www.mediafire.com/?zpikremi4xqyw3w


    Thanks,
  27. Re: Could not use file Excel 2003 with macro in Excel 2010

    Hi westconn1,
    Thanks, this file I have used many years. I don't thing that because of the code ( I have checked)
    I think that because of Excel version.

    I will post the code later. (but I assure...
  28. Could not use file Excel 2003 with macro in Excel 2010

    Dear All,

    I have written one tool in Excel 2003 by VBA.

    But when I open it in Excel 2010, the error show:

    http://i2.photobucket.com/albums/y4/levanduyet/vba_err1.png

    After clicking OK...
  29. How can I make a program running in 30 days

    Dear All,

    I have my own program. How can I write the code to make sure that the user can use 30 days only?

    Tks,

    LVD

    PS: Do not use Setup Factory or others.
  30. Replies
    51
    Views
    39,160

    Re: SendKeys under Windows Vista

    Hi All,

    I also got this problem with Windows 7.
    So, I use the code from http://vb.mvps.org/samples/SendInput, it's ok.

    LVD
  31. Resolved - How to export data from VsFlexgrid to Excel

    Dear All,
    I have a problem that:
    _ When I use


    vsfgSource.SaveGrid sFullPath, flexFileExcel, 3

    It does not support unicode.

    _ I have to write one sub to export data from VsFlexGrid.
  32. Re: How to avoid showing child form

    Hi MartinLiss,
    Yes, I have ref to control on the form. I have adjust the code then it's okay now.
    Tks,

    LVD
  33. Resolved - How to avoid showing child form

    Dear All,

    I have one problem as following:
    I have one MDI form in my project. When the user click one menu, I want to check any errors when the form load or not. If there are not any error then I...
  34. Re: [VB.NET 2005] A Simple Class for Getting Hardware Info

    Hi,
    How can I convert this class to Visual Basic 6.0?

    Thanks,

    LVD
  35. How to creat unicode menu with SetMenuItemInfo function

    I have found out the function that I can use for Vietnamese menu.



    Public Sub SetUniMenu(sCaption As String, mnu As Menu, ByVal mnuItem As Long, _
    Optional ByVal...
  36. Re: How to create the menu w/o the code as the attached file

    Hi koolsid,

    Thanks, I have found out how to create this menu and hide it.
    1. Insert the MS Excel 4.0 Macro
    2. Write the code here. We can use AutoOpen to do something when this workbook open
    3....
  37. Re: How to create the menu w/o the code as the attached file

    Hi koolsid,
    Tks for your explaination. Could you explain futher as I think your explaination about how to create the menu with ADD.MENU() does not break the forum policy.
    About this file, it is the...
  38. Re: How to create the menu w/o the code as the attached file

    Hi,
    I just want to find out, how we can create the menu like this file. This file has no code to create the menu.

    OTW
  39. Re: How to create the menu w/o the code as the attached file

    Dear Koolsid,
    Tks, I have uploaded again.

    OTW
  40. [Resoved]How to create the menu w/o the code as the attached file

    Dear All,

    I have this file for long time. I do not know how can we create the menu w/o the code like:


    Application.CommandBars(1).Controls.Add

    Pls see the attached file.

    OTW
Results 1 to 40 of 73
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width