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

Mic Mathi

@Mic Mathi
About
Posts
21
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I change the numeral shapes to arabic?
    M Mic Mathi

    How can I convert the keyboard layout to arabic? I could covert the characters using the API 'LoadKeyboardLayout'. But the digits are not converting to arabic. I searched in the net for the API I understand the digits can convert with the function 'SetLocaleInfo'. This function receives 3 arguments but i don't know the value should be passed to this funtions. Please help to find the values of the arguments. Thanks and Regards, Mic

    Visual Basic question json help

  • Remembering Password in Asp.net
    M Mic Mathi

    Can we use cookies for that? :sigh: :confused: :confused: :confused:

    ASP.NET csharp asp-net security

  • Problem in remoting
    M Mic Mathi

    Oh yes :) the scenario I explained above, it happened when the server interface tried to add a user to remoteable object. Its work in an event of server interface windows application. I tried another example, which is not call from any event. It is working. Therefore, as per you said I will use delegates. But how can you understand that it is the problem of events? Actually I didn't understand what is the real problem that's why I ask. Thanks for your precious advice. Thanks and Regards, Mic

    C# help question sysadmin lounge career

  • How to change the keyboard layout?
    M Mic Mathi

    Thanks for your reply. It will change the characters but it is not changing the digits. Thanks and Regards, Mic

    C# question json help tutorial

  • How to change the keyboard layout?
    M Mic Mathi

    How can I convert the keyboard layout to arabic? I could covert the characters using the API 'LoadKeyboardLayout'. But the digits are not converting to arabic. I searched in the net for the API I understand the digits can convert with the function 'SetLocaleInfo'. This function receives 3 arguments but i don't know the value should be passed to this funtions. Please help to find the values of the arguments. Thanks and Regards, Mic

    C# question json help tutorial

  • Problem in remoting
    M Mic Mathi

    Hi all, I did a chat application. But I stuck in the finishing point. I used a windows service as server. This windows service will create and maintain a remoteable object. The clients are connected to this remoteable object using tcp channel. In addition, I implemented an application for the interface of server. This windows application will run on the server machine. Users are added throw this windows application. In addition, the available users and their status will display in this application. The windows service with startup type automatic will always run on the machine. Whenever the windows application for the server interface started, It will call a function on the remotable object to attach this application to windows service. remotableObject.AttachServer(this); 'this' will stored in the 'remotableObject'. So whenever the clients become online or offline, they will send a notification to windows service. If the server interface application is running the windows service will try to list the status of users in a list box. To do this, windows service will pass a serialized class of 'users' to server interface application. Everything is ok till here. I could deserialize the 'users' object. Now only one job is remaining is that list the users in a 'listbox' control. But when i call the functions of listbox, the program stop responding. No errors are displayed. Can you guess what is the problem? Thanks and Regards, Mic

    C# help question sysadmin lounge career

  • Nuclear supply to india is gonna be a sh*t
    M Mic Mathi

    Yes, but if India violates the agreement then what will do? Can US challenge the India like Iran or Afghanistan?

    The Back Room question

  • Nuclear supply to india is gonna be a sh*t
    M Mic Mathi

    No US has a responsibility to prevent the spreading of nuclear technology.

    The Back Room question

  • Nuclear supply to india is gonna be a sh*t
    M Mic Mathi

    US will supply nuclear fuel to India. I am not think that they won't use it for militant purpose. But this is a real threat against Pakistan and China. How can the US ensure the nuclear fuel will not use for making U-bombs?

    The Back Room question

  • How can i find the ip of my computer?
    M Mic Mathi

    Thank you for your information. My computer is located on Eastern Province, Saudi Arabia

    ASP.NET question com sysadmin

  • How can i find the ip of my computer?
    M Mic Mathi

    My computer is connected to internet throw a DSL cable modem. ipconfig command says that the ip address is 192.168.1.64. I think this is the IP of lan card. "Network connection's" settings is as "Obtain an IP address automatically". By the way, ipconfig also says the "Default Gateway" is 192.168.1.1. This is the IP address of my modem. When I type is address in IE, the modem settings page is opened. That settings page says the IP is 88.213.51.58. I typed this on IE, It opened the modem settings page again. I tried the "ipaddress.com", it says my IP is 212.107.116.248. Each sources showing different IP. How can I find the correct one?

    ASP.NET question com sysadmin

  • Does the interface servers all the needs of multiple inheritance?
    M Mic Mathi

    Ok. Even though I didn't fully understand what you trying to say, thanks for your response and the time to spend me. :) Now I am going to sit back and starting to learn what is Data layer, what is Business layer from all the possible resources.

    Ken,Mexico(Guanajuato)

    ASP.NET question csharp business oop help

  • Does the interface servers all the needs of multiple inheritance?
    M Mic Mathi

    Yes i think so. I am sad that my all works become useless. I have work again from the scratch. Can you please give me any useful links of articles about this subject? Thank you

    Ken,Mexico(Guanajuato)

    ASP.NET question csharp business oop help

  • Does the interface servers all the needs of multiple inheritance?
    M Mic Mathi

    I faced a situation that needs a multiple inheritance. Unfortunately .net is not supporting it. I cannot use an "interface" for this purpose. Let me tell you the scenario. I have a data layer class say "clsDL". There is another class for the common functions say "clsCommon"(It is common for all modules). I have several modules in my project (several projects in a solution) each module has its own common class for the common functions in that moule. Every form in the GUI layer has a class in Business layer. The data layer class inherited to "clsCommon" and all the common classes for each module. Now i want to inherite the "clsCommon" and the common class for the particular module into a particular business layer class. I don't want to merge the common functions. If i implement the interface, I have to make an interface for anyone of the two common class and declare the object of that interface class in the business layer class. The problem is that the functions are in these common classes is not same. Therefore, I can't take the advantage of "interface". How can I solve the problem? P.S: Sorry if I make you confused!

    Ken,Mexico(Guanajuato)

    ASP.NET question csharp business oop help

  • Is it required to open and close the data connection for every database operation?
    M Mic Mathi

    Thanks for that link. Actually i was blind on this problem. Now i got a thread. Let me to read that article for creating a systematic database connection. Thanks and regards

    Ken,Mexico(Guanajuato)

    ASP.NET question database

  • Is it required to open and close the data connection for every database operation?
    M Mic Mathi

    Yes i am following this method. I wrote the connection string in web.config file. But what is my problem that opening database connection each time makes my site slow. I noticed that some of the functions are slow because it take 1 or 2 seconds to open a connection. Thanks and regards

    Ken,Mexico(Guanajuato)

    ASP.NET question database

  • Is it required to open and close the data connection for every database operation?
    M Mic Mathi

    I was a windows application programmer. I am newbie in web. What i did in windows application is that the database connection will implemented at the time of start up the program. But when i started the work on web application i got an advice to open and close the database connection for every database operation. As an explanation they said it is the safest method. But what is the risk? I searched some time in Google i couldn't find a good answer. Can i store sqlconnection object in application variables? Or is there any other good method? Can i get any useful links for this? Thanks and regards

    Ken,Mexico(Guanajuato)

    ASP.NET question database

  • Which one is the smart coding?
    M Mic Mathi

    You said it. :-D

    Ken,Mexico(Guanajuato)

    ASP.NET database question sharepoint sysadmin tutorial

  • Which one is the smart coding?
    M Mic Mathi

    Yes you are correct. It is the standard way.

    Ken,Mexico(Guanajuato)

    ASP.NET database question sharepoint sysadmin tutorial

  • Which one is the smart coding?
    M Mic Mathi

    Thank you so much sandeep. I think it is almost same. Isn't it?

    Ken,Mexico(Guanajuato)

    ASP.NET database question sharepoint sysadmin tutorial
  • Login

  • Don't have an account? Register

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