In a custom application we have, it impersonates a user to access network shares. For some reason on one server, this impersonated user no longer appears to have Full access anymore.
Is there a tool that can compare either entire server setups or just local policies?
Thanks.
VS 2005 SP1
I want to haveWHERE (@RegionID IS NULL OR Region = @RegionID)but instead the wizard always changes it toWHERE (@RegionID IS NULL) OR (Region = @RegionID) which is not the same thing. Does anyone have any ideas how to stop the wizard from being too smart?
SQL Server 2000
I'm not sure if it's possible to have a nested case statement or if I should use a subquery instead. I have inconsistent data to deal with.
Here's my logic statement:If LEN(ProjNumber) > 0 THEN
IF ISNUMBER(SUBSTRING(ProjNumber,1,4) -1 THEN
SUBSTRING(ProjNumber,8...
SQL Server 2000 and .Net 2.0
Is there a difference betweenWHERE (@RegionID IS NULL OR Region = @RegionID)andWHERE (@RegionID IS NULL) OR (Region = @RegionID)
The first gives me the results I want. The Query Builder in VB 2005 tries to be too smart and changes the first one to the second one...
SQL Server 2000
It's probably easier to explain my logic as I could be far off base in my coding attempt.
I want to have a query statement that when is a parameter is not null then the Where statement comes into effect.
IF Paramater is not null THEN
Parameter = @Fieldname
ELSE do use...
VB 2005 & .Net 2
The icons in my treeview object display when that particular form is set as the project startup form. But this form is actually called from the main form. When I do this, there is a space displayed where the icons should be displayed but are not.
I Refresh the treeview after...
VB 2005 & .Net 2
I'm trying to add a user group with Full Control applied to "This folder, subfolders, and file" but it seems to keep getting varied results.
The Full Control permission consistently works but it's always applied to "This folder only". Any ideas?
Private Sub...
VB 2005 & .Net 2
I have a VB 2005 program which needs to run as a different user then the current, logged in user. Is there a .NET way to accomplish this??
VB 2005 .Net 2
I have a subfolder that has a user group, called CAD Users, with Full Control permissions on Files Only and these permissions are inherited from the parent folder. How can I remove this particular user group from this folder.
I've tried:Dim dInfo As New DirectoryInfo(Filename)...
VB 2005, .Net 2
If have the code:tnode = New TreeNode(strName)I don't get the option tnode.showcheckbox?
According to MSDN, this property exists for Treenodes. What am I missing? I want only certain nodes to have checkboxes.
I need to use recursion to transfer items from an xml file to a treeview in VB 2005 and framework 2.0
Here's a sample of the xml contents:<?xml version="1.0" encoding="utf-8"?>
<FOLDERS>
<FOLDER NAME="0 File Index"></FOLDER>
<FOLDER NAME="1 UMA Client">
<FOLDER NAME="1 Contract">
<FOLDER...
VB 2005 & .Net Framework 2.0 on XP SP2.
Maybe it's just my computer acting up being a VB6 application I wrote before is also giving me problems lately with remapping network drives.
I want to force P drive to disconnect. I've included Windows Script Host Object Model Version 1 reference. I'm...
VB 2005 & .Net 2.0 Framework
It looks like I'm going to have to reference Windows script host object model to retrieve the server name of a user's mapped network drive.
Is this going to complicate One Touch deployment??
Thanks.
I want to save toolbar locations using the new .NET 2.0 toolstripmanager command in VB 2005.
I've seen many examples of Toolstripmanager.savesettings(me)
However I receive a Configuration system failed to initialize error.
I've tried to look up this error regarding the toolstripmanager but...
VB .Net 2005 and Framework 2.0
I have the selection property set to:
.SelectionMode = DataGridViewSelectionMode.FullRowSelect
It appears that for the property:
datagridview..SelectedRows(0).Index to return the selected row, the user must actual click on the text in one of the cells of the row...
I am wondering if VB.net 2005 & Framework 2.0 has any new utilities over VB6 to extract the server name from a mapped drive.
For example:
P: drive is mapped to \\PoohBear\Projects
How can I extract either just PoohBear or Poohbear\projects?
I can I could use the old way with WSH.
Thanks
VB .NET 2005
I want have a textbox formatted based on how many characters have been entered. It's for a project number.
Our project number system is:
0000-000-00
However, for search purposes the user is able to only enter a minimum of the first 4 characters such as D342.
If the user enters...
VB .NET 2005
Without selecting the previously creating node, is it possible to add a child to previously created node?
For example:With TreeView1
.BeginUpdate()
.Nodes.Add("Parent")
.Nodes(0).Nodes.Add("Child1")
.Nodes(0).Nodes.Add("Child2")
.Nodes(0).Nodes(1).Nodes.Add("GrandChild")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.