JJ
JJ
CC#
Created by JJ on 4/19/2024 in #help
how to set Button Style [wpf]
No description
2 replies
CC#
Created by JJ on 4/16/2024 in #help
how to download file using wpf ? [FTP]
I will implement Ftp Client, but i don't know how to download Files like csv files and If filedownload is stop by any issue like socket disconnect, then after issue resolved, the ftp client can Continuosly download from stop point, is there any matierial or tutorial? Im using dotnet 8.0 wpf, not dotnet Framework (I know dot net 8.0 is not supported Ftp library right? but I have to making ftp client using dot net 8.0
7 replies
CC#
Created by JJ on 4/15/2024 in #help
✅ What is Color value?
No description
7 replies
CC#
Created by JJ on 4/14/2024 in #help
[WPF]How to binding in the UserControl.xaml at the same time load UserControl.xaml UI?
No description
45 replies
CC#
Created by JJ on 2/3/2024 in #help
✅ how to set bigger font size than this part in the visual studio?
No description
3 replies
CC#
Created by JJ on 12/12/2023 in #help
heart beat in console program
I have a code that implements multi-threaded socket communication with c++, and I want to add an additional heart beat code. However, when the server is waiting for a client message through recv for each thread, how does make run the heart beat? If you let me know the logic or hint, I want to try it.

while ((nReceive = ::recv(hClient,
szBuffer, sizeof(szBuffer), 0)) > 0)
{
puts(szBuffer);
//Send received strings to all connected clients
SendChattingMessage(szBuffer);
memset(szBuffer, 0, sizeof(szBuffer));
}

while ((nReceive = ::recv(hClient,
szBuffer, sizeof(szBuffer), 0)) > 0)
{
puts(szBuffer);
//Send received strings to all connected clients
SendChattingMessage(szBuffer);
memset(szBuffer, 0, sizeof(szBuffer));
}
recv enter infiniteloop, and waiting until recevie message from client. i wanna make heart beat code. but It can't since recv. this is all code: https://ideone.com/TWRvnB
20 replies
CC#
Created by JJ on 12/8/2023 in #help
Q&A : visual studio font size function
No description
4 replies
CC#
Created by JJ on 8/11/2023 in #help
❔ char and character size difference
Im wandering why beteween char size having 2 byte and character size having 1byte is differ. character isn't it 2byte since char data type?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CS_Tutorial
{
internal class Program
{
static void Main(string[] args)
{
string abc = "abcdefg";
int size = Marshal.SizeOf(abc[0]);
Console.WriteLine(size);
Console.WriteLine(sizeof(char));

}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CS_Tutorial
{
internal class Program
{
static void Main(string[] args)
{
string abc = "abcdefg";
int size = Marshal.SizeOf(abc[0]);
Console.WriteLine(size);
Console.WriteLine(sizeof(char));

}
}
}
6 replies
CC#
Created by JJ on 8/9/2023 in #help
❔ C# WebCrawlling File Download
2 replies
CC#
Created by JJ on 8/3/2023 in #help
❔ WPF, .NET] using DBMS
I made a 'to do list' program with WPF, and I want to add a save function for list data. Do you usually use dbms to maintain the data (text lists saved in the To do list) when the program is re-executed after it is terminated?
9 replies
CC#
Created by JJ on 7/22/2023 in #help
❔ how to exexcute Window program ( WPF)
Hi I made To do list application using wpf. It is ok that execute it in bin file - Debug, Release 's exe file. so I upload program in my blog. but after I download it and then when excute, It can't be execute. how to solve this problem? https://github.com/Jlim01/StickyNotes.App this is my code. you can download and then execute it https://boot-my-camp.tistory.com/12 this blog is my blog and I upload my to do list program. ( problem, if you download it , you can't execute it maybe) I tried turn off windows defender firewall, but It can't execute still
21 replies
CC#
Created by JJ on 6/10/2023 in #help
❔ [WPF] HighLight text problem.
3 replies
CC#
Created by JJ on 6/7/2023 in #help
❔ [WPF] C# Grammer, find string
41 replies
CC#
Created by JJ on 6/7/2023 in #help
❔ [Window]Visualstudio suddenly knock down..
Description: A .NET application failed. Application: ServiceHub.IndexingService.exe Path: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\ServiceHub\Hosts\ServiceHub.Host.Dotnet.x64\ServiceHub.IndexingService.exe Message: Failed to read environment variable [DOTNET_STARTUP_HOOKS], HRESULT: 0x800700CB this is error message in window's EventViewer. suddenly my Visualstudio program is closed autometcally. this problem is related about memory? because My memory goes up to 90 % ,
8 replies
CC#
Created by JJ on 6/7/2023 in #help
❔ [WPF] How to input ComboBox into TextBlock
11 replies
CC#
Created by JJ on 6/6/2023 in #help
❔ [WPF] How to use method at other file without static, making object ?
3 replies
CC#
Created by JJ on 6/5/2023 in #help
✅ [wpf] how to solve autometically closed new window when I create new window..
44 replies
CC#
Created by JJ on 6/5/2023 in #help
❔ how to use List that have struct type ( WPF)
public struct Linq { public Window win; public TextBox textBox; } private void newWindow() { Window win = new Window(); TextBlock t = new TextBlock() List<Linq> a = new List<Linq>(); a.Add(win, t); } I wanna input struct Linq (TextBlock and Window class object) to List
23 replies
CC#
Created by JJ on 6/4/2023 in #help
❔ wpf : I don't want blind contents like buttons textbox when I window size is change
12 replies