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
M

MehmetFurkan

@MehmetFurkan
About
Posts
17
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to get a Unique ID ( or Network Card Mac Address) in Mobile Devices ?
    M MehmetFurkan

    Thank you for your help. And how can I get this IMEI number then?

    C# question sysadmin hardware tutorial

  • How to get a Unique ID ( or Network Card Mac Address) in Mobile Devices ?
    M MehmetFurkan

    Hi everybody, I am developping application on Mobile Devices, using Compact FW. And I need to produce a unique string to ensure the licance managemant, preventing our application being copied and run in other mobie devices without licance password. So I how can I get unique ID in Mobile devices ? Or how can I get network adapter card MAC Address ? Since all device I am working on have their own embedded network card.

    C# question sysadmin hardware tutorial

  • How could it be Sending & Receiving Object of user class through Socket ?
    M MehmetFurkan

    Recently, I have developped a system on a network environment (Pc <--> PDA) that makes data transfere between these endpoints using WEBSERVICE mechanism. Unforunatley I have to cancel the way of WebService, cause of rarely-arising but undefined and unbearable slow-down of the communication. So I am planing to migrate my system to Socket mechanism. At the first look at Socket class, I see that it seems impossible to pass objects of my own-defined classes that represents the data structure. It seems no way to send/receive "Object" using nor Socket methods, neihter Streams via NetworkStream class. and I see that data transmission is completely based on "bytes" and "bytes & char arrays".. Or Am I wrong ?. (I hope so) What can I do? I just dont want to struggle with bytes. Instead using my existing classes, I just send my objects that includes only standart data types (int, bool, string) Thanks to all

    C# sysadmin question workspace

  • How to get the IP number ??
    M MehmetFurkan

    We are developping a Web Application using Asp.Net. We need to find out the IP number of a client running the Web Browser on a remote desktop connection. In other words, this user opens a Remote Desktop Connection on another remote server and runs the WebBrowser on this remote server, and we need actually the IP number of this user OWN machine. In fact we could get the user client IP easily using the statement "HttpContext.Current.Request.UserHostAddress, but this brings us, naturally, the IP number of the machine on which the RDP connection has been opened. What we need is possible? How to to it? Thanks in advence.

    ASP.NET csharp asp-net sysadmin tutorial question

  • How to get the IP of a client in Asp.Net
    M MehmetFurkan

    Ok thank you for your reply.. and Really sorry for wrong forum..

    C# csharp asp-net sysadmin tutorial question

  • How to get the IP of a client in Asp.Net
    M MehmetFurkan

    We are developping a Web Application using Asp.Net. We need to find out the IP number of a client running the Web Browser on a remote desktop connection. In other words, this user opens a Remote Desktop Connection on another remote server and runs the WebBrowser on this remote server, and we need actually the IP number of this user OWN machine. In fact we could get the user client IP easily using the statement "HttpContext.Current.Request.UserHostAddress, but this brings us, naturally, the IP number of the machine on which the RDP connection has been opened. What we need is possible? How to to it? Thanks in advence.

    C# csharp asp-net sysadmin tutorial question

  • About COM-based application logic
    M MehmetFurkan

    I need a mechanisme to handle with EXCEL, like creating and reading Excel files. For this, at starting a new C# windows application, I have added COM reference, by using the "AddReference" dialog box's COM tabsheet. In fact there are two smilar object definiton there: -Microsoft Excel 5.0 Object Library -Microsoft Excel 11.0 Object Library. I have chosen the "11.0"; At the and I managed to handle Excel Files as I wish. But, when I run my application at another pc (that is the one of our customer), it causes exceptions. I noticed that my computer Excel versiyon is 11.xxx which corresponds to Excel-2003, whereas our customer has the Excel-2002. The reason seems the version's difference. Right? Using COM isn't a good idea? Or Which manner I should use for works with Excel Files? Maybe I use the wrong Classes or Interfaces in the COM object. What to do to avoid version differences; at least close to each other versions? Or Should I prepare seperate applications for each version of Excel.? Thanks to all of you; for help to my this problem and previous ones. I love CodeProject and you all. :)

    C# help csharp com sales question

  • Problem with Modal Form
    M MehmetFurkan

    Hi, I have a few forms in my C# windows application. On main form, by a button, another form is shown. On this second form, by a button, another form is shown MODALLY ( ShowDialog() ). In such stiuation, when another application (ex: windows explorer) becomes activated, then my application reactivated using application-icons on windows Task Bar, my Main form appears on top and does not respond to user because another form is shown modally which actually does not appear. In fact, here, when windwos' Alt-Tab browsing is used, it seems no problem. How can I ensure the last opened form to bring to front in such cases? I know it seems a small problem but really bothering.. Thanks for you help

    C# help question csharp

  • How to Refresh a ListBox Contents ?
    M MehmetFurkan

    Ok, thanks. I have just tried and it works.

    C# help tutorial question announcement

  • How to Refresh a ListBox Contents ?
    M MehmetFurkan

    Hi, I am using a ListBox on my form. My ListBox.Items property (which is ObjectCollection) contains objects of my-defined class type, whose ToString() methods are overriden. As I know, a ListBox calls the ToString() method of each item in its Items property to build a "string" to display. When adding a new object item ot Items affects display strings as a result. So far everything is good and reasonable. The problem is that, when I MODIFY an object's content held by ListBox.Items, I expect the ListBox control redraw its content. Cause my modification affects the overridden ToString() method of an object of ListBox.Items. So I expect that the ListBox control to change display string of related object. Unfortunately it does not work even if I have tried to call ListBox.Refresh(), or Update() method. Any other method I should call or my way thinking about ListBox.Items and displaying mechanism is wrong?

    C# help tutorial question announcement

  • How does WebSerice mechanism run?
    M MehmetFurkan

    My WebService application responds the clients well generally. But sometimes in some cases or in some environments (which I could not explain when or in which cases yet) web service function calls return back too late (I mean the caller client waits almost 2-3 minutes). Moreover, in spite of this delay, the web service continues to respond clients, meaning no crush or lock occurs. Normally a client calls web service functions frequently. Every things seems well but after a period of time web service functions become late in responding and returning back.. Not many client requests for Web service functions at the same time. Only one client application exists. What might cause these delays ? Thnx in advance..

    C# question

  • Delay in Webservice Functions
    M MehmetFurkan

    As a beginner about making WebService routines and caller applications, I prepared WebService Application that have a few functions in Visiual Studio using C#, .Net 2.0. And I have written a client application running under WindowsCe that calls those WebSevice functions located in a Server environemnt. The system works well except for first calls. I mean: When the client calls a WebService function for the FIRST time, it takes considerable time ( at least 8-10 seconds) the functions executes and return back. Immediately after the first call, the next calls (to same function) works in good speed. So Why first calls always takes time..? Note: In Web service side, I did not use any attribute for functions. Should I use?

    C# csharp sysadmin performance question learning

  • What is the logic for WebService methods ?
    M MehmetFurkan

    Thanks for your help Talal. As I am very beginner about WebService, I would like to ask another question upon your remarks: Cannot I use my self-defined type (class) objects in Web Service methods (as a function return type or parameters for functions), if those my-self designed classes are not serializable ?

    C# csharp question

  • What is the logic for WebService methods ?
    M MehmetFurkan

    Hallo, Assume that in a Web Service application under .NET in C#, there is a Web Service method that returns an object of type DataTable.. When a client, to this Web service, calls this method, does the resulting object completely (with its all contents) return to the caller platform? Or returns only a reference to an object of DataTable? In other words: Is the actually created object (DataTable) held by WebService apllication? Or is it sent with its whole contents to the client (caller) platform, becoming independent from the connection to WebService anymore??

    C# csharp question

  • Problem with Creating a New Project of Compact FrameWrok
    M MehmetFurkan

    Hi, I am trying to learn C# for a few months. I have managed writing my own classes and developped a few little .NET applications. My Pc has .NET FrameWork of ver: 2.0 . Recently I have a need to create a new project (In Visual Studio - 2005) for some kind of small devices that runs Windows CE and have Compact FrameWork. In Visual Studio 2005 I do this steps "File\New\Project" and choose "Visual C# \ Smart Device" and Or as project type, and choose .. Just to new a project for mobile devices. Unfortunately creating fails with this message ("This Project requires .NET Compact FrameWork v2.0, whics is not installed on this machine"). And also I tried Device Application(1.0) but the result is an error. Althoug I use C#, just to test I tried this in Vb.net but I failed creating a new Device App. project. What does it mean ? Should I install Compact FW 2.0 on my PC, which seems strange to me ? :confused: And I also should mention that while I was intalling Visual Studio-2005 with a Custom Instalation in which I only not choosen the J# components. I am sure that I selected all other compnents (Vb.net, C#, Web programming Tools, Device porgramming Capabilities.. things like that ) :( Thanks for all in advance.

    C# csharp help dotnet visual-studio

  • Scope of Refereances to Instances
    M MehmetFurkan

    First, I'd really like to thanks to you rah_sin for your answer.. I need one more point: What you explain is valid for only class of Form or those inherited from Form class? Cause as you hv seen in my example the refernce "myForm2" is not a direct member of Form1 class but a local declaration in button click event. Or should I understand that Show() method of Form class, saves or register its reference into a global collection internally or somewhere in caller form ? In other words, what if my locally declared variable was of simple class like: class Sample { private string sName; private int nIdNumber; public Sample() { //... } public string Name { get {...} set {...} } //... } private button_click(....) { Sample mySample = new Sample(); mySample.Name = "Testing Name"; }

    C# csharp testing beta-testing performance question

  • Scope of Refereances to Instances
    M MehmetFurkan

    Hi, I am just beginner in .NET with C#. In my study, I have learned that when an instance of a class created in the heap is not owned by reference (a variable of that class) , the Garbage Collector (GC) removes this instance from the memory after a while. In my first small application in .NET, I hasitate in a point that When I am testing a click event of a button control of my Form1 class, I declared a variable of type a Form class (let's say Form2). The View is like this: private void button1_click(....) { Form2 myForm2 = new Form2(); myForm2.Show(); } Here when the execution gets out of the click event, then I expect that the local "myForm2" becomes out of scope for availibility. But my new form (Form2) still apears on my screen. Why? Cause no availiable reference to this Form2 instance anymore, immediately after the button click event routine. Anything I need to know more about "scopes" and GC ?

    C# csharp testing beta-testing performance 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