I am converting a .NET 1.1 ASP.NET web project to .NET 3.5 in VS 2008. The conversion ran without any errors. However, when I open up a code-behind file for an aspx page, the lines of code that reference controls on the page are not being recognized as existing. I looked at a brand new .NET 3.5 Web Application and all the aspx files h...
I need a plain text representation of an arbitrary HTML file (e.g., a blog post). So far that's not a problem, there are dozens of HTML to txt converters. However, the text in paragraphs (read "p elements") should be justified in the plain text view (to a certain amount of columns) and, if possible, hyphenated to give a better readable r...
Everything is in the question : I have a Php script that is a UTF-8 file.
In this script I want to do this :
<?
echo "âêïû\n";
?>
If I run it in a MSDOS prompt I get this :
C:\php>php -c C:\WINDOWS\php.ini -f mysqldump.php
âêïû
C:\php>
I've not been able to find the right conversion scheme. I've tried also this code :
$t...
I am trying to convert treePtr->item.getInvest() which contains a string to an integer. Is this possible?
...
I am trying to convert an SVN repository to Mercurial, but I'm having some troubles. These are the steps I've taken: (I am on Windows)
Turned on "convert" in the extensions
Opened a command window, and typed:
hg convert http://myversioncontrorepositoryhere
It says it's initializing the destination folder and then asks:
Enter use...
Hi,
if I have two classes, and have defined an explicit type conversion between them, should I not be able to convert an array of one to an array of the other ?
ie.
using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Apple ted = new Apple() { Variety = Ap...
I'm working on a blog migration from a custom built blog to Wordpress. One of the fields that Wordpress is looking for in the database is a date/time stamp set to GMT, which is 4 hours ahead of our time. So I basically need to take our date/time stamp (in YYYY-MM-DD HH:MM:SS format), and add four hours to it. I was looking at the MySQL c...
My office relies on dozens of old MARK IV programs on a mainframe to pull down and manipulate data from a DB2 database into mainframe files (which eventually turn into excel spreadsheets at the moment).
I have been tasked with starting the conversion process - understanding these programs and moving the logic over to a modern technology...
I'm working on a project that involves converting a large amount of HTML content to plain/text. I have a custom-written module that does the job OK, but I'm wondering if there's some standard tools to help get the job done.
...
Hello,
I'm trying to get the sent date from outlook mails. For external mails I got it already running (see: How do I read the Recieved Date from Outlook MSG files -without- the Outlook API?), but for internal mails I get sth. like
"091026132413Z-64"
where
091026 is the date 26.10.2009 (in german file format dd-mm-yyyy) and the rest...
When convering a asp.net 1.0 app to run with asp.net 3.5 vs.net 2008, do I need to modify the web.config?
...
Does anyone know a tool to convert from Cobol Copybook to XSD? Or XML.
...
I'm trying to pass three parameters to my write() function:
write(fd, "C,1,1\r\n", 7);
This works fine. But I would like to take a parameter and pass it to the command portion to make it dynamic:
write(fd, N, 4);
I'm not familiar with c++ types, but it keeps asking for a type of "const void*" I've been able to convert my variable, ...
What is the commonly accepted method for converting arbitrary objects to and from their String representations, assuming that the exact class of the object is known ? In other words, I need to implement some methods similar to the following:
public interface Converter {
/**
* Convert this object to its String representation.
...
Hi,
Has anybody come across a situation where an existing code-base written (say) in Java and written by (say) French programmers had to be converted to code that English speaking programmers could understand? The problem here is that variable/method/class names, comments etc would all be in that particular language.
Is there any any ...
var price = $('#addprice').val();
var pass = $('#pass').val();
var total = $('#totalprice').attr('value')
var left = $('#leftquota').attr('value')
var balance = $('#balance').attr('value')
var tprice = total + price; // total price
var bprice = balance + price; // balance price
var unitprice = bprice / left; ...
When I try to run the following code I get a Conversion from string "" to type 'Integer' is not valid. error.
Dim maj = (From c In connect.Courses _
Where c.COTRequired = CBool("True") _
Select c.CourseID, c.CourseName, c.CreditHours).Except _
(From en In connect.Enrollments ...
I have some VB.NET (which I don't normally deal with) code which must be converted to C# (which I normally do).
The code happens to be in a Windows Forms app. I notice a couple of places such as:
Public Sub New()
ParentWindow = Me
where there is no ParentWindow variable defined, and it doesn't seem to be inherited here:
Public ...
I need to convert powerpoint file to a text based file such as xml o html programatically and do some proccesses in it and again convert the textbased file top powerpoint. I prefer to do it with java.
...
Are there any free tools that I can use to convert a PDF document into an XPS document? Although a nice programmatic API would be nice, I'm not opposed to shelling out to a command line tool to do the conversion.
Thanks!
...