Hi,
I am having problems with a table containing checkboxes in Word.
I am working with a table containing 10 checkboxes. Next to this table, there is an image.
When the user checks one of the checkboxes, something has to be added to the image, i.e. the image is further completed.
However, the order of checking the checkboxes is not fix...
Hi stackoverflow,
is there some way to autogenerate the obvious 2-param constructor for this class in visual studio?
class Thing {
public readonly string a;
public readonly Object b;
}
I guess you're supposed to use the:
new Thing { a = ..., b = ... }
syntax in such cases, but that won't work with readonly fields as above. Ano...
The project I'm working on requires me to write lots of repetitive code. For example, if I want to load a image file called "logo.png" in my code, I would write something like this:
Bitmap logoImage;
...
// Init
logoImage = load("logo.png")
...
// Usage
logoImage.draw(0, 0);
..
// Cleanup
logoImage.release();
Having to write this co...
I have an xsd file in my csproj, from which xsd.exe generates a wrapper cs file.
I'd like to comment the xsd file in a way, that the comments are also inserted into the generated wrapper class, so VS intellisense can be used effectively.
Is this possible using xsd.exe?
...
I have a couple of super simple databases. Basically they all consist of single tables that saves tracking/logging data etc.
Now I want to list this data but I'd like to find a solution that's applicable to all the different tables in all the databses. SO basically I'm looking for some way/some pattern of pointing a solution to a databa...
We have XML files and we want to have C++ classes generated out of XML schema like we have it in .NET xsd.
Also the generated classes instance needs to provide appropriate XML by calling some methods.
...
Here's a scenario:
I have a webservice, let's call this StockQuoteService deployed on tomcat (axis).
There is this method getStockQuote() exposed via this webservice.
Now, I would like to build a GUI tool which would build a webservice called StockQuoteServiceEx on the fly. The new webservice would expose the same methods as StockQuot...
I'm working on a Java project and am looking for a library that creates C++ source code, much like Java Code Model (discussed here: A Java API to generate Java source files).
Thanks in advance!
...
I have a .java src file that looks like this:
class Test {
public void foo() {
}
}
I would like to modify foo() programatically, in the sense, say add a sysout and make it look like this:
public void foo() {
System.out.println("hello world");
}
Are there any known ways to doing this by NOT directly edit...
There are a few resources on the web that are instructive in writing Scala compiler plugins that pattern-match against the code, but these don't help in generating code (constructing symbol trees). Where should I start to figure out how to do this? (If there's an easier way than to manually build symbol trees, I'd be interested as well.)...
I have seen alot of frameworks that generate stub applications, like Ruby on Rails for example, where most of the code is used for business domain logic, but why do we have generated code still. Wouldn't a library be better?
...
Just out of curiosity, are there any (stable) open source projects for runtime java code generation other than cglib? And why should I use them?
...
Is there in the world analogues of JavaBeans or JAXB for PHP?
Is it possible to generate PHP classes from XML schema?
It's common practice to publish API's as XSD schemas. Java and C# guys can get advantage of this by generating classes right from XSD. Is there same tool for PHP?
...
When a system generates source code which is used by a system, should that code only be used for scaffolding (as in rails) where the user "fills in the blanks", or is there a case for generated code that is created and never amended by anyone except the code generator.
...
We develope with OpenLaszlo framework.
The idea is to have a tool to design UI components. The output should be an XML to use as a source for code generation.
The tool should be opensource.
What do you suggest?
Thanks in advance.
Note: I was searching previous questions, but I couldn't find any for our needs.
...
I'm using CodeCompileUnit and CSharpCodeProvider to generate some source code. It adds the header below to all generated code. Is there a way to customize the comment so it says something else?
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause i...
I have an c# Class Library where I need some dynamic template based text.
Instead of inventing my own template parser I thought I could create an aspx file in my project that is executed at runtime and, instead of viewing the output in a browser, I want a StreamReader or string object that holds the result.
Is that possible? And if yes,...
Due to red tape issues, my team has been trying to get continuous integration running on a Citrix server instead of our own box. The problem is that we use IBM's Rhapsody tool to generate our source code, which creates file permission issues.
Given that our problem is a little specific, I'm looking for more general lessons learned. Has ...
We are building an inhouse application which needs to generate HTML files for upload into eBay listings. We are looking to use a template engine to generate the HTML files based on database and static fields that we have pre-defined. The template also needs to have logic capabilities (if-then, foreach, etc).
We have looked at T4 and it ...
In our case we want to igonore changes in code comment headers for generated code. In Visual Studio, we can change the merge tool (GUI that pops up) and use a 3rd party tool that is able to be customized to ignore changes (http://msdn.microsoft.com/en-us/library/ms181446.aspx). Great, so a file comparison no longer highlights code commen...