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
A

a fatemeh

@a fatemeh
About
Posts
25
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • problem in clips programming
    A a fatemeh

    yeah, I do that but I didn't get any answer so I post here. yours help a lot because every time I check every thing else rather than brackets. I didn't pay attention to that at all, it was just frustrating to check sth again and again and don't know what to do. my problems solved, THX

    C / C++ / MFC help question

  • problem in clips programming
    A a fatemeh

    thanks,I have used that link but I think may be I could find my answer here. thanks i'll try once more

    C / C++ / MFC help question

  • problem in clips programming
    A a fatemeh

    I'm not sure where should I post this but it's part of the code in Clips (C Language Integrated Production System ) environment which is software tool for building expert systems. please let me know where should I post it?

    C / C++ / MFC help question

  • problem in clips programming
    A a fatemeh

    hi every one, i'm trying to write a simple code in clips but I'm getting this error which i can't find what the problem is. I would be grateful if any one could help. Defining deffunction: user-Question Defining defrule: Rule0 [PRNTUTIL2] Syntax Error: Check appropriate syntax for defrule. ERROR: (defrule MAIN::Rule0 (not (tank-is-full ?) => this is part of my code:

    Quote:

    ;;;************
    ;;;* Functions*
    ;;;************
    (deffunction user-Question(?question ?answer $?values)
    (printout t ?question)
    (bind ?answer(read))
    (stringp ?answer)
    =>
    (bind ?answer(lowcase ?answer))

    (while (not (member$ ?answer ?values)) do
    (printout t ?question)
    (bind ?answer(read))
    (stringp ?answer)
    =>
    (bind ?answer(lowcase ?answer))
    )
    ?answer
    )

    ;;;**********************
    ;;;* ENGINE STATE RULES *
    ;;;**********************

    (defrule Rule0
    (not (tank-is-full ?)
    =>
    (bind ?tank-is-full user-Question("Is there any petrol in the tank(Yes|No)?"yes YES Yes NO no No)
    (assert(tank-is-full ?tank-is-full)
    )
    ;;;****************************

    C / C++ / MFC help question

  • Clips
    A a fatemeh

    Thx,but I'm looking for sth which explain it by a simple expert system step by step.

    C / C++ / MFC tutorial help question

  • Clips
    A a fatemeh

    I'm so sorry. what I mean is programming in Clips (C Language Integrated Production System) which is a Tools for expert system.

    C / C++ / MFC tutorial help question

  • Clips
    A a fatemeh

    Hi every one, I'm not sure where should I ask my question, I want a link or eBook which explain clips programming but with an expert system example step by step. not form the beginning. I have search the net but I couldn't find what I'm looking for. I would be so thanks full if some one could help.

    C / C++ / MFC tutorial help question

  • oltp vs olap
    A a fatemeh

    thanks by the way. it seems I'd hardly find one.

    Database database visual-studio help tutorial question

  • oltp vs olap
    A a fatemeh

    thanks so much,i almost know what you are talking about. but I really want a query . this is a an extract from a book :"Although many decision-support queries can be written in SQL, others either cannot be expressed in SQL or cannot be expressed easily in SQL." I want an example of this kind of query which is written in both.

    Database database visual-studio help tutorial question

  • oltp vs olap
    A a fatemeh

    hi every one i'm not sure if it's true to brought my question here but I want to make clear how much Datawarehouse is useful for a company.what i want is a query example in sql which is long and hard for operational database and is a piece of cake for analytical database. I've searched a lot but I can't fine one may be I searched wrongly but I would be so thanks full if any one could help me with this as soon as possible.

    Database database visual-studio help tutorial question

  • Change Combobox Look in WPF
    A a fatemeh

    Hi,every one How can we change the combobox look in Wpf? what I mean in here is to change it from rectangle into ellipse. thank you all in advance.

    C# csharp wpf question

  • GetAsyncKeyState in diffrent languages
    A a fatemeh

    :) yes,it's kind of my answer ,the code has problem which one of them was mentioned below the code is that MapVirtualKey actually returns a uint, not an int. part of Mycode is as below but it's just show nothing which I couldn't find where the problem is;

    //vkey is an arrey of virtualkeycode for example Vkey[1, 35] = 0x5A which is for Z;
    const uint MAPVK_VK_TO_VSC_EX = 0x04;
    const uint KLF_ACTIVATE = 0x00000001;
    textBox2.Text = InputLanguage.CurrentInputLanguage.Culture.EnglishName;
    for (int i=0; i<120; i++)
    {
    if( (KeyLogger.Methods.GetAsyncKeyState(Vkey[1,i])== 1) || (KeyLogger.Methods.GetAsyncKeyState(Vkey[1,i]) == Int16.MinValue))
    {
    uint temp=KeyLogger.Methods.MapVirtualKeyEx((Convert.ToUInt32(Vkey[1,i])),MAPVK_VK_TO_VSC_EX,KeyLogger.Methods.LoadKeyboardLayout(InputLanguage.CurrentInputLanguage.Culture.KeyboardLayoutId.ToString(),KLF_ACTIVATE));
    StringBuilder keyname=new StringBuilder();
    int nsize=50;
    if (KeyLogger.Methods.GetKeyNameText(Convert.ToInt32(temp),keyname,nsize) !=0)
    {
    keyBuffer+=keyname.ToString();
    }
    }
    }
    if (keyBuffer != string.Empty)
    textBox1.Text=keyBuffer;

    C# json help

  • GetAsyncKeyState in diffrent languages
    A a fatemeh

    It's not what I mean. below is kind of my problem : http://msgroups.net/microsoft.public.vc.mfc/mapvirtualkey-in-different-languages/130087[^] thank you so much I'm really sorry if I taking up your time.

    C# json help

  • GetAsyncKeyState in diffrent languages
    A a fatemeh

    thank you so much, what I want to do is what you mentioned above. what I mean here is to have a character of the key which is pressed,but in different language(the language that is in the layout) I have seen this function before but, I ran into lot's of problem(sorry I don't have lot's of experience)first is that by using GetAsyncKeyState I can't access to the virtualkeycode, the next problem is that I don't know which type of mapping should I use to reach to my goal . Part of my code is written below:

    foreach (System.Int32 i in Enum.GetValues(typeof(Keys)))
    {
    int k=i;
    if( (KeyLogger.Methods.GetAsyncKeyState(i)== 1) ||(KeyLogger.Methods.GetAsyncKeyState(i) == Int16.MinValue))
    {
    keyBuffer += Enum.GetName(typeof(Keys), i) + " ";
    }

    C# json help

  • GetAsyncKeyState in diffrent languages
    A a fatemeh

    Hi I used the GetAsyncKeyState API function Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Integer) As Short My problem is that I have to know if the key that pressed is the English or other languages to print out the key which is pressed thank you in advance to helping me out

    C# json help

  • keycode
    A a fatemeh

    hi every one I'm really sorry if my question is quite simple what I'm trying to reach is keycode. that is in the code below:

    foreach (System.Int32 i in Enum.GetValues(typeof(Keys)))
    {

         int x = KeyLogger.Methods.GetAsyncKeyState(i);
    

    and then if any key is pressed i want to use MapVirtualKey to map and after all getkeynametext to access to it's name. what i'm trying to accessed is the keycode which I access to it's Enumvalues to use it in the code bellow

    unit key=MapVirtualKey(m,MAPVK_VK_TO_VSC);

    what i need here is M which is a virtualkeycode that i have it's enumvalues in i; thank you all in advance for helping me.

    C# question

  • Current process information
    A a fatemeh

    thanks for your comment; I need it through a program .. what I mean here is currently running application but not this application;

    C# help

  • Current process information
    A a fatemeh

    thanks a lot; I would like to write an application to run at the back ground( I mean do such thing except for itself); do you recommend any thing?

    C# help

  • Current process information
    A a fatemeh

    here is the problem which I come across with: I want to get process name ,application name and it's window title name with the code below

    listView1.Columns.Add("CurrentProcess", 2000);
    listView1.Columns.Add("CurrentProcessPID", 500);
    listView1.Columns.Add("CurrentApplicationname", 2000);

    listView1.Items.Insert(1,Process.GetCurrentProcess().ToString());
    listView1.Items.Insert(2,Process.GetCurrentProcess().MainWindowTitle);
    listView1.Items.Insert(3,Process.GetCurrentProcess().Id.ToString());

    but when I run my code I get this result system.diagnostics.process(currentApplication on ByPId.vshost) form1 I enter this code to run in a timer tick so I use other application in the middle of this running code but I just get the result above. I would appreciate any commend

    C# help

  • error code
    A a fatemeh

    thanks a lot , I've done what you recommend,it Worked

    C# help csharp visual-studio
  • Login

  • Don't have an account? Register

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