Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 500
Search took 2.44 seconds.
Search: Posts Made By: ghell
Forum: Apache configuration 08-29-2011, 04:40 PM
Replies: 0
Views: 461
Posted By ghell
htaccess under different virtualhosts

my httpd.conf looks something like this:

<VirtualHost *>
ServerName *
DocumentRoot /var/www
</VirtualHost>

<VirtualHost *>
ServerName example.com
DocumentRoot /var/www
Forum: ASP.NET 04-25-2011, 04:35 PM
Replies: 3
Views: 1,083
Posted By ghell
Yes. You can have some pages as ASP and some as...

Yes. You can have some pages as ASP and some as ASP.NET. You can't have both on the same page though, and any communication will be through mechanisms such as cookies.


Yes. Convert all to...
Forum: Computer Programming 08-28-2010, 02:52 PM
Replies: 7
Views: 1,137
Posted By ghell
While I believe the above post is pure spam (2...

While I believe the above post is pure spam (2 lines copied verbatim from a book description, followed by a random unrelated URL), the book it mentions is
...
Forum: Computer Programming 08-26-2010, 11:33 PM
Replies: 16
Views: 3,870
Posted By ghell
There are several areas that contain a lot of...

There are several areas that contain a lot of maths. Games is an obvious example (everything from pythagoras to fluid dynamics). Weather prediction is another example of massive matrix calculations,...
Forum: Computer Programming 08-26-2010, 11:33 AM
Replies: 2
Views: 1,330
Posted By ghell
C# and VB.net are essentially the same language...

C# and VB.net are essentially the same language with a slightly different syntax.

C#:
if (a == b)
{
Console.WriteLine(c);
}

C#:
If a = b Then
Forum: Computer Programming 08-26-2010, 11:25 AM
Replies: 7
Views: 1,137
Posted By ghell
You could try looking at the source code for...

You could try looking at the source code for asterisk (http://www.asterisk.org/) I suppose.

That's about as good a resource as I can think of. For anything else you would probably need to talk to...
Forum: Computer Programming 08-26-2010, 11:15 AM
Replies: 16
Views: 3,870
Posted By ghell
1) Don't use all caps. 2) If you want to...

1) Don't use all caps.

2) If you want to post a private message, don't post it on a public forum.

3) I expect almost everyone here "works in programming". Some of us have even worked, however...
Forum: Computer Programming 08-22-2010, 07:23 PM
Replies: 12
Views: 3,859
Posted By ghell
A slightly different definition of static...

A slightly different definition of static variables, depending on language, is a variable which belongs to a class rather than an instance of a class.

They can then be used without creating an...
Forum: Computer Programming 08-22-2010, 07:06 PM
Replies: 16
Views: 3,870
Posted By ghell
If you hate doing it, then any job you get that...

If you hate doing it, then any job you get that is based on it, you will hate. This will probably mean you end up spending more years getting a second degree in something that you do like.

Find...
Forum: Computer Programming 08-22-2010, 06:42 PM
Replies: 1
Views: 866
Posted By ghell
Personally I can't stand such C++ streams and...

Personally I can't stand such C++ streams and prefer to use "printf" style format strings (but be aware of the security implications of these).

However, you could just look at the standard class...
Forum: Computer Programming 08-15-2010, 01:29 AM
Replies: 9
Views: 6,385
Posted By ghell
Somewhat a matter of semantics but CreateWindow...

Somewhat a matter of semantics but CreateWindow (http://msdn.microsoft.com/en-us/library/ms632679(VS.85).aspx) is as much a "graphics toolkit" as CreateFile...
Forum: Computer Programming 08-14-2010, 10:04 PM
Replies: 4
Views: 1,357
Posted By ghell
It's worth noting that while most people who say...

It's worth noting that while most people who say regular expressions mean pattern matching on strings, usually using the same language convention such as \d for a digit, it has a deeper mathematical...
Forum: Computer Programming 08-14-2010, 09:57 PM
Replies: 9
Views: 6,385
Posted By ghell
as iamscottj suggested, C# would create an exe...

as iamscottj suggested, C# would create an exe (though not native; for most users, for all intents and purposes, it's the same) and would be incredibly easy to write a text editor in.



No you...
Forum: Computer Programming 01-24-2010, 12:51 PM
Replies: 13
Views: 3,744
Posted By ghell
Firstly, don't dig up dead old threads necro....

Firstly, don't dig up dead old threads necro. 2006 to 2010.

Secondly, specifically for your use and not anything to do with this thread, you can simplify this pattern:
If A = B Then
C = False...
Forum: ASP.NET 10-22-2009, 04:23 PM
Replies: 1
Views: 1,245
Posted By ghell
Binary columns in a DataGrid bound to a DataReader

I am trying to use a System.Web.UI.WebControls.DataGrid (http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid.aspx) with a SqlDataReader as the data source.

The DataReader...
Forum: Computer Programming 10-21-2009, 06:51 PM
Replies: 0
Views: 1,235
Posted By ghell
C# plain text email flagged as MIME_QP_LONG_LINE

I'm having problems with some email servers receiving email originating from my C# code.

By checking the SpamAssassin headers on one of these servers, it seems MIME_QP_LONG_LINE is the culprit...
Forum: Computer/PC discussions 09-29-2009, 10:27 PM
Replies: 0
Views: 818
Posted By ghell
Book recommendation - Optical Character Recognition

Can anyone recommend a good book on Optical Character Recognition? I have had a quick look on amazon but everything seems to be either very expensive or decades out of date.

I'm not looking for...
Forum: ASP 09-09-2009, 07:46 PM
Replies: 12
Views: 3,208
Posted By ghell
I'm not entirely sure what you are trying to...

I'm not entirely sure what you are trying to achieve but it may be best to try using a view in SQL and then just treat that like a normal table in ASP.

This is also better than using temporary...
Forum: Computer/PC discussions 09-09-2009, 06:53 PM
Replies: 1
Views: 1,744
Posted By ghell
You aren't going to be able to brute force it or...

You aren't going to be able to brute force it or magically break the encryption like they do on TV.

Since you know the rough password and just want to try variations, your best chance is to write...
Forum: Java and JSP 09-09-2009, 06:29 PM
Replies: 2
Views: 854
Posted By ghell
You can do this in any server side script in...

You can do this in any server side script in which you actually have control over writing to the disk (saving it yourself as opposed to simply giving it a file name to save to). I have done it in ASP...
Forum: Java and JSP 09-09-2009, 06:24 PM
Replies: 2
Views: 1,402
Posted By ghell
Yes it is possible. However, it may rely on which...

Yes it is possible. However, it may rely on which user is executing the page itself.

A shared host should be set up so that your user account executes your php. This means that when you call exec,...
Forum: ASP.NET 09-09-2009, 06:21 PM
Replies: 4
Views: 1,546
Posted By ghell
I use Visual Studio 2005 and I have not had a...

I use Visual Studio 2005 and I have not had a problem with this kind of thing. There is no reason that it should work in web developer express but not visual studio.

Have you tried publishing it...
Forum: ASP 09-09-2009, 06:18 PM
Replies: 12
Views: 3,208
Posted By ghell
You can also execute multiple statements at once...

You can also execute multiple statements at once using semicolons.

"SELECT * FROM foo; SELECT * FROM bar"

You can mix and match SELECT, INSERT, etc.


You can then navigate through the...
Forum: ASP.NET 09-09-2009, 01:15 PM
Replies: 5
Views: 2,202
Posted By ghell
I have already told you how to do it if it is...

I have already told you how to do it if it is binary data.
Forum: ASP.NET 09-09-2009, 11:57 AM
Replies: 5
Views: 2,202
Posted By ghell
That depends what it is in the database. You...

That depends what it is in the database. You don't want to use Convert either way. You almost always want to use ".Value" to start with at least.

If it is a BLOB in the database (such as...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +1. The time now is 09:57 PM.