mrwITch
Members-
Posts
46 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by mrwITch
-
I've used these Award winning UK web hosting - nativespace they will pre-install a Joomla set up for you
-
Try Post #7 here http://www.edugeek.net/forums/coding/43767-flash-3-0-adding-delay-script-before-proceeding-next-frame.html#post418490
-
If you can find a bit of Javascript, that can check if Flash is installed on the users system, then you can build some Javascript that runs on page load to show/hide a video block / image block of html Try these Adobe - Flash Player : Detection Kit Javascript Show Hide Element by ID from Internet Connection Write your HTML so that you have an two blocks of code 1 with an id="video" 2 with an id="image" You should then be able to write some onload Javascript function - IF Flash is available THEN document.getElementById("image").style.display = 'none'; document.getElementById("video").style.display = 'block'; ELSE document.getElementById("video").style.display = 'none'; document.getElementById("image").style.display = 'block'; ENDIF
-
claridentech !st off - if you're going to ignore the Hitachi application and write your own tailored app Get the Hitachi comms protocol / command set clear These are the ONLY instructions that the projector understands & there may be certain command/responses that have to be understood to make it do what you want Now intially write you VB app so that you can issue / respond to the set(s) of command/responses you need Now plug in a projector to a serial port on your PC & have your App configure access to a serial port, then run up your app & make sure your command-set achieves what you want At this point you know how to control the projector Now we have to figure out how to stick the Lantronix device server in the middle of it all Which Lantronix device are you using From a quick look at their documentation - it looks like you're going to have some choices of how to talk over your LAN to this unit - but the idea will be that what you just got working over the serial interface (directly to the projector) will now be actioned by the Lantronix device So you'll probably be establishing a socket based interface with the Lantronix device Plug in the Lantronix - you'll probably want to fix it's IP address within your LAN Find out what port it listens on Establish a connection from your app to that IP:port Now you can issue an instruction & the lantronix at the other end should spit it out as serial When you establish a LAN connection to the Lantronix you may have to tell it what port to reply to you on - your App will need to listen on that port accept the incomming connection request, open up a socket and capture/process the incomming responses Typically with Command/response serial comms you issue a command and wait up to a timeout period during which you expect to recieve the response If a timeout occurs your app needs to decide if it should retry (how many times) or report a failure or whatever You should study the Hitachi comms protocol and make sure your app handles all appropriate failure scenarios With serial comms - one of the most important things is to manage the Receiver properly It is very easy to accumulate received byytes but never be able to find the start/end of a message If you think about writing a clean receiver right form the beginning things'll go smoothly write your VB code in a simple event based manner and you'll be OK
-
The following might give you an idea You can still load up a button & then fade/transition from that if you like fadeEffect.duration = FADE_IMAGE_SECONDS * 1000; fadeEffect.play(); sets the timer duration & triggers it When the timer event fires - you action the next piece of code In the timer event Case some variable so that you can sequence through your program states On other events you can set the state variable and / or fire new timers package { import flash.display.MovieClip; import flash.events.Event; import flash.display.Loader; import flash.events.TimerEvent; import flash.net.URLRequest; import mx.effects.easing.Cubic; import mx.effects.Fade; import mx.events.EffectEvent; /** * ... * @author */ public class Upton extends MovieClip { // Number of seconds to show an image file private const SHOW_IMAGE_SECONDS:int = 4; // Number of seconds to fade to next image file private const FADE_IMAGE_SECONDS:int = 2; // Number of image files to loop through // files are to be found in /images // images files are to be named image1.jpg, image2.jpg ..... private const MAX_IMAGES:int = 17; private var index:int = 1; private var fadeEffect:Fade = new Fade(); private var loader:Loader = new Loader(); public function Upton() { // setup Image loader loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imgLoaded); // setup Fader fadeEffect.addEventListener(EffectEvent.EFFECT_END, fadeComplete); fadeEffect.startDelay = 0; fadeEffect.easingFunction = Cubic.easeInOut; fadeEffect.alphaFrom = 1; fadeEffect.target = this; // Load 1st image loadMyImage(); } private function fadeComplete(e:EffectEvent):void { // fade complete - if (fadeEffect.alphaTo == 1) { fadeEffect.alphaTo = 0; fadeEffect.duration = FADE_IMAGE_SECONDS * 1000; fadeEffect.play(); } else { removeChildAt(0); // load next image if (index > MAX_IMAGES) { index = 1; } loadMyImage(); } } function loadMyImage():void { var urlReq:URLRequest = new URLRequest("images/image" + index++ + ".jpg"); loader.load(urlReq); } private function imgLoaded(e:Event):void { var loader4:Loader = Loader(e.target.loader); addChild(loader4.content); fadeEffect.alphaTo = 1; fadeEffect.duration = SHOW_IMAGE_SECONDS * 1000; fadeEffect.play(); } } new Upton(); }
-
Since you've all no doubt got plenty of free time try your hands at this game (and competition) IT Manager 3: Unseen Forces - Intel - Intel
-
Do you have another tool via which you can query the DB If so run a query something like Select * from where QouteID is Null (you may need to vary the syntax of the above query to suit your DB) You should also try to get a defintion of the table containing the column QuoteID Your error condition suggests that the column QuoteID now has a Not-Null constraint applied to it & that in the past this may not havebeen true Now that you've trie to write a recotrd back to the DB - you are falling foul of this constraint If this turns out to be the correct analysis - then you should check any such rows Are they still valid - can you have rows where QuoteID is NULL If not then you can either delete the row (if the record & any associated data is invalid) Or you can try to specify a valid value for QuoteID - If you can determine such from other data
-
Check the Tools menu then Options and File Locations If bot good/bad machines are the same here then it probably will be paths to the image that are not allowed In 'working' document Right click on image choose show picture toolbar click on Insert picture icon - this will give details of path for this (current) image Try same in 'not-working' document - check that this user has access/path to required image
-
Mike TRY set Domain = GetObject("LDAP://"& "ou=" & orgUnit & ",OU=Wisemore Campus,OU=Student rather than set Domain = GetObject("LDAP://"& "ou=" & recordSet & ",OU=Wisemore Campus,OU=Student recordSet is a row from your csv file orgUnit=recordSet(0) - ???? Is this index correct - this should assign the OU from the row to the variable orgUnit
-
A starting point for CSS (& other stuff) CSS Tutorial OOPs - sorry powdarrmonkey didn't read all of the posts
-
1st off - you have 2 phrases 'This conversation does not exsist' Change them to be better debug statements - or at least 'This conversation does not exsist 1' & 'This conversation does not exsist 2' That'll help debug which path through your code your going through If I've read your code correctly you reach the 2nd of these debug statements as a result of the final else clause from if($_GET['convo'] && is_numeric($_GET['convo'])){ ....code }elseif(!$_GET['convo']){ ....code } else { echo "This conversation does not exsist"; } I suspect this might be where your problem lies The if($_GET['convo'] && is_numeric($_GET['convo'])){ tests for a Non-Blank & numeric parameter named convo whereas }elseif(!$_GET['convo']){ This tests if convo is Blank / zero length string and therefore the } else { echo "This conversation does not exsist"; will catch convo not blank, not zero length, but not numeric I suspect that this }elseif(!$_GET['convo']){ is not what you intended
-
Can you upgrade to latest version of Joomla LDAP - Joomla! Documentation
-
Try Award winning UK web hosting - nativespace they'll install Joomla for you as part of your package
-
It's been ages since I've done any VB coding - so I'm not familiar with VB.Net etc The picturebox is not a container so your image and your Label?? are two seperate items (if you drag the picturebox does the Label move with it) - so you don't get a combined Image when you try to save - I think you'll need to change your code a bit Set the image as the background for a Panel Add the Label to the Panel - set the text for the label Now you need to figure out how to get the panel to return you an image of its contents - the Documentation for VBExpress is awful - haven't been able to find anything useful You should be able to get an Image from a Graphics having used Graphics.CopyFromScreen(coords of Panel) Hope this helps Let me know how you get on
-
'Didn't tell him about the triplets' - the more the merrier :wink: Am trying to find the standards body which'll tell me how many constitues a harem - then we'll have to throw a party (online of course) Anyhow - hi everyone
-
Thanks for the name
