|
Hi,
Is there a possibility to add in a setup the instalation of the .net framework if needed.
If yes, how can I do this?
thanks,
|
|
|
|
|
Have a look at it[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
I am using .net 3.5 clickonce.
I would like to add an xml file to the setup so that it gets installed along with other default files.
How do I add an xml file to the clickonce please?
Thanks
|
|
|
|
|
does anyone know how to select one item at a time from checkboxlist control. if one item is selected and i select a second item i want the first one to be deselected.
|
|
|
|
|
you have to check it at run time, whether another checkbox is checked or not, If any one is checked just Unchecked it by changing its value.
Regards,
Atul Rane
modified on Wednesday, August 20, 2008 3:14 AM
|
|
|
|
|
Hello !
There is an enum type property in CheckedListBox control :
'SelectionMode'
You have to set it to 'One'
But You have to think about usability!
When we say a CheckedListBox, user have in mind that he can check more than one item! (CheckBox vs RadioButton)
You will have user frustration as a result
The best control to use in this case is a simple ListBox.
|
|
|
|
|
You should use a radio button group for this, as that is the purpose of that control. If using Windows Forms, any radio button that is selected will automatically deselect any other radio buttons in the same enclosing container (such as a group box or panel).
...or a simple ListBox as lisan suggested.
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
i am beginner in c# language .i want to audio compression using Directx capture ,but now created Avi format log but i want to create .mp3 format file,i used
cap1.AudioCompressor = (myFilters.AudioCompressors[2]);
this coding and using MPEG Layer3 codecs but give more Exception
anish..
|
|
|
|
|
Windows does not come with an MP3 compressor.
What codec are you using? What exception?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
thank u for replay..
i used lame mpeg codecs , But i found how to commpression wma format ,so i need proper mp3 codecs software ..
regards
anish
|
|
|
|
|
Hi,
I want to copy only CSV files from a folder. I just want copy files tht only modified within one hour.
Example time now 11pm. I only want to copy files tht had been available in folder from 10 am to 11 am.
I tried using following codes but it does not work as i requested....
string Folder = Server.MapPath("SaveFile");
string CurrLocation = "c:\\Current";
string[] List = Directory.GetFiles(CurrLocation, "*.CSV");
foreach (string CSV in List)
{
FileInfo CSVInfo = new FileInfo(CSV);
if (CSVInfo.LastWriteTime < DateTime.Now.AddMinutes(-60))
{
CSVInfo.CopyTo(Folder);
}
}
regards,
usha
|
|
|
|
|
If (CSVInfo.LastWriteTime < DateTime.Now.AddMinutes(-60))
In this line change the symbol < with this >.
Regards,
Atul Rane
|
|
|
|
|
Hi all. This is a bit of a weird question, but I actually need to determine what assembly a delegate's definition resides in. That is, if an instance of a delegate is passed-into my class, I need to determine where the code that that delegate represents comes from.
Any thoughts?
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
Ah, looks like I can do it with:
theDelegate.Method.Module.Assembly;
That wasn't so hard as I was expecting.
“Time and space can be a bitch.”
–Gushie, Quantum Leap
{o,o}.oO( Looking for a great RSS reader? Try FeedBeast! )
|)””’) Built with home-grown CodeProject components!
-”-”-
|
|
|
|
|
|
Hi there.
I want to send and get a web request by C# (get and post)
Which classes do we need to use ?
Thanks an advance.
|
|
|
|
|
|
logan1337 wrote: System.Net.HttpWebRequest, though it may be obsolete now
No, it's not obsolete, but the WebClient class has been added which contains methods that wraps common uses of the WebRequest classes.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
You can use Request.QueryString() and Request.Form() to get things from get and post (use the overloads to get specific things).
I'm unsure of the namespace that the Request object is in. I believe that you should be able to use it in a web project without adding any references, but I may be wrong.
|
|
|
|
|
The WebClient class contains convenient methods to do web requests. If you need more advanced aspects, like controling the timeout, you need to use the HttpWebRequest class directly.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Yes HttpWebrequest is the chose one. It has got all the function a programmer may need. From SSL requests to the regular http form posts.
|
|
|
|
|
Hi,
What does it mean when you have:
<br />
for ( ;; ) {
Is it an infinite loop?
Cheers,
Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen
Click here to view my blog
|
|
|
|
|
|
Because you have to wait forever to tell for certain if a loop is infinite: he hasn't got the time.
Steve
|
|
|
|
|