|
ptr2void wrote: Do I have to build the project on Release mode and then take the exe's?
Yes, but you also need the .NET framework.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
you should make your setup through setup wizard...
and it's better to point your exe from release folder...
by making setup through setup wizard it automatically includes the dependencies which u may be missing while making setup by yourself
|
|
|
|
|
Nouman Bhatti wrote: you should make your setup through setup wizard...
and it's better to point your exe from release folder...
by making setup through setup wizard it automatically includes the dependencies which u may be missing while making setup by yourself
Could you please tell me how can I make my setup through the wizard?
|
|
|
|
|
when u make a new project there's a option of setup wizard....
|
|
|
|
|
.NET is very easy to deploy. If you only use the built in functionality, ie. no external dll's, you can simply move the exe and run it. Assuming that you have the correct .NET Framework installed. There are minor differences between Debug and Release mode and I don't think this is the reason for the crash.
If the program closes after some time it seems more likely that you have a bug that you need to fix in your program.
|
|
|
|
|
Hi all,
Any one suggest me a regular expression that replace a "\n" char with HTML break tag( <br /> ). I did this using the following expression
string BodyText=Regex.Replace(Bodymsg, @"\n", "( <br /> )", RegexOptions.Multiline);
Bodymsg is dynamic text from database.
When i try to use the above expression it replaces all the "\n" like "\t\n", "\r\n", but for me the new line "\n" alone should be replaced not the new line with tab or carriage return for eg: "\t\n" or "\r\n" should not be replaced from "\t\n" to \t < br />
Thanks in advance
Know is Drop, Unknown is Ocean
|
|
|
|
|
OK, so you need to look behind and make sure it's not a \t or \n before it ?
www.expresso.com is great for working out regex.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: www.expresso.com is great for working out regex.
regex: regular exercise?
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
LOL
Obviously regex == regular expressions
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very much
Know is Drop, Unknown is Ocean
|
|
|
|
|
Well, i've not used regex much. But there's always just string.Replace , try this:
string data = ...;
string body = data.Replace("\n", "<br />");
body = body.Replace("\t<br />", "\t\n");
body = body.Replace("\r<br />", "\r\n");
So you replace the \n 's then fix the ones you shouldn't have replaced. But of course somebody should come along shortly and give a regex expression to do this a another way.
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
Thank you very much. It working well
Know is Drop, Unknown is Ocean
|
|
|
|
|
Dude, that's like using a sledgehammer to break a nut. String.Replace should suffice here.
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
If he didn't have the \t and \r rules, I would agree.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
:kicks self for not reading properly:
Cheers,
Vikram.
The hands that help are holier than the lips that pray.
|
|
|
|
|
Hi,
Any one having knowledge in Admission and Ticketing system. Please let me know.
|
|
|
|
|
If this is homework, you need to start it yourself. If htis is a client, don't steal from them, instead ask if anyone here wants the work, if you want us to do it all for you.
You've not even said if the system is web based ( I assume it would be, even tho this is not the ASP.NET forum )
A ticketing system stores details of the tickets on offer in a database, and allows people to request tickets and pay for them, how's that for a start ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
1)How many pages Gridview will allowes..(maximum number of Pages)
2)I have one gridview and one button contol.In that gridview i have checkbox control.
now my problem is when i press a button(btnCheck) the checkbox in the gridview control want to be checked..
Thanks
Pinna
modified on Tuesday, May 20, 2008 4:48 AM
|
|
|
|
|
The number to be encoded is 173946. Starting from the right side of the number (the units position), collect all of the odd position digits (i.e. digit 1, digit 3, digit 5, etc.) and create a new number leaving the digits in their left to right order. The new number would be 796.
|
|
|
|
|
Dixy wrote: The new number would be 796.
Correct.
Now do your own homework.
|
|
|
|
|
And you're in trouble if you need help with this homework question. Serious trouble.
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
Well let see .... I think you can start with a for or foreach loop. And then you can move on to Google to get some more information.
Logic makes the world go around ....
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
I would go with a while loop:
while not num.BON
{
etc.
}
where BON is Beginning Of Number...
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
The problem is well defined, hence: good luck!
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I find it fun to take some simple homework assignment like this and try to turn it into a one-liner.
int encode(int v){return 0<v?0xa*encode(v/0x64)+v%0xa:v-v;}
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|