Hello Daniweb Community, I have been talking on a couple [Facebook](http://www.facebook.com) groups such as sale pages where you post your own stuff for people to buy. Most groups like this have rules about bumping like once per day, every 12 hours etc... So it got to the point where it became annoying to have to bump my posts every so oftern so I managed to construct this script that'll do it automatically with the help of a cronjob that can be set to bump at whatever time you like. So I have made a simple easy to use (ha may …

Member Avatar
Member Avatar
+3 forum 29

Group, I'm trying to improve a macro in an EXCEL spreadsheet. The spreadsheet has multiple tabs (sheets), some of which have grouped rows in them. My "cleanup" routine needs to check to see if these grouped rows exist. Is there some code that does this (hopefully boolean)? If it helps, I'm using the following code to group: Rows(begRow & ":" & endRow).Select Selection.Rows.Group However I only want to ungroup these sheets if grouping exists on the page anywhere. Thoughts? Thanks for your help. Don

Member Avatar
Member Avatar
+0 forum 1

I know how to create groups, the problem is that I need to create Groups with diffrent scopes. For example: Security,Universal or Distribution, Global I have found the code, but I dont understand the "enum" part. How to join two enums if I want the group (for example) to be global+security. or: Universal+distribution. I tried many things, but I couldnt get the proper results. Thx for help! using System.DirectoryServices; using System.Reflection; public class ADGroup { private String ADGRPOUP = "group"; // Grouptype-Definition enum GrpType : uint { UnivGrp = 0x08, DomLocalGrp = 0x04, GlobalGrp = 0x02, SecurityGrp = 0x80000000 } …

Member Avatar
+0 forum 0

Hi All, I need desperate help. I have a group "MyGroupABC" in Active Directory (AD). In this group there are close to 100 list of users. How can i write a logic to actually to get me the list of users with their particulars details such as Name, SN, GivenName, Telephone, Mail, etc? I've been trying many days to figuring it out, but not success. Below is my simple code. [CODE]DirectorySearcher ds = new DirectorySearcher(""); ds.SearchRoot = new DirectoryEntry("LDAP://myserver/CN=MyGroupABC,OU=MyProject,OU=DEVApplications,DC=myserver,DC=local"); ds.PropertyNamesOnly = true; ds.PropertiesToLoad.Add("name"); ds.PropertiesToLoad.Add("sn"); ds.PropertiesToLoad.Add("givenName"); ds.PropertiesToLoad.Add("mail"); ds.PropertiesToLoad.Add("telephoneNumber"); SearchResultCollection src = ds.FindAll(); try { foreach (SearchResult sr in src) { string …

Member Avatar
Member Avatar
+0 forum 1

I would appreciate a snippet of code for adding groups at run-time to a listview. I am currently listing books (and stats) without groups via the following code which is executed in a loop (one pass per book title). [code] item = New ListViewItem item.Text = seq.ToString item.SubItems.Add(Mid(titlenode.Nodes(N_CSTAT).Text, 3)) item.SubItems.Add(Mid(titlenode.Nodes(N_JSTAT).Text, 3)) item.SubItems.Add(titlenode.Nodes(N_PUBLISHED).Text) item.SubItems.Add(titlenode.Text) item.SubItems.Add(titlenode.Nodes(N_SERIES_NAME).Text) item.SubItems.Add(titlenode.Nodes(N_SERIES_INDX).Text) item.SubItems.Add(titlenode.Nodes(N_SYNOPSIS).Text) lvwTitles.Items.Add(item) [/code] The listview is set to details view. What I want to do is group the book titles by series. For example, books by Michael Connelly may be grouped by "Harry Bosch", "Jack McEvoy", "Mickey Haller", etc. I can create a new group …

Member Avatar
Member Avatar
+0 forum 2

The End.