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 Chriss Miller 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: GhostWolf
  • Content: Threads
  • Order by date
  1. GhostWolf

    VB.NET GdipSaveImageToStream

    I've been tasked with creating an application to allow scanning of documents and saving them to a SQL Server database so they can be queried/reviewed on demand. I've managed to modify code I've found online to scan the documents using GDI+, and successfully saved the scanned image to a file -...
  2. GhostWolf

    Programmatically create instance and database?

    First question: is it possible to programmatically create both a MySQL instance and a database within it? I'm working in VB.NET; have MySQL Connector Net v6.9.8 installed. I'd like to write a program that can create/use a MySQL database without MySQL having to be installed on the user's PC -...
  3. GhostWolf

    OleDbDataAdapter Peculiarity

    In an attempt to learn something about DataGrid usage, I'm using an OleDbConnection to an Excel, (2003), spreadsheet to retrieve data. Everything works perfectly - except for one column! string dtaFile = "d:\\d1\\d2\\s1.xls"; string cmdSQL = "select * from [Sheet 1$] where F16='NP'"...
  4. GhostWolf

    Removing Deleted Rows?

    Environment: SQL Server 2008r2 In my database is a table whose primary field is defined as [Seq] [int] IDENTITY(1,1) NOT NULL Inserting and updating is no problem, deleting I'm beginning to wonder about though. My problem is that after a row has been deleted, its index, (Seq), isn't...
  5. GhostWolf

    Word 2013 Automation: Runtime Error 4605

    I'm testing one of our vb6 programs against Word 2013, and have run into the subject error message - but haven't yet found a way around it. The program executes: Set wrdApp = CreateObject("Word.Application") Set wrdDoc = wrdApp.Documents.Open(DocName) wrdApp.Documents(wrdDoc).Unprotect...
  6. GhostWolf

    Word 2013 Runtime Error 4605

    I'm testing one of our vb6 programs against Word 2013, and have run into the subject error message - but haven't yet found a way around it. The program executes: Set wrdApp = CreateObject("Word.Application") Set wrdDoc = wrdApp.Documents.Open(DocName) wrdApp.Documents(wrdDoc).Unprotect...
  7. GhostWolf

    SQL Injection Attack

    Can anyone tell me what this code is supposed to do: 0x574 14954 464f5 22044 454c4 15920 27303 03a30 303a3 13527 I've intentionally split it into 5-character groups. I noticed it had been injected, as part of a SQL Exec statement, into an input field on one of our web pages. Fortunately, my...
  8. GhostWolf

    PrintDocument Questions

    I'm finally getting started with PrintDocument and, naturally, having trouble... I've figured out how to get text printed on a page, but am having difficulty with pagination. Our clerks handle many transactions in a day, but only some of the transactions need to be printed; the printed...
  9. GhostWolf

    AutocompleteExtender Completion Question

    I've finally figured out how to make an AJAX AutocompleteExtender work with a static method, but there's more I'd like to do with the input TextBox... What I'd like to have happen, when an empty completion list is returned, is to turn the textbox's background red to let the user know that their...
  10. GhostWolf

    Database connection error

    I've installed MySQL on our web server, (Windows Server 2008 r2), and developed a web site which pulls data from that database. From my development IDE, (VS '08 running on Windows XP), the web site behaves as it should, showing exactly what it's supposed to - but... Once the web site is...
  11. GhostWolf

    How to get rid of Web Page Has Expired error message

    All of a sudden several of our browsers, (IE 8), have begun showing this error message when the Back button is clicked. Not all of them have, though. All of the browsers are concurrently navigating a test copy of a site I'm working on. The first page of the site requests user input. Upon...
  12. GhostWolf

    ASP.NET Database/speed issue

    The front page of the site I'm creating contains a drop down list; the code-behind uses a SQL query to populate the list with almost 10,000 choices. This initial population takes almost forever to complete. I've seen mention of services and, (although I know nothing about them yet), wonder if...
  13. GhostWolf

    IE Problem?

    I've created an ASP.NET site which uses Response.Redirect to provide data to the visitor. The problem: the "Back" arrow doesn't work - from the targeted page - in IE! It works perfectly in Opera, Firefox, Safari and Chrome - but not at all in IE, (version 8). Is this something I can correct...
  14. GhostWolf

    Problem retrieving records

    I think I need an extra pair of eyes - or two - to tell me what I'm missing. Using VB6, ADO 2.5 and Access '03, I've created a small program to retrieve/update data. However, it's not retrieving! Basically, the process is: ' in declarations: ----------------------------- Global cmdSQL As...
  15. GhostWolf

    .NET IDE Problem

    How do I convince the .NET IDE to quit reformatting my CSS code? e.g, I code <style type="text/css"> .tdr { text-align: right; } .tdc { text-align: center; } .tdl { text-align: left; } </style> and the IDE changes it to <style type="text/css"> .tdr { font-weight: bold...
  16. GhostWolf

    Office Automation Problem

    I've built a little app that uses Word documents as templates for Outlook e-mail messages. Using the Word document's .Text as the e-mails's .Body, everything was working beautifully, until... The powers that be decided that our logo should be at the top of the e-mail message, and the font...
  17. GhostWolf

    history.go question

    Is there a way to determine how many entries there are in the History object? What I've finally learned is that if the command is history.go(-2) and there aren't three entries in history, the browser stays where it is - and I'd like to circumvent this possibility.
  18. GhostWolf

    Javascript Date Question

    This is my first foray into javascript, and I've hit something I'm not understanding. Searching for code samples, I found a snippet that calculated the number of years since 1/1/1970 - then modified it to show me the years, months, days, hours, minutes and seconds. And that's where I hit the...
  19. GhostWolf

    getnameinfo API

    Has anyone used this call with VB6? The gethostbyaddr call is returning names, but I just learned of getnameinfo and wonder if it returns the same names - but haven't been able to find a code sample for it.
  20. GhostWolf

    Missing API?

    I'd used the GetHostByName API a few weeks ago, successfully, but now I'm getting an "entry point not found" error message for WSock32.dll. Any ideas on what might have happened? I'm using VB6 sp6 on XP sp3, with all the latest updates. Thinking I'd messed up something in the GetHostByName...

Part and Inventory Search

Back
Top