Quantcast
Channel: Programming – Xinyustudio
Browsing all 284 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

UGNX .net API: How to get the parameter range of a curve?

static public void GetCurveParamRange(Tag CurveTag, out double MinPara, out double MaxPara) { UFSession gUfSession = UFSession.GetUFSession(); IntPtr evaluator; double[] pararm_range = new double[2];...

View Article


Image may be NSFW.
Clik here to view.

Particle swarm optimization: the simplest what and how

While there exist many introductory materials on Particle Swarm Optimization (PSO), it is best to have an intuitive example, simple, understandable at first reading, and illustrative. I personally do...

View Article


Image may be NSFW.
Clik here to view.

Message: Unable to load DLL ‘libpart’: The specified procedure could not be...

In a recent project, I was required to develop a .Net assembly DLL and use it together with COMSOL with Matlab, where Matlab serves as the hub, and the .Net Assembly provides some services, Matlab...

View Article

Image may be NSFW.
Clik here to view.

Microsoft LightSwitch standalone download Link (ISO)

http://go.microsoft.com/fwlink/?LinkId=201345 Filed under: Dotnet/C#

View Article

Image may be NSFW.
Clik here to view.

WCF Learning Note (I)

How to: Define a Windows Communication Foundation Service Contract using System; // Step 5: Add the using statement for the System.ServiceModel namespace using System.ServiceModel; namespace...

View Article


Image may be NSFW.
Clik here to view.

Intel AppUp .Net SDK

The Intel AppUpSM developer program: Provides developers with everything they need to create and then sell their applications to users of millions of Intel Atom-based devices. Gives developers, OEMs,...

View Article

Image may be NSFW.
Clik here to view.

WebMatrix: A cool tool for lightweight asp.net web design

Your First Website Using WebMatrix Create an ASP.NET Website from Scratch Create a website from a WebMatrix site template Add and edit ASP.NET web pages Create an open-source wiki website from the Web...

View Article

Image may be NSFW.
Clik here to view.

Google APIs & Developer Products

Filed under: Programming

View Article


Image may be NSFW.
Clik here to view.

Serialize & Deserialize derived class insances in generic List: Problems &...

There have been numerous discussions on serialize & deserialize derived class insances to and from generic List<T> and XML files. The problem is when you declare the collection as...

View Article


Image may be NSFW.
Clik here to view.

VisualStudio 2010 sp1 standalone ISO download link

ISO Link: http://download.microsoft.com/download/E/B/A/EBA0A152-F426-47E6-9E3F-EFB686E3CA20/VS2010SP1dvd1.iso  Or http://go.microsoft.com/fwlink/?LinkId=210710 What is new? Filed under: Programming

View Article

Image may be NSFW.
Clik here to view.

MFC:Using Numerical Recipe in C++

I was forced to come back to MFC, as the company I am now serving still uses VisualStudio.net 2002. The happy days using C# are gone,… tears… Below is my trial to use code from Numerical Recipe in C++,...

View Article

Image may be NSFW.
Clik here to view.

WinForm:Using Numerical Recipe in C#

In my previous post, I have presented how to use the code of Numerical Recipes in MFC/C++. In this post, the use of it in C# is discussed. The most straightforward way is to use some wrapper class,...

View Article

Image may be NSFW.
Clik here to view.

How to manually setup/modify Visual C++ Project settings such as /GL, /Yu...

Most Visual C++ project settings can be setup using the Project Properties dialog, but not all. In my recent project, I am trying to host Windows Form in MFC (VS2002), and the directive “/clr” must be...

View Article


Image may be NSFW.
Clik here to view.

How to use .Net Winform or UserControl in MFC

For VisualStudio 2005 or above versions, refer to below link http://msdn.microsoft.com/en-us/library/ahdd1h97.aspx http://msdn.microsoft.com/en-us/library/b1kyh79x(v=VS.80).aspx The basic idea of this...

View Article

Image may be NSFW.
Clik here to view.

Using /clr and incompatibility troubleshooting in MFC applications

In some circumstances, to use C# Winform or other .Net objects in MFC applications, the “/clr” directive should be used in the MFC project settings. However, it is found not always possible to use...

View Article


Image may be NSFW.
Clik here to view.

Duplicate Toolbars/buttons after reinstalling Visual Studio .Net

My Visual Studio.Net crashes frequently and I then asked my colleague to reinstall it for me. Sadly, after reinstallation, the GUI becomes rather chaotic, with duplicate toolbar buttons as shown below:...

View Article

Image may be NSFW.
Clik here to view.

Learning openFramework from a MFC-er’s perspective

Recently I began learning openFramework and ever talked with my colleagues about how to adapt to it as quickly as possible. As a programmer who started programming along the path C –> C++/MFC –>...

View Article


Image may be NSFW.
Clik here to view.

openFramework in VisualStudio: “error C2001: newline in constant” or...

When compiling the examples in the openFramework, if you encounter the below errors: “IntelliSense: too many characters in character constant    …icons.h” or error C2001: newline in constant (see below...

View Article

Image may be NSFW.
Clik here to view.

Git Command explained with snapshots (I)

The very beginning step is probably creating/selecting a folder (e.g. C:\_Test) where to keep your source code. Now this folder is just a common folder, and it is not a Git repository yet. To let Git...

View Article

Image may be NSFW.
Clik here to view.

A brief list of git commands

  git fetch origin(origin is the serve alias) Looks up which server is origin; –> fetches any data you don’t have—>update local data base –> moving the origin/master pointer to up-to-date...

View Article
Browsing all 284 articles
Browse latest View live