|
i need to have a windows service setup file which will accept
parameter..
the set up user interface should have a text field which will take a parameter and then this parameter should be used in the windows service. any idea i need only help.
|
|
|
|
|
Two group of cards (one with 10 cards , another with 5 cards), what I want is to discard one card out of 10 cards from one group and it become 9 cards. Then I choose one of the cards from another group with 5 cards by clicking the card. After I choose it , I want to be added that card in the group with 10 cards again! How can it be work?
|
|
|
|
|
You are a bit vague...,
for instance, which data structure did you use?, some sample code?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Well, the first step when you're assigned homework, is to try to do it. That's what it's for. The process of trying, and perhaps failing, is how you learn. You learn nothing if I were to write this code for you.
One you've tried to do your own homework, if you're stuck, post it here, and we're happy to offer advice. I certainly lean towards hints rather than writing the code for you. Otherwise, when I'm a manager, all the people I'm managing will be totally useless, as they've never had to solve a problem for themselves.
Christian Graus - C++ MVP
|
|
|
|
|
Hey guys,
i have site online where my registered users can upload their files. I want to make a desktop application that lets my users upload their files from the application itself. I will be uploading my files using the regular HTTP upload. DO you have any information on where I could get started. I have never made something like this.
|
|
|
|
|
|
hey,
I did a bit research online and found that I'd have to first do an HTTP POST and authenticate myself and then save the logon information as a cookie. Once that is done, I'd have transmit the file in chunks. Is that right? Is there another way? Would I have to do all my HTTP POST and GET through the System.Net.WebClient namespace?
|
|
|
|
|
Hi
i want to develope one application which can run on mobil phone. but i dont know how !!
any help could be useful .
thanks.
|
|
|
|
|
Nafiseh Salmani wrote: i want to develope one application which can run on mobil phone.
It's a regular phone you talk about or a smartphone. Does it have a OS? Be specific
Do your best to be the best
|
|
|
|
|
could u please explain it more? can i run an application on mobile phone without OS ?!! if yes how could i do this ?
i dont know anything about these application , could you please send me some link which explain it from basic to advance level ?!
|
|
|
|
|
yes the link is Google[^]
first get info what you want when you know that try find some more information which phone you are targeting then get more info about its OS after that see which programming language you require to make a program for it then learn that if its c# then come here for genral language related problems and be specific what you want to know
and for any other help for Mobile development go here[^]
|
|
|
|
|
In my game, if one player put one card , another player have to put one card that is greater in sequeue than the first one (3>2) so how can I set those order with sort of cards? Those are no number , that's why!
|
|
|
|
|
Depends entirely on how you define your cards. Without any code we cannot answer your question.
My suggestion would be to create an enumeration of card values, something like this:
public enum CardValue
{
cv2 = 2,
cv3,
cv4,
cv10,
cvJack,
cvQueen,
cvKing,
cvAce,
} The enum is based on int by default, so (int)CardValue.cvJack will yield 11, for example and CardValue.cvKing > CardValue.cvQueen will return true .
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
hi pals,
when we press enter it's must go to Defaultly to save Button,,
can u any one help me plz,
regards,
Manohar
hi
|
|
|
|
|
asp form tag has an defaultbutton attribute, you can set it to the name of the button you wanted as default button.
Debugger is still my best friend.
|
|
|
|
|
my game have several boxes filled with randomly cards! the job is to match the 3 cards by vertical or horizontal way.if three same cards were in match.. I ld to make them disappear from the boxes .. How can I do .. ?pls
|
|
|
|
|
Can't you set the visabilty on the images? What events are you using and what type of control are you using to host the images?
|
|
|
|
|
In real, I want to exchange the cards by drapping with mouse (most like in solitaire)to get into matching statement in C# win appl. For visabilty , I use one button for start! and then all the randomize cards are in those picture boxes! ..pls help me
|
|
|
|
|
In real, I want to exchange the cards by drapping with mouse (most like in solitaire)to get into matching statement in C# win appl. For visabilty , I use one button for start! and then all the randomize cards are in those picture boxes! ..pls help me
|
|
|
|
|
Stop spamming the forum. You only have to ask that question once.
---
b { font-weight: normal; }
|
|
|
|
|
i want to copy a file from one directory to another directory.
lets say from source to destination directory. even in the source directory the file is written from some where. so how do i know is the file readble and ready to move to destination directory.
|
|
|
|
|
AFAIK there's nothing that lets you determine whether the file is ready to move. So you'll have to try and in case some exception is thrown it obviously wasn't ready.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
hello,
I wana show the cards in randomly from the array when I click the start button. ex: I have 12 picture boxes. and if click the button , the randomize cards come out to those boxes. How should I do ? pls help..this out
|
|
|
|
|
You could use System.Random[^] to generate the random numbers. The Next[^] method has an overload that allows you to specify the maximum value (12, in your case). You could generate 12 random numbers in that range and use them to shuffle the elements in the array.
class CardShuffler
{
Random randomGen = new Random();
Card []cards = new Card[12];
public void Shuffle()
{
for (int i = 0; i<cards.Length; ++i)
{
int newIndex = randomGen.NextInt(i, 12);
Card temp = cards[newIndex];
cards[newIndex] = cards[i];
cards[i] = temp;
}
}
}
|
|
|
|
|