Hello All,
I have the following aaaa_bb_cc string to match and written a regex pattern like
\\w{4}+\\_\\w{2}\\_\\w{2} and it works. Is there any simple regex which can do this same ?
Hello,
I have a word document that was saved as xml. now I need to open it in my html page, but the problem is that it's no longer a .doc!, it's .xml, and it won't open.
Any ideas?
TY
Hello guys,
I would like to ask what is the ideal folder structure for a MVC framework that should be able to support multiple installations. For example, I install xyz framework and i run two or more sites based on this single installation of xyz framework rather than installing the framework for each site.
This is probably done in Codeigniter too but i don't know much about CodeIgniter, so i need your suggestions. I know some of you might even have better idea than what is done by CodeIgniter, so please share.
Hello,
I am new to regex and am trying to extract from a database a list of URLs that match xyz.asp? followed by any eight digit RequestID numbers. I can't figure out what is wrong with my expression: /abcd/..asp\?\w+=.?[0-9]*?
Example:
http://domain.com/abcd/xyz.asp?RequestID=20100401
Do I have it wrong with 1) not starting/ending with ^$ 2) escaping the dot 3) escaping the question mark 4) matching the equals sign 5) or something else?
Thank you
Hello All,
I am creating a string containing HTML tags and some data and storing it in 2 diff formats
( eng and Jp) and finally saving complete stirng using streamwriter in a file as HTML.
Output written in English is perfect but JP output is not coming as expected ?
Issue: I need to display proper JP char in the output, as of now thay are not appearing as expected..any suggestion ?
Thanks in advance...
Not sure but could this b b/c of encoding supported by string/stringbuilder ?
Hello!
I have a datagridview and a combobox which get populated randomly with data. However, the new data is never displayed automatically. Someone mentioned the idea of invalidating the control to force the application to redraw it and thus iterate through the contents and populate the control with the new data.
Does anyone know which is the best method for implementing auto-updating controls in windows forms applications?
help greatly appreciated,
regards.
Hello,
I know that when using Subversion, adding/copying/renaming files must be done via 'svn add' or 'svn copy' etc. In my Eclipse IDE, I use Subclipse to work with subversion. It's easy enough to add text-based files to version control (ie. php/html/js files) - but how do I properly add images to version control using Subclipse?
Thanks, Brian
Hello,
So I have an MVC project that exposes my services in JSON format.
What would be the ideal method of (unit?) testing whether or not my methods return correct content (in terms of JSON syntax as well)?
Thank you,
Sammy
Hello guys, I tried to install MSCharts on my Win2008 server.
It installed without problem.
Then I wrote
in config.
But when I'm trying to open page with charts it returned following error.
No http handler was found for request type 'GET'
Do you have any thougths about the problem?
Hello guys,
I am currently using the below IDE's. They serve their purposes but am wondering if there are better ones out there that i can switch to.
phpDesigner v6.2.5 (For PHP)
Navicat 8.0.29 (For MySql)
Dreamweaver CS3 (For HTML & CSS)
Spket IDE (For JavaScript)
Thats my collection of production tools. Wondering if there is anyone of them i can switch to a better one.
Thanks
Hello, my problem is with XXk (aka XX000) markers, atm I have 7k markers and will be more, and more, problem is in marker database, because atm this is 4MB (link to my DB http://tinyurl.com/ybau9ce) and problem is, how load that fast? for example DOWNLOAD only this what are show now, DOWNLOAD because load I have with ClusterMarker and problem is not with java but with download that database I think...
Hello everyone,
It is mentioned in C++ FAQ site -- "larger derived class objects get sliced when passed by value as a base class object", what does slicing mean? Any sample to demonstrate?
http://www.parashift.com/c++-faq-lite/value-vs-ref-semantics.html#faq-31.8
I am using VSTS 2008 + native C++ as my development environment.
thanks in advance,
George
hello
I have need to pack four signed bytes into 32-bit integral type.
this is what I came up to:
int byte(char c) { return (unsigned char)c; }
int pack(char c0, char c1, ...) {
return byte(c0) | byte(c1) << 8 | ...;
}
is this a good solution? Is it portable?
is there a ready-made solution, perhaps boost?
Thanks
Hello,
I have two (Eclipse-) projects. Project A depends on project B, but the projects aren't nested i.e. project A is not a subproject of project B. Apache Ivy is responsible for the dependency management.
When I run the compile task in Project A, is there any way to trigger the compile task (in project B) automatically (for example if the jar file of project B doesn't exist)?
Thanks a million in advance.
Hello, I am using htaccess to redirect people from a domain that is registered on my host to a folder. Ex: the user type www.my2nddomain.com and I redirect them to www.my1stdomain.com/folder. But I wanted to show the domain the user typed instead of the address with the folder on it. How do I do it? Thanks in advance!
Hello All,
I have made changes in my website title, meta keywords and many other changes on the pages but google is still showing old keywords. How can google reflect latest changes whenever i make? can any one help me to referesh google cache?
Hello,
I would like to understand the reason why the default template arguments are only allowed on a class template?
why in the member function we cannot define default type?
example:
class mycclass{
template<class T=int>mymember(T *vec){
vec=NULL;//or something
}
}//C++ forces that:default template arguments are only allowed on a class template
kind regards
Arman.
Hello!
I have a a fact table that has a column with dates loaded from an MS Access source. The thing is, some of the values are NULL and the SSAS won't let me refer my DATE dimension to it.
Is it better to solve it at the SSIS stage or is there some solution at the SSAS?
Thank you very much for you help.
Hello All,
If I define something in a pre-compiled header like:
#define __BUILD_MAC__
and then in a header file do:
#ifdef __BUILD_MAC__
typedef void* HINSTANCE;
#endif
This should work. But for some reason It isn't. I know because when I compile I get errors about HINSTANCE not naming a type.
Do I need to do anything else to make these defines available?
Hello Guys,
I have two arrays A & B,I want to do a compare among the elements between the two arrays.
@a = "abc,def,efg,ghy,klm,ghn"
@b= "def,ghy,jgk,lom,com,klm"
if any element matches then set a flag 0 else 1.
Is there any simple way to do this.
please advise
Hello,
I would like a regular expression in this format. It Must match one of the following formats:
* (###)###-####
* ###-###-####
* ###.###.####
* ##########
Strip all whitespace. Make sure it's a valid phone number, then (if necessary) translate it to the first format listed above.
Hello ,
I would like to query from SQL Server 2000 Database.I have got two tables. They are Purchase and PurchaseDetails. I would like to get product records with Last Purchase ID but I can't query with the following statements.So please help me.
SELECT TOP 100 PERCENT dbo.Purchase.PurchaseID AS LastOfPurchaseID, dbo.PurchaseDetails.ProductID,
MAX(dbo.Purchase.PurchaseDate) AS LastOfPurchaseDate
FROM dbo.Purchase INNER JOIN
dbo.PurchaseDetails ON dbo.Purchase.PurchaseID = dbo.PurchaseDetails.PurchaseID
GROUP BY dbo.PurchaseDetails.ProductID, dbo.Purchase.PurchaseDate,dbo.Purchase.PurchaseID
ORDER BY MAX(dbo.Purchase.PurchaseDate) DESC
Hello,
I'm writing a program with C++ and by native Win32 API. I'm creating a process from a SFX archive EXE in silent mode that no GUI is shown to user. But I want to show a progress bar in my application, while the SFX archive extracting.
How can I do that?
Thanks.
Hello,
I am about to take the head long plunge into Zope land and am wondering which framework would fit my needs better. I have some experience toying around with django and the primary reason I am switching to a zope-based framework is ZPT and also needing to occasionally do things with Plone. Both seem to be well run projects I am mainly wondering which would have the better learning overlap with Plone? Thanks in advance!