|
Xmen wrote: copy back to button and check if its still working
what do u mean??
call the button callback form the event??
Have Fun
Never forget it
|
|
|
|
|
I mean copy paste that code in a button and test that is it still working. It may possible that you change something and forgot...
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
|
|
|
|
|
yep stiil works
i copied it to the tabpage selectedindex changed event
and it works
Have Fun
Never forget it
|
|
|
|
|
half-life wrote: i copied it to the tabpage selectedindex changed eventand it works
hehe nice place xD
well try this one
void UpdateDataBase(object sender, EventArgs e)
{
}
and in CellValueChanged
this.Invoke(new EventHandler(UpdateDataBase));
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
|
|
|
|
|
Dont you think you need to try the event dgvUsers_SelectedIndexChanged.
I have tried that in my code. It was working.
Try to update the database after you leave that row . .
|
|
|
|
|
thanks
this was the first thing i thought about doing
but decided not to update each time i leave a row
but thanks anyway
Have Fun
Never forget it
|
|
|
|
|
Hi,
I've some problems with my Webcam_Capture-Class. My webcam can capture up to 90 frames per second, but in my program i've just 9-11 fps. The Class' name is Webcam_Capture and i've downloaded it from codeproject.
In the class there's a timer so I can set the "TimeToCapture_milliseconds". I can also set the Frames. I want about 20 fps, but that's impossible. The processor time is about 40%, so that can't be the problem.
Do you have any idea to solve this problem?
Thanks and greetings
shainsen
|
|
|
|
|
What do you mean impossible? The library won't accept such a value or is that too strenuous for your system?
Can you reference the article from which you got the class?
|
|
|
|
|
|
Hi all,
I'm using (trying to use) webBrowser control in windows application.
when a user comes default web site is www.abc.com. User can select some transaction and they will be able to what they want.
What I want to do is, when user click ads which are on the website I should not navigate webBrowser, I should not allow to do that.
So I have done something like;
private void webBrowser_Navigating(object sender, WebBrowserNavigatingEventArgs e)
{
Uri u = webBrowser.Url;
string ap = u.AbsoluteUri;
for (int i = 0; i < App.IzinliURL.Length; i++)
{
if (ap.IndexOf(App.IzinliURL[i]) == -1)
{
webBrowser.Stop();
break;
}
}
Uri newUri = new Uri("http://www.google.com.tr");
webBrowser.Url = newUri;
webBrowser.Navigate(newUri);
}
What I have to do.
Many thanks.
|
|
|
|
|
You need to say e.Cancel = true somewhere.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Hi.
I'm looking on how to get the information from an image.
The information i need is its codec or compression.
The reason why i need this is because, i have a large quantity of .TIF files. But some were not converted right and are color TIFs (IrFan View says : "Old JPEG (in TIFF)"). I need to get these files and convert them to the real .JPG.
So, i want to get the codec information from a file and compare it to a string. I'd use the "for" sentence to go through the whole list of files.
Summary (a scratch code):
for(int i = 0; i<files.count;i++)>
get codec from files[i]
if codec == old jpeg
then move the file to a folder
Any idea on how to get this information?
Thanks in advance!
Regards,
Matjaž
|
|
|
|
|
Hello!
In an attempt to streamline downloading from a FTP share I'm making a small front end that retrieves files based off of names. The problem I'm experiencing stems from the method I'm using to download the files. Without going into extraordinary detail, the front end is experimenting with querying the FTP to retrieve the file rather than directly downloading it. As a basic example, directing the webBrowser to a URL generated by the FTP that allows the user to download the file. However the problem I'm running into is in the simple call;
webBrowswer1.Navigate(ftpDownloadUrl);
As this is called it opens up the Open / Save dialogue box prompting the user for where they would like to store the file. I'm trying to streamline the process and have the program save it to a predefined location (even start up path). So finally to my question!
Is it possible to have it automatically accept the save location or if not have the program record where the file was stored to move it to a specified directory (assuming permissions)? Thanks in advance!
Colin
|
|
|
|
|
Take a look at the FtpWebRequest[^] class. You should be able to download a file from the ftp server, and then write the data stream out to where ever you want.
Simon
|
|
|
|
|
Thank you for the reply but I'm trying to get this to work explicitly using the webBrowser technique. Any other suggestions?
|
|
|
|
|
I may be adding confusion by including the information about the FTP. My final goal is to have the application download files from a URL without having to ask permission from the user for each file.
Thanks again,
Colin
|
|
|
|
|
No other suggestions. Sorry. The WebBrowser is exactly that, it's an embedded web browser, your trying to use if for something it's not really designed for. When you tell it to navigate to the URL, it will behave exactly like a web browser would if the user navigated to the URL.
If your not just looking at ftp, there's the HttpWebRequest[^] class, and the abstract base WebRequest[^]. You would be able to use them to handle any kind of download url you need to.
(There's a bunch of others too like FileWebRequest and PackWebRequest for downloading from different kinds of web resources)
Simon
|
|
|
|
|
I do this:
<pre>XDocument xmlDoc = new XDocument();
if (indice == 1)
{
xmlDoc =
new XDocument(
new XDeclaration("1.0", Encoding.UTF8.HeaderName, String.Empty),
new XComment("Xml Document"),
new XElement("alinieri",
new XElement("align",
new XAttribute("id",indice),
new XElement("edtlr-def",entry_node[idx]),
new XElement("wnrom-synset", wn_synset)
)
)
);
xmlDoc.Save("alinieri.xml");
}
</pre>
my entry_node[idx] is a string containing xml code,same is wn_synset.
My problem is that in the saved xml it shows this(just the beginning):
<alinieri>
<align id="1">
<edtlr-def><definition>
<SpecDef>(Uneori cu determinări care indică sursa, provenienţa)</SpecDef>
instead of
<definition><specdef>(Uneori cu determinări care indică sursa, provenienţa)</specdef>
as it is in the one of the strings.
And the & lt ; & gt ; were supposed to be < >. What should I do? </definition></edtlr-def></align></alinieri>
<div class="ForumMod">modified on Wednesday, March 11, 2009 4:08 AM</div>
|
|
|
|
|
hi
how to write a dll component in C#.net?
how to start?
how to write?
howwwwwwww.......?
if you have an article or reference or book please introduce
Thanks
|
|
|
|
|
Create a new project "Dynamic Link Library" in Visual Studio, write your code, then compile it..
|
|
|
|
|
thanks for help
your purpose is WindowsFormsControlLibrary?
and how can i inherit from a control?
how can i add an event?
|
|
|
|
|
Try to learn C# Object Oriented Programming first...
public class MyControl : Control
{
public event EventHandler MyEvent;
...
}
|
|
|
|
|
|
learn how to use google or forget VS
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
|
|
|
|
|
Member 4025191 wrote: if you have an article or reference or book please introduce
Multiple! The question at hand is whether you would actually read them.
Try this[^] one
I are troll
|
|
|
|