Hi, I am rather new to C++ programming, but I have worked with Java for sometime.
The thing is that Java has a parent exception class from witch all other exceptions should derive from, therefore when you write a try/catch block you can basically catch any exceptions using the parent exception...
Hi, I need to develop a C++ application for Linux, and I am worried about its compatibility with between different distros, for example if I develop it on Kubuntu, is it possible that I may have compatibility issues if I run it on Gentoo or Open SUSE for example?
In other words, what should I...
Hi, I have a created a solution on Visual C++ 2008 Express that has 3 projects inside it. Project A generates a static library (A.lib), project B references A and generates a dynamic library (B.dll) and project C references both A and B and generates an executable (C.exe).
The problem is that...
Hi, does anyone knows if I can use log4net with C++ in Visual Studio 2008? If so can you point me to some tutorials, I have spent quite some time looking for those, but they seem to have completely eluded me.
Also if it is not at all possible to use log4net with C++, can you recommend me...
Hi, I am using Java 1.6 and log4j 1.2.15 with Easy Eclipse Server 1.2.2.2 to develop a simple test program.
I wanted to log a few things about this program and then I decided to use log4j to that, but it seems I am not being able to configure it correctly. Whenever I run my application I get...
Hi, I have made a program in Visual C++ 2008 Express and it worked fine on my machine, then I tried to execute it on another machine and got this error: "The system cannot execute the specified program."
I have already installed the "Microsoft Visual C++ 2008 Redistributable Package", but I...
Hi,
I am trying to create a directory shortcut in Windows XP, that in theory should work like this: considering the directory c:\dir1, I should be able to create a shortcut dir2 that would allow me to type "cd c:\dir2" in the command console and it would show me the contents of dir1. In other...
Hello, I am creating a Logger class for my program.
The method that writes to the log file is below:
/// <summary>
/// Logs the input Strings in the following format: "<Namespace>.<Class>.<Method> - Message"
/// </summary>
public void WriteLog(string...
Hello, I am new to C#, but I've had some Java experience.
In java you can write a method, throw an exception in it and with a "throws" clause let the method that called it handle the thrown exception, for example:
public void myMethod1()
{
try
{
myMethod2();
}...
Hi, I am working with VB6 to make a program that makes a SQL SELECT to a generic table in a database and then outputs the information brought by the SELECT to an excel csv file.
So far I was able to output all the rows returned by the SELECT using a record set, but I cannot get column names...
Hi, does anyone know where I can find the documentation of the Crystal Reports API for VB6?
For example what are the methods and properties of the classes CRAXDRT.report and CRAXDRT.application?
I know it is a very basic question, but I looked everywhere in google and didn't find anything...
Hi, can anyone tell me how can I create a custom Crystal Reports report template?
Thnaks,
Komyg
PS: I'm very new to Crystal Reports so please be as specific as you can.
Hi, I am totally new to Python and I am making a script that parses a file.
I try to find a regular expression in the file with: expr.match(line), and that works just fine.
The problem is that I don't want to print this line that has the regular expression, so in Java I would do...
Hi, I'm trying to work with the Siemens TC65 on Linux.
So far I've installed the J2ME Wireless Toolkit and the EclipseME plugin for eclipse. Now the tutorial I have tells me that I need to install the Siemens TC65 SMTK Enviroment, but i have only a Windows version of this software.
Does anyone...
Hi, I am trying to install multiple PostgresSQL servers in my computer. I am running Kubuntu 6.06 LTS and I am trying to install PostgreSQL-7.4 and PostgreSQL-8.1 at the same time.
I've already changed the port configuration in /etc/postgres/7.4/main/postgresql.conf to 4432 and I am able to...
I have a HttpServlet that needs to send a html page when the browser calls it's doGet method, but this html page is not on the WebContent directory nor any of it's folders.
My doGet method looks like this:
ServletContext cont=super.getServletContext()...
I have a HttpServlet that needs to send a html page when the browser calls it's doGet method, but this html page is not on the WebContent directory nor any of it's folders.
My doGet method looks like this:
ServletContext cont=super.getServletContext();
response.setContentType("text/html")...
Hi, I'm programming a servlet and I would like to know how can I pass a value in my servlet to the html page without having to re-write the page?
In example supposing I have a variable i=3; in the servlet. How can I print "i=3" in the html page?
Thanks,
Komyg
Hi I`m new to J2EE and I am programming servlets.
I would like to know how can I send the client to another web page when I get the parameter Foo on a doPost method on a HTTPServlet?
doPost (...)
{
if (request.getParameter("Foo")!=null)
{
// Send the client to the Foo web page.
}...
I'm trying to make a script in python to execute another script (written in perl) in a shell everytime the computer starts.
This script is called smackbook, because when you smack the screen, the computer switches to another desktop.
How can I do that?
Thanks,
Komyg
PS: I think that the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.