|
hello sir
thanx for your kind reply.
The setup is working now. I was doing the same you described above.
but there was an error of path in HelpProvider of .chm file only. In my application i put .chm somewhere and was giving path as ..\..\help.chm. In this case it was not working after installation through. Then i made its path to help.chm only and moved the .chm file accordingly into the bin folder. Compiled and run through F5 and through .msi setup. Both are working now. Let me know if you have anyother...
Thanx again Mr. Dave
Any Movie, Software, Song, Game and many more.... Only at Developer's Solution
http://www.devsol.co.nr
Search Any Torrent You Want
A Software for Torrent search only....
Must check it
...VAIBHAV SARAN
vikysaran@gmail.com
|
|
|
|
|
I have some question:
a) In debug mode when we press F11 then it shows next step,
like this can debug backward, means previous step.
b) What is use stepInto, stepOver.
c) When we put a breakpoint there is condition clause,
how can we use this. Suppose I want to hit a breakpoint only when
the value of x=10.
Is this can be done.
I am using vs2003.net & debugging a C# application.
Thanks in advance.
|
|
|
|
|
a) F11 Steps into a funktion when you debug. Shift+F11 Runs the funktion to the end and then stop at the call to the function for you to continue debugging (jumps out of the function).
You can move the debugarrow if you want to jump over something or run some code again. If the code is i++; then i++; will be done again that means if you run the code twice i = i + 2;
b) Stepinto = F11 , stepOver = F10
c) Rightclick the breakpoint and choose condition... Write x = 10; in the textbox and check the radiobutton "is true".
|
|
|
|
|
1 - you can use 'set next statement' to 'go back', but you can't rewind the statement that just ran, no
2- step into goes into a method when you're calling it
3 - you set the condition to x == 10 and it will only stop if x is 10 when this code is run, this is important. It won't stop the moment x is 10, but the iteration over that breakpoint where x is 10.
Christian Graus - Microsoft MVP - C++
"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 )
|
|
|
|
|
Subject in a Mailmessage sent with SmtpClient.Send(Mailmessage) doesn't replace spaces with =20.
If a space exists in the subject then it is treated as spam.
A solution to this was to replace it my self like this
mailMessage.Headers.Add("subject", subject.Replace(" ", "=20"));
This worked great but now I have installed framework 2.0 service pack 1 and this removed the possibility to put the subject in the header. It won't show in the received email any more
Does anyone have any idee on how to get correct spaces in a subject?
|
|
|
|
|
I have a string that is in binary I want to be able to take every 8 characters and put them in a byte.
how can I do that?
i.e.: string = 00000001
I want it to be in a byte that is 1
string = 00000101
I want it to be in a byte that is 5
.
.
.
.
.
BiG RaLpH
|
|
|
|
|
use Convert.ToByte(yourString,2)
|
|
|
|
|
Hiii All..
i am using Regex to remove \r from the string. so using \\r for this.
it removing \r, but also removing r from string.
Not want 2 remove r, just \r need to be removed.
so, plz tell me where i am wrong. Or what else can be done.
thx in Adv.
Enjoy!
Sidh
|
|
|
|
|
Member 3824736 wrote: so, plz tell me where i am wrong.
My mental powers are a bit weak today, so I can't see your code clearly enough.
Can you just post the code here? It will be easer to read that way.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hiii Guffa
thx.....
its............
i am using Regex to remove \r from the string. so using \\r for this.
it removing \r, but also removing r from string.
Not want 2 remove r, just \r need to be removed.
so, plz tell me where i am wrong. Or what else can be done.
thx in Adv.
Enjoy!
Sidh
|
|
|
|
|
I can tell you where you are wrong. The code that you have written is wrong. What you describe is correct, but the code that you have written obviously doesn't do what you describe.
If you want someone to help you with your faulty code, you have to post it.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
string sPattern = @"[^\p{Cc}\\r\\n\\a\\e\\b\\t][\S]*[\w\p{Po}\s-`\p{Sm}]*[^\p{Cc}\\r\\n\\a\\e\\b\\t]";
try
{
if (Regex.IsMatch(txtText.Text, sPattern, RegexOptions.Multiline | RegexOptions.IgnoreCase))
{
objMatch = Regex.Match(txtText.Text, sPattern, RegexOptions.ECMAScript | RegexOptions.Compiled
| RegexOptions.Multiline | RegexOptions.IgnoreCase);
if (objMatch.Success)
lblDone.Text = objMatch.Value;
}//end (if (Regex.IsMatch...)
}//end(try)
finally
{
sPattern = null;
}//end (finally)
input string is :-- \r\nloadplayer "playername=test_1"\r\n
output string should be :-- loadplayer "playername=test_1"
want to neglect all newline,tabs.. etc from the input string.
Now its doing fine, but also removing "r,n,a,e,b,t" from the starting of the input string.
Means, if the input string is:-- roadplayer "playername=test_1"\r\n
output becomes:-- oadplayer "playername=test_1"
it should be:-- roadplayer "playername=test_1"
so, tell me what i should do for better working.
Thxx...
Enjoy!!
|
|
|
|
|
Answered in your other (latest) post.
Latest Post[^]
Matthew Butler
|
|
|
|
|
You can't group characters in a set, so [^\\r\\n] means any character except '\' or 'r' or '\' or 'n'.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hi all,
I just want to have a feature to reverse the order of some of my selected ListViewItems.
for example, I would like to reverse the order of Items50 - Items 100 only.
Does anyone know the simple way to do this? Thanks.
|
|
|
|
|
azusakt wrote: I would like to reverse the order of Items50 - Items 100 only.
Does anyone know the simple way to do this? Thanks.
AFAIK, there isn't an easy way to do this. I'm guessing you'd probably have to remove all the items from the ListView, then re-add them in the order you want them to appear.
|
|
|
|
|
Hi!
You can achieve this quite easily by writing a class to assign to the ListView's ListViewItemSorter property.
Within your LVItemSorter you can sort to your heart's desire without having to remove and re-insert items.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
hi all
i wount to Convert The Data From (DataTable or DataGridView) To Excel Sheet Who i Can do it?
thanks for any body help me
Thaer
|
|
|
|
|
Thaer Hamael wrote: Who i Can do it?
You can.
You should consult Google before asking questions like this. A quick search yielded the following results[^].
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
thanks mr
but i nbefor set my Question i Search for this Subject In Google
i Wount to convert this datatable to excel in desktop application not in web application
Thaer
|
|
|
|
|
|
Programm3r wrote: string[] linesOne = File.ReadAllLines("C:\\TEST ZTMEDATA 1.txt").ToString().Split(new Char[] { ',' });
string[] linesOne = File.ReadAllLines("C:\\TEST ZTMEDATA 1.txt").ToString().Split(','); ??
|
|
|
|
|
the result of File.ReadAllLines("C:\\TEST ZTMEDATA 1.txt").ToString() is "System.String[]"
Less lines of code != easiest way.
modified on Thursday, December 13, 2007 3:41:49 AM
|
|
|
|
|
ReadAllLines returns an array of strings, on which ToString returns a type name, "System.String[]". You should rather use ReadAllText, which returns a string straight away.
|
|
|
|
|