|
EnableAutoDragDrop=true; and DragDrop not work first time ! Please help me ! costelpislac@yahoo.com
Costel Pislac
|
|
|
|
|
How can I convert a value taken from a Xml file into a time value? Please help.
|
|
|
|
|
Take a look at the DateTime.TryParse and DateTime.TryParseExact methods.
"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
|
|
|
|
|
I appreciate your reply to my letter and apologize to each team for
Code Project , but I want you to forgive the first time I participate in the Forum and ask you to answer my question as understand it
I did not mean to Select * from [TableName] Where TableNme.ColumnName OR (And) TableName.AnotherColumn
-- modified at 10:44 Saturday 28th April, 2007
|
|
|
|
|
There is no 'team' at code project, it's a world wide community.
mahmoud wafy24 wrote: ask you to answer my question as understand it
mahmoud wafy24 wrote: I did not mean to Select * from [TableName] Where TableNme.ColumnName OR (And) TableName.AnotherColumn
Let me translate this for you.
You asked something several times, I pointed out the only interpretation I could see that could make sense of what you seemed to be saying, now you're saying the following:"
'I didn't mean for you to answer the question that I asked ( badly ), so please answer the question that I have failed to ask'.
We have no idea what you're asking. Try explaining it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello!
I'm trying to use SslStream to connect to server trough SSL. I have take example from Microsoft, modify it for my needs, but I can't use this code.
IOException (Received an unexpected EOF or 0 bytes from the transport stream.) are thrown in function AuthenticateAsClient
See code below
<br />
string Certificate = @"D:\ca.cer ";<br />
<br />
<br />
X509Certificate cert = new X509Certificate(Certificate);<br />
X509CertificateCollection certc = new X509CertificateCollection();<br />
certc.Add(cert);<br />
<br />
<br />
TcpClient client = new TcpClient("dev.com", 443);<br />
SslStream ssl = new SslStream(client.GetStream());<br />
ssl.AuthenticateAsClient("dev.com", certc, SslProtocols.Ssl3, true); <br />
<br />
What is incorrect in this code and what is meaning this exception.
This is not AuthenticationException, then authentication success or not?
Thanks for answers!
|
|
|
|
|
You get that error when the file you are trying to unzip already exists on the file system. I think there is an overwrite option when you unzip the file.
Hope that helps.
Ben
|
|
|
|
|
I am getting so frustrated at people who delete their questions when they get an answer.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have seen some weird stuff where a file name or path gets truncated. So it ends up being possible that that file exists twice in the zip file. Once in the root and then once in a subfolder, but when unziped the folder structure is not recreated.
Hope that helps.
Ben
|
|
|
|
|
Wow that is strange. I wonder why he decided to delete his question?
Ben
|
|
|
|
|
The zipping process normally involves the use of a temporary file.
I'm unsure if the unzipping process uses temporary files in the same way.
Under XP, many temporary files are stored un the users temp folder in C:\Documents and Settings\User\Local Settings\ which can become full and cause strange things to happen.
This space can be reclaimed by performing a Disk Cleanup from:
Start-->All Programs-->Accessories-->System Tools-->Disk Cleanup
I don't know if this will have any affect? Maybe this will help?
Regards
Wayne Phipps
____________
Time is the greatest teacher... unfortunately, it kills all of its students
View my Blog
|
|
|
|
|
I concur.
How about changing the forums, so a message (original or reaction to it) can only be deleted/modified for as long as there are no replies to it ?
|
|
|
|
|
Cross-thread operation not valid: Control 'listBox1' accessed from a thread other than the thread it was created on.
what is the problem, what is the solution??
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
This happens when you try to access a Control on your GUI from another thread. The GUI is run on the "main" thread and only functions running in that thread are allowed to access/use/modify Controls on the GUI. To solve this you need to use Invoke or BeginInvoke to call a function on the GUIs thread to do the work that you want done from a background thread. Check out this[^] article for an in-depth explanation and example on how to solve this problem.
|
|
|
|
|
The problem is obvious; You can not access a member of a different thread.
So what is the solution?
1) try "CheckForIllegalCrossThreadCalls = false" statement
2) try to call the modification in the thread where the list box is i.e
- create a function to change the list box
- create a delegate to the function
- use the invoke() method of the class where listbox belongs to.
Regards
zafer
|
|
|
|
|
Hello there,
I need to connect internet via C# using dialup. I can dialup existing dialup connection using wininet API but I wonder some body tell me how can we pass userid,password n dialup number at runtime. It would be appreicated please...
Best Regards,
Yousuf
|
|
|
|
|
The Project entitled "Employment Record Maintenance", where you have to implement following basic features.
Main Menu:
1. Search for an Employee
2. Add an new Employee
3. Edit an Employee Record
4. Delete an Employee Record
5. Exit
Search : The main task of this function is to search for an employee based on the Employee name or Employee No.
Add : The main task of this is to add an Employee (Emp Name, Emp ID, Emp Designation, Emp Date of Joining)
Edit : The main talk of this function is to edit an existing Employee record.
Delete:The main function of this to delete and employee record.
Keep all employees data in a flat file and you have to implement in Unix Shell programming.
Please help me out
|
|
|
|
|
swapnik wrote: Keep all employees data in a flat file and you have to implement in Unix Shell programming.
Ok, this is obviously school assignment, and it's UNIX SHELL PROGRAMMING. What makes you think C# forum is good place to ask for help? If your task is to write unix shell script, write unix shell script, not C# code.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
First of all you should change your post title; you are not looking for code, you are looking for a complete homework.
Second instead of wasting your time for searching a complete hw, try to learn shell programming. What you are trying to do can be done very easily. In shell programming you dont have too much option to do.
|
|
|
|
|
Hi, ive got a program with a treeview.
The treeview has an image-list with some icons.
Everytime I select a node in the treeview, the icon of that node becomes the first icon in the imagelist.
When I select another node, the icon of this node becomes the first one in the list an the icon of the node that was selected before becomes the right icon.
Maybe someone could tell me what im doing wrong or what to do
|
|
|
|
|
Make sure the imageIndex and selectedImageIndex are defined. Typically this happens when the node is created e.g. treeview.Nodes.Add(key, text, imageIndex, selectedImageIndex);
|
|
|
|
|
YES that was the problem, i didn't know that theres an image index for a selected Node!
Thank you very much! Now it works!
|
|
|
|
|
hi
i need an article that show me how to write my own custom controls, does anybody have this article in vc#2005 ?
thanks
|
|
|
|
|
|
How can I make that my drawing should be always starting from the center? I mean that I want to see the whole drawing even if the window will resize. Please help.
|
|
|
|