|
Hi David i need help with a code on how to creat a fixture between to teams competing against each other. thanks
|
|
|
|
|
And a "fixture" is what, precisely??
|
|
|
|
|
it a match game consist of two teams of 18 players each and they belong to different department
Team A and Team B
i need help on how to
Prepare a list of matches for the games competition
Identify the winners of each match on the schedule
Calculate the points awarded to each House
|
|
|
|
|
You're not getting the point. I keep asking you to provide more and more detail about the exact specifications and you keep repeating the same thing. Without all the detail, you have no hope of completing the project because you are unable to define in as close to step-by-step terms what the specifications of the project entail.
maybel wrote: Prepare a list of matches
And this would be determined how?? What makes up a match?? What are the rules for determining who plays who?? Are you talking about one person vs. one person, or one team on team?? What determines points?? These are just some of the details that you have to fill in. Leaving all of this stuff out is why you can't get an answer and can't write the code to do it.
|
|
|
|
|
game they play are
• Chess
• Spelling
• General knowledge
• Each match is ‘best of three’ single games of one type of game
• Staff/students cannot play other members from the same department
• Team members of each team can only play another team member once
• Each team member will take part in one match for each type of game.
To allow results to be entered, the aim of the program is to
• Prepare a list of matches for the games competition
• Identify the winners of each match on the schedule
• Calculate the points awarded to each House
Team A
18 1n total and belong to 7 different Departments
Team B 18 1n total and belong to 7 different Departments
example are as follow
game they play are
• Chess
• Spelling
• General knowledge
• Each match is ‘best of three’ single games of one type of game
• Staff/students cannot play other members from the same department
• Team members of each team can only play another team member once
• Each team member will take part in one match for each type of game.
To allow results to be entered, the aim of the program is to
• Prepare a list of matches for the games competition
• Identify the winners of each match on the schedule
• Calculate the points awarded to each House
Team A
18 1n total and belong to 7 different Departments
Team B 18 1n total and belong to 7 different Departments
example are as follow
Academic Team Department Vocational Teams
Albert A Technology Bertha V
Arnold V Betty A
Aswan A Borris P
Charles V Business Denise V
Colin A Debra A
Edward V Academy Felicity A
Elias A Freda V
Earl V Fiona A
George V Construction Harriet V
Gilbert A Hebe A
Gerry V Helen V
Gwyn A Hilary A
Ian V Accountants Jane A
Idris A Jenny V
Isaac V Jasmine A
Keith V Early Years Laura A
Kenny A Leila V
Kevin V Linda A
|
|
|
|
|
First step - read your references
Second step - write some code
Third step - ask real questions, that is, questions about how you tried to do it yourself and need specific help
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
... makes me not wanting to hire software grads these days for development jobs ...
|
|
|
|
|
I have two application (similar) in vb.net.
I want to send a message from A to B with params.
I use SendMessageTimeout o SendMessage but i have some problem to receive a params.
Can I have some example where i send o receive one structure?
Thanks
|
|
|
|
|
Hi,
if you need to send more data than a simple variable can hold, you need to allocate memory in the other process' address map, write the data, then send a message using a pointer valid in the destination process. Not all straightforward. IIRC my LP#TrayIconBuster[^] article uses something like that.
A much easier approach could be to write data through a named pipe, using either some Win32 P/Invoke, or the new NamedPope[^]class in .NET 3.5
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Luc Pattyn wrote: or the new NamedPope[^]class in .NET 3.5
Benedict XVI, presumably?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Right, that's the one. He'll carry your messages around the world. No UAC can stop him.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hello,
I'm just looking for ideas/techniques to apply to form to handle logon running events and blocking the user from closing the form until those events are done. Is there some formal way to do this or is a just a matter of using boolean to indicate idle status, etc?
Situation:
- user clicks on button causing a transaction
- while the event is processing the user clicks on the Close Button (X).
- the transaction returns and starts processing. it is possible to get the close event to fire while the transaction reply is being processed. So reply is being processed, the close event starts cleaning up objects (set to nothing/dispose) and the event uses one of those objects and 'object not set'.
Note: We are using bubble up error handling so the top of the stack is the button. but we are also using threadexception handling so it too would need to react accordingly.
Thank you for your time...
Nathan
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
Hi,
the FormClosing event has a FormClosingEventArgs parameter; of interest are the CloseReason property, telling you why the form would close, and the Cancel property, which when set to true prevents the form closing.
Luc Pattyn
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Thank you for replying Luc...
So basically i would need to create a variable to indicate i'm within a click event and check that flag within the closing event and if the flag is true, then cancel the close else let it happen. i was hoping for some flag that's built into indicate if any of the form's events are "busy"...
thanks again.
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
which database should I use in order to achieve the highest speed possible while reading and writing?
I need to write to database once, but read the database quite often
I write about a million strings.
TheMrProgrammer
http://www.icbse.com/2009/funny-exam-answers-school-students
http://download.cnet.com/TheCalcMan/3000-2094_4-10958266.html
|
|
|
|
|
You could:
use sql server and also use sqlcachedependency and dump the table to NT memory. that way you are caching the records in NT memory and it will pole sql server looking for changes. if a change is found, it replaces the cache and again the NT memory is in sink with the database.
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
I have an headache from bashing my head against a brick wall and I think Google will start charging me because I'm hogging their search engine.
I am near the end of a large VB .NET 2008 project, where a small client program is installed on the user's PC and then shared DLLs and support files are located on a Windows 2008 Server. The client program uses late binding to utilise the DLLs on the server.
All the assemblies are Strongly Named.
when I attempt to run the client program, I get the error "That assembly does not allow partially trusted callers." at the point that the client attempts to connect to a DLL on the server.
I have tried the following command on my PC (running Vista Ultimate x64)
CasPol.exe -pp off -m -ag 1.2 -url file:\\myServer\myShare\* FullTrust
I still get the same error.
I really am in need of some guidance (or a bullet to the head )
Thanks
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Try inserting all your DLL's into the servers GAC, had a similar problem, this solved it.
|
|
|
|
|
This resolved my issue :-
caspol -m -ag 1 -url file://\\MyServer\MyShare\* FullTrust -exclusive on
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Newbie here again. I need to be able to take data that is in a txt file and import into a table. My senario is, I have 6 txt files that need to be imported/inserted into tables of the same name. The data in the files look like this- "data", "data", and so on. I am using vb.net and my sql server is 2000. How do I go about doing this? Keep in mind that I have no training and am just starting to learn this stuff. Thanks.
|
|
|
|
|
The text files you are describing sound like what are known as 'csv' files (comma separated values), so I suggest that you look at this[^] blog, for solutions.
If you do not understand it, or it simply does not fit your scenario then Google for sql server csv files, which is how I found that link. There are loads of hits, work your way through them till you find one that suits.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi guys,
I am writing (trying to write) a program in VBA for Excel 2003 and I got stuck. I need your help please.
I have an excel range where the upmost cell is initially fixed and the downmost cell moves down as more data arrive.
I have something like WorkRange = Range((1,1), (LastRow.Row,1)).
That range contains integers. I call LastValue.value the value of the integer in cell (LastRow.Row,1).
Over this range I calculate the maximum value (MaxVal.Value) and the difference between LastValue.Value and MaxVal.Value.
So far it's (almost) easy, even for me.
The problem is, when the difference between LastValue and MaxVal satisfies a certain condition ( ie LastValue-MaxValue=z; z=constant) I need to move down the upmost cell in the WorkRange, so that it is set to coincide with the cell where the MaxVal is.
After that the program should me made to loop.
Normally the data series would be 40k rows long, but it could get 500k rows long I am afraid.
IN THEORY I have an idea of how I can solve this problem but I do not know how to do it practically with VBA.
I thought that maybe I could define the upmost cell of the WorkRange as a Cell-object.
For example I could call it StartCell1. The WorkRange would then be:
WorkRange=Range(StartCell1,(LastRow.Row,1)).
StartCell1 would be the first cell where I have data.
When condition ( LastValue.Value-MaxValue.Value=z) is satisfied I could write the program to create a Cell-object called LastCell1 that would be the first cell where the condition is satisfied.
I would also create a Cell-object called MaxVal1, that would be the cell where you find the maximum value in the range up to that point.
Finally I could also create a Range-object called WorkRange1=Range(StartCell1,LastCell1).
Done that I could create a new Cell-object, call it StartCell2 , and set it to have the same properties of Cell-object MaxVal1.
At that point the WorkRange would be WorkRange=Range(StartCell2,(LastRow.Value,1)) and I could loop the program repeating the above.
Does it make sense ?
The problem is that I have no idea on how practically do this.
I am surfing through books and the web but did not find a solution so far.
Probably my question is naive but can anybody please help ?
Thank you in advance
Frank
|
|
|
|
|
Thanks in adv.
Can Some one Tell me any way to Navigate Fast in the Properties of any control in VS (2005,2008,2010)
as in VS 2000 you can go directly to a property by pressing ctrl + shift + 1st Letter (for Name :N) will go inside the Name property.
Best of Regards,
SOFTDEV_SUP
Best Of Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
Not sure about that particular shortcut. But I guess this[^] link will help you out.
Plus, I think Visual Studio forum would have been a better place for this.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
hi guys... im a newbie and a student here in the philippines... i need help.. and i appreciate it in advance...
here is my problem...
i have two datagrids...
grid1 and grid2
grid1 is like a cart...
and the data needed to populate it depends on grid2
by the way grid2 is a booklist
when i select a book from grid2
i should be able to pass the data to grid1
i already populated grid2 with data...
how can i populate grid1 with data coming from grid 2?
another info...
grid1 is in frmPurchasing while grid2 is in another form frmBooklist.
I hope i made it clear.. this is for subject in database programming.
I am using Visualbasic and sql server. thanks
|
|
|
|