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

    Determine Current Disk Usage

    My hosting company has a quota in place for my MS SQL server (SQL Server 2000 I think). I wanted to write a script in ASP that would determine how much space is currently being used in my database so I could tell if I need to buy more storage or clear some rows. Are there any SQL commands that...
  2. davewelsh

    DataExpress: Where Do I Put Validation Code?

    I have a QueryDataset that needs to be validated before it's committed to the database. The province field must match up with the country field. I started using a QueryResolver and it worked great. I could call resolverResponse.skip() to cancel the commit and prompt the user for changes. But...
  3. davewelsh

    Higher Resolution Graphics on Reports?

    I want to put our company's logo on some reports, but it's not looking too good. The logo was made in Illustrator so it's a vector image (should be great for scaling). In order to include it on the reports, I converted it to a bitmap at 600 dpi (the resolution of our printer). Unfortunately...
  4. davewelsh

    ShowInTaskbar = False --> Default Icon

    I don't want my main form to show in the taskbar. I want to run a NotifyIcon off of it and then use a second form for my main user interaction. When the form is set to ShowInTaskbar = False, you get a different icon in the "alt-tab menu (what's this called?)". I wanted my own icon to...
  5. davewelsh

    Using a .Net DLL in a COM Application

    I want to create a DLL in VB .Net and use it in a COM program (VFP 6.0, actually). I don't really know where to start. I've read through the MSDN library on the subject but, I can't figure it out. Can someone give an example of a VB.Net or C# DLL that can be used by COM? Also what special steps...
  6. davewelsh

    Using .Net DLLs in FoxPro 6

    Has anyone successfuly made a .Net Class Library and used it in FoxPro? If so can you provide the code needed in both FoxPro and in the .Net language of your choice? I made a Class Library that compiles and can be used in other .Net projects, but I can't seem to register it for use in FoxPro.
  7. davewelsh

    Storing Dataset in ViewState/Session

    I wrote this a few days ago, but I forgot to put in a subject heading and no one replied. Now I'm asking a slightly different question: is it feasible to store a DataSet in a ViewState or Session Variable? The reason I ask is that (I figure) some of a DataSet's benifits are lost if you have to...
  8. davewelsh

    Here's the code from my news page.

    Here's the code from my news page. I wanted to make it database driven. I don't have any experience with this, but it looks, to me, like it should work. The page loads fine and the first entry comes up. If I hit next, the page just reloads; The exception (EOF) is caught and ignored. If I hit...
  9. davewelsh

    HTTP_REFERER with window.open()

    I have a popup window working great with javascript window.open(). In the popup, I want to know where the user came from via the HTTP_REFERER header. It seems that Netscape 4 and 7 will send the header, but unfortunately IE 6 won't. I've tried both <a href=&quot;javascript: window.open('... and...
  10. davewelsh

    APPEND FROM Not Working

    I've had this problem maybe a year ago, but it stopped happening after we switched over to XP from 98. Now it happened again and I'm stumped. Here's the situation. Two files are openned exclusively, table1 and table2. I add records to table1 and then call APPEND FROM table1 when I'm in table2's...
  11. davewelsh

    CGI Timeout

    Hi. I posted this to the C++: Microsoft forum, but haven't had a reply yet. I want to make a cgi program that sends a file to the user. I have made this program and it works when I test it. (I have a 2Mbps connection and the web server is pretty fast.) I got a call from the host a couple days...
  12. davewelsh

    CGI Timeout

    I didn't see a CGI forum so I'm sorry if this is the wrong place. I have some C code that sends a file from the web server to the user. /* change stdout to binary */ if (_setmode( _fileno( stdout ), _O_BINARY ) == -1) { printf(&quot;Content-type: text/plain\n\nUnable to set file...
  13. davewelsh

    VFP 6 Slow on XP

    My application was running on a Windows 98 network and response times were really fast. After upgrading to Windows XP, all data-related operations are taking a lot longer. A simple LABEL FORM MyForm NEXT 1 TO PRINTER NOCONSOLE, which would be instananeous in 98, takes a couple seconds in XP. I...
  14. davewelsh

    Printing on a Mixed 98/XP Network

    All my labels and forms have the printer information stored in them. This way, I just ask FoxPro to print and it knows where to print to automatically. This has worked up till now, when added an XP machine to the network. This XP computer prints everything to the default printer. To get around...
  15. davewelsh

    Copy Whole Database to Another Server

    I need to programmatically copy all tables from one database to another one (thereby converting file types from SQL to Access in the process). I read about SELECT INTO and INSERT INTO, but to do this I need to know the names of the source tables. Is there a way of doing this a) without knowing...
  16. davewelsh

    using an old-style dll

    I have a dll that I used to call from C++ using exten &quot;C&quot;. It's been a while since wrote the code (since I migrated the code to VB and have been updating it from there). Now I want to bring it over to C#. I've got a start on it but I keep running into problems marshalling. Let's call...
  17. davewelsh

    Error Loading Printer Driver

    Background: I have two Windows 98 machines on a peer-to-peer network each with two printers (four total). ComputerA has two dot matrix printers and computerB has an HPIII SI and an HP 4. The HP 4 is the default printer for both computers. I also have a number of VFP reports. All the code...
  18. davewelsh

    CDO Hangs at Session::Logon

    I'm trying to use CDO to send email from my application. I have Microsoft Outlook 2000 installed, but no Exchange Server. I can do this easily using CDONTS, but the client is running Windows 98. I'm using code directly from the MSDN examples but it's not working for me. It gets to the line...
  19. davewelsh

    FrontPage Remote Authoring (Windows XP)

    I have a LAN of Windows XP computers. The one that is connected to the Internet (192.168.0.1) has IIS installed. By default the FrontPage Extensions were installed. If I open the IIS snap-in on the server and go to the &quot;Default Web Site&quot; properties, &quot;Server Extensions&quot; tab...
  20. davewelsh

    APPEND FROM Not Working

    I have some code that gets information from users and puts it in a temporary table. After all the information is entered, the data is put into the permanent table (same structure) via an APPEND FROM statement. Once or twice a month, the APPEND FROM ... statement doesn't do anything. The rest of...

Part and Inventory Search

Back
Top