How to build a web design program in C# [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I would like to build my own html gui editor, but I can't figure out the basic structure for the application.
Does anyone know of any sample code for building an editor? I would like to use Visual Studio 2010.
The part I don't know is how to build a wysiwyg area to display a page that is being designed.
Any help is appretiated

Most editors are based on the WebBrowser control that comes with Visual Studio. For more info see:
http://www.codeproject.com/KB/miscctrl/csEXWB.aspx
Or if you are more adventurous there are also solutions involving WebKit and Gecko browser engines discussed here:
Is it possible to Embed Gecko or Webkit in a Windows Form just like a WebView?

There is also MSHTML : http://msdn.microsoft.com/en-us/library/aa753630(VS.85).aspx
The editor provided with MSHTML offers
a "what you see is what you get"
(WYSIWYG) HTML editing environment
with a rich set of capabilities. It
can be activated from C++, Visual
Basic, and script. You can use a
number of techniques to customize the
MSHTML Editor. These techniques are
available in C++ only.
Here is a .net wrapper: http://www.itwriting.com/htmleditor/index.php
The HTMLEditor is written in C#.
Unlike the .Net webbrowser control, in
versions prior to .NET 2.0, this is
not an ActiveX control. Rather it is
an ActiveX Document. Even if you are
not interested in MSHTML, you may be
interested in the HTMLEditor as an
example of advanced .NET / COM
interop. It's also not suitable for
embedded web browsing - use the
ActiveX for that.
However, it is a pretty cool control.
It allows editing as well as read-only
display, supports advanced features
like print templates and edit
designers, gives easy access to the
HTML DOM, and lets you load HTML
simply by assigning a string to a
property.

SO user leppie made a very nice editor xacc.ide.

Related

Reverse engineer c# into a format that can be imported to LucidCharts [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to come up with a way to import our current large application into a UML diagram for LucidCharts. LucidCharts supports a vdx XML format from visio. I'm just mainly trying to find a way to do this easily instead of typing each class name and method into LucidCharts. Linking and call chain linking I don't care about as much as I can do that myself.
Are there any easy solutions, or something I can do to read the meta data and make a vdx complaint file?
Actually, there are several open source & commercial tools that will create UML diagram from the C# project and visa-verse. As example, i will try to list three of them:
Option #1: Try to use the Modelmaker. It can work with both Delphi and C#.
I should add that it does more than just diagrams, it can be used for reverse engineering, refactoring and the like. It's been going for a while now and has many great features.
Option #2: You may also try NDepend tool for .NET developers. It comes with both a dependency graph and a dependency matrix and integrates in VS. The graph and matrix can be generated from .NET assemblies and they are interactive. You can download and use the free trial edition for a while and make your own opinion.
Option #3: The Guys at Tigris.org have also done some work on this.
Here is the Open Source Link to the project. It is also very impressive.

Reseources to help understand SharePoint Solution Development [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have some experience branding SharePoint sites through SharePoint Designer using JavaScript, jQuery, HTML, and CSS. Now I am starting a new job in which all development is Visual Studio and instead of modifying master and .aspx pages like a website, I now have to understand code behind pages, event receivers, templates, webparts, etc. None of these things are too difficult to grasp individually but staring down a large solution file with a hundred of these nodes is intimidating.
I decided to ask this question when I went to find the allitems.aspx page for a list to modify the structure of the view, an easy task in SharePoint Designer but in Visual Studio I see no lists or view/form pages.
Can anyone explain, or show me an explanation, of how all of these moving parts and pages of C# code become the SharePoint website the customer sees?
You need to look on SharePoint from the developer's point of view. Ask you team what strategy do they use for deployment as there is several possibilities.
If they use backup/restore strategy you still can apply your
previous experience as before.
But if they use WSP's, features and C# (or/and PowerShell) code for
deployment, i.e. create everything from scratch, you need to learn
Visual Studio. For instance schema.xml files for lists, modules for
custom css, xslt, master pages. Look books recommendation at this question and
check especially this book, it has a chapter devoted to branding
deployment as WSP.
first you need to install VS on the same machine "SP Server machine"
second you need to add references to the SharePoint SDK dlls found in the program files.
third start by playing with SPWeb and SPFile and other classes.
If you have more specific question I can try to help you.

Mini BASIC IDE from C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How could I approach this and are there any libraries out there to simplify it?
Users need to be able to write “Macros” in a VB like language which is stored in a plain text file.
These Macros are then attached to a given button in a C# App and executed when the button is clicked.
This is to be a windows forms app (could be WPF) using .net 4
I need to support popping up forms with controls on them such as text boxes, dropdown lists, labels, buttons & possibly a picture boxes too.
Basic functions like IF THEN ELSE, *, -, %, +, /, =, contains, yes no cancel message boxes…
Passing data from one script to another and getting any data returned.
I know what you are thinking tell them to install VB.net free edition! But I can’t as I need to add some bespoke functionality to extend the language also that allows communication with an in house system providing read and write to and from the system via existing COM objects.
Also the hosting c# app needs to contain many buttons each with the own script attached.
If this wasn’t bad enough the uses need to be able to write their own scripts so ideally some form of basic IDE is needed also.
Any suggestion?
Various technologies come to my mind which allow to implement parts of your requirements.
1.) Use Lightswitch for RAD forms
If you want to have a simple tool for rapidly building simple UIs you could use Lightswitch.
You could provide your own assemblies added as references in Lightswitch that act as a code Framework for the LightSwitch Application.
2.) Windows Workflow Foundation RuleEngine
The RuleEngine allows you to modify/store businessrules. You can bind your internal assembly to the RuleEngine and then you have the possbility to script code based on the bound assembly.
The rules are simple "If" "then" "else" statements.
http://karlreinsch.com/2010/10/18/wf-rules-unleashing-the-rule-engine-within-dot-net/
3.) Load XAML dynamically
With WPF you can serialize/deserialize UIs and load them from an file during runtime. With Blend or own tools you are able to create UIs and bind them to your business logic.
See http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/a53ff197-8703-4c6c-8726-45570304fb7b/
In the case your describing, I would suggest looking into already existing scripting techniques (perhaps such as LUA). You can then hook this sort of script up to existing code (such as an API you have built to leverage the functionality you desire).
The reason I suggest using an existing scripting system is because it has already been tried and tested, and it means you don't have to define a new language yourself and build the parsing engine.

