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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

Mertli Ozgur Nevres

@Mertli Ozgur Nevres
About
Posts
29
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Gridview - Cannot add server side asp controls into a ItemTemplate
    M Mertli Ozgur Nevres

    Hi my gridview is below: When i run the project, i cannot see the Textbox on the page. What's my mistake? If i don't add a server-side control, it works. But i have to add a server-side control. ozgur.nevres

    ASP.NET sysadmin question

  • "Loading of the ImageList did not succeed" error
    M Mertli Ozgur Nevres

    Yes i read this. I thought i didn't make a twice call. But after debugging step-by-step on my code, i saw that i made absolutely this mistake. Guess why: To fix another bug. :) I have to always keep in my mind: "When you fix a bug, you may introduce a new bug". Thanks for your response :)

    ozgur.nevres

    C# data-structures debugging json help question

  • "Loading of the ImageList did not succeed" error
    M Mertli Ozgur Nevres

    Hi I wrote a windows application. One of my client is sometimes getting the error below. I tested many times, but I never can reproduce the error. Does anyone know about this error? Thanks System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Loading of the ImageList did not succeed. at System.Windows.Forms.ImageListStreamer..ctor(SerializationInfo info, StreamingContext context) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context) at System.RuntimeMethodHandle.SerializationInvoke(Object target, SignatureStruct declaringTypeSig, SerializationInfo info, StreamingContext context) at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context) at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder) at System.Runtime.Serialization.ObjectManager.DoFixups() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex) at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode) at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode) at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString) at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase) at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream) at System.Resources.ResourceManager.GetObject(String name) at SupportAliveOperator.CustomPanels.PanelVisitorInfo.InitializeComponent()

    ozgur.nevres

    C# data-structures debugging json help question

  • Button click event only working the second time
    M Mertli Ozgur Nevres

    Hi all, i am writing asp.net using .net framework 2.0 and vs2005. I have 2 buttons (both server side - save and cancel) buttons, 2 requiredfieldvalidators and 1 validationsummary on the page. Page is working correctly at this scenario: - Enter the page - Click "Cancel" button - Button click event works and program enters in btnCancel_Click function. My problem is occuring in the scenario below: - Enter the page - Click "Save" button - Validation summary says "Oppps - you didn't fill the required fields" - Click "Cancel" button - Nothing happens <- PROBLEM IS HERE - Click "Cancel" button AGAIN - Button click event works and program enters in btnCancel_Click function. Does anyone have any idea? Thanks

    ozgur.nevres

    ASP.NET csharp asp-net dotnet sysadmin help

  • WebBrowser - Detect http errors [modified]
    M Mertli Ozgur Nevres

    This is not what i mean. Let me explain my problem: I have WebBrowser object in my form. It navigates some addresses periodically. These addresses sometimes returns an error, like http 404 or 500 or so on. I want to handle these errors in my form. But i could not find a way to do this.

    ozgur.nevres

    C# csharp help question

  • WebBrowser - Detect http errors [modified]
    M Mertli Ozgur Nevres

    Hi, is there any way to detect http errors (like 404) with .net2.0 WebBrowser object? I have WebBrowser object in my form. It navigates some addresses periodically. These addresses sometimes returns an error, like http 404 or 500 or so on. I want to handle these errors in my form. But i could not find a way to do this. Thanks -- modified at 7:20 Wednesday 6th December, 2006

    ozgur.nevres

    C# csharp help question

  • Opening web page in a new tab
    M Mertli Ozgur Nevres

    GREAT! It worked. Many thanks! :beer: And it is better than first one, cz it is using the default browser, not ie only. I changed my default browser to opera, and it opened a new tab in opera. :cool:

    ozgur.nevres

    C# com question

  • Opening web page in a new tab
    M Mertli Ozgur Nevres

    Hi all I am using the code below to open an internet explorer window: System.Diagnostics.Process.Start( "iexplore.exe", "http://www.codeproject.com" ); It works well, but in ie7, it opens a new window every time. But i want to open a new tab instead of a new window. Is there any way to do this? Thanks

    ozgur.nevres

    C# com question

  • Change datagridview scrollbar color
    M Mertli Ozgur Nevres

    It's ok i found a great article here: http://www.codeproject.com/cs/miscctrl/customscrollbar.asp And i solved the problem by the help of this great article. Many thanks to Greg Ellis... :beer:

    ozgur.nevres

    C# question

  • Change datagridview scrollbar color
    M Mertli Ozgur Nevres

    If i had a chance, i would never, never give that kind of innesential flexibilities to the user. But i am just a developer in a company. So i am developing a program and its backcolor is black. Because a stupid client wants it black. :mad: I changed the DataGridView's backcolor to black, but the scrollbars are still gray, and it looks very ugly. Client does not want this, so i am trying to change their color to black, but i didn't find a way yet, and i don't know even it is possible or not. :confused:

    ozgur.nevres

    C# question

  • Change datagridview scrollbar color
    M Mertli Ozgur Nevres

    Hi all Is there any way to change a DataGridView's scrollbar color? thanks

    ozgur.nevres

    C# question

  • Properties.Settings.Default.Save() does not work
    M Mertli Ozgur Nevres

    i found the problem. If i make any changes in my application, and build it, it re-creates the user.config file in Application Data folder with default values. can i force the VS to re-create the file with changed values? thanks... ozgur.nevres

    C# question

  • Properties.Settings.Default.Save() does not work
    M Mertli Ozgur Nevres

    Hi all, i am trying to change app settings in run time. I wrote the code below: Properties.Settings.Default.ServerIP = "10.0.0.7"; Properties.Settings.Default.Save(); MessageBox.Show( Properties.Settings.Default.ServerIP ); It alerts "10.0.0.7" but does not save the value (default value was 10.0.0.12). And in WindowsApplication1.exe.config file, it is still 10.0.0.12. Does anyone know how can i change this value? Thanks... ozgur.nevres

    C# question

  • HRESULT E_FAIL Error?
    M Mertli Ozgur Nevres

    "But that's when you tell the customer that since IE7 is a Beta product, you won't support that configuration." it is not easy as you say :-) But now i am using .net2.0's WebBrowser component and it is working without a problem. Thanks for your care ozgur.nevres

    C# help question csharp dotnet com

  • HRESULT E_FAIL Error?
    M Mertli Ozgur Nevres

    Thank you, i'll ask it to our clients. But one of our client who is getting this error, has aldready installed ie7.0 Beta. Does it cause the same problem? ozgur.nevres

    C# help question csharp dotnet com

  • HRESULT E_FAIL Error?
    M Mertli Ozgur Nevres

    Hi all, i have a program which is using AxWebBrowser. It was working well under .net framework 1.1. But after upgrading .net framework 2.0, at SOME systems, i receive the error below: System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at SHDocVw.IWebBrowser2.Navigate(String URL, Object& Flags, Object& TargetFrameName, Object& PostData, Object& Headers) at AxSHDocVw.AxWebBrowser.Navigate(String uRL, Object& flags, Object& targetFrameName, Object& postData, Object& headers) does anyone know why it occurs, and how can i fix that problem? thanks. ozgur.nevres

    C# help question csharp dotnet com

  • Problem in selected row after sorting in datagridview
    M Mertli Ozgur Nevres

    I did this. I mean, is there any way to do this automatically. A property, or something... I think the answer is no. Thanks for your care. ozgur.nevres

    C# question database algorithms help tutorial

  • Problem in selected row after sorting in datagridview
    M Mertli Ozgur Nevres

    Hi, i have a problem about datagridview. When i apply a sorting operation on a datagridview, it sortes the items well, but changes the selected item (not selected index). Let me explain this: For example, my sort column's values below: aaa (selected) bbb ccc ddd after sorting: ddd (selected) ccc bbb aaa It changes the selected item. But i want my first selected item will stay in selected. Does anyone know how can i do this? Thanks. ozgur.nevres

    C# question database algorithms help tutorial

  • Cannot abort thread
    M Mertli Ozgur Nevres

    Hi all, I wrote a multi-thread application using sockets. But when i attempt to stop a thread, the thread is falling into "AbortRequested" state but never being aborted. Can anyone help me? My code is below: if ( this.m_ReceiveThread.IsAlive ) MessageBox.Show( "alive" ); MessageBox.Show( "State: " + this.m_ReceiveThread.ThreadState.ToString() ); if ( this.m_ReceiveThread != null ) { for ( int i = 0; i <= 10; i++ ) { try { this.m_ReceiveThread.Abort(); this.m_ReceiveThread.Join( 100 ); /* !!!!!! it always says current state is AbortRequested !!!!!! */ MessageBox.Show( "m_ReceiveThread trying to abort. - " + i.ToString() + "\nCurrentState: " + this.m_ReceiveThead.ThreadState.ToString() ); }//End of try. catch { }//End of catch. if ( this.m_ReceiveThread.ThreadState == ThreadState.Aborted || this.m_ReceiveThread.ThreadState == ThreadState.Stopped ) { MessageBox.Show( "m_ReceiveThread aborted." ); break; }//End of if ( this.m_ReceiveThread.ThreadState == ThreadState.Aborted ). }//End of for( int i = 0; i <= 10; i++ ). }// End of if ( this.m_ReceiveThread != null ).

    C# help question

  • ArgumentOutOfRangeException
    M Mertli Ozgur Nevres

    Thanks for your care. Yes, i handle the Closing event. My eventhandler is below: (Note: the error does not occur always, it occurs sometimes ( 1 in 10, average ) private void Server_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if ( !CheckOnlines() ) e.Cancel = true; }//End of Private Method Server_Closing. and my CheckOnlines method: private Boolean CheckOnlines() { int i = this.m_iNumOfOnlineOperators + this.m_iNumOfOnlineVisitors; if ( i > 0 ) { TextObject objTO = ( TextObject ) this.m_htTexts["Server_CheckOnlines_Msg2"]; String strMsg = objTO.TextValue; strMsg = strMsg.Replace( "@", this.m_iNumOfOnlineOperators.ToString() ); strMsg = strMsg.Replace( "$", this.m_iNumOfOnlineVisitors.ToString() ); objTO = ( TextObject ) this.m_htTexts["Server_CheckOnlines_Msg1"]; DialogResult dr = MessageBox.Show( this, strMsg, objTO.TextValue, MessageBoxButtons.YesNo, MessageBoxIcon.Information ); if ( dr == DialogResult.Yes ) { return true; }//End of if ( dr == DialogResult.Yes ). else { return false; }//End of else. }//End of if ( i > 0 ). else { return true; }//End of else. }//End of Private Method CheckOnlines.

    C# help 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