|
didnt understand wat u said
|
|
|
|
|
Why do you think it is an interesting question?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Assuming they are the same file type (and assuming they are compressed the same), then why would you need to do this? Ultimately, you could just compare the two images as byte arrays. Simplistically, you could use logic similar to the following:
If the number of bytes is different, then they are different.
For loop = 0 to Length of Image1
If Image2[Loop] Does Not Match Image2[Loop] Then
The Images are different
Exit Out
End If
End If
Shout Yippee Alleluia the Images are the same
|
|
|
|
|
Pete O'Hanlon wrote: Shout Yippee Alleluia the Images are the same
That's Geordie Basic I presume?
Are you sure you're in the correct forum?
|
|
|
|
|
Read my image processing articles for examples of gaining access to images at the pixel level.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
Hi all -
I am just about finished with my first C# windows application. The only issue I have left is finding the graphics for my toolbar buttons. I was told by a friend that MSDN has a standard set of graphics. Is this true and if so were are they. I have looked everywere on MSDN for these.
Thanks!
|
|
|
|
|
In VS2005 it's installed
C:\Program Files\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary
led mike
|
|
|
|
|
Hi dear fellow:
windows default toobar graphics are automatically added to the application...for this u have to select just Add Form type MDI...
Also u can use "Tool Strip" tool from the available Tools under tool boxe...just drag and drop to the top of the form..just after title bar..
ok...reply if it is helpful or needs more help...
Thanks
"Programming is a fun"
|
|
|
|
|
Can any one Help,
How to dynamically remove all data in the "Web.SiteMap" file using c# aspx 2.0.
|
|
|
|
|
Hi, i m working on a realtime video capture and i need help from a directshow veteran coder.
I need to make a directshow application with :
- Read streaming from Camera or Video file (in choice)
- Preview the capture in pictureBox
- Grab samples from SampleGrabber (to process images)
- Save the video capture in file (or not).
I need help in a simple process to activate "SAVE CAPTURE" with no interruption of the Camera or file read streaming.
See the schema here : http://etherny.no-ip.org/VKStream.gif[^]
Thx for your help.
|
|
|
|
|
This is all pretty easy stuff, there's at least two CP articles that do this.
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
i m very holess and got no guide in recording sound in c# , i got dll too but that dll do record the sound but it shows splash screen on the start of copy righgt i even tried to remove that splash screen but still not work fine;
Please guide me how i can record sound from computer as what ever is playing back on computer i wan to record it may in window media player or real player or from cdrom i wan to record it , please guide me in proper way give me example if u use any api then tell me example code i realy stuck in recording audio with c# plz help me and with your answers please leve ur email so i can contact you for further question thx
its me yami
now cheers
|
|
|
|
|
|
I do doubt that two wrongs make a right
I would point you to DirectX for full sound control, or third party control suites.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hello.
i am using asp.net2.0 c# with atlas ajax enabled website.
in one module i have to creat radmenu inside the update panel on a button click..
but in this dynamic control generation its creating problem.
like its initial state is fully expand.
if i added post back trigger for that button now its generated in actual format like menu should be.
but now when i am scrolling my page then menu is always remain same as its postion but actually its should move as scroll move.
i hope i make my question clear.
if any one have any hint for this.please help me and mail me soln.
my address is dearviveksingh@gmail.com
thanx in advance.
|
|
|
|
|
Other forum members may feel different, but I would suggest that you post this in the forum of the site where you recieved the control.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
dearvivek wrote: dearviveksingh@gmail.com
Dumb move, you will get spam, but not from this site, from screenscrapers that look for addresses on the web.
This is not the ASP.NET forum. So you're two steps removed, you should ask Telerik, and if you have ASP.NET questions, you shuld not ask them in the C# forum
Christian Graus
Please read this if you don't understand the answer I've given you
"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 )
|
|
|
|
|
I want to disable a specific element in a ComboBox, see:
http://www.telerik.com/demos/aspnet/ComboBox/Examples/Programming/AddRemoveDisable/DefaultCS.aspx[^]
I am halfways done, the following code makes an item gray (by calling ((ComboBoxExItem)comboBox.Items[0]).Enabled = false; ), but the item is still selectable:
class ComboBoxEx : ComboBox
{
public ComboBoxEx()
{
DrawMode = DrawMode.OwnerDrawFixed;
}
protected override void OnDrawItem(DrawItemEventArgs ea)
{
ea.DrawBackground();
ea.DrawFocusRectangle();
Rectangle bounds = ea.Bounds;
bool enableItem = false;
if (ea.Index != -1)
{
enableItem = ((ComboBoxExItem)this.Items[ea.Index]).Enabled;
}
Font myFont = new Font(ea.Font, FontStyle.Italic);
if (ea.Index != -1)
{
if (enableItem)
{
ea.Graphics.DrawString(Items[ea.Index].ToString(), ea.Font, new SolidBrush(Color.Black), bounds.Left, bounds.Top);
}
else
{
ea.Graphics.DrawString(Items[ea.Index].ToString(), ea.Font, new SolidBrush(Color.Gray), bounds.Left, bounds.Top);
}
}
else
{
ea.Graphics.DrawString(Text, ea.Font, new SolidBrush(Color.Gray), bounds.Left, bounds.Top);
}
base.OnDrawItem(ea);
}
}
class ComboBoxExItem
{
private string _text;
public string Text
{
get { return _text; }
set { _text = value; }
}
private bool _enabled;
public bool Enabled
{
get { return _enabled; }
set { _enabled = value; }
}
public ComboBoxExItem()
: this("")
{
}
public ComboBoxExItem(string text)
: this(text, false)
{
}
public ComboBoxExItem(string text, bool enabled)
{
_text = text;
_enabled = enabled;
}
public override string ToString()
{
return _text;
}
}
Anybody have some suggestions how I can make an item truly disabled, so that it cannot be selected? I don't mind using DLL imports in my code.
modified on Friday, June 27, 2008 9:22 AM
|
|
|
|
|
This is the xml inside the Settings.xml file.
At present I read this xml data using xmlReader.
How can I update the data using code please?
Thanks
<?xml version="1.0" encoding="utf-8" ?>
<settings>
<setting>
<MailServer>smtpinternalserver</MailServer>
<MailTo>myaddress</MailTo>
<MailFrom>anotherAddress</MailFrom>
<Folder>C:\Work\Developments</Folder>
<Filter>*.*</Filter>
<EnableMonitor>True</EnableMonitor>
</setting>
</settings>
|
|
|
|
|
You can use XMLWriter , but it won't allow to append data. Easy way would be load the file to a XMLDocument instance, do necessary changes to the data and call "Save " on XMLDocument instance.
|
|
|
|
|
Yes, but remember that I am updating the xml data using a winform application and I am NOT manually changingthe xml file data (The winform is doing that).
Do you still think xmldocument is a better choice.
Thanks
|
|
|
|
|
XMLDocument is a .NET framework class. It can be used in winforms as well as ASP.NET.
|
|
|
|
|
How do I get the immediate window in visual studio 2008 please?
Thanks
|
|
|
|
|
arkiboys wrote: How do I get the immediate window in visual studio 2008 please?
When you are debugging, you can go Debug > Windows > Immediate or Ctrl+D, I.
|
|
|
|
|
Dear Friend ,
I have some problem to handle WebBrowser control in my Visual Studio 2005 windows application using C# language, actually i create an apllication which show important details about an control use in web site like if i pass url of http://www.google.com in WebBrowser Control it will open that site in that control and with some logic i show the important control list present in that web form with there imp property which will easy for us in testing web site controls and there properties for our sites...
all working fine...
But when i use an site for test which is after login (from that WebBrowser control) try to open in new Fullscreen form, because of which i think it lost the thread and give me login fail error as well as it will open in new form because of which i can't access the forms control using mshtml dll (which will usefull for accessing html controls and there properties) and WebBrowser control.
I dont know what to do for this, is it threading problem???
Or is it possible to open that new window in the same WebBrowser control with same thread with some logic, so that i can access the properties of that control???
Please give me an idea i m bang my head lots of time on my desk (I know this is not an a good idea..), Please Help Me....
thanks in advanced
Sasmi
|
|
|
|