|
ok, at the risk of pointing out the bleeding obvious, it looks like the error is within your foreach(string Fichier in this.FilesList) loop ... you seem to know this, given you know what you have vs what you expect
so, what happens if you start debugging through that, checking the contents of FilesList etc ?
you should be able to isolate that code or single step it and see if the file is being opened and its contents being appended to 'Data' - yes ? (or have I missed something ?)
'g'
|
|
|
|
|
is there any way to change the font of Values in PG ? because it everytime appears in BOLD that looks very weird
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
there is any explicit property but through the reflection you may change it.
|
|
|
|
|
would you like to explain little more or any article ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
i want to save a DataTable in Properties.Settings. All just works fine untill i restart the app.
here is code on forms Load
if (Properties.Settings.Default.Limits_DT != null)
{
main_DT = Properties.Settings.Default.Limits_DT;
}
else
{
main_DT = new DataTable();
}
and another one is
private void LE_FormClosing(object sender, FormClosingEventArgs e)
{
Properties.Settings.Default.Limits_DT = main_DT;
Properties.Settings.Default.Save();
}
it works but only if application keep running. I dunno why Save() is not working. I use Settings often but this time i need a DT
any idea... ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Do you really need a datatable, or do you just need the data it contains ? What if you stored the data as XML ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
well, i want to save DT since its supports many things, constraints, typed column etc and very easy too use as well as xml do not do what exactly or nearly i want...
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I want to record (video file) when i moved mouse on screen.
as same as program "lotus screen"
please give hint or tip to me.
Thank so much...
|
|
|
|
|
it may help
http://www.codeproject.com/KB/audio-video/capvidscrn.aspx[^]
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I'm creating a lot a picture boxes. Each picture box has a constant height and width of 50. So I randomly place this picture boxes on the form. My problem is that some picture boxes overlaps or on top of other picture box. How do I solve this problem?
|
|
|
|
|
You need to look at the existing picture boxes and if they overlap with your new picture box then move your new picture box.
Detecting an overlap is fairly simple. Each control can give you its Bounds[^], which is a Rectangle[^] object. The Rectangle structure has an IntersectsWith[^] method which will return true if the rectangles intersect (overlap) with each other.
For example:
bool isOverlapping = firstPictureBox.Bounds.IntersectsWith(secondPictureBox.Bounds);
|
|
|
|
|
I've got a VisibleChanged handler in a UserControl class that performs some functionality that includes using "this ". When I run the code as an app, it works fine, but when I try to load the UserControl into the designer, the IDE crashes. Is there a way to hide code from the designer, like a convenient compiler directive or anything?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I don't know whether there is a directive or not but you can check whether the control is at design time or not. See here: Detecting Design-time in C#[^]
|
|
|
|
|
Neither of the methods there worked for me, but it allowed me to use different search criteria in google, and found an answer right here on CP:
http://www.codeproject.com/KB/cs/DetectingTheIDE.aspx[^][^]
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I am glad to here that you found an answer. Thanks for the article link
|
|
|
|
|
I see you solved this, let me just add that the designer has become a bad joke, it runs about half of your code, and if that code relies on other code that it doesn't bother to run, it crashes. MS says this is a feature.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
The designer is definitely a like bad dream once you start to do anything more complicated than simply accepting the default form in a new WinForms app, but You're forced to use it if you want a reasonable chance at designing a form in a short amount of time. Are there any alternatives that don't include the acronym "WPF"?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi,
my question is that how we can put a Hyperlink in the MessageBox in C#.
Thanks,
abhishek
|
|
|
|
|
You can't do it with standard messagebox, you need to develop your own and use linklabel control
|
|
|
|
|
Hi friends,
I have created voting application,i have almost finished it but i should check that one user should vote once by getting his session any idea for this....
Checking IP address will prevent other users voting so i need to take user browsers session or some other ideas for this method.....
|
|
|
|
|
First of all, we have an ASP.NET forum, why did you not ask there ?
Second, there's no way to do this. A new session is created when someone reconnects to your site, and so an IP address is your only option, and that won't work if someone has a dynamic IP and reconnects to the web. The only way for this level of control is to issue people with a login and let every login only work once.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
How can I sort the windows taskbar items in c#. I would like to write a small program that looks for programs on the taskbar, and rearrange them if a custom order should it find them.
|
|
|
|
|
|
Hi,
I'm currently in the planning stages of a medium sized application.
The essence of this application will be a website, similar to hotel booking sites like booking.com
I'm deciding what data access to use...
I've narrowed it down to two options - nHibernate, or Microsoft Data Access Application Block
In what situation would either of those be a better option?
|
|
|
|
|
Hi,
I need the following functionality in my application. I have a main form, from where I display second form to get input to the main form. I want to lock the main form until I get the input from the second form. Can somebody advise me how to acheive this from c#.net windows based application?
Thanks
Sunitha
|
|
|
|