|
Thanks for that.
Figured it was going to be something like this.
HKLM has its own permissions issues with Win 7 and admin access etc which is why I went the HKCU route.
Guess the config file might save me a lot of pain so I'll give that a go.
cheers
|
|
|
|
|
When you test code in the web dev, security is wide open. The web dev is the run f5, in the production environment, can't do that. unless you manipulate the permissions that the code runs in. Your not suppose to be able to alter the windows os with web code. asp.net web apps run in a bubble, in which the root virtual path is your backyard, to do anything you want. Find another way to store the value, like an ini file stored in the AppData.
|
|
|
|
|
Hi All,
For weeks i am strugling, thinking, trying how to proceed further. I have a clean build winforms application. Currently sold to 50 companies with about 700 users. In short i have a separate Datalayer, business layer, framework layer and presentation layer in my application.
Now the question comes that users want to be web-enabled. What is the way to go for me with in mind i do not have a lot of money to spend to buy expensive software tools but i have time and hands .
I want to web-enable my application so i would like to know what is the best way to do this.
How would you proceed?
Are there any usefull frameworks which can work with my business objects?
I think i go for ASP.net any other thoughts?
Many thanks for all thoughts, tips to get me further in this process.
Marcel
|
|
|
|
|
Well, if you have properly separated your code from the presentation then it should be no trouble at all to put a new UI in front of it. If the code is already .NET based then you should stick with ASP.NET.
No comment
|
|
|
|
|
Hi Mark,
It is pretty well seperated. Do you have any suggestions for a asp.net framework i could use make a headstart? I am playing arround with masterpages and can access my business objects for the crud operations.
Anyways..tnx a lot...
|
|
|
|
|
Marcel Vreuls (www.agentbase.nl) wrote: I am playing arround with masterpages and can access my business objects for the crud operations.
That is a good start. What aspects of your existing product do the customers want to see web enabled? Just certain functions or an actual web application that is a replica of the desktop app?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
I would love to have a replica of the desktop app. That should not to complicated. I have used, on purpose, only the default .net microsoft controls and have not extented them in order to enhance user experience.
But i am looking for a framework with a nice clean layout where the basic asp.net things are already incorperated like for example breadcrums.
tnx. marcel
|
|
|
|
|
Hi guys,
I have developed a web application which has an option to send email, its all working fine except for the content where i face an issue.
if in an email I send some raw HTML like
Hi, you email is:
test@email.com
The Email client recognizes it as an email and is displayed as a link.
test@email.com
but i dont want it to display as a link whereas it has to be displayed as a plain text
Kindly advise.
Thanks inadvance
Regards,
Tash
|
|
|
|
|
Are you saying you are sending an HTML formatted email and the email address is not encoded, as in not in the form <a mailto:test@email.com>test@email.com</a> but the email client still recognizes it as such? If that is the case then the only option you have is to sent the message as plain text rather than HTML.
No comment
|
|
|
|
|
Even when you send a plain text email, the email client could add the link!
In such cases you could try to "hide" the fact that it is an email address, e.g. "test [at] email [dot] com "
|
|
|
|
|
hai buddies,
i have designed a master pages and some sub pages.i have put the buttons in master pages and also sub pages. master pages buttons are working but sub pages buttons are not working. I need a answer for this...how to work it in subpages. please help me...
regards parthmack
|
|
|
|
|
With sub pages I assume you are talking about content pages.
Before we can give you an answer, and I prefer giving a suggestion and you finding the solution yourself, you will need to clarify the problem better.
Do you receive an error? If so what is the error?
From where are you trying to access the event? Hopefully not the master page
Can you please give more clarity regarding the problem you are experiencing.
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Buttons are pretty basic, they have a handler to point them to a function. either there is no handler, or the function can't be found.
[edit]
What I wrote above is pretty bad in hindsight.
Changing to masterpages alters the ID of the button, and prefixes a $CT100 to the ID name. I'm trying to think of how this would affect your content pages. Can't think of anything.
All I can think of is that you left your click functions on the master page code behind, and did not move them to your content page code behind.
modified 16-Jul-13 12:59pm.
|
|
|
|
|
Hey Guys,
I have a problem creating a RDLC Report in my website, when I open the Report Wizard, I get the following error: "Could not load file or assembly 'Datastore, Version=3.0.137.0, Culture=neutral, PublicKeyToken=aa94b9' or one of its dependencies. The System cannot find the file specified."
|
|
|
|
|
normally when I get this type of error it is because of a missing dll in the website's bin directory, make sure that all the required dlls are there, including any third party tools you might be using
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
|
the code forget password
Is that what you are looking for?
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
I want to start a commercial web application and I'm confused about choosing technology.
I know it depends on many factors but I need you comparision opinion about Asp Mvc and Grails
Best wishes
|
|
|
|
|
Hello,
Into my asp.net application, i use a masterpage and many content pages.
On my masterpage there is 3 asp.net imagebutton controls. in order to display a content page i click on one of this control which use Response.Redirect function.
the problem i have is when i use a content page by typing for example informations like Name,email, password, i.e, then if i try to hit enter key to validate my values i am surprise to see that it's the code behind the fisrt image button on my master page wich is run.
I have only one button on my content page and i don't understand why the EnterKey don't run the click envent os thif button?
Thanks for any help
|
|
|
|
|
try using panels, put your fields inside a panel and set the DefaultButton for that panel
<asp:Panel runat="server" ID="pnlDetails" DefaultButton="yourButton">
.....your input fields and the button here.....
</asp:Panel>
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Hi,
Thank's for your reply. Using panel work fine but i met a piece of problem. I have three Button controls on my aspx page whose one is defined as DefaultButton into my panel properties.
In some cases this defaultButton is set to Visible=false and enable=false. Because the two others Button are not declared Default in the panel the same problem when i hit Enter Key occurs.
Have you any others good suggestions for me?
Thank's in advance
|
|
|
|
|
I assume that you set the button visibility from the code behind on some sort of condition, so when you set the visibility for the button, change the default button for the panel as well.
if(someCondition)
{
mainButton.Visible = false;
pnlDetails.DefaultButton = "secondButton";
...
...
}
else
{
mainButton.Visible = true;
pnlDetails.DefaultButton = "mainButton";
...
...
}
Hope this helps
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Thanks Jacques,
Great, great, great! It was so simple.
Merci beaucoup!!!
|
|
|
|
|
it's my pleasure, glad I could help
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
The panel control has the viewstate property and div doesnt A Panel control requires more processing to generate HTML, while a requires less.
|
|
|
|