|
See Hiding inherited properties[^]
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
Hi friends.
I'm trying to create FTP Sever with socket programing.I know how to transfer files between server and client but i don't know how to browse server's folders in client.It is possible to use FolderBrowserDialog?
|
|
|
|
|
Hi , I would be happy to help you
I was using FTP software and they are all have something like commands ,
LS to list the names of the files in the current remote directory
lcd to change directory on your local machine
kind regards
I know nothing , I know nothing ...
|
|
|
|
|
Hi dear friend.Can you explain more than about LS and LCD commands.I need graphically browsing in client side.
|
|
|
|
|
I need to transfer lines of text between two Windows PC. Does the line terminator "\n\r" takes one or two characters?
Best,
Jun
|
|
|
|
|
2. Easy enough to test with:
Console.WriteLine("\r\n".Length);
DaveIf this helped, please vote & accept answer!
Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
|
|
|
|
|
"\r\n" is 2 characters: \n (ASCII 10) is a newline, \r (ASCII 13) is a carriage return.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Hello,
I need to solve simplest problem. I have some abstract factory which will initiate on demand seperate processes(.NET EXE's). It means abstract factory needs to initiate processes at any time and let the newly created processes be able to communicate with process in which abstract factory reside. This interprocess communication is going to be done factory created them. Thse processes would background processes (no GUI involved).. What's the possible solution to this problem.
.NET remoting or PIPES all makes the processes able to communicate after they have been initiated . But here first they need to be initiated on demand and they'll execute seprate standalon processes (They will be shown in task manager as well as standing process) and then after that inter process communication will take place.
Regards
Usman
|
|
|
|
|
Hello,
I am having some problems using SharpSvn. I am creating a module for my IDE that allows users to have Subversion support. The module is inspired by AnhkSVN and therefore it functions almost the same way. However, my commit and update code isn't working. First off, my committing code: http://pastebin.com/qvWRUip2
That code is supposed to commit the whole project. However, when executing it, the progress dialog pops up, closes again almost instantly, and SharpSVN comes up with a dialog saying "Commit Failed (details follow):", however there are no more details. (See attachment) This also kills the thread, as actions after the e.Client.Commit line aren't executed. The weird thing is that the code is almost identical to the AnhkSVN committing code, yet it does not work.
And now to my updating code. This actually "works fine", the progress dialog comes up, it starts to transfer. I have all my project files on my computer, not uploaded yet, so the only thing there is on the Subversion repo is a folder. However, when transfering, every single file it appends the following actions: "Updating (file) - TreeConflict (file) - Update (directory of file) - Completed"
And then all the files get a little marker in the shell with a Warning triangle on it.
Here's my code: http://pastebin.com/JWnUYdvE
Again, it is almost identical to the AnhkSVN code.
What am I doing wrong? I have the project added to the Subversion repo using my own "Add To Subversion" dialog, which does the same thing as the AnhkSVN version, same code, etc., and TortoiseSVN also marks the files pending changes in Windows Explorer.
I have no clue.
Any help will be extremely appreciated,
Thanks,
Theo
|
|
|
|
|
I do not see anything in your question that makes it a C# problem, so can only assume you posted to the wrong website. Perhaps posting it here[^] will get the help you need.
It's time for a new signature.
|
|
|
|
|
I have posted it there too. However, I figured this forum was more active and mostly I get answered here much quicker.
|
|
|
|
|
I would suspect that you aren't catching the error code you need to catch in the switch block (commitArgs.LastException.SvnErrorCode). Add a break point on the switch and see what the value actually is.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Yes, this was the error. I figured out, from that, that it didn't commit because of the tree conflict. Any other SVN client did this too, and I just had to recreate the repo.
|
|
|
|
|
That's cool then.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
hello friend
Can anyone give me the source code to send message from ane C# application to another C# application
and received the sented message
thanks in Adv...
shafiq
|
|
|
|
|
No one is going to 'send' you any code...
To implement such kind of communication you might want to look at WCF (or maybe sockets).
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
Look into "window messages". You can import the function (SendMessage) from one of the windows dll's.
Use WndProc function (again an import) to 'catch' the message. You'll probably have to create a message id by registering it.
It's pretty easy and straightforward once you found out how.
Look for :
- Sendmessage
- Register window message
- WndProc
to get you started.
V.
|
|
|
|
|
i am trying to combine video file (mpg) with audio file (wav)
i found nice class named aviwrapper while searching the internt but
i'm trying to keep things simple
thanks in advance
|
|
|
|
|
Someone has to do it: what's the question?
Don't forget to rate answer, that helped you. It will allow other people find their answers faster.
|
|
|
|
|
Using a wrapper should actually be making your things simpler.
What is the problem that you are facing?
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
I dont know where to start , i dont want to build it from scratch and i like to get
a general direction.
i want to attach audio file to video file progrematically
|
|
|
|
|
Then I suggest you have a look at the documentation available with the avi wrapper that you have found.
See if they provide something which will help you start up.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
Hi All,
I'm retrieving data from a SQL Server 2005 Database table by table and fill in to a DataSet. Later I take each table and go do the required functionality.
My problem is that I need to check whether a given column is AutoIncriment Column. I used "Columns[x].AutoIncrement" property to check whether it is a auto incriment column or not.
But it always returns false even though the given column is an Autiincriment column in the Database. Why is this happening?
Thanks in advance.
Thanushka.
|
|
|
|
|
I use the following to get the information from the systables, I'm sure there is a better way but I have not updated this code for ages, try looking into the system views for the information
sSQL.Append("select syscolumns.name from syscolumns INNER JOIN sysobjects on syscolumns.ID = sysobjects.ID ");
sSQL.AppendFormat("where sysobjects.name = '{0}' and colstat & 1 = 1", TableName);
this.IdentityField = (string)Program.gDBO.ExecuteSQL(sSQL.ToString());
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi
I am using a database in my application, but I can't help feeling I'm doing it the wrong way...
Currently I make a connection using the absolute path to the database.
DBConn = New SqlCeConnection("Data Source = " + path + "; Password=" + DBPass);
This path is stored in the registry. However the first time the app runs, there will be no such path.
Is there any way to link the application code to the database like using resources, such as images?
Or some sort of relative path? Since the database shows in my solution explorer, I figured there should be a way.
Things get really messed up when publishing the app. I have to ask the user where he stored the database
Any hints?
Greetz
Steven Solberg
|
|
|
|