how to create folder in C# and give her full-control & full-sharing
hi how to create folder in C# and give her full-control & full-sharing ? thank's in advance ...
hi how to create folder in C# and give her full-control & full-sharing ? thank's in advance ...
At present we host a number of WPF controls in a WinForms application. I would like to create a number of global resources at the application level, where is the best place to do this? If this were a straight WPF application I'd put them in them App.xaml but we never create a System.Windows.Application, the controls just go into the Win...
I want to create a listView that have 8 groups (Group0,Group1,...) and six columns,the format like this way Group0 XXX_0Y11_r value XXX_0Y11_w value ZZZ_(11) tt XXX_0Y12_r value XXX_0Y12_w value ZZZ_(12) tt XXX_0Y21_r value XXX_0Y21_w value ZZZ_(21) tt XXX_0Y22_r value XXX_0Y22_w value ZZZ_(22) tt QQQ_01 ...
My application reads an Access database file that can be updated at runtime by downloading a replacement MDB file (with the same schema) and overwriting the existing file. This is all well and good during development, but it breaks during deployment. The main problem is that the connection string for the data adapters is "Provider=Mic...
I am using winform with c#. I have formA and formB. formB is a smaller window that have a textbox and a button to save whatever is written in the textbox. So Im in formB calling a save function from a class that was define in formA. How would I do it ? Thanks, J ...
hi, i'm trying to find a rich text editor wich i can use in c#, but not on a server.. i want to use it locally.. the thing is, i'm making a newsletter "system" for a client and i think that besides me making the header and the footer, the easiest way for him to input the content is via RTE... i would create it on his web server, but it ...
m having a winForm and in that m using BackGroundWorker control for keeping Form GUI active. Now i'm accessing datagridview from backgroundworker_doWork() method, so i created a delegate method below: delegate void updateGridDelegate(); private void invokeGridControls() { if (autoGridView.InvokeRequired) { ...
Hi Fellas, Can anyone help me by telling how to reduce the time of adding rows and colums to tablelayoutpanel dynamically? As I need to add 10 rows and 10 columns (maximum 10x 10 =100 controls, may be less than 100 depending upon user input ),I have construct the logic which works good but the bad of my logic is Its taken considerable ti...
Hello everyone. I'm currently designing an MDI application (a custom CRM) in .net 4.0 and i'm starting to dislike the whole interface simply because there's no real way to track which windows are open or closed and it'll probably lead to a very confusing interface. What is the best way to avoid this? - Should i implement a taskbar to t...
Hai all, I want to set image for DataGridViewButtonColumn in c#.net application.I tried this by cell painting event .Any other way to set image for DataGridViewButtonColumn. Please help ...
I tried to create a complier on which Complile my code wriiten in c#.net. I am working on debugger i have create complier but is there is a way through which i can put a break point on my code file and when click on the Run button it will be stop where i put break point Please tell me if any body knows the code how we put the break poin...
I have a namespace extension and when the user does certain action we display a progress bar in a separate window (Ideally we should use the Windows Explorer built in progress indicator in the address bar, but I'm told that there isn't an API for that from my component vendor). I using the Windows Code Pack 1.1 to get a .NET API. This p...
Let's say I have a table like so: Friend ------ Id int not null FriendName nvarchar(50) not null Phone nvarchar(50) null If I bind my DataGridView control in a Windows Forms application to an ObjectQuery<Friend>/ObjectSet<Friend>/IList<Friend> returned from an ObjectContext like so: MyFriendsGridView.DataSource = _context.Friends.ToL...
Hi All I want to get the following working, please could someone advise... Dim rpt As ReportDocument If (Exists(rpt.ReportDefinition.ReportObjects("crlTitle"))) Then txtTitle = CType(rpt.ReportDefinition.ReportObjects("crlTitle"), TextObject) txtTitle.Color = mainColour txttitle.Text = "Report Title" End If Any help much ap...
I have a web browser control, already navigated to a page. Now I want to search for a specific text in the page, and scroll to the first occurrence. Being able to scroll to other occurrences is a bonus. ...
Is there a desktop .NET-based equivalent of the <optgroup> functionality for comboboxes on html pages? ...
I have a legacy .NET 2.0 Windows Form application that contains a form that uses a component model BackgroundWorker component. The event handler for the DoWork event makes a call to WindowsIdentity.GetCurrent() to retrieve the identity of the user and then utilizes the Name of the identity. Recently, the call to WindowsIdentity.GetCurre...
Hi, What is the easiest way to fire a splash screen (Which disappears on its own) in a C# / .NET 2.0 winforms app? It looks like the VisualBasic assembly (which can be called from C# nonetheless) has a way to do this, but are there any simple examples? Thanks ...
I wrote a client/server program using windows form application in visual studio. Now i want to put this program onto a web page, so on the client side they can just go onto any browser and and access the server. Can i just embed the program i already hav onto a webpage or do i need to rewrite it using visual studio web application or...
We are accessing an ASP.Net web site from a WinForms application via the System.Windows.Forms.WebBrowser object. The web site is configured to use "Forms" mode authentication. On the website, we are currently using the AccountMembershipService and FormsAuthenticationService that is included in the .Net MVC 2 template. I would like to be...