c# tag

485 questions


1 answers
55 views
0
Unable to access Windows SMB shared folder with IP addressing

Using the Task Scheduler, Batch C# to a Shared Folder in When accessing from Windows Server 2012, authentication fails with IP addressing and authentication succeeds with hostname specification.Tasks ...

2 years ago

1 answers
51 views
0
How do I invoke a method from a class?

class sample { public void sample_method() { Test (); // Call Error } } public void test() { Console.WriteLine(Call Complete; }In this case, how do I write the test method to call it?visual studi...

2 years ago

2 answers
123 views
0
Cannot access array elements in COM created with C#

I am making a COM for Excel with C#.Parameter.cs ClassInterface (ClassInterfaceType.None)ComDefaultInterface (type of (IParameter))]ComVisible (true)public class parameter{ public Member [ ] Members {...

2 years ago

1 answers
89 views
0
I want to use Hunspell with WPF, but initialization seems to fail.

WPF uses HunSpell wrapper class NHunspellWrapper.private void Window_Loaded (object sender, RoutedEventArgse){ // spelling check varhunspell=new NHunspellWrapper();}Called by publicNHunspellWrapper():...

2 years ago

1 answers
83 views
0
Error in Exec Running node.js

Thank you for your help.If you try to run the exe file on the C# module using exec(Sync) in node.js, The following error will be printed on the console:Exception.ToString() failed to display the excep...

2 years ago

4 answers
91 views
0
Best practices for modifying collections in asynchronous programming using async/await are:

I have a scene graph of a tree structure in my own game.The parent node has multiple child nodes, and as the game progresses, nodes are added or deleted.Hello is a change to the collection.Asynchronou...

2 years ago

2 answers
37 views
0
Understanding Class Design, Object Orientation in C#

C# is developing a WebBrowser for tabs, but I don't really understand class design and object orientation.Create controls that inherit the current TabControl, TabPage, and WebBrowser controls and On T...

c#
2 years ago

1 answers
42 views
0
I want to convert from coordinates to x:□y:△ of チャン chunk.

For example, let x=16y=0 be x=0,y=0 in chunk 1 as shown in the image.I want to

c#
2 years ago

3 answers
59 views
0
C# Windows form application development, I want to draw a straight line again while leaving the straight line I drew.

We are currently developing Windows form applications.The code description programming language is C#.What we're doing at this point is we can draw a straight line connecting the two points by left-cl...

2 years ago

2 answers
109 views
0
Avoiding XmlReader Not Normalizing Attribute Values

If you use System.Xml.XmlReader in the .NET Framework to read XML data, the blank characters in the attribute values are not normalized.Normalization of blank characters in attribute values is as foll...

2 years ago
« - 34 - »

© 2024 OneMinuteCode. All rights reserved.