|
hi
add setup and deployment project and add project output in your existing windows service.
and add custom action in setup and deploy project
Add Application Directory in that project
Finaly Build Relies mode
vijay
|
|
|
|
|
How Can I Change/Set Registry Keys Access Control to use???
Please Leave VB.Net Example...
Thanks...
|
|
|
|
|
The first question is WHY? Why would you want to do this?
The next question is WHERE? Your application really isn't setting any security because the applciation runs as the user. So, you're really not securing anything by letting the user do it.
Any security changes are normally done in the application installer.
But, of course, that depends entirely on what your application does and who's running it.
|
|
|
|
|
The first question is WHY? Why would you want to do this?
For example I have a Bluetooth Device/driver in Device manager like:
<Modem over Bluetooth Link#4>
But that device information in registry has some info more than it like:
<Modem over Bluetooth Link>
<Modem over Bluetooth Link#1>
<Modem over Bluetooth Link#2>
<Modem over Bluetooth Link#3>
I Want to remove and change to default...
If you know easy way to this please leave source code for it or ...
|
|
|
|
|
So what do you think changing the security on a registry key is going to do for this??
And which registry key are you thinking of changing??
|
|
|
|
|
|
And? That picture doesn't answer the questions at hand. What do you think changing the security on a registry key is going to do for this??
It appears that your code isn't checking to see if the modem is enabled or valid in some way.
|
|
|
|
|
|
Here you go[^].
It's not going to solve your problem though...
|
|
|
|
|
Hello every VB.NEt Experts,
I have one problem with my databindings with datagrid.
I wanna select any cell in datagrid to show and change data according to my selection. when I bound my data already it didn't show anything. CbxPrefix= ComboboxPrefix
My code : <b>CbxPrefix.databindings.Add(New Binding("Text",ds,"Lecturer.PrefixName")) </b>
what's wrong with this code. I forgot I make it in subroutine named Private Sub BindDgvLecturer......End sub and put it in Form1_load.
Please help me with this problem. Thank you very much.
|
|
|
|
|
How Can I have a List of System Devices via VB.Net Coding
and I want to access for install, UnInstall and other information about those
Thank you... (me)
|
|
|
|
|
|
What about VB.Net...
|
|
|
|
|
No problem. WMI can be used with both VB.Net and C#.
This article[^] might help you start VB.Net and WMI.
|
|
|
|
|
I used to use PrincipalContext for authenticating my users in my 2003 domain network. My users were restricted to log on to specific stations.
After moving our servers to 2008 domain, PrincipalContext is not working and needs unrestricted access to all stations in the network. This puts a big risk on my enterprise network since everyone can log on to all stations.
I want to know if there is any another way to authenticate users against 2008 domain.
P.S. I used DirectoryEntry and it faces the same problem.
Thanks
|
|
|
|
|
I have used the code below with Server 2008 R2 and didn't have any issues. Are you doing it any different?
Dim context As ContextType = ContextType.Domain
Using p As New PrincipalContext(context, domain)
authenticated = p.ValidateCredentials(username, password, ContextOptions.Negotiate)
End Using
|
|
|
|
|
I do it the same, but when I set LogOn to for my users ,ValidateCredentials returns false. I want to use this method on my web applications but My users must have right to logon to my web server
|
|
|
|
|
Is your web server in a DMZ and unable to connect to the Active Directory server? If the web server is not in a restricted portion of your network and has access to the active directory server that method should still work.
Have you verified you are passing the correct domain name value? Just thought I'd ask since you moved from 2003 server to 2008R2 server and wasn't sure if domain name changed.
|
|
|
|
|
The domain name is correct. Webserver is not in the DMZ and it is connected to AD. This method does not work if users are restricted to logon to certain stations. Whats more, I used to query users group using DirectoryEntry and since we promoted our domain from 2003 to 2008 r2, only dmain admins can query users group.
We have not changed any policy or any setting in the AD.
|
|
|
|
|
Ok I have a better understanding now. Just out of curiousity, if the user is allowed to logon to the webserver locally does that have any effect on this method working? Or is it failing when any restriction is in place? Just wondering if server 2008 is not allowing the authentication because that web server is not one of the allowed machines for the user to log onto. (sorry I don't have my 2008 R2 setup for testing this right now)
|
|
|
|
|
you got the point. This method fails when web server is not one of the allowed machines for user to log on to.
|
|
|
|
|
Hi all,
I am using the OpenXML SDK to work with MS products in the .Net web application.
I understand that it is possible for a link in MS Excel to open another MS Excel using OpenXML SDK. Now would like to know how we can manage authentication of the new document that is opened.
For Example: In web application, say one doc is already downloaded from server to browser, and user clicks on a link in that document which connects to another doc in the server.
How this clicking on link request will be authenticated? Will that be taken care by browser or should we create a new session cookie for that and authenticate? In OpenXML is there anyway if this can be managed easily without the end user knowing how this takes place.
Please share your thoughts on the request. Thanks alot for your help!
Regards, Rijesh
|
|
|
|
|
Hello Everyone,
I am new at vb and need a little help. I need to know how to create a timed MessageBox. I am using VB 2010 Express. I have been looking in the articles and couldn't find anything for VB 2010 express.
Thanks
Ralph
|
|
|
|
|
It all depends what you mean by a timed MessageBox?
|
|
|
|
|
I'm sorry. Automaticly closes after certain a period of time.
Thanks
|
|
|
|