|
Hello friends,
I am a B.E student and have selected Visual C# as platform for my final year project.
You might be familiar with the Tab concept as in Tabbed Browser.
I want to implement the same concept in the file explorer. I mean I want to create a basic file explorer in windows which will have the GUI like "My Computer" and I want to provide the Tab facility in that. That means if I right click on drive C then I should get one option as "Open in new tab". And after clicking on this button I should have the contents of C drive opened in NEW TAB. So please help me in this as I am completely new to Visual C#. A complete code and running project is also welcome. But at least tell me how to implement the explorer with basic file operations. Thank you in advance.
Koustubh Kulkarmi.
|
|
|
|
|
kulkoustubh wrote: A complete code and running project is also welcome
Fat chance, you lazy little Indian.
Didn't you read the forum guidelines related to homework assignments. I hope your tutor sees your post and throws you off your course. Then you can pursue a career that's more suited to your intellectual capabilities, like flippin' burgers in McDonalds. Here's their application form[^]. Good luck.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Who are you?
And by the way my platform is not Microsoft Technologies its my tutor because of whom i had to take project in Visual C#. Otherwise Microsoft Technologies Suck. If i had taken the project i wanted then i would not need these forums and wouldn't have asked for your help. And you have no right to say anything about me. If you were a generous person you would have helped me. But since you are not an Indian you just cannot be generous. If you cant help me,don't interfere in my business. Get a life.
Koustubh Kulkarmi.
|
|
|
|
|
kulkoustubh wrote: And you have no right to say anything about me. If you were a generous person you would have helped me.
I have every right to comment on your post. It is against forum guidelines to ask people to do your homework for you. Because of this, no one will help you. If you can't do the work, get off the course and get down to McDonalds.
kulkoustubh wrote: Get a life.
I have a responsible, well-paid IT job in London and a nice house in the Home Counties. What have you done that's so great? As far as I can see, you can't even do your own homework for yourself. How pathetic is that?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Well it seems like you are not satisfied with your "well-paid IT job in London" or you are very bored with your "nice house in the Home Counties ". Thats why you are replying in such an arrogant language. You are fed up of everything. So sorry about that. Come to my platform and then I will show you what is my homework and what not. And if you are not willing to help then please get off. Why are you teaching me what to do and what not to do?? Well I don't think that the forum guidelines give you that much right. I am not responsible to tell you that how great I am. (Now, you will definitely think that I have done nothing,but no problem..keep thinking...thats the way you think!!) And that IT job you are bragging about. Thats just a piece of cake. IT companies are willing to take anyone these days. The example is reading this post... OK then.Do well at your "well-paid IT job in London" and keep boasting about your "nice house in the Home Counties ".Good Bye.
Koustubh Kulkarmi.
|
|
|
|
|
The reason I have a well-paid job and a comfortable standard of living is because I worked and studied hard to get where I am. This is something you need to learn. If you depend on others to do your work then your life chances and job opportunities will be limited.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
|
kulkoustubh,
Whats a B.E student? and "A complete code and running project is also welcome." YEAH RIGHT!.
So you want to add a TabControl to the FileOpenDialog?
Regards,
Gareth.
|
|
|
|
|
Dim Client As New WebClient()
Client.DownloadFile("http://www.yahoo.com", "D:\abc\yahoo.html")
when i run this code i am getting out put yahoo.html page when i run this code local host
if i host in remote server i want to download the same page in D:\ or any other directory what i need to give the path.
i getting exception when i run the same code in server.
i am getting out put successfully , when i run local host , pleasee any one can give me solution for this, i want to download file in my local phisical directoy, when i host my dotnet application in remote system.ing the webclient
This is haneef.............................................................
|
|
|
|
|
haneef,
Whats the exception?
Regards,
Gareth.
|
|
|
|
|
Do NOT post the same question in multiple forums. Doing so is considered very rude around here and on other sites as well. And, as you've found out, it doesn't get your question answered any faster.
|
|
|
|
|
hi all
I Create Backup database By Using C#.Net Code .
this code is created the backup of DataBase .
but if I wount to Create Backup From Client Is Connected By Server
the Backup Code is Give me This Exeption :-
Could not Load File or assembly ' MicroSoft.SqlServer.Smo
Version=9.0.242.0 ,Culture=neutral
publickey Tolen=89845dcd8080cc91' or one of it's dependencies.The
System cannot find the file specified .
End of Exeption ! .
who I Can Create BackUp Of DataBase From Server To Client or What is The File Specify is the system cannot find it ?
Thanks For Any body hellp me
Thaer
|
|
|
|
|
First of all, you keep posting these messages in the C# forum when they are clearly database-related and should be in the SQL forum.
Secondly, you have given your post a meaningless title (and even managed to spell one of the 4 words incorrectly). How does 'Important to hellp (sic) me' give any clue what your problem is? Read the forum guidelines thoroughly before you post again.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
search if the assembly is on the client machine
SkyWalker
|
|
|
|
|
Hi
i maked a custom event as 'MouseMoveExEventArgs' that inherited from MouseEventArgs to add some more property and info as follow :
namespace CustomEventHandler<br />
{<br />
public delegate void MouseMoveExEvent(object sender, MouseMoveExEventArgs e);<br />
<br />
public class MouseMoveExEventArgs : System.Windows.Forms.MouseEventArgs<br />
{<br />
Point m_mapScrollPos;<br />
<br />
public MouseMoveExEventArgs(Point mapScrollPosition) : base(System.Windows.Forms.MouseButtons.Left,1,mapScrollPosition.X,mapScrollPosition.Y,0)<br />
{<br />
this.m_mapScrollPos = mapScrollPosition;<br />
}<br />
<br />
public Point MapScrollPosition<br />
{<br />
get<br />
{<br />
return this.m_mapScrollPos;<br />
}<br />
}<br />
}<br />
}
and in my custom user control, write this code :
public event MouseMoveExEvent MouseMoveEx;<br />
.<br />
.<br />
.<br />
protected virtual void OnMouseMoveEx(MouseMoveExEventArgs e)<br />
{<br />
if (MouseMoveEx != null)<br />
{<br />
MouseMoveEx(this, e); <br />
} <br />
}
but i don't know how to raise this event, when mouse move on my control (like MouseMove event),
for this work, i call OnMouseMoveEx event handler in OnMouseMove event handler as follow :
protected override void OnMouseMove(MouseEventArgs e)<br />
{ <br />
Point p = new Point(e.X, e.Y);<br />
OnMouseMoveEx(new MouseMoveExEventArgs(p));<br />
}
my purpose is that replace orginal MouseEventArgs class with MouseMoveExEventArgs event handler in
MouseMove event and raise it when Mousemove event fire.
thanks
|
|
|
|
|
Hi
According to my knowledge when you want use any event of custom control,you need to assign local handler to that event ;
eg.
customcontrol1.MouseMoveEx+=OnMouseMoveEx;
where OnMouseMoveEx and customcontrol1 are both in one class.
I think, you will get how to do it.
Regards,
Amar
|
|
|
|
|
thanks
when in designer mode, double click on MouseMoveEx event in events window, it will be genererated automatically :
customcontrol1.MouseMoveEx+=OnMouseMoveEx;
but i think that the event handler doesn't know what time fire this event.
|
|
|
|
|
Hi,
Can you describe your coding flow shortly ?
Eg. class customcontrol
{
//code of event handler
}
class where_you_use_customcontrol
{
//code of event handler
}
and when you want to raise that event.
So my view become clear.
Regards,
Amar
|
|
|
|
|
Hi.
I want to place a Combo Box in my Windows Form where all the CultureInfo language selection names will appears. For example, when I make a customer control, I created a property of type CultureInfo and then I found that the Visual Studio Property Editor shows the Language lists in a combobox in property window automatically. I want to get this benefit in my Windows form. Would you please give me the right direction ~!
Thanks
|
|
|
|
|
I need to put some listbox selected items in to a string array.
My code:
string [] deleted_dictionarys;
for (int i = 0; i < this.listBox_Delete1.SelectedItems.Count; i++)
{
this.deleted_dictionarys[i] = this.listBox_Delete1.SelectedItems[i].ToString();
}
I don't have sintax errors but i'm getting a NullReferenceException.
How can i resolve it.
|
|
|
|
|
pcaeiro wrote: string [] deleted_dictionarys;
You declare your array but don't instantiate it. You need to do something like this:
string[] deleted_dictionarys = new string[numberofitems];
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
here is easy and short way
string[] deleted_dictionarys = new string[listBox_Delete1.SelectedItems.Count];
listBox_Delete1.SelectedItems.CopyTo(deleted_dictionarys, 0);
Becoming Programmer...
|
|
|
|
|
Hello,
I am wondering if it is really not possible to obfuscate my .NET code by hiding the class names and method names !! I am using XenoCode PostBuild to obfuscate but when I see the decompiled code using Reflector, I can see that only variable names are obfuscated but the Class Name and method names are very clear. For example, - SendKeys.Send("{BS}"); - is clearly visible. My project is such a project that, even one line like this line would reveal my business secret to my competetors and thats why I am worried, if not hiding the Class Name and Method is .NET's limitation or my obfuscator's limitation. Would you please guide me !
Thanks.
|
|
|
|
|
bashiwala wrote: even one line like this line would reveal my business secret to my competetors
What secrets? What have you done that's so revolutionary? Have you reinvented the Internet with go-faster stripes?
If the most groundbreaking aspect of your application is its ability to send keystrokes to the active window, I doubt your 'competetors' (sic) will be worrying themselves too much.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
Thank you very much for pointing my ignorance, actually I gave an example of a snippet like
SendKeys("{BS}"), of course it was not my real snippet that what I was worrying about. I placed this question here to learn about the professional way of obfuscation technique that a .NET GURU can suggest. It is not that I invented something like what you said, but it could be something really matter that I may not want to reveal to my competetors so easily unless they are desparate to break my code, I hope I made my question clear, ain't I.
Again, thank you very much for replying me.
|
|
|
|