|
Web links would be harder as I haven't come across many that are general in nature (most are focused on a particular technology or aspect of a technology). I'll try to put a list together of some of the ones I read regularly.
-----------------------------
In just two days, tomorrow will be yesterday.
|
|
|
|
|
|
maybe if someone has come across a good tutorial or intuitive "mini project" that covers a good deal of C# basics, I always find with coding, doing is better than reading......
I am who I am because of who everyone around me is.
|
|
|
|
|
How about taking an existing (small) project that you worked on and porting it to C#? That gives you a project that you know how it should behave and are familiar with and already have a working version to compare against.
|
|
|
|
|
Hi,
I must be blind... but where can I (VS2003) define CompanyName, ProductName and ProductVersion in my application, as they are showed in System.Windows.Forms.Application.* ?
|
|
|
|
|
Hi!
Take a look at the AssemblyInfo.cs file - it's all in there. Not in braille , though...
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Oh, thanks!
|
|
|
|
|
|
Hi,
I have a strange problem with my project. I am writing a client application using C# to transfer files through SSH, using the SharpSSH library. The strange thing is the transfer of multiple files work if the application is always in focus. Once I switch windows (that is, put the application out of focus) and then come back to it, the next file transfer gives me a "Object Reference Not Set to an Instance of Object" error. I spawned a backgroundWorker thread to start the file transfer.
Please advise...thanks.
Matthew
|
|
|
|
|
Have you run it through a debugger? Put break points on or near where the code blows up. This should tell you which object isn't assigned.
Are you updating GUI components from the worker / background thread?
Run through a debugger, and the code should break out at the error. Beyond that, post the snippet of code that is failing...
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
|
|
|
|
|
Well, the error will have occured somewhere in your code. And the debugger will have probably shown you where in the code that occurred.
You may wish to furnish us with some more information about your problem.
Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...
"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."
Ready to Give up - Your help will be much appreciated.
My website
|
|
|
|
|
Hi,
from your scenario I would give it high probability the problem occurs in the main thread,
so watch your exceptions (I trust you dont throw them away); you might want to add an
overall try-catch (with a MessageBox.Show(myException.ToString()) in the static Main method.
I prefer this approach over Visual debugging since that might interfere with your scenario
to begin with.
|
|
|
|
|
|
I have a windows form that contains a webbrowser control on it. When the form loads it creates a HTML page with contains some JavaScript. When the control loads the first time I can pass it parms and make it do what ever I want but I want more of an AJAX tool here. So what I need to do is call some of the JavaScript functions within that webpage externaly. I guess I could tie buttons to events and try to find them within the dom and send a button push command but I don't know if that would work either? Any help here would be great. Thanks
|
|
|
|
|
|
Hello everyone,
I am migrating my C++ COM server to managed code (C# COM server). I am using the same client to use the same COM class in COM server. The C++ version COM server works properly, but when using the C# COM server, there is a strange error indicating dll is not installed correctly (data link error).
I have tried to delete the DLL at the same time to test whether the DLL could be found correctly when the client is invoking the DLL, and Windows system reports error message indicating that the DLL is in use -- so I think the DLL should be able to found. Why COM client will report the strange error indicating the DLL is not installed properly (C# COM server)?
Any check list to solve this issue?
thanks in advance,
George
|
|
|
|
|
Have you registered the dll using the RegAsm tool in the .NET SDK?
|
|
|
|
|
Hi Judah,
I think if we select "Register for COM" option, then it should be registered automatically in Windows registry? So, no need to run regasm again?
regards,
George
|
|
|
|
|
Hi All,
Wondering if someone could explain to me how to send a drop event to a different application. The Drag and Drop events allow an application to move objects around in a drag and drop event, but how do you get an application to send a drop event with the list of file(s) to a different application.
My application is .NET 2.0 compatible, the other application is written in delphi. The delphi application is a large complex application and is used throughout the company, the new application has to be able to process a file, convert it to a different file, save it, and then send a drop command with the new filepath to the delphi application which has drag/drop events enabled on its main window.
I'm needing something that will allow me to give it a handle of a window, a list of files and a structure.
Oh last but not least I'm coding in C#.
|
|
|
|
|
Not sure, but this sounds like you need to interop to the raw API call -
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int SendMessage(IntPtr hWnd, uint Msg, int wParam,lParam);
You can then get the handle of your Dephi window, and send whatever message you like. YOu need to look up the actual message format and structure for WM_DROPFILES message (that was a pure guess at the message name)
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
|
|
|
|
|
how can i copy files and folders from a specific location on my computer to a remote pc on my network using c# code and a window form based application
|
|
|
|
|
Make your subject be specific.
don't post it as "urgent Help Required".
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
|
waqas_2k wrote: Re: Urgent Help Required
If it's urgent why are you asking here instead of paying someone to help?
You want a couple of FolderBrowserDialog's and the System.IO namespace.
|
|
|
|
|
originSH wrote: paying someone to help
|
|
|
|