|
Because the label always assumes it's position from the top left corner (like all controls) it will not automatically grow to the left. The only way you can do what you want is to set the TextAlign to MiddleRight, TopRight or BottomRight, and set AutoSize to false. Manually set a good size for the label, and the text will grow to the left.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Hi all
I want to make application that take name,password ,Email as input and create me Email in hotmail.....so can anyone give me idea to develop this application.....
Dre@m is not th@t wh@t u see in sleep.Dre@m is the thing which does not allow u to sleep
|
|
|
|
|
|
Hi all
I want samples of mapInfo files....can anyone provide me or give me URL from where I can download it .........I want to make software
that read mapInfo files and create map from these files
Dre@m is not th@t wh@t u see in sleep.Dre@m is the thing which does not allow u to sleep
|
|
|
|
|
Google for 'mapinfo net c#'
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
|
|
|
|
|
Hello,
I have a class called Host which contains a thread waiting for "x" players to get Accept()(array of sockets)
(I am using the EaterGame classes)
I want to allow the user to choose dynacimlly how much ppl he wants to Accept() and not just as the server created.
I have a button called "connect" which hold an event to send EndAccept() to the last Accept() which was created in the array of sockets.
I was reading some books and understood that EndAccept() can be used only if I use BeginAccept and still EndAccept wont be called outsite the function.
How can I cancel an Accept() request ? I just want the thread which create the array to contiune...
Thanks!
|
|
|
|
|
When i send mail to my own domain it works fine but when i send mail to another domain like gmail,yahoo it gives above exception.
would u tell me why?
Thanks in advance
Md Shafikul Islam
|
|
|
|
|
Well, if this was a programming question, I'd expect it to come with some code. I would guess that you're using your own mail server, and it's refusing to send the mail on, or you work for a notorious generater of spam, and therefore your server has been blocked by both gmail and yahoo.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Is it possible to highlight a defined area of a rendered PDF file, using the adobe Reader activeX control ver 7.0 ?
I cannot seem to be able to this, i can display fine but cannot draw on or highlight an area ?
Help from someone experienced here would be appreciated, the methods seem to be there, but i cant get a result.
|
|
|
|
|
1) 'setview' function may can help you, but i think it's impossible.
2) try to use win32 API to find the control you want to highlight, but i think it's impossible.
adobe Reader activeX control ver 7.0 never support that Interface functions.
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 22:03pm.
|
|
|
|
|
If I use the publish feature and ClickOnceDeloyment, can I schedule that application as scheduled task?
I didn't get any requirements for the signature
|
|
|
|
|
Good afternoon.
The following code creates a text file at any location except to the Desktop or MyDocuments. It is desgined to save to a flash drive primarily, but it tests for the absence of the FD and will save to another location.
DialogResult dr = fbd.ShowDialog();
if (dr == DialogResult.OK)
{
strFolderName = fbd.SelectedPath;
SW = File.CreateText(strFolderName + strFileName);
foreach (XElement xe in Results.Descendants())
{
if (xe.HasElements)
{
foreach (XElement xeDesc in xe.Descendants())
{
if (xeDesc.Value != null)
{
SW.WriteLine(xeDesc.Value);
}
}
}
}
SW.Close();
Can't seem to figure out why it won't save to those locations. I did a little test text file (using TextWriter) and it worked.
Any suggestions? WHEELS
|
|
|
|
|
Hi,
Wheels012 wrote: Any suggestions?
three for starters:
1. implement a decent try-catch,
2. look at Exception.ToString(),
3. and give us the details if still puzzled.
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
|
What's the actual path you're trying to save to?
|
|
|
|
|
IF File.CreateText is the failing statement, THEN the obvious question is: did you bother looking at the value of strFolderName + strFileName ? does strFileName really start with a backslash? strFolderName sure doesn't end on one.
Why can't you debug a simple piece of code yourself? And didn't Exception.ToString() tell you the same?
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
I had the same[^] thing happen to me yesterday - people ask questions, and you respond with a question, and they say 'thank you', which I guess means, 'I don't understand a word you just said'.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
The human mind works in mysterious ways.
Or, all some need is a bit of sympathy?
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
//give you a example, may help you
if(saveFileDialog.ShowDialog()==DialogResult.OK)
{
fName=saveFileDialog.FileName;
File fSaveAs=new File(fName);
isFileHaveName=true;
fSaveAs.WriteFile(richTextBox1.Text);
}
//you should use try...Catch{}...
try
{
// open and write file
}
catch
{
// file exception
}
finally
{
sw.close();
}
April
Comm100 - Leading Live Chat Software Provider
|
|
|
|
|
i m create a project which is very much similer to ms word in which user creste his own document and save it how can i give a new extension to document which is craeted by using y own project
|
|
|
|
|
string filename = "Doc1.[my extension]";
TextWriter stringWriter = new StringWriter();
using(TextWriter streamWriter = new StreamWriter(filename))
{
}
only two letters away from being an asset
|
|
|
|
|
hello as the world document is prepared by user and save with .docx Extension
A user prepared his meterial and when he save his meterial(all meterial is on the form contain tool images audio vedio As well as text) when a save button of project is clicked it save iot with Extension .eat
|
|
|
|
|
You need to explain a little more. You are assuming I know everything about this application. What files? What project? What material?
If you have a file, just change the extention. http://dotnetperls.com/path-changeextension[^]
only two letters away from being an asset
|
|
|
|
|
i am creating S/w for Elearning just like Lactora E Learning or Course lab i want to assign an Extension for my Project through which all files of that project are identified as MS WORD all files are save With Filename.docx
|
|
|
|
|
I have given you two solutions. What part don't you understand.
only two letters away from being an asset
|
|
|
|