running administration point - module

i am working on new modul for OpenCMS. In /system/workplace/admin i made directory and set up all properties well because in administration, i can see my new modul - i see icon of module, also i can click on it and enter in to new module.
Here is my problem: in administration, i have not see output of index.jsp. When i run index.jsp alone i see right output in but not in administration.
I also se up variable default-file=index.jsp
anybody know what i need to set up for right running?
thanks all :)

Related

operation must use an updateable query in vb.net using myapp.exe

I am a newbie and not also good in explaning but i will try my best I hope you understand so here it is. Im trying to create application.exe with ms access database at first it works login and searching but when i try to edit or enter another data using my application.exe this happen operation must use an updateable query but when im not using .exe app no problem show
This is the step by step That i do when executing my app. why did i include this maybe, I don't know and I'm not really sure that the cause of the problem is the way of my executing the application. By the way this is my connection string that I use
Public cn As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\DB_HR.accdb;Jet OLEDB:DATABASE PASSWORD=dbhr123;")
Step 1. I put my database the bin/debug
Then
Step 2. I add my data base Solution Explorer
Step 3.I go to the properties of my DB_HR.accdb by right cliking and change the Copy to output Directory to Copy if newer like this
Step 4. I build the windows app just like i do in this picture
Step 5.I change my app.manifest code requestedExecutionLevel level="asInvoker" uiAccess="false" into highestAvailable just like this
Step 6. I use Setup Wizad to create my executable application. and I add this Files and then I created a
shorcut for my WindowsApp1.exe just like i do in this picture then drag it into user's Desktop Then in the Build menu I click the batch build to create the .exe app
But the problem is still The same operation must use an updateable query
Can you help me please.What should I Do? Thanks in advance
I Found a solution. Try to check your App.config Solution Explorer and Open it.
If the code look like this then You should Add this code then save it.
Then try to execute your program.

Features and Events in FileChooserWidget GTK#

I'm using GTK#(Newbie) on Xamarin Studio Community version 6.3, on Windows.
Recently, I was trying to build a Total Commander application. During the construction, I used the File Chooser Widget and found some issue that I can't solve:
1- When I click on a folder in Places box, a few buttons will appear: \ <icon button with a pen and a paper> enter image description here. When I click on the Icon Button, a Location Entry will show up. However, I don't know how to use that entry like opening a folder, folder path will show up on Location entry or enter folder path, folder will open on the widget. My temporary solution is create a entry:
FileChooserWidget fcw1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0)));
Entry e1 = new Entry();
e1.Text = fcw1.CurrentFolder;
I hope to find the way to capture that Location Entry and use it.
2- On the workplace I have a problem in open a file by using Double-Click Event. My code:
[GLib.ConnectBefore]
protected void OnFcw1ButtonPressEvent(object o, ButtonPressEventArgs args)
{
if (((Gdk.EventButton)args.Event).Type == Gdk.EventType.TwoButtonPress)
{
entry1.Text = fcw1.Filename;
if (File.Exists(fcw1.Filename))
Process.Start(fcw1.Filename);
}
}
3- The same problem of find The use of the Search and Recently Used that Could not start the search process
The program was not able to create a connection to the indexer daemon. Please make sure it is running.
Please help me find the solution and teach me how to find the name of all these widgets. Thank you very much!
To answer #1 there's a Action property on the FileChooser widget which will allow you to set it up for what you want it to do (Open, Create, Select Folder etc). The Location field contains the filename (that you select if browsing, or can type in if creating a new file).
On #2, default behaviour for double-clicks on FCW is to drill-through on folders and select for files. Because you've got a Glib.ConnectBefore attribute your event handler will run before the default handler. Maybe whatever problem you have in #2 is related to the handlers?
On #3 sounds like an issue on your dev machine. The FCW will allow you to search the file system so long as it can connect to the daemon so it looks like that's not running. I've not had an issue with that in Windows, Mac OSX, Ubuntu or RHEL on other machines.

Update configuration file vb.net programmatically

