|
hi
iam getting the following error while i am updating database . here i am getting data from XL sheet
Cannot update. Database or object is read-only
can u plz give me ur ideas
thank u
Suresh.R
|
|
|
|
|
I assume by XL you mean Excel ... I know typing 3 more letters might take up your valuable time but being accurate might help when asking a question
The clue is in what the error message says. Why would it be read only? Possibly because the file has the read only flag set, also possibly because you have the file open in another application?
|
|
|
|
|
originSH wrote: I assume by XL you mean Excel ... I know typing 3 more letters might take up your valuable time but being accurate might help when asking a question
Got my "5" for posting this!
Where is this kind of writing coming from? SMS, chatrooms or am I simply to old?
All the best,
Martin
|
|
|
|
|
it is what i call txtspk and I hate it. It comes from mobile phone sms messages having a limited keyboard/screen/text length. Something which is not the case on a message board such as CP.
|
|
|
|
|
J4amieC wrote: and I hate it
J4amieC wrote: Something which is not the case on a message board such as CP.
Well said!
Thanks!
|
|
|
|
|
and subject says a lot about the problem v@!@@
SIVAJI - THE BOSS
|
|
|
|
|
again, Well said!
|
|
|
|
|
I always thought people learned to type like that because back in the old days, they had to pay for every keystroke.
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
It's incredible how many people don't even bother with the simplest of things when posting a question.
First thing they should always do is google for an answer.
The second (rule of fight club) thing is they should google again for the answer, and again and again with different keywords until they are sure theres nothing obvious about. Twenty minutes research should not be an unreasonable burden upon someone who is seeking free help.
There there is the problem of txtspk, if you have a limitation of 160 characters because your using SM its ndrstndbl tat u mgt nt use whle wrds. But when typing online you don't have that limitation, the more expressive the language you use the more information you can convey to those your asking for help.
Theres the problem of not providing enough information. Sometimes someone will give you they're interpretation of the error message, which is almost useless for searching with. Another twist is sometimes (and most developers are bad for this) someone will ask about what they think the solution is rather than describing the problem. This means you can spend ages helping with something which actually has nothing to do with the actual issue.
Some people think that it is their right to receive help and demand that you give an answer or give an in depth essay rather than a link to google. They can seem to grasp the fact that you're helping off your own back, your not getting paid to think for them.
|
|
|
|
|
Hi dear friends,
How can I determine "day size" of a specific month using a MonthCalender or a DateTimePicker?
--- For example, I put a MonthCalender to my form and it shows the 2007-April month. How can I manage my software that shows me the "April 2007 has totally 30 days"
Thanks...
memix
|
|
|
|
|
DateTime.DaysInMonth
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
DateTime.DaysInMonth() is enough for me.
Thank you...
memix
|
|
|
|
|
Hey all
I have a TableLayoutPanel on a form, this form is inherited a number of times by others. This works fine but some of these forms do not need all the rows that are on the default table. I can't see any way of removing a particular row from the layout (ie row 3) on the new forms load. Can this actually be done at run time? It just seems wrong if you can't...
Thanks in advance.
|
|
|
|
|
found this solution on the Scripts, by Losweg
Hi,
I was struggling with the same problem today.
In the first column of my TableLayoutPanel, I'm showing a checkbox.
When the user is checking it, a new row needs to be created.
When the user is unchecking it, the row containing the checkbox should be
removed.
Logically to remove a row in the TableLayoutPanel, I would think to do
something like this:
tableLayoutPanel.RowStyles.RemoveAt(index);
But I found out this is not enough.
You need to clear the controls for that given row as well!
tableLayoutPanel.Controls.RemoveAt(...);
tableLayoutPanel.Controls.RemoveAt(...);
Once the controls in the Controls-collection are gone, the Event that
redraws your tableLayoutPanel doesn't draw them again.
Hopes this is working for you as well...
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
Cheers that worked, still a bit of a gap but between rows that are still remaining but it's better than having unused controls.
|
|
|
|
|
Hi,
i have a problem with a property of my selfmade usercontrol.
The usercontrol contains a toolstrip and i want to make the toolstripitems available as a property.
my usercontrol property is a List<toolstripbutton> but i always get the error in designtime that toolstripbutton isn't marked as serializable.
anyone any idea how i can solve this problem..
thx
Kurt
|
|
|
|
|
Hey,
How can I hide a folder from .NET?
I'm making a folder for writting some files to and at the end of the program I zip that folder. But I want this folder to be invisible for the user.
thx!
|
|
|
|
|
you can make files and folders hidden.
DirectoryInfo di = new DirectoryInfo("foo");
di.Attributes = FileAttributes.Hidden;
hope this works
for files you can use File.SetAttributes.
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
|
Hello,
I have the following problem: I have created my own TextBox class (valid inputs are only numbers => NumericTextBox). It's naturally derived from the .NET TextBox control. It works fine. In the next step I tried to create a control, which can be inserted into a ToolStrip with the designer of VS2005. So I derived from ToolStripControlHost and delivered in the constructor my NumericTextBox. In the abstract it works. Only numbers can be inserted, but the property MaxLength (inherited from the original TextBox) is not supported. For example I set MaxLength to 5 but I can input more than 5 characters (numbers). Has anybody an idea, why this doesn't work?
Alternate: I can derive my ToolStripNumericTextBox from ToolStripTextBox. This works fine, but now I have to maintain the code twice. Once for the normal NumericTextBox and once for the ToolStripNumericTextBox. Can I avoid this?
Greets
Patrick
-- modified at 10:08 Tuesday 3rd April, 2007
|
|
|
|
|
You could try to limit the length yourself in exactly the same spot as where you limit the input to numbers only. I know this is a work around, but at least it's better then having to maintain two sets of the same code.
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
|
|
|
|
|
Hi everyone ,
I have a problem here, my program can automatic display 12 files when the button is click.I use timer to let the 12 files to display orderly.
But my question is
" How to allow the 12 files to display randomly everytime when i click the button"
Thank for helpin
|
|
|
|
|
could you explain more ??
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Yes...
The 12 files is the 12 waveform to be display one by one automatically when i click the button.My program can only allow the 12 waveform to display in order when i run the program( everytime when i run the program, the 12 waveform will display from 1 to 12).
Therefore my problem is " how to allow the 12 waveform to display randomly."
for example when i run the program, the third waveform will run first. And when i run the program the second time, the tenth waveform will run first.
Hope u understand..;)
thank..
|
|
|
|
|
this is what I think you need:
static void Main(string[] args)
{
RunRandomly(12);
}
static void RunRandomly(int amount)
{
ArrayList alreadyused = new ArrayList();
Random rnd = new Random();
while (amount > 0)
{
int rndint = Convert.ToInt32(rnd.Next(12));
if (!alreadyused.Contains(rndint))
{
Run(rndint);
amount--;
alreadyused.Add(rndint);
}
}
}
static void Run(int number)
{
Console.WriteLine(number);
}
if it doesn't make sense, then neither did your question I'm afraid
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|