|
astrovirgin wrote: When I upload the file using FileUpload it should store the file in database.
Then what does the above line mean?
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
Shyam Bharath wrote: astrovirgin wrote:
When I upload the file using FileUpload it should store the file in database.
Then what does the above line mean?
Probably that he doesn't know how to ask a question correctly, which places him among the other 83 percent* of the posters who don't know how to ask a question correctly.
* Out of all statistics quoted, 83% is made up right on the spot.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Have u tried FileUpload1.FileBytes to store image into database?
|
|
|
|
|
If the user then clicks on (Sub menu) on the menu then the Excel function wizard would come be launch showing the function and it’s arguments with a link to the help files for the function.
|
|
|
|
|
Let me try and restate your requirment
You want your application to access the Excel function wizard and use the results.
You may be able to launch the excel application using interop and launch the wizard, find out where excel stores the result of the wizard and snaffle the results. The detail may be a little complex.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Use either Visual studio tools for office(VSTO) or shared Add-in. I think this could be the perfect solution
|
|
|
|
|
How do I fix this error which says
"The namespace 'Game' already contains a definition for 'Form1'"
What does it mean and how do I fix it.
It resulted after I wrote this;
public class Form1: System.Windows.Forms.Form
Thanks.
|
|
|
|
|
Angelinna wrote: how do I fix it.
Try naming your forms something descriptive when you create them, rather than the default VS throws at you
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Tried to.Still not fixed. When I put a descriptive name, it tell me that namespace with that descriptive name already contains a definition for that name .
|
|
|
|
|
You've got two forms with the same name. Rename the forms, not the namespace
(If this isn't working, post the code where you declare the namespace and form so we can see what is happening)
Simon
|
|
|
|
|
Angelinna wrote: Tried to.Still not fixed.
By any chance did you remove the partial keyword?
*jaans
|
|
|
|
|
|
Yes. I removed it earlier on.
|
|
|
|
|
Angelinna wrote: Yes. I removed it earlier on.
Why?
|
|
|
|
|
Well, put it back and see if that works with your rename of the form etc.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
sorted.Thanks.
modified on Saturday, October 18, 2008 5:21 AM
|
|
|
|
|
Asside from the fact that you are missing several close brackets '}', which I'm assuming are just because you didn't copy and paste them.
You need to put the word 'partial' back into your code.
You can't just go removing word without understanding what they mean.
The main declaration of the from should be
public partial class Form1 : Form
The declaration in the Designer.cs file should be
partial class Form1
Simon
|
|
|
|
|
When I do that correction, it then tell me that
Error The type 'TictacGame.Form1' already contains a definition for 'Startbutton'
and the same for all the buttons shown in the code in my previous message.
Why is that?
|
|
|
|
|
Angelinna wrote: Error The type 'TictacGame.Form1' already contains a definition for 'Startbutton'
Because you've probably declared them twice.
Just a quick suggestion. Don't go messing with the code in the Designer.cs file. That's how you've got yourself into this mess. Stick to just using the GUI.
Simon
|
|
|
|
|
Simon Stevens wrote: Don't go messing with the code in the Designer.cs file.
I tell my students that all the time, and yet, when they have some sort of mess up, that is the root cause.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
try to change the input parameters of the Constructor
|
|
|
|
|
Hi,
How can we change the Excel Chart Series Option (Second Plot last value) in C#?
Here is the picture in Excel
http://www.flickr.com/photos/31464532@N02/2948659930/
Here is my code..
ChartObjects chartObjects = (ChartObjects)activeSheet.ChartObjects(Type.Missing);
Range range = activeSheet.get_Range(cellStart, cellEnd);
ChartObject obj = null;
obj = chartObjects.Add(leftLocation, topLocation, chartWidth, chartHeight);
obj.Chart.SetSourceData(range, XlRowCol.xlColumns);
obj.Chart.HasTitle = true;
obj.Chart.ChartTitle.Text = title;
obj.Chart.ChartTitle.Font.Bold = true;
obj.Chart.ChartType = XlChartType.xlBarOfPie;
Series series = (Series)obj.Chart.SeriesCollection(1);
obj.Chart.ApplyDataLabels(XlDataLabelsType.xlDataLabelsShowLabelAndPercent,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing,
Type.Missing);
It seems not easy to find article for this one, so if somebody can help i would really appreciate it.
Thanks
|
|
|
|
|
I finally got the solution :
ChartGroup gp = (ChartGroup)obj.Chart.ChartGroups(1);
gp.SplitValue = 3;
I replied to my mail so that this may serve as help also to others.
Thanks for the effort of those who tried to response.
|
|
|
|
|
I am using Active Xperts SMS and MMS toolkit (trial) to send MMS to mobile phone through a modem.
I want to send the image captured by an internet camera. Im stucked on how to attach the image (bitmap) before send the MMS.
Im using the projects Camera Viewer and Motion Detector uploaded in the code project to connect and detect if an intrusion occurs.
So, can anyone guide me on how to send MMS?? Thank in advance.
Regards,
Nagesh
|
|
|
|
|
Active Xperts have a forum. You should try asking there.
Simon
|
|
|
|