Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
QuestionEncryption and Decryption Pin
srinivaskonijeti28-Sep-08 22:28
srinivaskonijeti28-Sep-08 22:28 
AnswerRe: Encryption and Decryption Pin
leppie28-Sep-08 23:18
leppie28-Sep-08 23:18 
Questionweb service Pin
arkiboys28-Sep-08 22:10
arkiboys28-Sep-08 22:10 
AnswerRe: web service Pin
Guffa28-Sep-08 22:18
Guffa28-Sep-08 22:18 
GeneralRe: web service Pin
arkiboys28-Sep-08 22:25
arkiboys28-Sep-08 22:25 
GeneralRe: web service Pin
Guffa29-Sep-08 2:02
Guffa29-Sep-08 2:02 
GeneralRe: web service Pin
arkiboys29-Sep-08 2:35
arkiboys29-Sep-08 2:35 
AnswerRe: web service Pin
N a v a n e e t h29-Sep-08 0:11
N a v a n e e t h29-Sep-08 0:11 
GeneralRe: web service Pin
arkiboys29-Sep-08 0:38
arkiboys29-Sep-08 0:38 
QuestionChange Size of control on Form Maximize event Pin
hitesh sojitra28-Sep-08 21:27
hitesh sojitra28-Sep-08 21:27 
AnswerRe: Change Size of control on Form Maximize event Pin
Giorgi Dalakishvili28-Sep-08 21:52
mentorGiorgi Dalakishvili28-Sep-08 21:52 
Questioni have a problem in Croping an image? Pin
maifs28-Sep-08 21:12
maifs28-Sep-08 21:12 
AnswerRe: i have a problem in Croping an image? Pin
Giorgi Dalakishvili28-Sep-08 21:55
mentorGiorgi Dalakishvili28-Sep-08 21:55 
AnswerRe: i have a problem in Croping an image? Pin
Mark Salsbery29-Sep-08 7:37
Mark Salsbery29-Sep-08 7:37 
QuestionHow to discard Dialog "Page x of document" shown after printing each page of a multi page document? Pin
karimy.reza28-Sep-08 20:56
karimy.reza28-Sep-08 20:56 
QuestionRememberMe option to remember only username using asp:login? Pin
.NetRams28-Sep-08 20:26
.NetRams28-Sep-08 20:26 
AnswerRe: RememberMe option to remember only username using asp:login? Pin
John Ad28-Sep-08 20:40
John Ad28-Sep-08 20:40 
GeneralRe: RememberMe option to remember only username using asp:login? Pin
.NetRams28-Sep-08 22:42
.NetRams28-Sep-08 22:42 
GeneralRe: RememberMe option to remember only username using asp:login? Pin
leppie28-Sep-08 23:20
leppie28-Sep-08 23:20 
QuestionChange ClassName in c# Pin
RYU^^28-Sep-08 19:08
RYU^^28-Sep-08 19:08 
Hi,

If I built a windows application in VS2008, the class name I got is something like WindowsForms10.Window.8.app.0.378734a

Is it possible to change this class name? I tried to do
protected override System.Windows.Forms.CreateParams CreateParams
{
    [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
    get
    {
        System.Windows.Forms.CreateParams cp = base.CreateParams;
        cp.ClassName = "MyTestApp.MainForm";
        return cp;
    }
}


But every time I run my application, I got this error
Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

Any idea?

Cheers Smile | :)
AnswerRe: Change ClassName in c# Pin
leppie28-Sep-08 23:19
leppie28-Sep-08 23:19 
GeneralRe: Change ClassName in c# Pin
RYU^^29-Sep-08 12:26
RYU^^29-Sep-08 12:26 
GeneralRe: Change ClassName in c# Pin
DrWatsonCoding19-Oct-10 4:20
DrWatsonCoding19-Oct-10 4:20 
QuestionConvert Class file to a DLL file Pin
HatakeKaKaShi28-Sep-08 16:14
HatakeKaKaShi28-Sep-08 16:14 
AnswerRe: Convert Class file to a DLL file Pin
N a v a n e e t h28-Sep-08 17:22
N a v a n e e t h28-Sep-08 17:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.