Loading...
 
Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


Error adding language select dialog

Date: 12/04/2016 11:59:42 a.m.
Vers: 6.01.0015
Win: Microsoft Windows NT 6.1.7601 Service Pack 1
VS: 12.0.0.0
Excep: System.NullReferenceException

Description:

Referencia a objeto no establecida como instancia de un objeto.

Additional Info:

Error adding language select dialog

Stack Trace:

en MultiLang.frmAddLanguageSelect2.btDoIt_Click(Object sender, =
EventArgs
e) en f:\Multi-Language
VSPackage\VS2013\MultiLang\Forms\frmAddLanguageSelect2.vb:l=EDnea 1572


please help me

Image

Germany

I'm not at home this week and I can't investigate the problem. I will look into it early next week.
Phil


Germany

I cannot see the reason for this error. (I must be blind, because I have the exact line number!)

If necessary, Multi-Language adds the file ApplicationEvents.vb to your project. In your case, I think this file already exists. It then adds the following code to this file:

MyApplication_Startup
Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
    'Show the language select dialog
    Dim frmLang As New SelectLanguage
    frmLang.LoadSettingsAndShow()
    frmLang.Dispose()
    frmLang = Nothing
End Sub

to the class MyApplication.

Can you simply add this code by hand?
If you already have a handler for the event Me.Startup, you can add the code to it.

By the way, I have edited your original post to include the image you uploaded. I know that uploading files to the forum doesn't work very well.

Phil