|
Hi there!
I finally got XP worked with win2k before. Iv'e installed VS2005 and though it could go on. i compiled my project (succeeded)[edit] c# framework 2.0.50727 [/edit]
press F5 and then........
"..Error while trying to run project....<br />
<br />
This application has failed to start because the application configuration is incorrect. Review manifest file for possible errors. Reinstalling the application may fix this problem. for more details, please ssee the application event log."
I think you know this message at all (I googled it, searched in several forums, tried the suggestions but no success at all)
Could someone give me a clue how to fix this error? i allready looked up in securty.config, manifest and spended 2 days to find a solution at all....
thanks in advance
Mathias
|
|
|
|
|
What does it say in the event log? It sounds like a missing dll - or one not in the expected location.
Dave
|
|
|
|
|
by event log you mean the manifest file don't you?
mathias
|
|
|
|
|
In the error that the OP posted it finished "please see the application event log" - so I figured that would be a good place to look!
Dave
|
|
|
|
|
You're saying that you've searched for the answer with no success for 2 days , but you didn't repair/reinstall, like the suggestion says?
I wouldn't have waited for more than 2-3 hours before I did a reinstall.
|
|
|
|
|
ähm are you sure you are a developer?? MY .exe should be reinstalled not VS2005.... so how will i reinstall a application that I'm developing in the moment??? if you could say me that i will become a rich man.
but thanks anyway found the error:
ClickOnce Securty Settings were enabled. I don't know why but I'm happy that i found this "bug"
thanks for your suggestions
|
|
|
|
|
Hi All,
I have given an interview. They asked me one question on OOP concept.
I could'nt able to answer, can anybody help me to find the solution?
Question
class a
{
private double myclass()
{
//coding stmt;
}
}
This class is kept in dll.
In main class you want to call method myclass how you will call b'coz that class is private method.
|
|
|
|
|
It's not possible to call the method directly as it is private. You may use reflection to do this, I guess.
|
|
|
|
|
The answer is that you don't, private members are accessible from inside that class only. You can work around this using reflection but unless you have no other choice you really really shouldn't do this.
|
|
|
|
|
You can do this using Reflection, but in an interview it's always worth pointing out that you SHOULDN'T do this because this is breaking the basic reasoning behind making a method private.
|
|
|
|
|
There's an easier answer than reflection: Add another function in class a that's public and calls myclass():
public double getMyClass ()
{
return myclass ();
}
Yes, it's a silly answer, but that was a silly question.
|
|
|
|
|
I want Visual Studio to auto-change the active project when I change sourcefiles. I don’t want to right-click a project an choose ”Set as startup project”. (VS 2005)
_____________________________
...and justice for all
APe
|
|
|
|
|
d00_ape wrote: I don’t want to right-click a project an choose ”Set as startup project”. (VS 2005)
so how does it know what you want to do? Guess?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
On the cpu I'm use now VS2005 automaticaly sets "active project" on the project that my current code-file exists. Current codefile = Selected i Project Explorer or active in code-view.
_____________________________
...and justice for all
|
|
|
|
|
Most of my projects are DLLs, many are Windows Services, setting those projects as Startup would not be wise.
|
|
|
|
|
Hi expets, I created a datagrid column as a templete column.It is a textbox field.So how i validate that templete column(textbox)?
CheeN
|
|
|
|
|
This[^] was my first hit when I googled. BTW, this question has to be in ASP.NET forum.
|
|
|
|
|
I want my app to have a few global functions that are performed whenever certain keys are pressed. That's easy to do as long as a certain control has focus, but as soon as one of the other numerous controls on my form receives focus, the key press events are no longer fired for the control that cares, with the events instead firing for whatever random control happens to have focus.
The pull-down menu controls seem to have solved this problem because they process Alt presses regardless of what control has focus. Does anyone know how I can do this too?
Thank you!
|
|
|
|
|
Set the form's KeyPreview property to true and you can handle all the key presses in the form's various key events rather than using the individual control's.
Dave
|
|
|
|
|
Hi All,
How can i know from the keyboard scan code what is the real key ?
I using KBDLLHOOKSTRUCT Structure in my keyboard hook to get the pressed keyboard information - But i still don't understand how can i know what the meaning of the key that was pressed even if i know the scanCode of the pressed key.
I don't want to use "switch..case" to check for each option pair So ... i looking some .net Framework class ( or win32 function ) that can find the value of the scanCode of the pressed key.
Beside this - how can i know if the key that pressed is 'A' or 'a' or '5' pr '%' - ?
Thanks for the help
|
|
|
|
|
Hi
i have the situation to fetch similar values using fuzzy lookup. here i dont know how to pass variables which contains input values[comes from my application] to the fuzzy look up without using datasource.
Can anyone tell how?
thanks in advance
sari
|
|
|
|
|
I have no idea what you're asking. What fuzzy lookup ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi
How to delete record using check boxes in datagrid.
that is if check box is checked the record should be deleted and again when checkbox is checked the record must undelete.when the record is deleted the "edit" command of datagrid must deactivate.
iam using stored procedures to delete records that is updating flags.
can any one help me in coding.
thanks
|
|
|
|
|
I guess you need to have a deleted flag ( if you delete records from the DB, you cannot undelete ). Then it's easy, all flags are set by the checkbox value, on or off.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all,
I have 3 form in my application: fMain,fA,fB, Where create object fA() and fB() in fMain to use delegate.
fMain <---delegate---> fA
<---delegate---> fB
Now, i would like to force to refresh fB when fA was edited. How can i do it?
Any tips are welcome.
regards
cocoonwls
|
|
|
|