.net 2.0 winform control in asp.net [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to use .net winform control in asp.net.I wrote the control and displays in asp.net.Is it necessary I have to create a package and deploy in client machine? or since .net framework available in client machine without package it will work.
While this is possible, by hosting a UserControl as Active-X - I generally don't recommend it for a variety of reasons:
It's basically an Active-X control. There have been a lot of security concerns around this technology.
It will only work in Internet Explorer. Internet Explorer has been hemorrhaging market share over the past few years.
Generally it's possible to achieve what you want using JavaScript + HTML. What specific example can you think of where current web standards cannot solve it?
You can learn more about using a WinForm UserControl as an Active-X object here.
In reality, you are better off using browser-based technologies, such as HTML, JavaScript, SVG, etc. If that isn't good enough - then alternative technologies like Silverlight are a much better choice. It's cross-platform, more modern, and designed to run in the browser.
This blog explains how to do it, especially how to package the dll and deploy it (using gacutil).
And, obviously, you will have to have the .net framework on the client computer.
However, in the 2010's I'd would highly suggest you to use more manageable tools, like SilverLigth, Flash, or event Html + Javascript (jQuery is your friend)
You can not do what you are wanting to do. WinForms controls have no way to render as HTML.
You can't use a WinForms control in ASP.Net.
ASP.Net controls render to html on a webpage. WinForms controls run in a message loop on the client machine.

Improve the design of GUI/website [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
So i am using visual studio 2008, asp.net 3.5, with the basic toolkit provided.
Now i have made the gui which a lot of functionality but the design is very basic.
and looks too old.
I need to give it a new look, a new feeling new designs....
like the gridview, the buttons the textboxes, the menus look basic...
this is not working for me.
Please let me how should i go about doing this.??
1) i have herd about tool kits but dont kno which ones are good..(dont want the really expensive ones) but if it is really good my company is ready to spend.
2) will the new VS 2010 or asp.net 4.0 make a difference.
3) The ajax toolkit or silverlight toolkit is any good?
4) i also need to show Charts and graphs now, currently using MS charts.. but now i need
which is good.
Your best bet is to ask very specific questions at a more appropriate forum.
For ideas on designs, look for examples online and do something similar to what you like.
http://www.thecssawards.com/
http://www.csselite.com/
For questions on how to implement a specific design in html/asp.net/whatever, post a very specific question here.
For UI guidance on how to make something specific look better, post a question on http://ui.stackexchange.com. Include a SMALL screen shot of the applicable controls (not the whole page, just the part you're asking about, or at least highlight the part you're asking about).
.NET 3.5 vs .NET 4 will have no real effect on the design of your site. Whether your choose HTML or Silverlight will have a huge effect, but neither is generally better for all sites and switching between them basically means rewriting everything, so you wouldn't do it just for design reasons.
I assume you are referring to UI control libraries.
Some of the commercial libraries that I know off and widely used include:
Telerik RAD Controls
Infragistics
DevExpress
They all have a good range of controls from Menu to Charting.

Categories