Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho …)) 'A.ForeColor vbRed 'obter o a linha mais curta(horizontal ou vertical): If VertDist < HorizDist Then ' Draw the vertical ray… Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho finally i found the problem is on these line: HorizDist = Sqr(((HorizX - Player.PosX) * (HorizX - Player.PosX)) + ((HorizY - Player.PosY) * (HorizY - Player.PosY))) 'works fine VertDist = Sqr(((VertX - Player.PosX)) * ((VertX - Player.PosX))) + (((VertY - Player.PosY)) * ((VertY - Player.PosY)))'calculation incorrect like … Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho not so easy :( WallDistance = WallDistance * Cos(Abs(RayRadians - Player.Radians)) 'avoiding the Fish Effect RayHeight = (ObjectSize / WallDistance) * 200 '320 is the width screen If (RayHeight > 200) Then RayHeight = 200 A.ForeColor vbBlue A.DrawLine 475 + 50 + RayCounts, 200 / 2 - … Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho i fix 1 error: ElseIf (KeyCode = vbKeyUp) Then If (LevelMap0(Fix((Player.PosY + Player.MoveY * Speed) / ObjectSize), Fix((Player.PosX + Player.MoveX * Speed) / ObjectSize)) <> vbBlue) Then 'and: ElseIf (KeyCode = vbKeyDown) Then If (LevelMap0(Fix((Player.PosY - Player.MoveY * Speed) / … Re: VB6 - RayCasting: why my Vertical intersection is so big? Programming Software Development by cambalinho after several tests i fix it: Do While RayCounts < RayCount If (RayRadians > (2 * PI)) Then RayRadians = 0.001 i have more to update: 1 - win more performance\FPS; 2 - and trying avoid the 'on error resume next'(it's about the array dimensions): Private Sub DrawRays2() Dim AY As Double… OU based roaming Hardware and Software Microsoft Windows by shakil_diit hi...........I want to create OU based roaming profile on windows server 2008.......say I have 4 OUs.I want that all OU1 users will use common roaming profile , common desktop setting...while users on OU2 will use another setting......step by step guidance ....please OU based roaming profile Hardware and Software Microsoft Windows by shakil_diit hi...........I want to create OU based roaming profile on windows server 2003/2008.......say I have 4 OUs.I want that all OU1 users will use common roaming profile , common desktop setting...while users on OU2 will use another setting......step by step guidance ....please Display List of Computers in a Specific OU in VBA Programming Software Development by buffdaemon_live ….......list of all computers in Student OU and Teachers OU This is my script but its …vbnet] Sub ListDomains() Dim objNameSpace Dim Domain Dim ou Dim pcs Set objNameSpace = GetObject("LDAP://…dc=edu") For Each objDomain In objNameSpace ou = objDomain.Name objDomain.Filter = Array("… Protect Against Accidental OU Deletion Programming Software Development by deegroove …create a Windows server 2008 Active Directory OU tree and activate in every OU the "Protection Against Accidental Organizational …out manually the check box in only one of the OU at every level of the tree, then the "…help will be appreciated. (Write down only the Sub for OU Protection code) [code=vb.net] Sub OUProtection (strOU) Const… accessing a sub-OU in JSP Programming Web Development by jrmugz … the line expireOU = "Need to specify the sub OU here." what should I add there, if, say…, the parent OU is called "parentOU", and the child OU is called "childOU"?…{ var expireOU; expireOU = "Need to specify the sub OU here." var i, objOU, objUser, whenPasswordExpires; objOU = GetObject… Re: Adding mutiple PC's to an OU via script? Hardware and Software Microsoft Windows by feigned It would have to work with LDAP, directly. Aside from that, you're wanting to pull information directly out of the "hardware" script to put into the "OU" script? Sounds like a jumble. How many machines are you talking about? 10, 100, 500, a few thousand? complex numbers Programming Software Development by kelvin.njuguna ou have been tasked to write a program that takes two … ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by kitschkath So I've been figuring this out for an hour now and I can't seem to find the problem is so i have this code: [CODE]$QUERYsubject="select * from tbltablestudent where S_ID='".$myusername."'"; $subject=mysql_query($QUERYsubject) or die(mysql_error()); $QUERYgr1="Select * from ".$subject[Subject].", … Re: ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by pritaeas [iCODE]$subject[Subject][/iCODE] is empty invalidating your query. Re: ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by ajbest It looks like you are trying to reference the result of the first query in the second but without converting the first query itto an array first. Maybe try this for line 2 [CODE] $subject=mysql_fetch_assoc(mysql_query($QUERYsubject)) or die(mysql_error()); [/CODE] Re: ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by ajbest also noticed a comma on the second query along with a declaration of 2 tables that you are trying to select from. If you want to query 2 tables at once I think you have to join them. Can you show us your db structure and tell us what you are looking to return? Re: ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by kitschkath [QUOTE=ajbest;1667636]also noticed a comma on the second query along with a declaration of 2 tables that you are trying to select from. If you want to query 2 tables at once I think you have to join them. Can you show us your db structure and tell us what you are looking to return?[/QUOTE] The second query is the actual joining of two tables. … Re: ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by ajbest this makes use of more PHP to process the request. I am sure there is a way to do this all sql but not that I know of. [CODE] <? $QUERYsubject=mysql_query("select * from tbltablestudent where S_ID='".$myusername."'")or die (mysql_error());// get a list of all subjects this student took //performa query for each … Re: ou have an error in your SQL syntax; PLEASE HELP ME! Programming Web Development by kitschkath [QUOTE=ajbest;1668204]this makes use of more PHP to process the request. I am sure there is a way to do this all sql but not that I know of. [CODE] <? $QUERYsubject=mysql_query("select * from tbltablestudent where S_ID='".$myusername."'")or die (mysql_error());// get a list of all subjects this student took … xml parsing from java Programming Software Development by vijaygandhi559 … duplicate member (cn=gonzalj38,ou=people,ou=42293,ou=i,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD… duplicate member (cn=garciar21,ou=people,ou=42025,ou=i,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD… duplicate member (cn=martinc10,ou=people,ou=17055,ou=g,ou=60,ou=regions,ou=salesdealers,ou=extranet,o=teds)</TD… Re: Can't save comma embeded string as a key in list array Programming Software Development by onthego … = ['ou=a,ou=elsewhere,dc=example,dc=com','ou=b,ou=elsewhere,dc=example,dc=com','ou=c,ou=elsewhere,dc…'def': 'b', 'ghi': 'c', 'jkl': 'd'}, 'ou=b,ou=elsewhere,dc=example,dc=com': {'abc': 'a', 'def': 'b… Re: Help with the script. Programming Software Development by d5e5 …;EDMV:NOTES> From MV Modify <uid=PY1011,ou=Internal,ou=people,dc=eis,dc=example,dc=com> 20100218 11…;EDMV:NOTES> From MV Modify <uid=PY1014,ou=Internal,ou=people,dc=eis,dc=example,dc=com> 20100219 11…;EDMV:NOTES> From MV Modify <uid=PY1011,ou=Internal,ou=people,dc=eis,dc=example,dc=com> 20100220 11… Hi, everyone I'm Justin and I have a few questions concerning Networking Hardware and Software Networking by Jabari … plan? A. Create an oranization unit (OU) under the users OU for each department, move users to their…each department administrator for the Users OU. B. Create an OU under the Users OU for each department , grant …administrative permissions to each department administrator for the Users OU, and have each administrator move his or her … Group Deletion In Active Directory (C# .NET) Programming Software Development by VasquezPL … groupPath is [CODE]LDAP://CN=GRUPA TESTOWA,OU=Security,OU=Groups,OU=Krakow,OU=PL-PMPL,OU=PMI,OU=Users & Workstations,DC=LORDAC,DC=NET…[/CODE] and ouPath is: [CODE]LDAP://OU=Security,OU=Groups,OU=Krakow,OU=PL-PMPL,OU=PMI,OU=Users & Workstations,DC=LORDAC,DC=NET… Re: Group Deletion In Active Directory (C# .NET) Programming Software Development by polczym … groupPath is [CODE]LDAP://CN=GRUPA TESTOWA,OU=Security,OU=Groups,OU=Krakow,OU=PL-PMPL,OU=PMI,OU=Users & Workstations,DC=LORDAC,DC=NET…[/CODE] and ouPath is: [CODE]LDAP://OU=Security,OU=Groups,OU=Krakow,OU=PL-PMPL,OU=PMI,OU=Users & Workstations,DC=LORDAC,DC=NET… Browser Redirects, Locked out of Task Manager; Errors Abound Hardware and Software Information Security by qt 3.14159 …\Symantec Shared\ccSetMgr.exe C:\Program Files\OU-VPN\OU-VPN Client\cvpnd.exe C:\Program Files…: [INTERNATIONAL] International* O14 - IERESET.INF: START_PAGE_URL=http://www.ou.edu O15 - Trusted Zone: *.amaena.com O15 - Trusted Zone…CVPND) - Cisco Systems, Inc. - C:\Program Files\OU-VPN\OU-VPN Client\cvpnd.exe O23 - Service: Symantec AntiVirus … Re: hex value instead of string Programming Software Development by mitchems …,email,unknown3,unknown4 "CN=BERRY Richard,OU=TestFinance,OU=HR,OU=CORP,OU=CR,DC=mycorp,DC=com","BERRY…net," -", "CN=BERRY Richard,OU=TestFinance,OU=HR,OU=CORP,OU=CR,DC=mycorp,DC=com","BERRY …net," -", "CN=BERRY Richard,OU=TestFinance,OU=HR,OU=CORP,OU=CR,DC=mycorp,DC=com","BERRY … Putting files in Jlist Programming Software Development by eeeman …;/fileList.dat"); DataOutputStream ou = new DataOutputStream(new FileOutputStream(fileo)); ou.writeBytes(user.getName()); ou.close(); } catch (Exception…quot;); try { DataOutputStream ou = new DataOutputStream(new FileOutputStream(fileo)); ou.writeBytes(name + " , " + password); ou.close(); } catch … Help with "HERE" documents Programming Software Development by woodson2 …quot; write by group.base="cn=infrastructure,ou=GTECH,ou=groups,dc=abclott,dc=lott" write by…read by * none access to dn.children="ou=servers,dc=abclott,dc=lott" by dn.base…quot; write by group.base="cn=infrastructure,ou=GTECH,ou=groups,dc=abclott,dc=lott" write by… Liferay Social Office and OpenLDAP integration Programming Web Development by gianx80 …=admin,o=uni,c=it modifyTimestamp: 20110622161740Z dn: ou=groups,o=uni,c=it ou: groups description: Uni.it Groups objectClass: organizationalUnit…,o=uni,c=it modifyTimestamp: 20110622161740Z dn: uid=p***1,ou=users,o=uni,c=it cn: G***a S***o…,o=uni,c=it modifyTimestamp: 20110622161740Z dn: uid=p***2,ou=users,o=uni,c=it cn: S***e S***a…