Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
O

oOomen

@oOomen
About
Posts
47
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • asp.net 2.0 master page
    O oOomen

    thank u for reply ok i'll describe my situation i have one master page for all aspx pages in my project. this master page has a dropdownlist control(postback is enabled) where users can pick up allowed languages. so i want to set up CultureInfo and UICulture during tha application is running. in the Page u can override some methods like InitializeCulture() to set up CultureInfo and UICulture or in Page_PreInit(), but master page has no access to this methods. only the one way i know is to override the method void Application_AcquireRequestState(Object sender, EventArgs e) in global.acax class in .netframework 1.1 i could use Session to save user language, but framework 2.0 do not have access to Session. so i have to use Cookie or userprofile but it does not look user friendly is any other possibilities to do that in master page?

    ASP.NET csharp asp-net design tutorial question

  • asp.net 2.0 master page
    O oOomen

    hello all can anyone tell me how to se up CultureInfo and UICulture from master page(System.Web.UI.MasterPage)? thank u for ur advice

    ASP.NET csharp asp-net design tutorial question

  • System.net.Mail default smtp host
    O oOomen

    i was using the old system.web.mail classes. and try to sent emails with net.mail, but i get an exception: System.Net.Mail.SmtpFailedRecipientException was unhandled by user code Message="Mailbox unavailable. The server response was: 5.7.1 Unable to relay for bla@bla.bla" host property of SmtpClient must be set up! but what is default smpt host? is it "localhost"? i get an exception if i use it. if i use this code it work for me (System.Web.Mail): SmtpMail.SmtpServer = null; SmtpMail.Send(mail); because the name of the local SMTP server is used!!!!!! WHAT NAME IS IT? how can i find it out? i need the name to set the property Host of SmtpClient (System.Net.Mail). thanks thank u for ur advice

    C# question csharp sysadmin

  • System.net.Mail default smtp host
    O oOomen

    i was using the old system.web.mail classes. and try to sent emails with net.mail, but i get an exception: System.Net.Mail.SmtpFailedRecipientException was unhandled by user code Message="Mailbox unavailable. The server response was: 5.7.1 Unable to relay for bla@bla.bla" host property of SmtpClient must be set up! but what is default smpt host? is it "localhost"? i get an exception if i use it. if i use this code it work for me (System.Web.Mail): SmtpMail.SmtpServer = null; SmtpMail.Send(mail); because the name of the local SMTP server is used!!!!!! WHAT NAME IS IT? how can i find it out? i need the name to set the property Host of SmtpClient (System.Net.Mail). thanks thank u for ur advice

    ASP.NET question csharp sysadmin

  • protect my picture
    O oOomen

    for example i have a small programm with a picture inside. can i protect this picture form making screen shot by pressing screen shot key( but its not so imporant) can i catch an event if some other program prepars to make a screen shot? ist it possible to protect my picture?:confused: thanks in advance!

    C# tutorial question

  • Date Translation
    O oOomen

    ok i got it http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationhebrewcalendarclassgetyeartopic.asp

    C# tutorial question

  • calendar convertion
    O oOomen

    hi, can any one tell me how to translate gregorian date to hebrew date? thanks in advance

    Visual Basic tutorial question

  • Date Translation
    O oOomen

    hi, can any one tell me how to translate gregorian date to hebrew date? thanks in advance

    C# tutorial question

  • howto
    O oOomen

    hi all, is it possible stop loading web custom controls in VS IDE during developing time? thanks in advance!

    ASP.NET visual-studio question

  • System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET'
    O oOomen

    hello, i get this error-> System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET' do some one knows how to solve it? i am new to sql and i use msde. thank u in advance

    C# asp-net database help tutorial question

  • System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET'
    O oOomen

    hello, i get this error-> System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET' do some one knows how to solve it? i am new to sql and i use msde. thank u in advance

    ASP.NET asp-net database help tutorial question

  • System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET'
    O oOomen

    hello, i get this error-> System.Data.SqlClient.SqlException: Login failed for user 'xxx\ASPNET' do some one knows how to solve it? i am new to sql and i use msde. thank u in advance :-)

    Database asp-net database help tutorial question

  • Rotation
    O oOomen

    oh, u r right, it works! :-) but, what's about this first example? it seems as if it works pretty good!

    C# graphics tutorial question

  • Rotation
    O oOomen

    hi, i use cards.dll to draw cards in my app. and it works good in onpaint method for example: Graphics x = e.Graphics; hdc = x.GetHdc(); x.ReleaseHdc(hdc); cardHandle.drawCardBack( hdc, 90, 10, eBACK.WEAVE1 ); but if i try do the same thing offscreen, it does not work!:confused: can someone explain why? Bitmap offScreenBmp = new Bitmap(this.Width, this.Height); Graphics offScreenDC = Graphics.FromImage(offScreenBmp); hdc = offScreenDC.GetHdc(); offScreenDC.ReleaseHdc(hdc); cardHandle.drawCardBack( hdc, 90, 10, eBACK.WEAVE1 ); e.Graphics.DrawImage(offScreenBmp, 10, 10); I need it to rotate this card. I have tried this method, but it does not worke.Graphics.RotateTransform(90f); if u know another way how to rotate the card i draw with cards.dll, please tell me ;-) thank u ;-)

    C# graphics tutorial question

  • Recursion in Visual C++
    O oOomen

    it's from C++ in 21 days :-) is it allowed to copy some parts of the book?? if not, how cares? ;P

    C / C++ / MFC c++ java question

  • hooking keyboard and mouse messages
    O oOomen

    hi, look here

    C# csharp question

  • is it too late or i do not undestand something
    O oOomen

    i just copmiled those lines ...... CClientDC dc(this); OnPrepareDC(&dc); dc.SetPixel( point, RGB(0, 0, 0,) ); ...... what i've got is: ---------------------- Done ---------------------- Build: 1 succeeded, 0 failed, 0 skipped but this line contains more commaz that it needs: dc.SetPixel( point, RGB(0, 0, 0,) ); and it works any way do someone know why?

    C / C++ / MFC question

  • Required header <conio.h> of C-library
    O oOomen

    Mr.Prakash wrote: you will need msvcr71.lib to use that dll. mMmm... i just know this way! [System.Runtime.InteropServices.DllImport("msvcr71.dll")] static extern int _kbhit(); public bool KeyboardHit { get { return System.Convert.ToBoolean(_kbhit()); } }

    C / C++ / MFC csharp question

  • Required header <conio.h> of C-library
    O oOomen

    hi, thank u for ur replay. i've found this in msvcr71.dll too. i do not think so. everything u have in c# is Console class. best regards!

    C / C++ / MFC csharp question

  • Required header &lt;conio.h&gt; of C-library
    O oOomen

    ok, i've found this in msvcr71.dll ... [System.Runtime.InteropServices.DllImport("msvcr71")] static extern bool _kbhit(); [System.Runtime.InteropServices.DllImport("msvcr71")] static extern int _getch(); public bool KbHit() { return _kbhit(); } public char GetChar() { return (char)_getch(); } ...

    C# csharp question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups