I have a field in crystal report with the following data:
'605 KL1 - Daniel Steve'
How can i just remove the '605 KL1 - ' and leave the 'Daniel Steve' in the field only?
Hello
I've a must to create wcf service with parameter.
I'm following this http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/8f18aed8-8e34-48ea-b8be-6c29ac3b4f41
First this is that I don't know how can I set this custom behavior "MyServiceBehavior" in my Web.config in ASP.NET MVC app that will host it.
As far as I know behaviors must be…
Hi
I am working on an application for android and we since we have lots of graphics, we use a lot of memory.
I monitor the memory heap size and its about 3-4 Mb , and peeks of 5Mb when I do something that requires more memory (and then goes back to 3). This is not a big deal, but some other stuff is handled outside the heap memory, like loading…
Hello,
I am using Delphi and I want to determinate the physical MAC address of a network device in my network, in this case the Router itself.
My code:
var
idsnmp: tidsnmp;
val:string;
begin
idsnmp := tidsnmp.create;
try
idsnmp.QuickSend('.1.3.6.1.2.1.4.22.1.2', 'public', '10.0.0.1', val);
showmessage(val);
finally
…
I have the following models in CakePHP:
A Deposit belongs to an Account
An Account belongs to a Customer
I want to have a list of Deposits, and I need to show the name of the customer (so I have to join through the Customer). I also need to paginate this list.
If I set Deposit->recursive = 2, I can get the Customer, however, CakePHP…
Any help is appreciated:
I'm developing a C#.Net app in VS2010 that interacts with Excel. The app works correctly on my local machine. Uploading to a remote Windows 2003 server however, breaks the app.
Originally, I received the following message
Retrieving the COM class factory for component with CLSID…
Hello,
I've installed full version (not RC nor Beta) of Visual Studio 2010, a then setup within Web Platform Installer 2.0 announce me that I need to install MVC 2.0, so i did it.
When I want to create project "MvcWebApplicationProjectTemplate" in VS I have following message:
error: this template…
Hello everyone.
I'm trying to make a self hosted WCF app that uses nettcpbinding but works in an environment without a domain.
It's just two regular windows pc's, one is the server and the other one will be the client. The problem with this is that when I try to get the client to connect it's…
Hi Nick! How are you?
I'm from Brazil and study at FATEC (college located in Brazil).
I'm trying to learn about AppEngine.
Now, I'm trying to load a large database from MySQL to AppEngine to perform some queries, but I don't know how i can do it. I did some testing with CSV files,but is there…
Hi,
I want to change the logging level of an application (ruby).
require 'logger'
config = { :level => 'Logger::WARN' }
log = Logger.new STDOUT
log.level = Kernel.const_get config[:level]
Well, the irb wasn't happy with that and threw "NameError: wrong constant name Logger::WARN" in…
Hello,
I want to show a master / detail relationship using two datagridviews and DataRelation in C#.
The relation between the master and the detail table is an ID from type string (and there is no chance to change the ID to type integer).
It seems like the DataGridView is not able to…
Greetings,
I'm currently working on a multiple database rails application.
I want to off load the SELECT queries on to the slave databases
for only SOME of the databases or specific models.
The issue is that in places, we swap out the current database
connection and put in a…
Hi,
I was writing some php code after a long sint doing ruby and I accidently wrote this:
[root@ip-10-160-47-98 test]# cat run.php
<?php
class MyTest {
public function run() {
var_dump(this.test);
}
}
$object = new MyTest();
$object->run();…
I'm currently using mySQLdump to backup my dev machine and servers.
There is one project I just started, however, that has a HUUUUUGE database that I don't really need backed up, and i'll be a big problem to add it to the rest of the backup cycle.
I'm currently…
First, I am aware that dynamic languages is a term used mainly by a vendor; I am using it just to have a container word to include languages like Perl (a favorite of mine), Python, Tcl, Ruby, PHP and so on. They are interpreted but I am interested here to refer…
Hi guys,
I have set up a PHP form for a competition, for users to enter and all information to be stored in a database. I used the following NetTut+ tutorial to do so: http://tr.im/SwAd.
I've got the form submitting to the database as required, but with so…
Hi
I have an application that draws a lot of graphics and change them.
Since I have many graphics, I thought of having the images outside the APK, downloaded from the internet as needed, and saved on the files application folder.
But I started to get…
Hello, World..
I'm a web developer mostly working in Ruby and C#..
I wanna learn a low level language so i dont look like an ass infront of my (computer science expert) boss.
Ive heard a lot of purist buzz about how assembly language is the only way…
Hi,
I've started using Vim for my rails development (who hasn't!)..
And i'm loving it except that when im in a html.erb file (HTML and Ruby)..
I get no snipMate snippets,
I would like both html and ruby... or just html would be fine,
How would i do…
I'm having problems with cache, I think.
I have a website in Joomla, and I have some .css (layout.css, position.css, .... ) and I have at home of the website, 3 buttons, I tested in localhost, and when I see the home well, I upload everything to…
Greetings,
I want to tinker with the global memcache object, and I found the following problems.
Cache is a constant
Cache is a module
I only want to modify the behavior of Cache globally for a small section of code for a possible major…
I have a website whose maintenance I've inherited, which is a big hairy mess.
One of the things i'm doing is improving performance. Among other things, I'm adding Expires headers to images.
Now, there are some images that are served through…
I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it.
The short description is: We have a very small site (http://hearablog.com) with very little traffic, in a crappy dedicated server,…
Finally, we made it to have our April meetup - in May. The most obvious explanation is the increased amount of open source and IT activities that either the MSCC, the Linux User Group of Mauritius (LUGM), or the University of Mauritius…
This might be a bit awkward, but I'll try to explain what I am trying to achieve and what problems I encountered. First of all: whats this about?
I am currently trying to set up a distributed working enviroment for developing a web…