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 strongm 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: *

  1. northrd

    vb 2005 CR 2005 - custom paper size

    OK After chasing my tail endlessly and bumping into a plethora of similar posts from similarly lost souls I have decided that its just a waste of time pursuing this. CR is great if you want to print to "standard" paper sizes but rubbish if you want to print to labels on a Zebra thermal printer...
  2. northrd

    vb 2005 CR 2005 - custom paper size

    I am stumped. In VB6 I did this LabelToPrint.SetUserPaperSize (5 * 1440 / 2.54), (10.2 * 1440 / 2.54) And all worked well. On conversion to VB 2005 I can only choose from a set list of papersizes when I use .PrintOptions.PaperSize. I have searched endlessly and I think that I have just lost...
  3. northrd

    Stop logging backups in the System Event Log

    Wow. I just found this trick, courtesy of Greg Robidoux ( 3/18/2008 on mssqltips). If you do backups often you may see that the System event log will fill quite quickly with Backup notifications. To STOP this logging you can try this DBCC TRACEON (3226,-1) And to turn it back on DBCC...
  4. northrd

    MSSQL 2005 Password protected backup - not restoring

    Oh boy. Mediapassword <> password!!!!!!! I am an eedjit. Thanks for your time on this
  5. northrd

    MSSQL 2005 Password protected backup - not restoring

    Help!!!! I have a backup that I have created using vb 2005 with a password of "!cp0p#Adm1n1strat0r". Now, when I go to restore it I am told that the password is invalid. I am guessing that it is the "!" and "#" causing problem. any ideas on how I can resolve this? Cheers
  6. northrd

    ddl trigger on database for connect

    Hello ALL I am trying to stop the unauthorised attachment of a database. Yes, I have asked this before and yes ... I am using encryption. But I have become intrigued with tee DDL triggers. In principle I want to detach on attach, as I have scripted below Create Trigger [All_Events] On Database...
  7. northrd

    Prevent Administrator from using database

    Yeah, its sad but poorly implemented networks are a nightmare. In fact network is a poor description for the nightmares that I am encountering. Encryption, here I come. Cheers
  8. northrd

    Prevent Administrator from using database

    OK Back from a forced break. Staff probs. Thanks for your replies. Here's the problem. Microsoft, in all its wisdom, allows PCs on XP to be setup with users having administrator rights. In some businesses (possibly many?) networks are just slapped together with a "nest" of these administrators...
  9. northrd

    VB6, CR9 and annoying program crashes

    Well there ya go. RE-did the service pack 7 (well, I though that I had done it before) and voila! No crashes. For completeness, the error in the log was "Faulting application maserplus.exe, version 2009.5.0.13, faulting module kernel32.dll, version 5.1.2600.5512, fault address 0x00012aeb."...
  10. northrd

    VB6, CR9 and annoying program crashes

    Damn CR9! I can run the same report n times but on n+1 my program just crashes with that lovely windows message telling me that I may send the error to Microsoft. There is absolutely NO rhyme nor reason to it: same report, same sql stored procedure, same parameters, same every damn thing...
  11. northrd

    Prevent Administrator from using database

    My instance of mssql 2005 has no Administrator rights, ergo I have effectively "forced" a logon with user name and password. Well ... thats great for MY instance but there is nothing stopping an unscrupulous user from stopping my instance, copying the database, attaching it to an Administrator...
  12. northrd

    Create my own VFP 9.0 ole db provider DLL

    Permissions ... hmmmmm select * from openquery([fred], 'Update drugnote set dntnote="test1" where dntcode="ANPE1"') works fine but returns (not suprisingly) error 7357 which aborts the procedure. changing this to update fred...drugnote set dntnote='test1' where dntcode='ANPE1' returns Msg...
  13. northrd

    Create my own VFP 9.0 ole db provider DLL

    the current VPFOLEDB.DLL does not allow updates nor deletes with a linked server. So ... I want to create my own. Is this possible?? and if so ... how??? Thanks
  14. northrd

    Dynamic openquery - lost in the quotes!

    I have a mssql 2005 database with a linked server to a FoxPro9 database. As you can see below I just want to dynamically construct an openquery. Please help or direct me. Thanx Fetch Next from OOS into @OrderDate, @Company, @DrugCode, @Message, @QtySupplied, @QtyOrdered While @@Fetch_Status...
  15. northrd

    Only 'sa' user

    awesome Thanks
  16. northrd

    Only 'sa' user

    I am implementing a MSSQL 2005 express instance as the "back end" to my app. This app will be self-installed onto networks where (I just know) all users have been setup as Admin, therefore they can access my database with Windows Authentication: not a good thing. As I cannot change the end-users...
  17. northrd

    Better coding...?

    Golom It's a pleasure to read your code. Neat, structured, uncluttered ... how it should be for developers who will follow-on from you.
  18. northrd

    vb6+cr9 - viewer displays in font of default printer

    First I assign the correct printer to the printer object then I assign that printer to the report as with ReportToDisplay.SelectPrinter Printer.DriverName, Printer.DeviceName, Printer.Port But it VIEWS in the font of the default printer. What the &%@$? And, of course, the report prints in...
  19. northrd

    New Instance of MSSQL 2005 Express - instance number?

    I wish to add "C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\Binn\sqlservr.exe" to the firewall list of exceptions where "x" is the number of the instance. How do I determine the instance number during installation? For reference I am using innosetup.

Part and Inventory Search

Back
Top