|
Hi guys,
The following question I have is not directly a problem I’m having but rather a solution that I’m looking for.
I have a win32 application written in .NET 2.0, basically a forms over data applications sending data back and forth to a SQL Server 2005 database.
Now, our clients do not want to remote desktop to the server where the application and SQL server resides on, but rather be able to have user have like a client sitting on their local machines accessing the .exe application remotely.
I don’t know if that is possible in the first place, so basically I’m looking for a solution where my users will be able to run the win32 application remotely without having to be on the physical server i.e. remote desktop to it.
Has anybody out here faced a similar challenge before?
I hope I make sense and hope to get your feedback soon.
Thanks.
R
|
|
|
|
|
You have two choices. You can either run the application on each clients machine and the app can connect to the SQL database over TCP/IP, or you can run the application remotely using something like Terminal Services[^] or a Citrix[^] box.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
You wouldn't be able "run" the application, however the client app could interact with the server by using .NET Remoting or possibly creating web services on the server to interact with (no you don't necessarily need IIS, you can host the WS within your application).
only two letters away from being an asset
|
|
|
|
|
I download the files about the .net 3.0 WPF and install it on two computers. Both their OS is windows 2003, but one is SP1, another is SP2.
Now I found that the WPF's project could work well in SP!, not work in SP2. I don't know whether this is the reason.
Does anybody meet this problem too? Please give me a advice, thanks very much.
|
|
|
|
|
Maybe I am wrong. Whether doesit not wotk in windows 2003?
|
|
|
|
|
I see the document, it said that it could work on windows2003 sp1. Whether is I didn't install the windows SDK?
|
|
|
|
|
I install the windows SDK. But it still does not work. Help me. Please!
|
|
|
|
|
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
|
|
|
|