Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


  • Content count

  • Donations

  • Joined

  • Last visited

Community Reputation

0 Neutral

About RayOK

  1. The easiest workaround for the black background to checkboxes/radio buttons is to put those controls on a picture box then the picture box on the frame. And any time you use a manifest file the best way is through a resource file but one essential step is to init common controls, explained here: http://www.vbaccelerator.com/home/vb/code/..._VB/article.asp
  2. If you want to center an element using CSS, do this: In Firefox, Opera and others add style="margin: 0 auto;" to the element you want centered. In IE, add style="text-align: center;" to the parent of the element you want centered. Hope that helps! Also I suggest you validate your code to find errors and if you're just starting out, at least learn from the code of a program like NVU. And, that little square is probably the <img> before your blue text.
  3. Ahh.. then in that case, this MSDN page is the best place to start. I've used Winsock 2 the most (along with a little WinINet for a downloading program). That's why I mentioned Winsock. Covers most everything I need for a communication program via TCP and/or UDP packets. Supports other protocols of course. Well, that's about it on my side, unless you need some help with Winsock some more
  4. Here's some linkage on Winsock http://www.programmersheaven.com/zone15/ar.../article324.htm
  5. enhancing media player classic

    Also, about the best mixer I've seen for MPC is MatrixMixer. Supports 5.1 and all that spiffy stuff. Included in the mega klite codec pack too, so it always gets installed for me
  6. You can use the CSS overflow property.. Like so.. More info here <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Test</title> <style> p { /* the width/height you want */ width: 500px; height: 100px; overflow: auto; } </style> </head> <body> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer tincidunt nulla laoreet magna. Vivamus auctor cursus turpis. Aenean porttitor sapien et pede. Morbi porttitor, lacus at accumsan ultrices, velit mi molestie quam, quis nonummy purus pede ac massa. Nam et nunc. Donec nec lacus sit amet orci dictum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Praesent enim turpis, commodo quis, posuere nec, porta at, ipsum. Suspendisse fringilla augue eu orci. Ut non nibh. Aliquam et libero. Aliquam ultrices. Suspendisse eu purus vitae erat ultricies adipiscing. Sed quam. Aliquam cursus interdum sem. Curabitur pulvinar, erat quis malesuada sodales, nunc justo blandit odio, sed molestie libero mi venenatis nulla. Aliquam erat volutpat. </p> </body> </html> Err.. might have misunderstood you. Was thinking html/css and not flash for scrolling. Dunno anything about Flash
  7. Hmm.. I do see a problem with the logic. I see that if your first if statement is true and executes, the 2nd one will too. Because, if minimized set to normal, if normal (yes.. it was just set) set to minimized. To me, once you minimize it, it will never become normal/restored. My guess would be to use an else instead of another if statement. Eg.. Might work if (WindowState == FormWindowState.Minimized) { Show(); WindowState = FormWindowState.Normal; } else { Hide(); WindowState = FormWindowState.Minimized; }
  8. CSS Help

    What you'd have to do is define a different class or id for each tag and page that has a different background. For example, if the background image is defined in the body tag, via css, you'd have to give each page's body tag a different id/class. The difference between id and class is that ids only show up once in html/css whereas classes can be defined for multiple tags. Also in plain html ids can be used for other attributes. And the advantages of classes is you can easily assign css classes to any tag with javascript (className='something'). Anyway, here's an example that I hope helps.. And I'm happy to help more if you're stuck. Also, check out this resource on how the background css thing works. html pages: Page 1: ... </head> <body id="page1"> ... Page 2: ... </head> <body id="page2"> ... Page n: ... </head> <body id="pageN"> ... style.css #page1 { background: url(images/page1bg.jpg) no-repeat; } #page2 { background: url(images/page2bg.jpg) no-repeat; } #pageN { background: url(images/pageNbg.jpg) no-repeat; }
  9. Ahh thanks Yzöwl! That works perfectly. Don't have to change anything but add a few characters to the end. Where is all this stuff documented anyway? I searched for a while and didn't find much info about advanced topics like this. Any good sites you know of? John McGuire, I tried yours too but it was too much work for my lengthy script. I would have to do the if errorlevel thing for almost every command. Don't even think it outputted the error to the same file in the correct location. Still, more than I thought of. Thanks tho.
  10. I haven't got to installing my latest disc with the DriverPacks on a real PC yet, only in VirtualPC. But I too am having a problem with #5. Yep, I'm using method 2. To do some testing as why, in my cleanup.cmd I had it run attrib to remove readonly or something, then try to delete again, again with no success.. Like so: ( ATTRIB -R -S -H %SYSTEMDRIVE%\D /S RMDIR /S /Q %SYSTEMDRIVE%\D ) 2> %SYSTEMDRIVE%\error.txt And attached is the error.txt it produced.. Process in use? What process? May help anyway For the steps I took, goes like so: - started with XP Pro SP2 - nLited with RyanVM 2.0.1 plus a few control panel addons - ran the scripts and integrated all the latest driver packs using method 2, RunOnceEx, dont keep the drivers - hacked OOBE so only the user creation is left over, created someone - it logged in automatically as that someone and ran RunOnceEx error.txt
  11. What I do is keep the OOBE and just modify it to only keep the user creation using this method from xenogen. And since there is a password on the administrator account but none on the users that were created, it logs in as the top user specified in the OOBE. Works fine (now if I could figure out how to modify that crappy blue background from the OOBE.. which file anyone?)
  12. In my unattended .cmds I want to be able to log both the success and errors to one log file. With a little testing I can output success or errors but not both in one file.. How would do I output everything to one file? This is about what I have so far.. (the extent of my cmd/batch scripting knowledge ) ( echo. :: would also like to stick the next 3 lines on one line but not important echo Setup Log File Date /t Time /t echo. echo Copying somefile.. copy somefile.txt somefile2.txt echo. echo Deleting that file, just testing.. del somefile2.txt echo. :: should log an error but does not.. help! echo Deleting a file that doesn't exist to test del nosuchfile.txt echo. ) > log.txt Thanks for any help
  13. Welcome to MSFN! Ahh, sounds like the OOBE. Pretty sure you can disable it through nLite or a few fixes, but I use this method by xenogen: http://www.msfn.org/board/index.php?showtopic=10799 It takes everything out of the OOBE except the user account creation. And when I'm done with that its setup to auto login with the top user. Then finally a registry tweak to disable the auto login, for me.
  14. If the item will be a link, <a>, then you could use :hover in CSS like so: <style> a { background: blue; } a:hover { background: white; } </style> You could use :hover with other tags, but it won't work in IE, it only recognizes a:hover.. The more compatible method would be javascript + CSS (DHTML I think its called), like so: <style> span { background: blue; } .whitespan { background: white; } </style> </head> <body> <span onmouseover="this.className='whitespan'" onmouseout="this.className=''">Text..</span> Hope this makes sense and helps..
  15. Hmm.. deviantart uses a lot of code. So poking through it for me would take a while. However, here are a few good articles from A List Apart, an excellent design site. CSS Drop Shadows CSS Drop Shadows II : Fuzzy Shadows Onion Skinned Drop Shadows