I want to upload multiple files and store them in a folder and get the path and store it in the database... Any good example you looked for doing multiple file upload...
Note: Files can be of any type...
Is there any possible to develop the Iphone App using Eclipse IDE in Windows? Please note Windows platform has any possibility to the Iphone Development? Any Idea?
Our ClickOnce application is reporting "Unable to install or run the application. The application requires stdole Version 7.0.3300.0 in the GAC" when one user tries to run the application.
It's interesting to note that the GAC (c:\windows\asssembly) does not have stdole installed in it. Any ideas how to get it there?
We are using .NET 3.5 and it has been installed on this computer.
I have a SortedDictionary as defined like this:
SortedDictionary<TPriority, Queue<TValue>> dict;
But I want to sort the keys in reverse order. I assume I need set the Comparer, but what comparer do I use for a generic TPriority? Note that TPriority implements IComparable.
I would like to listen for the mouse over event in GWT 1.6. Since GWT 1.6 has introduced handlers and deprecated listeners I'm unsure as to how I can accomplish this with what little information exists.
Note: I have an Element object. That's what I need to add the mouse handler to. I apologize for my lack of clarity.
Thanks!
Hi.
Scala implicits are very powerfull. I'm curious if they are a new/unique feature of Scala, or the concept already existed in other programming languages.
Thanks.
Note: I have used the tag "implicit" instead of "implicits" because it doesn't exists and I can't create new tags...
I get this error:
Catchable fatal error: Object of class stdClass could not be converted to string
So, my question is, how do I convert an object to a string in PHP? I don't want to serialize it though.
Just a note: the code I use works in PHP 4, but not in PHP 5
Thanks!
Hi, I'd like to extract the info string from an internet radio streamed over HTTP. By info string I mean the short note about the currently played song, band name etc.
Preferably I'd like to do it in python. So far I've tried opening a socket but from there I got a bunch of binary data that I could not parse...
thanks for any hints
Why is that when I search a row in my database, it ended up 0 results? In fact, there are rows that meet my search criterion when I view them manually, but the search button doesnt work as it is. Heres how
you can see there are rows that have '0000-00-00 00:00:00' in them, but when I used the search feature, it ended up like this:
take note that Im entering it in the right field which is 'AcctStopTime'.
TIA
Everyone has been telling me to learn C++. Without bashing languages right and left, can someone please state some relevant reasons as to why I should learn C++ today?
Note that in no way am I saying anything harsh about C++. I just want to know why I should master it as a programmer instead of the other powerful languages out there.
I have a system where a website needs to be hosted on a Linux machine while a backend application that the site talks to needs to reside on Windows.
Is there any "common practice" for such hosting?
Note - both of the systems are mine so there is the dilemma of whether to have the machines physically located together to avoid delay for calls over the net.
In a OS we originally have a ready-queue for the threads, note only one queue. Why would it be better to have different queues for each semaphore. Pros and cons can be about efficiency, complexity or something else.
I am using Enterprise library 3.1 to log application logs in Windows event logs, and I want to read this log by passing the date parameter.
Please note that I will be accessing the remote machine and the performance should be good. Is there any method that can be used to read these logs using Ent Lib, or please suggest some good method.
If I drag and drop tracked .cs files to new folders in VS2008 with VisualSVN what message should I see when I commit the .cs file? I see added (+) shouldn't I see a "move"?
I'm asking because I'm getting ready to do a major refactoring (including moving lots of files) and I don't want to lose my version history on these files.
Note: I'm very new to Subversion, TortoiseSVN, and VisualSVN.
In Javascript, when is a new scope created? The 2 situations I know of are:
with a new function
in a "with" statement
as a note, any new block (in if-then-else, loops, or just beginning a block for no other reason) won't create a new scope.
Is there a third situation where a new scope is created besides the two situations above? Thanks.
Note that I'm not looking for something based on TextBox or RichTextBox. What I'm interested in is a text editing control written from scratch using WPF typography features. Open source would be a plus.
NHibernate_reference.pdf, page 26:
Note that ILifecycle.OnUpdate() is not called every time the object's persistent state is updated. It is called only when a
transient object is passed to ISession.Update().
Why it design link that?
I would like to create a query on a field which after a certain number of characters adds/displays a number of dots to show the user that there is additional text to read. At the moment there is a syntax error using the following code in which it doesn't like the "Left" instruction:
X:IIF(len(description) > 5, Left(description, 5) & "....", description)
Note: "X" is what i am naming the field 'description' in my query screen in Access
hi, i am a little new to php and although i have managed to pass values of session variables before this piece of code is leaving me puzzled
<form action="team_reg2.php" method="post" name="form1" class="cent" id="form1">
Team Registration
";
print "member$i";
print "\n";
print "\n";
print "Please enter only id\n";
}
?
now this will pass via post to team_reg2.php
echo " please note your team id is 1 ";
echo " your team members are : ";
for($i=1;$i<=$num;$i++)
{
$name='mem'.$i;
echo "$_POST[$name]";
}
}
else
{
$str="select * from $query where (";
for($i=1;$i<=$num;$i++)
{
$name='mem'.$i;
$text="p_id='$_POST[$name]'";
if($i==1)
$str=$str.$text;
else
$str=$str.' or '.$text;
}
$str=$str.')';
$query2=$str;
echo "$str";
// echo "$query2";
$que=mysql_query($query2,$con) or die(mysql_error());
$num=mysql_num_rows($que);
if($num!=0)
{
while($result=mysql_fetch_array($que))
{
echo "$result[p_id] is already registered in team $result[t_id]";
}
//include("reg_team.html");
}
else if($num==0)
{
//echo $query;
$query2="select max(t_id) from $query";
$que=mysql_query($query2,$con) or die(mysql_error());
//echo "$que";
$result=mysql_fetch_array($que);
$max=$result['max(t_id)'];
$max++;
$num=$_SESSION['max_team'];
for($i=1;$i<=$num;$i++)
{
$name='mem'.$i;
if($_POST[$name]!="")
{
$query2="insert into $query values($max,'$_POST[$name]')";
$que=mysql_query($query2,$con);
}
}
echo " please note your team id is $max ";
echo " your team members are : ";
for($i=1;$i<=$num;$i++)
{
$name='mem'.$i;
echo "$_POST[$name]";
}
}
}
?
i have done session_start(); at the beginning of the page itself. The problem is that echoing $_SESSION variables in second file is not printing anything.
someone please explain me whats going on.
thank you
can someone explain to me the concept behind using bluetooth
my project in my studies is to make an android app using bluetooth, SQLLIGHT and google app
the app itself is a very easy one but i just dont get the tools i need to use :
how does the bluetooth works?
is there a simple example ?
the concept behind android GUI (i allready nade one but i think i am not fully understood his power)?
note : i am using v 2.1
I'm curious as to the procedure for writing browser plugins for browsers like Chrome, Safari, and Opera. I'm thinking specifically of Windows here and would prefer working with C++.
Note: I am not referring to extensions or 'addons'
i have a column with this data:
IT_AMPH
IT_BARB
IT_BENZ
IT_BUP
SOMA
i want the column next to it to be literarely
=like "*,IT_AMPH,*"
=like "*,IT_BARB,*"
=like "*,IT_BENZ,*"
etc
please note that i want the equal signed to be displayed, exactly as shown above
what would be the formula for this?
This is strange:
DateList@AbsoluteTime[596523]
returns
{2078, 7, 2, 2, 42, 9.7849}
But
DateList@AbsoluteTime[596524]
returns
{1942, 5, 26, 20, 28, 39.5596}
The question: What's going on?
Note that AbsoluteTime with an integer argument is undocumented.
(I think I now know what it's doing but figured this is useful to have as a StackOverflow question for future reference; and I'm curious if there's some reason for that magic 596523 number.)
Hello.
I have the function with following signature:
void box_sort(int**, int, int)
and variable of following type:
int boxes[MAX_BOXES][MAX_DIMENSIONALITY+1]
When I am calling the function
box_sort(boxes, a, b)
GCC gives me two warnings:
103.c:79: warning: passing argument 1 of ‘box_sort’ from incompatible pointer type (string where i am calling the function)
103.c:42: note: expected ‘int **’ but argument is of type ‘int (*)[11] (string where the function is defined)
The question is why? Whether int x[][] and int** x (and actually int* x[]) are not the same types in C?
Using bash, I have a list of strings that I want to use to replace an int. Here's an example:
day1=Monday
day2=Tuesday
day3=Wednesday
day4=Thursday
day5=Friday
day6=Saturday
day7=Sunday
If I have an int, $dow, to represent the day of the week, how do I print the actual string? I tried this:
echo ${day`echo $dow`}
but get error of "bad substitution". How do I make this work? Note: I can change the $day variables to a list or something.