I have created a form that shows a number of settings held in the exe.config file, that I would like the user to be able change. For example I have a text box named txtReadServer that I populate with the setting ReadServer in the following manner:
m_ConfigurationForm.txtReadServer.Text = My.Settings.ReadServer
From what I have read on this and other forums, I need to use ConfigurationManager in order to update these setting in the exe.config at runtime. My problem is that when I try anything like the following: Dim config As Configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None) Visual Studio seems to not know what the Configuration object is. I have tried add an Imports System.Configuration at the top of my class, but the word Configuration is still highlighted in the dreaded red!
Any help - or suggestions on the best way to allow users to configure an app would be gratefully received.
Thanks,
Paul.
Add a reference in your project to System.Configuration.

Submit Eclipse Project on Perforce

I have a noob Perforce question. I got my perforce plug-in on Eclipse working(for both Java and C).
I have no problems "opening" my perforce stored projects on Eclipse.
Scenario 1:
Whenever I want to change code, I open the project on Eclipse and right-click on it and go to "team" and check out, make changes and then submit. Works fine. But even after that I see a tick mark(indicating check-out) on my perforce screen.
Scenario 2:
I just open perforce code as Eclipse project and make changes(If read only, it prompts and asks if i have to allow write and I say yes). I make changes and save. It doesnt ask for submit. Also if I now open the code on Perforce screen, I already see the new changes made.
Scenario 3:
Just on a Perforce screen, if I check a file out and don't make any changes, I obviously dont want to submit as there are no changes. In this case, how can i "disable" check-out so that my fellow programmers dont think i'm working on it??
Scenario3:
So here are 2 ways i consider a good usage of the plugin:
Use Revert Unchanged Files:
Before you begin development of a feature, checkout the entire tree/branch that your changes will be concentrated around in future. You can do this by right-click the relevant package in package explorer. Once you want to submit, Project->Right-click->Team->Revert Unchanged Files. Now, you can submit your changelist.
This approach stands very useful if you know you will be editing a lot of files or replacing files.
Ofcourse, others can see that you have checked out the files.
Enable Auto checkout:
Incase you are going to make few changes, you should enable autocheckout. This will checkout the file when you begin to make edits. Eclipse->Preferences->Team->Perforce->Enable support for workbench edit..
detailed explainations here. Its a good idea to have this enabled always as it checks out on demand.
However, this does not monitor the filesystem so and code/libs you replace outside of eclipse are not checked out.
For Scenario 3, you can change a workspace option to prevent submitting unchanged files:
SubmitOptions: reverttunchanged
If you have a file checked out (open for edit), others will be able to see that. I guess I'm not clear on why you check a file out if you don't intend to modify it?
If you are going to setup this way and are also using the desktop client, I recommend the following steps in the desktop client:
1.) Open your desktop Perforce client
2.) Click “Connection” on the global menu
3.) Select “Edit Current Workspace…”
4.) Under the “Advanced” tab select “allwrite”
5.) Click Apply, then OK

How can I stop the WCF test client from opening when I start debugging?

I realize that I can just make sure I don't have the service open in my active window when I start debugging, but that's a little annoying. It seems like there's got to be some setting in VS2010 somewhere to turn this off.
For anyone who asks "why would you want to turn it off?", it's because the service is using both SOAP and ReST. I test ReST in browser or in Fiddler and test SOAP in SOAPUI, and really don't have a need for it.
Thanks.
This is particularly frustrating. I am running VS2010, and cannot locate Properties/Debug tab as most posts reference. However, if you
Right-click Unload Project
Right-click Edit
Find EnableWcfTestClientForSVCDefaultValue and set its value to False
<EnableWcfTestClientForSVCDefaultValue>
False
</EnableWcfTestClientForSVCDefaultValue>
Save, and right-click Reload Project
Should work.
Not sure why this version of VS2010 does not display Debug tab.
Select Menu-><Project Name> Properties.
In the properties window, click on the "Debug" tab in the left hand column. In the Start Options section in the Command Line Arguments box, you should see the following:
/client:"WcfTestClient.exe"
Remove that and save the changes.
You might want to also uncheck the "Start WCF Service Host when debugging another project in the same solution" checkbox in the WCF Options tab.
If it is a web site project(VS2010) right click project. Select Properties Window(F4). You should see a property grid of the properties window. There choose False for Always start when debugging. This solved the problem for me.
I am using VS2015 and I faced the similar problem. I tried the below steps and it is resolved.
1,Right-Click the project properties
2,Go to Web tab
3,Check the option Current page is selected. If not selected then select it.
In VS2019 this has moved to the <Project_name>.User project file that holds user's preferences are usually outside of source control.