Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: arst06d
  • Content: Threads
  • Order by date
  1. arst06d

    Help with preg_replace_callback

    Hi I'm trying to create a bit of code to manipulate text in order to do a bit of fancy css coding and produce a dropped capital wherever a user requires. eg user would input "{myCap}H{/myCap}ello World" and my function would strip out the {}tags and wrap the H in some CSS coding, then spit out...
  2. arst06d

    cPanel regular expression

    Hi Hope I found the correct forum for this query. My hosting package uses cPanel (which I believe runs PERL) and I need to set up a mail filter using a regular expression. I want to accept ONLY aaa@mydomain.com OR bbb@mydomain.com. Anything else is invalid. At the moment I have this...
  3. arst06d

    Regular expression

    Hi Hope someone can help. I need to validate email addresses so that only certain entries are accepted as valid eg abc@mydomain.com is OK, as is def@mydomain.com but anything else is invalid. would (abc|def)@mydomain.com do it? How would I write an expression to filter out anything BUT abc...
  4. arst06d

    Help with this CSS, please

    Hi I have this php page and this css Displays perfectly in Firefox 2, but not in IE7 - the background colour of the left-hand sidebar should be grey (#CCCCCC), but for some reason IE shows yellow. Can anybody please spot the problem?
  5. arst06d

    Font with texture

    Hi Is this possible using CSS? I have an image which I want to use as the texture for some text. There is the background-image property to set for the font, but I cannot get the texture to show. Can I set the font color to transparent in some way, to show the background texture? Thanks in...
  6. arst06d

    How to repair?

    Hi I have an old Pentium 3 system I am trying to recycle as a smoothwall firewall box. All installed and working fine. However, I have noticed that the heatsink & fan is not securely fastened over the cpu - one of the plastic lugs the retaining clips goes over has broken off the plastic cpu...
  7. arst06d

    Determine MAC address of network card

    Hi I have a Pentium 3 box which I want to make into a smoothwall firewall device (www.smoothwall.org). It has onboard networking and I will be installing 2 additional network cards, one for the trusted LAN zone and one for the DMZ. The two cards I have to hand do not have any indication of the...
  8. arst06d

    GetObject fails

    Hi when I run the following: <HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> <TITLE></TITLE> <% function getUserGroups(sUser) dim objGroup dim objUser sDomain = "SHBMAIN" Response.Write sUser & " - " & sDomain & "<br><br>" set objUser =...
  9. arst06d

    Check whether user is in user group

    Hi I need a script, runnable by all users, to simply display a list of all user groups they are a member of. Here's what I have been playing with so far: Dim X set X = createobject("WSCRIPT.Network") dim U U=x.UserName MsgBox "Logged In User is: " & U Set objNetwork =...
  10. arst06d

    regular expression

    Hi Can anyone please tell me whether it is possible to use a regular expression to test both for the format of a value - eg no more than 2 decimal places /\d*(\.\d{1,2})?/ as well as validating that it falls within a given range? Thanks
  11. arst06d

    umlauts, accents etc

    How can I get sql server to assume that e is the same as e with an acute or grave accent, or that o is the same as o with umlaut when querying? Something to do with collation? Thanks
  12. arst06d

    Only works if I use alert() - timing problem???

    Hi I need to print one or more access report in snapshot (.snp) format. To do this I build the Object and write it to the document. I I set the height & width then it displays fine. When I come to print it, I write the Object, grab the newly written object and try to call its print method...
  13. arst06d

    Access Snapshot Viewer

    I need to automate the printing of an Access snapshot report, using the snapshot viewer. I can invoke the viewer using: <script language="javascript"> function fnShellExecuteJ() { var objShell = new ActiveXObject("Shell.Application")...
  14. arst06d

    Access Snapshot Viewer

    Hi I need to print a snapshot report file from our intranet. I can display the report using the snapshot viewer embedded in an asp page, setting the SnapshotPath property in code. I cannot, however, figure out how to print the report automatically. i know the user can press the print icon on...
  15. arst06d

    Automating Word in Javascript

    Hi I want to open a document in Word, print it then close word. I have this working, but I want to make sure that the document is opened read-only - and I need some help with the syntax. I vb I would: dim oWord set oWord = createobject("word.application") oword.documents.open...
  16. arst06d

    Service Unavailable

    Hi My archery club web site is written in classic asp, but I want to rewrite it in .net at some point. To that end, I asked my hosting co to move my domain to a server which has asp.net v2 installed. Tell me if I'm wrong, but asp and .net should be able to coexist quite happily shouldn't...
  17. arst06d

    Transfer data across servers

    Hi I need to transfer data across servers and have run into a problem which neither I nor my infrastructure chaps can explain. I have used the Import DTS package wizard to create a new package, copying the data only from one server to the other. When I run the package I immediately get the...
  18. arst06d

    When did a user last access Database?

    Hi I have a couple of databases on SQL2000 which I don't think anybody accesses. I know you can see current database acivity in EM, but will there be a log somewhere of which users accessed the database and when? Is there some sort of logging which I can switch on for this? The access will...
  19. arst06d

    ASP.Net 2.0 Default Button

    Hi I have read that you can specify a default button by using theDefaultButton property of a form or panel, so if the Enter key is pressed within the scope of the form or panel the specified button will be 'clicked'. Doesn't seem to work. I have two panels, each containing a table and a...
  20. arst06d

    Start Enterprise Manager as different user

    Hi If you right-click on the Enterprise Manager icon and choose "Start As" you can start EM as a different userid to that which you logged on to Windows. Are there any command line options so I can do this automatically from a shortcut? Thanks

Part and Inventory Search

Back
Top