Content Type
Profiles
Forums
Events
Everything posted by Tripredacus
-
The permission errors may have been caused by a program I was running. A curious behaviour found was that the default search order is different. Whereas in Win7 and earlier, Procmon would show that it would search for files in the programDir, root and then System32 (or Syswow64) but in Win8 CP, it only looks at SysWoW64 folder. So the permission problems we had were because a support DLL could not be found in the same folder as the program itself, but copying them to Syswow64 let the program work. I do not know if that is because of a change in Win8 CP or if it is a problem with the program itself.
-
IMO The Deeper Impressions was a good catch all when it was in the Beta forum, but now that Win8 has its own forum, we can make new individual topics, insteads of just putting them in this catch all thread.
-
I have seen that list. My first thought about MDOP... what if the virtualized desktop was a Win8 with Metro?
-
custom avatars and signatures
Tripredacus replied to larryb123456's topic in Graphics and Designing Art
I have stayed away from using straight video in GIFs, mainly because of the size and quality. Another problem you may encounter is most converters end up adding duplicate frames every other one. For a video file like that you need a couple of different tools. One to get the video from Youtube in FLV format. Then another to extract portions of the FLV to some other format. You could probably directly edit the FLV, but if you grab an HQ version, you're talking about a large file size that is going to take up a bit of RAM directly editing it. -
That is impossible to tell. You can definately have incompatibilities on some systems. All USB 3 drivers I've encountered use 2 drivers, one for the controller and one for the hub. Rather than putting in a bunch and hope they work, why not find out what hardware the device has, then inject the drivers specifically for it?
-
I have a complaint about all the talk about how a company would use Windows 8. So far, the only products available so far have been Developer's Preview and Consumer Preview. Consumer Preview is an equivalent release as to the retail/OEM versions of "regular" and Pro versions. There has been no publically released version of Windows 8 Enterprise Beta. Microsoft already doesn't want companies to be using the retail equivalent versions of Windows 7 (Home Premium, Pro, Ultimate) in the Enterprise as they are not licensed as such. We get a lot of customers that buy these wrong versions of Windows for business use, then complain why things can't be done for them. Its because its the wrong SKU. Seeing people complain about how businesses are getting shafted because they see themselves adopting the consumer versions of Windows just shows how some of these writers (and companies) are still living in the past. I do not currently have access Windows 8 Enterprise builds so I can't compare to see how they are different.
-
You can check the two stickies in this forum. http://www.msfn.org/board/forum/66-programming-c-delphi-vbvbs-cmdbatch-etc/ Most of our batch (or .cmd) topics go in that section.
-
Iron Maiden - The Nomad
-
HTA Animation
Tripredacus replied to dcistech's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Hmmm if it helps any, here is some AutoIT code that mentions the Progress tracking ability of the GImagex_COM.dll. Set objWIM = WScript.CreateObject("GImageX.GImageXCtrl", "objWIM_") objWIM.Source = "test.wim" objWIM.Destination = "c:\test" objWIM.ImageIndex = 1 objWIM.Check = TRUE objWIM.Verify = TRUE objWIM.ApplyImage WScript.DisconnectObject objWIM Set objWIM = Nothing Sub objWIM_Progress(Percent, TimeRemaining) WScript.Echo Percent & "% - " & TimeRemaining & " sec(s)" ' Abort the operation by using the line below 'objWim.Abort = TRUE End Sub Sub objWIM_ProgressInfo(Info) WScript.Echo Info End Sub This should look familiar as it looks like Geezery adapted the DLL functions (including example names) to VBScript for this HTA. A user on AutoIT forums have reported his VBScript example works, but the AutoIT one does not. Take a look (although the VBScript example is further up) http://www.autoitscript.com/forum/topic/111922-gimagex-comdll-how-to-manage-events-with-objevent/page__view__findpost__p__784958 -
Looks like the download is bad. Download it from Microsoft instead of that other website and try again.
-
Do you not have a password on that account?
-
Did you try this already? http://blogs.technet.com/b/sbs/archive/2011/07/06/potential-issues-after-installing-sharepoint-foundation-2010-sp1.aspx Are only XP Clients having this problem?
-
That's why I use Winamp with my iPod!
-
Any programmer think to make a winpe builder?
Tripredacus replied to Kullenen_Ask's topic in Windows PE
This is a last warning. Keep it on topic for Kullenen_Ask wants something different. This isn't going to be a place to advertise other projects and definately not to start arguments. So keep to the topic at hand. -
Yes, I guess I am an old timer now. After I installed Diablo III, it says "oh hey there is a new driver available for your video card" and I say "NO!" I did a (well peimg) integration of a Radeon driver on a Vista image by installing the software on a system, and then use the old Driver Magician to get the driver file to inject into the wim.
-
HTA Animation
Tripredacus replied to dcistech's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
I think you need to get the function of closing the progress HTA out of the main HTA and into the progress HTA. That should have no problem closing itself. Like I said, I don't use VBScript much at all, however here is a general method of what I am thinking: 1. Wait for imagex.exe process to exist. 2. Wait until imagex.exe exits. 3. Sleep 1-5 seconds. 4. invoke window.close() Now the only app I currently have that waits for a process to close concerns MSIEXEC and it behave differently than imagex does. Another possibility is to move the actuall imaging commands into the progress HTA, so it would be easier (I hope) for that to know when the imaging is done. This was what I did when I created a custom recovery partition that included a main HTA that launched a "progress" HTA. Here is it (with commands changed to xxx) <Title>full</Title> <HTA:APPLICATION ID="FsSplashScreen" SCROLL="No" SCROLLFLAT ="No" SingleInstance="Yes" ShowInTaskbar="No" SysMenu="No" MaximizeButton="No" MinimizeButton="No" Border="none" BORDERSTYLE ="complex" INNERBORDER ="No" Caption="no" WindowState="Normal" APPLICATIONNAME="FsCommandHta" CONTEXTMENU="no" Icon="%SystemRoot%\explorer.exe"> <STYLE type="text/css"> BODY { Font:9.25pt; Font-weight:bold; Font-family:helvetica,verdana,arial; Color:#000080; Text-Align:Center; Vertical-Align:Middle; Padding-Top:3; Padding-Bottom:2; Padding-Left:10; Padding-Right:10; background-image:url('resources\animation.gif') } </STYLE> <script Language='VBSCRIPT'> '-> Resize And Move Window Dim Wth :Wth = int(250) Dim Hht :Hht = int(50) window.ResizeTo Wth, Hht MoveTo ((Screen.Width / 2) - (Wth / 2)),((Screen.Height / 2) - (Hht / 2)) Dim Tmr Sub confirmation2 Dim A1 :A1 = MsgBox("Recovery Complete, Click the Restart button to continue.") If A1 = True Then CreateObject("WScript.Shell").run "fscommand\restart.exe",0,True End Sub '-> Start The First Timer OnLoad, Three Second Wait Befor It Goes '-> To The ClearTimer Function Function Window_OnLoad() document.focus() Txt1.innerHTML= "Processing The Script Function Please Wait" Tmr=setTimeout("ClearTimer()",3000) Exit Function End Function '-> Process The First Command Function ClearTimer() '-> Object To Run The First Command Hidden, Uncooment To Make Active Set objShell = CreateObject("WScript.Shell") ObjShell.run "xxx",0,True ObjShell.run "xxx",0,True ObjShell.run "xxx",0,True ObjShell.run "xxx",0,True Tmr=clearTimeout("") '-> Place Your Code For confirmation2 Here Start Call confirmation2() '-> Place Your Code For confirmation2 Here End Txt1.innerHTML= "Prepaparing To Close" Tmr=setTimeout("ClearTimer2()",3000) Exit Function End Function '-> Close The Hta Function Function ClearTimer2() Tmr=clearTimeout("") window.close() Exit Function End Function </SCRIPT> <BODY Scroll='No'><TABLE><SPAN ID='Txt1'> </SPAN></TABLE></BODY> You'll hate me for now remembering what all this code means. I built it, and then the entire concept failed regression testing and the concept was scrapped. So for example, you'll see there is a mention of a restart.exe in there. I do not know how that is called in this. The main HTA launches this progress HTA using the following function: Sub RunFull Set objShell = CreateObject("WScript.Shell") ObjShell.Run "mshta x:\windows\system32\full.hta",1,True On Error Resume Next Set objShell = Nothing End Sub -
I miss that game! Anyways, unless you are on a domain, you can turn Fast User Switching on. At least to test it out to see if that solves your logon problem.
-
There are so many little utilities that were written for previous OSes that I still use (or will call upon) that looks like it would be a pain to use on Win8.
-
HTA Animation
Tripredacus replied to dcistech's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
FYI: This discussion is a more code-oriented split off of the OP trying to adapt the GImageX HTA to show "something" for progress. Here is where that discussion starts: As I mentioned in the other thread, you'll need to have your HTA check for the presence of a process and then execute the window.close once it is determined that said process isn't running anymore. As for how to do this in VBScript, I couldn't tell you. Here is an example of how to use WMI with VBScript to verify if a process is present, however its a one time check. http://www.wisesoft.co.uk/scripts/vbscript_check_if_a_process_is_running.aspx So let's take a look at the old code that doesn't work. How exactly this translates into the gray box, I'm not sure, but I would imagine parts of this code could be used to show an HTA instead since it already does appear (usually) when the drive is being imaged. So getting this to show an animation would certainly be easier. progress.style.visibility = "visible" progress.innerHTML = "<table border='0'><tr><td>Percents completed: </td><td>Calculating</td></tr><tr><td>Time remaining: </td><td>Calculating</td></tr></table>" Now there are two Progress functions at the bottom of the HTA but they aren't called anywhere in the code. -
My implementation of using an HTA for a progress animation is easy to close because it isn't being launched from an HTA. So I can just kill the mshta.exe process. However that won't go over too well with this setup, since it would kill your host HTA too! So this is kind unimaginative but... clone mshta.exe to mshtatemp.exe. Then launch your progress HTA using mshtatemp.exe. Then when you are satisfied with your progress and you are done with the animation, then kill the mshtatemp.exe process. However, I just realised I did do this when I had built a custom recovery partition for an old client... It appears I used window.close() to kill the child HTA when it was finished. So here is that code: window.close() Exit Function End Function Now the difference with my example is that I have that child HTA actually doing a task, so it stays open until that task is complete. In your use, you could do a similar thing except you'd need to check for a running diskpart.exe or imagex.exe task, and stay open as long as those processes are running.
-
I don't use CopyProfile, but probably some use in here: or do a search in this sub-forum.
-
Its not the worst thing he could be doing... But I wonder, does a PC running a hypervisor count as a multi-boot system?
-
Well that's not really fair to single Microsoft out for that. Apple has been heavy on the mobil lawsuits as well. For example, Apple, Samsung and Motorola have been doing some court battles over stupid things as well. Such as the "look" of the devices and even dumber things like how a slider looks too similar.
-
Wait, you are not using Setup to do the install? Are you using Imagex then?
-
What account is it using? SSDP is used by XP to go out and find things in the network, and to also broadcast itself. You can try disabling the service if you want and don't think you'll need it.