I got error
"component "Ctllogin1" or one of its depenedncy not correctly
registered;a file is missing invalid."
while I'm trying to add login ocx control. I added my ocx file in my application and registered too but could not able to add my control on design page and not visible.
Hi Thanks for giving this solution .But i got solution Reason is third pary dll is can not allow to edit due to licence problem so we have to run VBUSC exe and issue solved.Now am easy to use this component thanks
Related
After upgrading the joomla site iam getting the following error and administrator page is blank.
Fatal error: Can't use function return value in write context in /home/cll/public_html/libraries/regularlabs/src/File.php on line 283
Please help me to solve this issue.
It's clear that the problem comes from a regularlabs extension so you should disable it.
Since your admin page is blank, you can do this via the file system. Log in to your FTP account (or use the control panel's file manager) and access your root folder (/home/cll/public_html/). The extension you are looking for is probably a plugin so you'll find it in the plugins folder. I assume you'll find the extension in the /plugins/system/ folder (full path: /home/cll/public_html/plugins/system/).
When you'll find the extension's folder look for the plugin's PHP file and rename it.
For example, if the problem comes from "components anywhere" plugin (it's a regularlabs extension) search for componentsanywhere.php and rename it to something else (eg foobar.php).
If this doesn't help contact the developer to help you, he is a good guy.
I have problem when I want to access events. I already copied the resource files (nativej2me.res) under src directory but still the events are disabled within my project.
Can anyone help me how to arrange the resources so it enables the vents..?
Thanks
Don't move that resource file. Its not the place for it.
I'm guessing you created a handcoded application where GUI builder events aren't supported. You need to create a GUI builder project when creating a new project.
That's a GUI builder project (notice the visual not manual in the brackets)
Just for the googlers out there:
Have a look in the file codenameone_settings.properties - in there you'll find the property userClassAbs=something/StateMachine.java
Its an absolute path and it was showing the wrong directory. After fixing this I was able to add Events in the Designer again.
I'm having problem with changing header of the Hub Control in Windows Universal app. I'm attaching screenshots so you would be able to see how it looks like.
As you can see at screenshot I changed header text to "Test Header" in XAML and I can see all changes in VS Designer. Problem is when I compile the app and deploy it on device or emulator because than header still contains default text "application name"...
What am I doing wrong?? I tried to creat new project, I was searching for "application name" string or some binding in my project but with no luck... :( Please help guys because I'm struggling with this for a few days now and I have no idea what to do.
Thanks in advance! Regards!
Remove the x:Uid="Hub" from the Hub control.
<Hub x:Name="Hub" Header="Test Header"/>
That way it won't redirect all your strings to the Strings\en-US\Resources.resw file (it is part of the shared project)
If you want to keep it in, then just edit that file and rename the key to anything you like.
I was working on a C# project and everything works perfectly fine. But after I messed up with a code a little now its getting a wired error. But I can run the last working solution fine. Can I reset the code again to last working solution? If I can, what is the method to do that?
Here is the error message:
"Error 1 'Static_calc.Form2' does not contain a definition for
'Form2_Load' and no extension method 'Form2_Load' accepting a first
argument of type 'Static_calc.Form2' could be found (are you missing a
using directive or an assembly reference?)"
That sounds like you have deleted a method that your form is rely on in its designer code behind. Take a look in the designer file for Form2 for any event bindings that relate to Form2_Load and delete the line that mentions it.
You should then be able to view the form correctly in the gui and use it as before.
Some Context
I have one closed source asp.net MVC application distributed for several customers. I'm trying to develop a extension to include some very specific functionalities that will be used by a single customer (he will also have the extension source code).
I'm developing the extension as another mvc project, loaded as an area. I'm trying to avoid having to deploy the extension binaries in the main application '/bin' folder.
I'm loading the extension assembly and it's dependencies manually in the PreApplicationStartMethod of the main application assembly. The area registration process went fine and the area routes are registered as intended.
The Problem
When I try to load some extension pages, I got a "The view 'xx' or its master was not found or no view engine supports the searched locations." message. I investigated I little and replaced the view contents with a 'Hello' string. The view was rendered correctly.
I tried to produce a minimal that triggers the error and turns out it's the '#model'directive. I tried to figure out what's happening and It's an assembly loading error. I created a minimal view with '#model object' and tried to cast the Model to original type and got the following error message: "Could not load file or assembly 'xxx' or one of its dependencies. The system cannot find the file specified." (this assembly contains the class type used by the view)
Just to confirm the issue, I moved the mentioned assembly to the main application '/bin' folder and everything worked.
I also inserted some model manipulation instructions on the controller, just to investigate if an exception will appear but everything went fine, I could even render a grid using json.
I'm loading every assemly with:
var assembly = Assembly.LoadFrom(file)
BuildManager.AddReferencedAssembly(assembly)
There's something extra I need to do ?
Needed to add the assembly private path
AppDomain.CurrentDomain.AppendPrivatePath(pluginFolder);
Don't know the real explanation for it but I guess it's relates to the use of Assembly.LoadFrom(file) instead of Assembly.Load() and the fact that views are compiled later.