I am creating an inherited form and when i click add, it is showing the message as
"Do you want to open or save the file". The file is tmp_auto.tmp file.
Give me a solution..Thanks..
I have deleted a directory which contains a project solution I have added previously to TFS.
It shows a red x icon in front of it but does make it disappear.
How to completely do so (I'm on VS2005) ?
hello
Is there library/header already written to manage C++ objects from C using opaque pointers/handles?
I can write one myself, but I would rather use already made solution, especially if it has fortran bindings.
Thanks
I need for text like "joe ($3,004.50)" to be filtered down to 3004.50 but am terrible at regex and can't find a suitable solution. So only numbers and periods should stay - everything else filtered. I use C# and VS.net 2008 framework 3.5
Using link what is the easiest way to convert a list of longs to a list of ints?
I need it to be a list, if it cant be possibly i would like to see a solution with a int array or some kind f int container.
Ok SO, I have a user table and want to define groups of users together. The best solution I have for this is to create three database tables as follows:
UserTable
user_id
user_name
UserGroupLink
group_id
member_id
GroupInfo
group_id
group_name
This method keeps the member and group information separate. This is just my way of thinking. Is there a better way to do this? Also, what is a good naming convention for tables that link two other tables?
All i want to do is to check if the textfield has been changed. if not, i want to highlight the boxes when submit is pressed. how do i do that? seems very simple, but not sure why every other solution is so complicated
I have a form that is dynamically loaded through AJAX and dumped with innerHTML inside an area of a website. The problem I seem to encounter is that the labels don't seem to point to the inputs they're tied to, when clicked.
I'm sure the markup is correct because if I open that form html code separately the labels work.
Is there a solution to re-initialize somehow this sort of event natively? I'm not looking into simulating the behavior with JS.
Thanks!
i have a html page in which 10 table , i want to use jquery table sorter for one table only,
But its CSS is implementing in all tables. is there any solution for this
I have a dictionary of values read from 2 fields in a database: a string field and a numeric field. The string field is unique so that is the key of the dictionary.
I can sort on the keys, but how can I sort based on the values?
Note: I have read this post 72899 and probably could change my code to have a list of dictionaries but since I do not really need a list of dictionaries I wanted to know if there a simpler solution.
Hello guys,
here i have a problem that is , in a from data is inserted in database on click on a button when it it will be done successfully, if the page is refreshed then the click event is fired again and the data is inserted again .
so please tell me a appropriate solution to resolve it .
I want to read the html file.And for that I use System.IO.File.ReadAllText(path).It can read all the html file but there is one file which is not read through this function.
I have also used
using (StreamReader reader = File.OpenText(fileName)) {
text = reader.ReadToEnd(); But still there is same problem.
What is the reason can be there ? And for that what can be the solution ? Or any other way to read the file ?
hello everyone,
Can anyone please tell the way to find out the mac address of a system which is:
1. Shutdown
2. Power plugged in
3. Connected to Lan
4. Nic card ON.
Kindly post the solution as i urgently need it in my project...
thank you
How do you reverse a string in Ruby? I know about string#reverse. I'm interested in understanding how to write it in Ruby from scratch preferably an in-place solution.
I developed a web application in asp.net and I would like to send a stream string print server.
I know the ip of the printer connected to the network and the IP of the print server, but I do not want to send the stream directly to the printer and prefers to spend by the print server.
I really look on the net, but I do not find a solution to my need.
I look forward to your advice.
Thank you.
I have a C# program that works correctly on xp and vista but it needs to be used on windows 7, I have not been able to come up with a solution, it appears that getpixels just doesn't work right on windows 7, thanks.
Hi,
I'm using the permalink_fu plugin to create permalinks from titles. My problem is: If the title contains german characters, they are just replaced with '_'.
What I need is something that replaces
ä with ae
ü with ue
ö with oe
I fount String.tr but the problem here is that it replaces 1 character with 1 replacement, so it would work for replacing
é with e
ø with o
etc.
Does anyone have a nice and clean solution for that?
Thanks
is there any solution to show user all countries and after select country it reselect all cities of its country? be best with script selecting
p.s. russian name of countries
Over the years, I've struggled with this. This year, there might be a solution.
I need a header, content and footer.
I would like the footer to be at the bottom of the page, the header at the top, and the content in between.
I would like the content to have a scroll bar.
Q: Is that too much to ask?
Hi,
I am developing a greeting card application for iPhone. I have an image as greeting card, where-in i should allow user to add his own text, which(text) appends to that greeting image and save it on the device. Is it possible and edit an image and add some text on top of the image and save the modified image in the device storage somewhere?
If anybody knows the solution, please share your ideas.
Thank you.
I want to find files older than N days from a given timestamp in format YYYYMMDDHH
I can find file older than 2 days with the below command, but this finds files with present time
find /path/to/dir -mtime -2 -type f -ls
Lets say I give the input timeSamp=2011093009 so I want to find files older than 2 days from 2011093009
Been doing my research, but can't seem to figure it out.
==========================================
Found the solution...see below for my Answer..
Thanks
Hi,
As a common rule, it is very often considered a bad practice to use const_cast<>() in C++ code as it reveals (most of the time) a flaw in the design.
While I totally agree with this, I however wonder what are the cases were using const_cast<>() is ok and the only solution.
Could you guys please give me some examples you know/you encountered ?
Thank you very much.
I'm creating a list component with different numbers on each label ranging from 1 to 10. When clicked on a number I need it to bring up that many inputtext boxes one after another..
It's pretty much a multiplayer game that you select how many players are playing, then you input each name.. I'm so stuck it's ridiculous.. if anyone has a solution, or a different idea please help me out, thank you so much in advance.
I would like to repeat each line's content of a file, any quick solution using sed.
supposed the input file is
abc
def
123
The expected ouput is:
abcabc
defdef
123123
Thank you for your help