|
"Empty choice cannot be satisfied if 'minOccurs' is not equal to 0."
and
"Some elements have invalid values according to their datatype"
Can you pls tell me to validate ( as it was done in XML ) with out modifying the input xml file.
Thanks.
|
|
|
|
|
According to the errormessages, I'd say that your xml file violates the rules dictated by your xls schema.
If you don't want to edit the xml file, you'll most likely have to take a look at the xls schema.
-Larantz-
|
|
|
|
|
Is n't there any other choice, like setting some options to make it Valid?
|
|
|
|
|
I'm not sure.
But I don't see the point of having a xls schema to help you form your xml correctly, if you don't follow the schema.
Then you might aswell remove it.
-Larantz-
|
|
|
|
|
Hi Guys,
I wrote a backprop neural net library in C# that is loosely based on the BrainNet articles. And as in the articles, the testing app that I developed is one that trains the NN logical operations (AND OR XOR etc.)
When I train it for AND & OR, it works perfectly. However, it refuses to learn XOR. There is obviously a bug somewhere.
Does anybody have a clue where I can look? I know this is a long shot in the dark, but I am at my wit's end....
Thanks in advance.
|
|
|
|
|
|
Hi !!!
whenever i run my application 2nd time, I get the error... i.e
Unable to copy file "obj\Debug\File1.exe"to"bin\Debug\File.exe".
The process cannot access the file 'bin\Debug\File1.exe'
because it is being used by another process.
wts the reason behind it. I also closed or free all the resources.
plz help me out...
B!Z
|
|
|
|
|
Sounds like your application doesn't exit in an appropriate fashion.
We might be able to help if you provide some sourcecode.
-Larantz-
|
|
|
|
|
Larantz wrote: We might be able to help if you provide some sourcecode.
What source code would you suggest in this particular case?
|
|
|
|
|
I see your point - as he doesn't know where it's happening and it might be a large application.
Though he could show us exitpoint of application, cleanups, anything related to starting/stopping threads perhaps.
-Larantz-
|
|
|
|
|
check the task manager if it is executing
is it could be a virus or an anti virus application .
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
If your app is running, the EXE file is locked and a new build will fail.
Most probable cause is you create some thread that does not finish, and was not
declared a background thread. Background threads don't prevent an app from exiting,
foreground threads do. See Thread.IsBackground
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Thanx all of u for helping me in removing the error.
B!Z
|
|
|
|
|
Hy
Have anybody any idea how to get the color for a SelectedItem from a ListBox?
Thanks
|
|
|
|
|
If I'm not mistaken, you can't have individual textcolors for the various items in a ListBox.
You can only get/set the color for the entire ListBox through the ForeColor property.
-Larantz-
|
|
|
|
|
Use one of these depending on your requirements - changing the value of the indexer of course. Return type Sytem.Drawing.Color
ListView1.Items[0].ForeColor;
ListView1.Items[0].SubItems[0].ForeColor;
ListView1.SelectedItems[0].ForeColor;
Dave
|
|
|
|
|
is about a ListBox not a ListView
|
|
|
|
|
DaveyM69 wrote: ListView
He's using a ListBox.
Unless that was meant as a tip for using another type of control.
-Larantz-
|
|
|
|
|
Oops - misread, sorry.
Can't be done with a list box I don't think - would suggest using a listview in detail view for this as you can see how easy it is.
|
|
|
|
|
|
I ve to generate a report; which dipslays difference of two years with respect to each month.
If any body knows then tell me. Thanks in advance.
such as
Account year 2006-07 year 2007-08 difference
September 50000 100000 50000
March 10000 20000 10000
each month contians sum of all transaction happened in that with respect to year.
So please try it out
Thanks again
-- modified at 4:31 Friday 7th September, 2007
|
|
|
|
|
Hi Raza.
I'm not about to answer your question as Crystal Reports isn't familiar to me.
But you should refrain from asking people to answer questions 'ASAP', or 'Hurry up' etc. Most of us find it offensive to have some other unfamiliar person ask us to hurry up and solve their problems. We're all here to have fun, provide help and learn something. We're not under any circumstances here to feel the pressure of timelimits and deadlines.
This is only meant as a helpfull tip to you so you will, hopefully, ask questions in an appropriate fashion, and people will eager to help you with your problems.
Best of luck!
-Larantz-
|
|
|
|
|
Hi
I have a windows application i am calling webserivce, the first webservice calling another webservice there i am getting an error
The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/webservuce2/service.asmx?AutoDetectCookieSupport=1">here</a>.</h2>
</body></html>
--.
kesavan
|
|
|
|
|
Hi,
I want to create an editor which should have two views ASCII and Binary, when i edit either view respective changes should happen in next one. Can some one tell me how could i design it ?
Thanks
|
|
|
|
|
Found this on CodeProject after googling a bit for tutorials: http://www.codeproject.com/useritems/JIBitArray.asp[^]
Should cover your needs for getting bitpatterns for characters.
You could then use for instance TextBox.CaretPos to check for which bit you're modifying and update the ascii-string, or vise verca.
-Larantz-
|
|
|
|