Click here to Skip to main content
15,889,610 members

Comments by Member 14837073 (Top 31 by date)

Member 14837073 13-Jul-22 8:00am View    
var jsonFilePath = @"C:\Test2\JosonParser - Copy\JosonParser\json2.json";

var jsonStr = File.ReadAllText(jsonFilePath);

JObject obj = JObject.Parse(jsonStr);

//Select for Particalar tokens
string value_name =obj.SelectToken("['Value Information']['Platform Compensation'][0].Value").ToString();
Console.WriteLine(value_name);



Its has resolved.
but if there any problem while if i used SelectToken
Member 14837073 2-Dec-20 7:32am View    
CFont font;
font.CreateFont(
40,
2,
2,
2,
FW_BOLD,
FALSE,
FALSE,
FALSE,
DEFAULT_CHARSET,
OUT_DEFAULT_PRECIS,
CLIP_DEFAULT_PRECIS,
DEFAULT_QUALITY,
DEFAULT_PITCH,
NULL
);
command_button_control.SetFont(&font);


This code also I tried please help ...I have spend time lots
waiting for the response
Member 14837073 2-Dec-20 0:52am View    
Hi everyone please check my code and give some solutions i try everything ,
pleases help me for this

Every code i try but its not changing

CFont* currentFont = GetFont();
currentFont->GetLogFont(&lf);
lf.lfHeight = 50;
m_font.DeleteObject();
m_font.CreateFontIndirect(&lf); // Create the font.

// Use the font to paint a control.
m_try.SetFont(&m_font);
Member 14837073 1-Dec-20 4:46am View    
Yeh its calling the return value of CreateFont,

But I did not get any changes in Command Link button


@Richard MacCutchan above the code Modify as your knowledge and send me its will helpful for me
Member 14837073 1-Dec-20 4:13am View    
I try with above the link its not working , help me for the any others method