|
Suppose i use active-x control or make an abc.dll and add it in my project as reference.
then i make setup and deploy it on client machine.
Now on client machine [path] C:\programfiles\myproject
will contain that abc.dll.
Is client can re-use that abc.dll or active-x dll in another project by exposing its methods etc?
Because it will be naked on client machine.
Regards,
Tariq Younas
Software Engineer
Descon Information Systems
|
|
|
|
|
creating a DLL is to reuse the same code in differents applications just by refering the DLL instead of rewriting the code.
Regards
KP
|
|
|
|
|
Suppose i use active-x control or make an abc.dll and add it in my project as reference.
then i make setup and deploy it on client machine.
Now on client machine [path] C:\programfiles\myproject
will contain that abc.dll.
Is client can re-use that abc.dll or active-x dll in another project by exposing its methods etc?
Because it will be naked on client machine.
Regards,
Tariq Younas
Software Engineer
Descon Information Systems
|
|
|
|
|
Unless you put some form of licensing in place, then yes - the client can reuse the DLL in another project.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
can anyone help me?
On a directory structure i want to break the inherited access rules on a folder and apply a new rule. To remove the inherited rule i use the following code snippet.
Dim di As DirectoryInfo
Dim ds As DirectorySecurity
Dim arc As AuthorizationRuleCollection
Dim idx As Integer
Dim fsar As FileSystemAccessRule
Dim strGroup As String
Try
di = New DirectoryInfo(txtDirectoryName.Text)
ds = di.GetAccessControl()
arc = ds.GetAccessRules(True, True, GetType(System.Security.Principal.NTAccount))
For idx = 0 To arc.Count - 1
fsar = arc.Item(idx)
strGroup = fsar.IdentityReference.Value
If strGroup = txtGroup.Text Then
ds.RemoveAccessRuleSpecific(fsar)
di.SetAccessControl(ds)
End If
Next idx
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Exclamation + MsgBoxStyle.OkOnly)
End Try
After running this code there is no change. So, can anyone tell what i have to do to break the inheritance.
Thanks
Willi
|
|
|
|
|
Hi,
I'm not 100% sure but as far as I know you cannot remove inherited rules - but you can just override them.
Robert
|
|
|
|
|
Hi,
I've got the solution:
There is a method "DirectorySecurity.SetAccessRuleProtection(isProtected as Boolean, preserveInheritance as Boolean)" which allow to break or set the inheritance. So I only have to replace in the code snippet above the line
ds.RemoveAccessRuleSpecific(fsar)
with
ds.SetAccessRuleProtection(True, False)
to remove alle the access rights inherited from the folder above and set new access rights for the folder and its children.
|
|
|
|
|
I have a WebBrowser and I'm using it like this:
webSummary.DocumentText = temp;
Where temp is a string containing som text and sometimes a tag. If the string contains a link to an image the webbrowser will totally freak out. It will flicker, constantly updating and you can't scroll or anything.
Any suggestions how to fix this?
|
|
|
|
|
Hi,
I have got a solution file that contains multiple managed code projects, and some projects have dependecies/references(Project References),when i compile/build a particular project through MSBuild it compiles/builds the project and dependencies of that project too, is there a way/flag of MSBuild so that it shouldn't compile/build the depedencies
Regards,
Mushq
|
|
|
|
|
Dear All,
i have developed a desktop based application using C#.NET, which require access to some USB based devices.
I have to use this application on target PCs in which the USB port is disabled by the system administrator.
From the application, i wants to enable & disable the USB drives programatically, so that no other application can use the USB ports, as per configured by the system administrator.
ie, enable the USB port before the application require access to the USB port it & disable it after the use.
I need to achieve the same when the application is running in a login, who doesn't have administrative rights.
Is it possible to achieve the same using .NET framework?
Do any one knows how to implement the same. If so, please inform me.
Best Regards,
Abhilash Chandran
|
|
|
|
|
I have a datagrid holding tables in it.How to align a column of a datagrid by means of code in ASP.net.Pls help in this regard...
thanks in advance..
Balagurunathan s
Balaguru
|
|
|
|
|
I have a datagrid control with table values bound to it.Now i need to sum a particular column of a datagrid and display the sum in the last row of the added column.Help me in this regard..
Balaguru
|
|
|
|
|
Hey try with this Code.
<br />
<script language="VB" runat="server"><br />
Dim viewCountSum as Integer = 0<br />
<br />
Sub ComputeSum(sender As Object, e As DataGridItemEventArgs)<br />
'First, make sure we are dealing with an Item or AlternatingItem<br />
If e.Item.ItemType = ListItemType.Item OR _<br />
e.Item.ItemType = ListItemType.AlternatingItem then<br />
'Snip out the ViewCount<br />
Dim viewCount as Integer = _<br />
Convert.ToInt32(DataBinder.Eval(e.Item.DataItem, "ViewCount"))<br />
viewCountSum += viewCount<br />
End If<br />
End Sub<br />
</script><br />
<br />
<asp:DataGrid runat="server" id="dgPopularFAQs"<br />
...<br />
OnItemDataBound="ComputeSum"><br />
<br />
<Columns><br />
<asp:BoundColumn DataField="Description" HeaderText="Description" /><br />
<asp:BoundColumn DataField="ViewCount" HeaderText="Page Views" <br />
DataFormatString="{0:#,###}" ItemStyle-HorizontalAlign="Right" <br />
ItemStyle-Width="15%" /><br />
</Columns><br />
</asp:DataGrid><br />
<br />
<br />
<br />
Regards,
Satips.
|
|
|
|
|
Dear friends,
I am have five subreports in one crystal report made in visual studio 2003,
some of the features provided by crystal report developer are not available in VS IDE
I want the sub report section of the main report supressed when subreport
placed in the section doesn't have any records.
Thanks n regards
Milan
|
|
|
|
|
Hi,
Try right cliking onthe report and selecting Format Section
Check the case Suppress Blank section
HTH.
Hayder Marzouk
|
|
|
|
|
Hi All,
We have a big problem in the Our Windows Server 2003 x64 Edition.
After We have installed 1.1 FrameWork in the Server,Our Website is not working.We need to run the our ASP.NET web project on 1.1 platform.
But now the Project is not working on the server
Can any body help us to fix the problem.
Thanks in advance.
|
|
|
|
|
I think we need a little more info here. It sounds like your web site has never worked on this server yet. What error are you getting? Most likely the issue is in the properties of the web site. Usually it is something simple like on the documents tab you didn't set up the correct start page for your site. Something like that.
Ben
|
|
|
|
|
Hi all,
Does anyone know of any good resources for the version of crystal reports that comes with visual studio 2005 ??
I am having trouble adding two grids to a report !!
Any info would be fab !!!
Thanks
John
|
|
|
|
|
Hi All,
I am having a problem with list view.
Im adding Items to the list view at runtime from a database & accordingly changing the height of the listview.
but when listview height is greater than form height ,the listview is not scrolling accordingly.
Like Combobox items scroll independent of forms bounds,my listview should appear & behave like combobox.
Plz suggest me to get rid of this problem
Thx in Advance
Nagaraju
|
|
|
|
|
Just see if the scrollable property is properly set ...
See the following reference
http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview.scrollable.aspx
Hope that solves your problem.
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
|
|
|
|
|
Hello freinds,
i hav to go for an interview
can anyone Please help me,
Please tell me following question's answer.
1) What is the difference between windows services & web services
2) What is visual programming
3) Difference between release mode compilation & debug mode compilation.
4) What is VSS, wht r its benefit.
5) Wht r autoreset event & manual reset events.
6) where is the constructor of windows form that we add in vb project located.
"The Difficult i can do it now...
The Impossible will take a little longer."
|
|
|
|
|
I'm sorry, but if you can't answer these questions confidently and without help you really should consider whether the job is right for you and you are right for the job. When I'm hiring staff, I'm looking to see that THEY know the answers, not that somebody on CodeProject does.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Thanks,
But i knows answers but , i want it in proper wording,
i dnt wnt to miss this chance,
thts why asking
"The Difficult i can do it now...
The Impossible will take a little longer."
|
|
|
|
|
If you know the answers, you know the wording. The issue isn't fluency in the language of the hirer, it's in knowing enough to convince a hirer that you have a mastery of the subject.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Also, if you don't know the answers, you should have enough familiarity with programming languages and theory that you should be able discern the meaning. Usually in interviews the technical questions only gauge your ability to answer questions, the real test is in the open discussion that probes at the heart of the knowledge and your ability to apply solutions to problems. When I was interviewing several months ago, I would get maybe five mins of questions like these, but the bulk of the interview was about theoretical constructs of writting an application and architecture.
_____________________________________________________________________
Our developers never release
code. Rather, it tends to escape, pillaging the countryside all around.
The Enlightenment Project (paraphrased comment)
Visit Me at GISDevCafe
|
|
|
|