If I publish the application, the camera in the smartphone (android) does not work.
Also how do I get the rear camera to work?
Grazie
Hi Vincent,
can you please share the code? You can also send it to supportATwisej.com if you prefer.
Thanks in advance,
Frank
Paul – thanks for the prompt response.
We tried configuring our program to run a command file, MyApp.Start.cmd, which in turn ran Wisej.HostService.exe:
C:
cd “C:\MyAppRoot”
.\Wisej.HostService.exe -start -p:8080 -d:*
…when the program was run as an app, everything worked as expected. But when the program was run as a service, Wisej.HostService.exe terminated unexpectedly with the error cited in my original post.
We also tried setting the current directory programmatically:
System.IO.Directory.SetCurrentDirectory(System.AppDomain.CurrentDomain.BaseDirectory);
…but that resulted in the same error.
Ultimately we stumbled upon what may be a solution. Placing copies of Wisej.Framework.dll in both (not one or the other) the application root and \bin folders appears to make everything work as expected. This solution is not perfect (nor is it fully explainable to us) but we’re hoping it will suffice.
Best,
Mike
Hi Michael
Reviewing your log, this indicate that cannot find the assembly. That’s not a crash. It’s probably because the process starts in the wrong directory when started by a service. It’s not a wisej issue.
Regards
Hi Messere,
You should be able to. Try the attached sample that uses both the Camera and Barcode extensions.
With iOS, you need to serve the page from a secure site to get the camera to work.
If you have any questions about the sample, please let me know.
Regards,
Levie
Hi Justice,
we have a professional graphical design team focussing on UI and UX design.
Please contact us at sales@wisej.com to learn more about our offers and opportunities.
Best regards
Frank
Hi Justice,
the best approahc is to switch to a server based reporting and then create PDF files for your users.
There are a lot of tools avialable for that including Crystal Reports and Stimulsoft Reports.
Best regards
Frank
Hi Justice,
it depends on your needs but for grouping rows, adding min/max/avg/sum rows and more you might want to check out
our DataGridViewSummary rows extension here:
https://github.com/iceteagroup/wisej-extensions/tree/2.2/Wisej.Web.Ext.DataGridViewSummaryRow
Please note that with Wisej 2.5 no extension will be needed anymore as this functionality will be tightly integrated into the core.
Find a sample for the Summary Rows here:
https://github.com/iceteagroup/wisej-examples/tree/2.2/DataGridViewSummaryRows
For the charting you can use the ChartJS extension.
https://github.com/iceteagroup/wisej-extensions/tree/2.2/Wisej.Web.Ext.ChartJs
Find a sample for ChartJS here:
https://github.com/iceteagroup/wisej-examples/tree/2.2/ChartJS
And finally we also offer 4 hour Support Packages that can help you resolve Application specific questions and tasks.
Pleaase contact sales@wisej.com if you are interested in this.
Best regards
Frank
Padding shows up in the theme, it’s in the drop down list in the Add Property dialog. It’s one of the common properties. It’s also documented in the theme concepts.
Members of a theme object don’t show up in intellisense because it’a a collection of json dynamic objects and intelisense cannot show .NET dynamic object properties.
In general it’s better to create a custom theme. It’s very easy and the theme builder tool helps a lot.
Properties in our themes are different than the styles. The styles section is based on CSS snd therefore limited and fully listed. Properties are unlimited since they can be defined in javascript at will, of any value, and in any number so it’s impossible to list all the possible properties other than the common ones. They are all clearly documented in the js sources in github as themeable:true.
HTH
Luca,
See attachment. The first tabControl(red rectangle) has the tabPage property that I want. The second tabControl(red rectangle) has the normal tabPage as the way it comes by default. My inquiry was on how to apply left/right padding property to have extra space, but with your comment above, I see that applies for the controls are dropped on it, not for the tabPage text.
I just found out that to have the first tabPage as I want, I had to modify the theme in runtime as follow Application.Theme.Appearances.tabview.components[“page”].components[“button”].components[“label”].states[“horizontal”].properties.margin = new Padding(60, 0, 60, 0); Now, I see that there some properties that has to be changed on the theme since they don’t show up in the property tool, am I right? If so, how can I find info regarding how to modify the theme via coding? Sorry, If my question took another course.
Thanks in advance,
C.
Yes we noticed. The assemblies were missing from the installer. Thanks.
Hi Justice
The issue that you comment could be caused for:
A. An old code project opened in a computer with a more newer version of wisej sdk.
Here documentation about it https://wisej.com/docs/2.2/html/UpgradeFromWisej1.htm
B. Using older templates, with newer sdk
C.- Referencing older dlls with more newer templates
Hot to be help you
Regards
You can use ToolBar, StatusBar, ContextMenu, MainMenu, MenuBar.
The toolstrip components are unnecessary duplicates. Our implementation is very flexible.
Your Default.html is correct and in the right place. You probably have the wrong web.config or your assemblies with wisej assemblies are not in /bin.
Wisej deployment is identical to a standard ASP.NET application.
Try http://[your url]/wisej.wx
This is what you have to receive: http://demo.wisej.com/codeproject/wisej.wx
Since you get a 404 error on your deployment it means that web.config is missing, or not configured correctly (you need the handler and the module) or the provider is overriding.
We can provide custom support on your deployment with 4h support packages if you need to.
Hi Page,
We actually haven’t integrated Google Charts (yet). It’s on our list of extensions to add, but hasn’t been started yet. That’s an old page that needs to be updated.
You’re still able to integrate the extension through a Widget control. If you need help, let us know!
Sorry for the inconvenience.
Best,
Levie
Hi Eric,
any chance to set up a sample for us? For now it´s a bit unclear why you are using JavaScript directly to add the widget.
Also we don´t know yet where you´re adding the Appear handler.
You might want to check the console for any error:
Either use Application.ShowConsole = true in your application or hit Ctrl+F7 if you´re device has a keyboard.
In order to show the console, your application has to be deployed in debug mode.
Best regards
Frank
Dear Kevin,
i tried to upload my application by putting all my folders and files inside the public folder per as your indications.
However it didn’t work and as result i obtain what is shown in the attached file n.1
If i move default.html and default.json under the base folder and leave all the others in the public folder i obtain a blank page with the application title in the tab (see file. n2).
Hi Ruben,
we have a large list of samples in C# and VB.NET on GitHub.
Here is a VB.NET sample that shows how to use HTML2Canvas extension:
https://github.com/iceteagroup/wisej-examples-vb/tree/main/Html2Canvas
Best regards
Frank
Hi Justice,
not 100% sure what you are trying to achieve but if you deploy that code to a server,
it´s executed on the server not the client. So the rundll starts the process on the server.
Best regards
Frank
Dear Kevin,
thank you for your answer.
My question was probably incorrect . I didn’t mean how to publish but where to put (inside the base folder) all my application folders and files (bin, Default.html, Default.json, etc…).
I’ve already tried to put all inside the base folder but it didn’t work.
Thank you in advance
