|
Don't you just get sick of saying the same thing over and over again? It's bad enough when it's to different people, but when it's to the same person, arggghhhhh!!!!!
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O`Hanlon wrote: Don't you just get sick of saying the same thing over and over again? It's bad enough when it's to different people, but when it's to the same person, arggghhhhh!!!!!
Add to that the fact that You, me and Guffa have all told him what to do.
|
|
|
|
|
What do we know? We're only professional developers
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
is there any one who can help me in adding smileyes and backgrounds in chat software. . and tell me about including voice in chat s/w (in c#)
|
|
|
|
|
imshimshal wrote: is there any one who can help me in adding smileyes and backgrounds in chat software
They are just simple graphics - You can use the Bitmap class to work with them.
imshimshal wrote: and tell me about including voice in chat s/w (in c#)
Too vague.
|
|
|
|
|
but when u use graphics in chat, the conversation boxes must accept the RTF (Rich Text Format)text, but I face a lot of problems in the manipulation operations on that format.
|
|
|
|
|
abd_o_d wrote: the conversation boxes must accept the RTF (Rich Text Format)text,
Why must it? Why can't it accept something else?
|
|
|
|
|
I am talking here about the control itself, there is a control called "RichTextBox" which used for this purpose, but it accept any format of text, but the chat text mainly is a rich text..
|
|
|
|
|
i am created string like "(4000+20(2+2))" is there any math function to excute it and calculete integer value
|
|
|
|
|
The Framework class library doesn't provide this kind of functionality, but probably someone already implemented this or something similar (try google).
"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." - Rick Cook www.troschuetz.de
|
|
|
|
|
If one has
<br />
T[] a = new T[](something);<br />
...<br />
Array.Clear(a,0,a.Length);<br />
does Array.Clear use default(T)? The documentation for .NET 2.0 and 3.0 suggests that it doesn't (!):
<br />
public static void Clear(Array array, int index, int length)<br />
Sets a range of elements in the Array to zero, to false, or to a null reference (Nothing in Visual Basic), depending on the element type.
If Array.Clear really does not use default(T), is there some a base class library method that does this:
<br />
static void f(Array a, int index, int length)<br />
{<br />
for (int i = 0; i < a.Length; i++)<br />
{ a[i] = default(T); }<br />
}<br />
where T is the type of the array? Maybe this would be something in System.Collections.Generic in order to allow the method's implementation to get at T. It's easy enough to make my own method to do this but I'd just as soon not do it if something already exists in the base class library.
|
|
|
|
|
Wht actually do you want to do?
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
I got a generic error while saving a image
code
img.save(path);
"a generic error occurred in gdi"
please help!
|
|
|
|
|
Pls give some more info .....
Regards,
Bhupi Bhai.
|
|
|
|
|
Wrap this in a try/catch block, and see what exception is being thrown. Check the InnerException to see if there is any useful information there that could help.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I used to use control arrays in VB6, now I am using C#, how can I achieve the same ease of use of several controls on the screen at the same time. I need to have a grid of labels/text boxes where each column acts as a 'control' array.
|
|
|
|
|
As far as I know, you cannot do it in the designer. Buy you can do it by code:
Label[] lbls = new Label[10];
for(int i = 0; i < 10; i++)
{
lbls[i] = new Label();
lbls[i].Text = String.Format("Label {0}", i);
lbls[i].Top = 100 + i * 24;
} You can also subscribe an event for all the controls, using the same handler. And you can use the sender parameter in the event handler to know which control raised it.
I hope this helps!
|
|
|
|
|
Thanks for the response.
I tried the code in the new windows app, no labels appeared on the form even when I set visible to true. Is there something I am missing not doing?
|
|
|
|
|
You have to add the controls to the form:
this.Controls.Add(label[i]) or
label[i].Parent = this; I am assuming that you are calling this code inside the form (because I am using this ).
Also remember to set the coordinates of the labels so that they lie inside the form.
|
|
|
|
|
Mehmet Esen wrote: are there anybody knows (java) dataset equivalent in c#?
I don't know about java dataset. In C# ADO.NET DataSets are used. Here are some links about this, hope this help.
ADO.NET DataSet[^]
Some more Links[^]
Regards
________________________________
Success is not something to wait for, its something to work for.
|
|
|
|
|
sory it was a hard day i made a mistake it wasn't dataset it was datahandler (
|
|
|
|
|
Hi All,
I have Visual C# express 2005 properties - Publish - prerequisites set for Download prerequisites from the same location as my application. also the ,NET framework 2.0 and the windows installer 3.1 checked because I don't want the user to have to download them from the internet. (too slow for dialup) I want to publish the app. to CD or DVD with all the necessary files on the cd or dvd and to install them on the clients computer when the app. is installed. I also have some resources files (audio & pictures) that are in the resources folder for the app.
The errors that I get when trying to use the Publish Wizard are several, the first being "Cannot publish becasue a project failed to build." If I just build or rebuild the project, the build succeedes just fine?
the second error, The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk.
there are a few more errors also delaing with .NET Framework, if I can get this one fixed, the others will get fixed at the same time.
It would seam that I don't have a path or directory set correctly, but I have looked at everything I can find. But can't figure it out.
Thanks,
|
|
|
|
|
I have the same question like you, I can't make my c# application,to a package contains pic and some xml files config for my application! I suggest you use other tools package your application Because Only the visual studio.NET can do this.
|
|
|
|
|
I got a question.
i am new in this things so
How do you get to the properties of een instance in an arraylist.
And it can be different kind of objects in the arraylist.
|
|
|
|
|
I cannot get your first question.
Arraylist can hold any kind of object. But for a particular instance, it should hold the same kind of object, ie., if you are keeping a string, you have to keep only strings, or if it is integer, you have to keep only integer.
Pradipta Basu
|
|
|
|