diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs
index fe670d4..9a86b46 100644
--- a/EduNetworkBuilder/NetworkBuilder.cs
+++ b/EduNetworkBuilder/NetworkBuilder.cs
@@ -1708,6 +1708,14 @@ namespace EduNetworkBuilder
CurrentUser = PPF.Edit(); //This does the form as dialog. When we come back, update the menu.
UpdateMenu();
}
+ else if (extension == ".enbh")
+ {
+ if(NB.GetUser() == null)
+ {
+ MessageBox.Show(NB.Translate("NB_LoadUserFirst"));
+ return;
+ }
+ }
else
{
MessageBox.Show(NB.Translate("NB_InvalidFile"));
diff --git a/EduNetworkBuilder/Resources/languages/edustrings.resx b/EduNetworkBuilder/Resources/languages/edustrings.resx
index 9d66831..d465bd3 100644
--- a/EduNetworkBuilder/Resources/languages/edustrings.resx
+++ b/EduNetworkBuilder/Resources/languages/edustrings.resx
@@ -1765,6 +1765,10 @@
Are you sure you want to delete this homework?
PPF_ConfirmHWDelete = Are you sure you want to delete this homework?
+
+ You must load a user profile before you can open a homework file.
+ NB_LoadUserFirst = You must load a user profile before you can open a homework file.
+
Change Password
PPF_ChangePassword = Change Password