Jump to content

thesk8rjesus

Members
  • Posts

    113
  • Joined

  • Last visited

Everything posted by thesk8rjesus

  1. What are you using the PC is being used if you plan on playing games then Windows 7 deals with DirectX 11 and fps better and steam doesn't support windows 8. So if games then 7 if high processing programs then 8.
  2. Looking at moving all our SLG to a new windows 2012 / Sharepoint 2010 but need to migrate all the data, has anyone done this? We have contacted Capita and they have said only ONE person knows how to do this. Any help would be appreciated.
  3. Looks like another vista on our hands
  4. Do you have SCCM in the network, I believe that you can remove software using that.
  5. Hi, I'm looking for a list of really good android apps that we can install on the new tablets we've just bought that are based towards KS1 and KS2.
  6. Thanks that worked!! Had some issues with permissions on that particular file but changed what you said and can now get on it.
  7. Hi, We've got Home Access 8.4 and have also done the patch to 8.4.1 but now when we click on the MyFiles button we get the following error:- "Index and count must refer to a location within the string. Parameter name: count" Source Error: Line 119: if (window.location.href.split('#')[1] != "" && window.location.href.split('#')[1]) { Line 120: curpath = window.location.href.split("#")[1]; Line 121: if (typeof (window.FileReader) != 'undefined') $("#MyFiles").attr("dropzone", "copy<%=DropZoneAccepted %>"); Line 122: if (viewMode == 1) { $("#MyFiles").addClass("details"); $("#MyFilesHeaddings").show(); } Line 123: else if (viewMode == 2) $("#MyFiles").addClass("small"); The error is on line 121 within the file in this location: C:\inetpub\wwwroot\HAP\MyFiles\Default.aspx. Thanks in advance.
  8. I have re-read the following file :- /scripts/hap.web.js.js and noticed on line 12 that there was an else statement that wasnt link to anything i changed it from this jsonError: function (xhr, ajaxOptions, thrownError) { try { if (xhr.responseText.match(/\ try { console.log(xhr.responseText); } catch (ex) { }; else { if (document.getElementById("errorlist") == null) $("#hapContent").append(''); $("" + jQuery.parseJSON(xhr.responseText).Message + "This error has been logged on the server's event log").appendTo("#errorlist"); setTimeout("hap.common.clearError();", 10000); try { console.log(xhr.responseText); } catch (ex) { }; } } catch (e) { if (thrownError != "") alert(thrownError); } }, To this jsonError: function (xhr, ajaxOptions, thrownError) { try { if (xhr.responseText.match(/\ { window.location.reload(); try { console.log(xhr.responseText); } catch (ex) { }; } else { if (document.getElementById("errorlist") == null) $("#hapContent").append(''); $("" + jQuery.parseJSON(xhr.responseText).Message + "This error has been logged on the server's event log").appendTo("#errorlist"); setTimeout("hap.common.clearError();", 10000); try { console.log(xhr.responseText); } catch (ex) { }; } } catch (e) { if (thrownError != "") alert(thrownError); } }, and its now working, but i am now getting an error when i select myfiles i get the following error, even after copying over the new myfiles patch. Source File: c:\inetpub\wwwroot\HAP\MyFiles\Default.aspx Line: 121 Line 119: if (window.location.href.split('#')[1] != "" && window.location.href.split('#')[1]) { Line 120: curpath = window.location.href.split("#")[1]; Line 121: if (typeof (window.FileReader) != 'undefined') { $("#MyFiles").attr("dropzone", "copy<%=DropZoneAccepted %>"); } Line 122: if (viewMode == 1) { $("#MyFiles").addClass("details"); $("#MyFilesHeaddings").show(); } Line 123: else if (viewMode == 2) $("#MyFiles").addClass("small"); Stack Trace: [ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name: count] System.String.RemoveInternal(Int32 startIndex, Int32 count) +0 HAP.Web.MyFiles.Default.get_DropZoneAccepted() +448 ASP.myfiles_default_aspx.__Render__control46(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\wwwroot\HAP\MyFiles\Default.aspx:121 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131 HAP.Web.Controls.CompressJS.Render(HtmlTextWriter writer) +99 ASP.myfiles_default_aspx.__Render__control19(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\wwwroot\HAP\MyFiles\Default.aspx:77 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +315 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246 System.Web.UI.Page.Render(HtmlTextWriter writer) +40 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5290
  9. Had a look at the errors. We are getting "Uncaught ReferenceError: hap is not defined" on line 86 and 102. I've attached the code and put ------- next to the error lines for you <br /> $(document).ready(function () {<br /> hap.livetiles.Init([<br /> <br /> -----------------------------------------------------------Uncaught ReferenceError: hap is not defined----------------------------------------------------------------<br /> <br /> { Type: "myfiles" , Data: { Group: "Resources", Name: "My Files", Url: "~/myfiles/", Target: "", Description: "Access your School My Files", Icon: "api/tiles/icons/64/64/images/icons/metro/folders-os/DocumentsFolder.png", Color: { Base: '#04AEDA', Light: '#1DC7F3', Dark: '#0094C0' } } }, <br /> { Type: "" , Data: { Group: "Resources", Name: "My Emails", Url: "https://mail.towers.kent.sch.uk/owa/", Target: "", Description: "Access Email", Icon: "api/tiles/icons/64/64/images/icons/metro/office-15/outlook.png", Color: { Base: '#1E70B6', Light: '#3789CF', Dark: '#04569C' } } }<br /> ]);<br /> });<br />   <br /> var scrollpos = sliding = startClientX = startPixelOffset = pixelOffset = 0;<br /> hap.load = hap.loadtypes.help;<br /> <br /> -----------------------------------------------Uncaught ReferenceError: hap is not defined-----------------------------------------------------------------<br /> <br /> $(document).ready(function () {<br /> $("#HomeButtons").mousewheel(function(event, delta) {<br /> if (delta > 0) {<br /> if (scrollpos < ($("#HomeButtons > div").length - 1)) {<br /> scrollpos++;<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1").removeClass("active");<br /> $("#HomeButtonsHeader h1")[scrollpos].className = "active";<br /> }<br /> }<br /> else {<br /> if (scrollpos > 0) {<br /> scrollpos--;<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1").removeClass("active");<br /> $("#HomeButtonsHeader h1")[scrollpos].className = "active";<br /> }<br /> }<br /> return false;<br /> }).on('touchstart', function(event) { if (event.originalEvent.touches) event = event.originalEvent.touches[0]; if (sliding == 0) { sliding = 1; startClientX = event.clientX; } <br /> }).on('touchend', function (event) {<br /> if (sliding == 2) {<br /> sliding = 0;<br /> scrollpos = pixelOffset < startPixelOffset ? scrollpos + 1 : scrollpos - 1;<br /> scrollpos = Math.min(Math.max(scrollpos, 0), $("#HomeButtons > div").length - 1);<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1").removeClass("active");<br /> $("#HomeButtonsHeader h1")[scrollpos].className = "active";<br /> }<br /> }).on('touchmove', function(event) {<br /> event.preventDefault();<br /> if (event.originalEvent.touches)<br /> event = event.originalEvent.touches[0];<br /> var deltaSlide = event.clientX - startClientX;<br /> if (sliding == 2) {<br /> var touchPixelRatio = 1;<br /> if ((scrollpos == 0 && event.clientX > startClientX) || (scrollpos == $("#HomeButtons > div").length - 1 && event.clientX < startClientX))<br /> touchPixelRatio = 3;<br /> pixelOffset = startPixelOffset + deltaSlide / touchPixelRatio;<br /> }<br /> });<br /> $("#HomeButtons").css("width", (($("#HomeButtons > div").length * $("#HomeButtonsOutter").width()) + 200) + "px");<br /> if ($("#HomeButtons > div").length == 1) $("#rightscoll, #leftscroll").hide();<br /> $("#HomeButtons .panel").css("width", $("#HomeButtonsOutter").width() + "px");<br /> $("#leftscroll").click(function () {<br /> if (scrollpos > 0) {<br /> scrollpos--;<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1").removeClass("active");<br /> $("#HomeButtonsHeader h1")[scrollpos].className = "active";<br /> }<br /> return false;<br /> });<br /> $("#rightscoll").click(function () {<br /> if (scrollpos < ($("#HomeButtons > div").length - 1)) {<br /> scrollpos++;<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1").removeClass("active");<br /> $("#HomeButtonsHeader h1")[scrollpos].className = "active";<br /> }<br /> return false;<br /> });<br /> $(window).resize(function() {<br /> $("#HomeButtons").css("width", (($("#HomeButtons > div").length * $("#HomeButtonsOutter").width()) + 200) + "px");<br /> $("#HomeButtons .panel").css("width", $("#HomeButtonsOutter").width() + "px");<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#rightscoll, #leftscroll").css("height", $("#HomeButtonsOutter").height() + "px").css("line-height", $("#HomeButtonsOutter").height() + "px");<br /> });<br /> $("#HomeButtonsHeader h1 a").click(function () {<br /> scrollpos = $(this).parent().index();<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1").removeClass("active");<br /> this.parentNode.className = "active";<br /> return false;<br /> });<br /> $("#HomeButtonsOutter").animate({ scrollLeft: (scrollpos * ($("#HomeButtonsOutter").width() - 20) + (scrollpos * 20)) });<br /> $("#HomeButtonsHeader h1:first").addClass("active");<br /> $('input[type=submit]').button();<br /> $("#rightscoll, #leftscroll").css("height", $("#HomeButtonsOutter").height() + "px").css("line-height", $("#HomeButtonsOutter").height() + "px");<br /> });<br />
  10. I've gone through all the set up and configuration documentation provided with v8.4 but when we connect to the HAP site there is hardly anything displaying. I've attached a screenshot of what the page looks like and this is happening for all types of user and it happens both on IE and Chrome. Any help with this would be greatly appreciated. Thanks.
  11. Okay so got it working now. The problem is down to the way that SIMS now looks at the connect.ini with the new SIMSINST it will put the full server unc path instead of the mapped drive. After changing the connect.ini on the local machine to have the full server unc path it's stopped coming up with the error and i can get onto SIMS again.
  12. Hi, I am also receiving the same error message: Here is what is said in the more details box: I have reinstall .NET 4, and SIMS but still not working. my SIMS drive is T:\
  13. Okay so if anyone else has this problem I have just solved it. The problem i was having was that the timer was for a windows form not a service, i added the service timer and now its working this also means that it's not longer a tick but elapse Private Sub Timer1_Elapsed(ByVal sender As System.Object, ByVal e As System.Timers.ElapsedEventArgs) Handles Timer1.Elapsed If AlarmTime.Hour = Now.Hour And AlarmTime.Minute = Now.Minute Then Process.Start("c:\windows\system32\shutdown.exe") End If End Sub
  14. I have just tried setting it to hours and minutes only but still nothing happens. I have done it as a service as we want to be able to run our custom shutdown program once I have this bit working. Thank you for your help
  15. I'm trying to make a service that will shutdown the computer at a certain time in the day so once everyone has gone home the machines aren't left on over night. I am using Visual Studio 2010 Ultimate to create a service that runs even if the machines logged off. I have been able to create the service and it runs, but when it gets to the time I set up the top it does nothing. Any help with this would be great Imports System Imports System.Data Imports System.Threading.Timer Imports System.Diagnostics Imports System.ServiceProcess Public Class Service1 'Setting time to shutdown macine Private AlarmTime As Date = "17:00:00" Protected Overrides Sub OnStart(ByVal args() As String) ' Add code here to start your service. This method should set things ' in motion so your service can do its work. Try 'Enabling Timer - tmrUp tmrUp.Enabled = True AddHandler tmrUp.Tick, AddressOf tmrUp_Tick tmrUp.Interval = 1000 tmrUp.Start() Catch ex As Exception End Try End Sub Protected Overrides Sub OnStop() ' Add code here to perform any tear-down necessary to stop your service. tmrUp.Enabled = False End Sub Private Sub tmrUp_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrUp.Tick If AlarmTime.Hour = Now.Hour And AlarmTime.Minute = Now.Minute And AlarmTime.Second = Now.Second Then Process.Start("shutdown", "-r -f -t 0") End If End Sub End Class
  16. we had the same problem with this and found that the proxy settings needed to be turned off for it to sync correctly.
  17. have you tried asking @EduTech he does 'Free Web Hosting for Personal, Education, Non-Profit Organisations and Charities' Website found here
  18. We had the same problem too, but found a good website that hosted our pdf files and put them into a booklet style here's a link to our Ofsted Report 2011 problem lies when you have lots of pdfs if you only have a few its brilliant. To sign up go to http://www.issuu.com
  19. We have just bought 5 Archos G9 101 8GB tablets for £185 per device if you contact Mary Budden [email protected] and say Justin Byrne Recommended you she should be able to sort you out with a demo unit
  20. We had Toshiba come in to do this they didn't seem to know much about the tablet itself but more about Google apps like Google Skymaps with saying "it's really good you can view the stars", when we asked about proxy he said he had no idea about it and that he could ask tech support, but never came back to us. In regards to the proxy from Android 2.3 you are able to add a proxy in, but you are not able to login if your proxy requires a login. Also if you are looking into getting android tablets we have just bought the Archos G9 101 8GB tablets for £185 per device if you wanted to get a demo unit you can contact Mary Budden [email protected] just say that Justin Byrne recommend her to you. The Toshiba's were good machines but these beat them hands down for us.
  21. i know this is an old thread but thought i'll just add this incase someone else has a look at it. The karoshi team are constantly updating their Wiki which as loads of information, also there is a contact us form available which will email the team of your problems the website can be found here: Linux Schools Project
  22. okay i have just found that this only happens with my support drive i have created. I want only Domain Admins to access it, if i add an extra group in called admins, and then set write permissons to All i can get it working, but shouldn't it work with just domain admins in both? am i doing something wrong here or should this work without recieving the error above
  23. '=========================================== ' Creating Variables '=========================================== ON ERROR RESUME NEXT Dim objNetwork, objPrinter Set objNetwork = CreateObject("WScript.Network") Set objPrinter = objNetwork.EnumPrinterConnections '=========================================== ' Deleting All Network Printers '=========================================== objNetwork.RemovePrinterConnection "\\%MachineName%\%PrinterShareName%", True, True '=========================================== ' Adding New Printers '=========================================== objNetwork.AddWindowsPrinterConnection "\\%MachineName%\%PrinterShareName%" '=========================================== ' Setting Default Printer '=========================================== objNetwork.SetDefaultPrinter "\\%MachineName%\%PrinterShareName%" '=========================================== ' Clearing Memmory '=========================================== Set objNetwork = Nothing Set objPrinter = Nothing Save this as a .vbs script this is what we use at our school this will work with all versions of windows, and does funny things on mac
  24. every time in either Enhance or basic i try to download a file i get the following error message Server Error in '/Extranet' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.routing.Downloader.ProcessRequest(HttpContext context) +383 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +477 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 anyone else had this and if so what's the fix?
  25. I have just started to create a new program to help with my helpdesk, i want all the data from my table to be displayed on the form. i have the following coding already but it displays nothing in my DataGridView: Imports System.Data Imports System.Data.Odbc Public Class Form1 Private Sub conn() 'Variables for ServerName, UserName & PassWord Dim SQLServerName As String = "ServerName" Dim SQLUserName As String = "UserName" Dim SQLPassWord As String = "PassWord" Try 'Variable for the connection string Dim connectionString As String = "Driver={MySQL ODBC 3.51 Driver};Server=" & SQLServerName & ";Database=ictsupport;User=" & SQLUserName & "; Password=" & SQLPassWord & ";Option=3;" 'Instialising the connection string Dim conn As New OdbcConnection(connectionString) 'Opening the connection conn.Open() 'Creating query to pull data from table Dim DataAdapter As New OdbcDataAdapter("SELECT ID FROM TableName", conn) 'Putting data into DataGridView Dim DatSet As DataSet = New DataSet DataAdapter.Fill(DatSet) DataGridView1.DataSource = DatSet Catch SQLError As Exception MessageBox.Show("Error connecting to MySQL server " & SQLError.Message) End Try End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load conn() End Sub End Class but everytime i run the program it gives me an empty datagrid, if anyone has any idea on how to get the data in my form that would be great.
×
×
  • Create New...