|
SafeHandle[^]
I know nothing , I know nothing ...
RIP Osama Bin Laden, you were thorn in USA throat ,
And you will always be ...
|
|
|
|
|
Bonjour,
je voudrai savoir comment enregistrer un chemin de fichier pdf dans la base de données.j'ai déja fait un code d' enregistrer mais au moment ou je clique sur le bouton "enregistrer, tous les autres champs s'ajoutent dans la base de données sql server 2008 sauf le chemin qui ne s'ajoute pas,son champs reste vide .voilà mon code du bouton enregistrer
try
{//je clique sur le bouton parcourir qui me permet de choisir le pdf à choisir et après son chemin s'affiche dans listbox
if (listBox1.Text == "" || txtLibellé.Text == "" || cbtheme.Text == "")
MessageBox.Show("remplisser d'abord les zones vides!!");
else if (o.Verifier(" Document ", " chemin ", listBox1.Text) == true)
{
MessageBox.Show("existe deja");
}
else
{
o.exec("Insert into Document Values ('" + listBox1.Text + "','" + txtLibellé.Text + "','" + dateTimePicker1.Text + "','" + cbtheme.Text + "')", false);
MessageBox.Show(" c'est enregistré!!!");
Liste();
o.ligne = o.dt.Rows.Count - 1;
}
}
catch (Exception Ex)
{
MessageBox.Show("" + Ex);
}
|
|
|
|
|
هذا الموقع بل الإنجليزية
Perhaps now you understand the importance of keeping the website in one Language, in our case English. This isn't the UN after all.
While we are at at it:
Marking something as urgent is rude (Read the FAQs) - it might be to you, it isn't to us, and we are unpaid.
You have not formatted the code so we can't read it (See the FAQs)
|
|
|
|
|
|
I have no idea what you said, but you need to read up on SQL injection attacks.
|
|
|
|
|
|
immer ist alles dringend!
I cannot remember: What did I before google?
|
|
|
|
|
Thomas Krojer wrote: immer ist alles dringend!(everything is always urgent)
You are right. And CP becomes their emergency room.
Ignorance of the ability brings disability.
|
|
|
|
|
hi.
i need codes in c# for recording video with webcam.
this program have 3 buttons
1.turn on webcam
2.record
3.save the recordes
|
|
|
|
|
A little effort via Google and you will find them. You may also like to check this[^] out, especially point 2.
The best things in life are not things.
|
|
|
|
|
naalgo wrote: i need codes in c# for recording video with webcam.
I'll build it for $5000.
I are Troll
|
|
|
|
|
I'll build it for $4999, but I won't do as good a job as Eddy
|
|
|
|
|
5000? 11900! You offerd it to cheap!!
I cannot remember: What did I before google?
|
|
|
|
|
Thomas Krojer wrote: 5000? 11900! You offerd it to cheap!!
I tried to undercut all other offerings, but as you can see it didn't work
I are Troll
|
|
|
|
|
Here are some codes you may find useful:
using System;
using System.Collections.Generic;
The rest I leave as an assignment for you.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
|
You could always buy a webcam, install the software that goes with it, finds the appropriate dll's, reverse engineer them, re-format them to your coding standards, framework and language and then compile.
V.
|
|
|
|
|
Somewhere, a polar bear just died because you wasted electricity typing that.
|
|
|
|
|
Hello Everybody,
I have a component which is not serialize and now i am trying to save it in file with the use of binary serialization.
But it's not saving yet. And shows the message your component is not serialize.
So please help me to serialize this object.
If you can think then I Can.
|
|
|
|
|
It's all explained here[^] in this CodeProject article.
The best things in life are not things.
|
|
|
|
|
Short answer: put [Serializable] on the component and make sure that all its fields are themselves serialisable.
|
|
|
|
|
Dear Sir,
Thanks for reply. But this component is not develop by me. this is third party control.
So how can i do that?
Thanks Again
If you can think then I Can.
|
|
|
|
|
Then, if the control does not support serialisation by some easy mechanism (either having [Serializable], implementing ISerializable or providing something like ReadXml/WriteXml methods), you will have to write a wrapper class to serialise all the properties that you can get hold of.
|
|
|
|
|
Hi Can Any One Guide Me How To Encrypt/Redirect The Whole Url In The Address Bar.
Help Me
|
|
|
|
|
You can't encrypt the whole URL. How would the web request know what the endpoint was?
|
|
|
|