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 Mike Lewis 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. KirbyWallace

    Setting IMG SRC from BinaryStream

    Consider this: foo.asp opens an ADO binary stream, reads binary data and then uses response.binaryWrite() to write that data to the response stream. All the prep is done (response.buffer=true, no other extraneous data written to the response output, etc.) It doesn't work. But I've seen...
  2. KirbyWallace

    Document Form Library shows columns not defined anywhere! WTH?

    I click on a site (Payroll site, in this case). There is a form library called Absentee Forms. I click on the Absentee Forms link. The Forms Library opens in a view called "AF Summary". There is a column called "Approval Status". But "Approval Status" is not one of the defined columns...
  3. KirbyWallace

    Can't find owner of tempdb.ndf files

    Here's my output: tempdev 1 C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\tempdb.mdf PRIMARY 8192 KB Unlimited 0 KB data only templog 2 C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\templog.ldf NULL 1024 KB Unlimited 0 KB log only tempdb1e 3 e:\database\tempdb1e.ndf...
  4. KirbyWallace

    Can't find owner of tempdb.ndf files

    @GMMASTROS Bingo! That does show these files in use by Tempdb. I guess now I am wondering why when I open tempdb properties in SSMS and choose "FILES" (between "General" and "FileGroups"), they are not listed THERE? Bizarre! I guess this is one good example of the fact that you cannot do...
  5. KirbyWallace

    Can't find owner of tempdb.ndf files

    BTW - I have dumped the contents of sys.master_files and there is no mention of these .NDF files there.
  6. KirbyWallace

    Can't find owner of tempdb.ndf files

    I have 6 tempdb_N.ndf files in a folder. We know they are in use (can't rename them, and task manager shows them in use by SQLSERVR.EXE). The problem is, we can't find which database owns them. I've looked at the filegroups for all the databases on the server, and none of them claim to be...
  7. KirbyWallace

    SQL Agent - Stacking Jobs

    When multiple jobs are scheduled to begin at the same time, how does the Agent handle this? Does it attempt to run all sequentially in a single thread? Or does it multi-thread and run the jobs simultaneously? Thanks!
  8. KirbyWallace

    Condense this?

    String[] abc = {"N",nPage.toString(),text}; vBarcodes.addElement(abc); Is there a way to condense this into something like: vBarcodes.addElement(String[] abc = {"N",nPage.toString(),text}); I've tried about every combination of parends that I can think of!
  9. KirbyWallace

    Why Static? Redeaux

    Jax... That last comment of yours and the one you made earlier were both very helpful. In fact, I wrote it down: "You can call static methods within a class without creating an instance of it." That alone speaks volumes. The fact that you can call a static method or reference a static...
  10. KirbyWallace

    Why Static? Redeaux

    Thanks all... Everyone's advice helped much. However, I still have the question, Why does the JVM think that this code is in a static context? Why do I get an error on that "MainFrame.txt_OutputWindow.setText()" line that says "Non-Static variable cannot be accessed from a static context"...
  11. KirbyWallace

    Why Static? Redeaux

    cljen: Thanks! The "make it static" thing was an immediate fix. I just need to follow Dian's advice and read up on this whole scope and visibility thing. prosper: Thanks, that code worked well. Just what I was trying to do myself! ALL: I'd still like to know why the compiler thinks...
  12. KirbyWallace

    Why Static? Redeaux

    In my attempts to escape the static dungeon in which I seem to have found myself, I've modified my previous attempt at this to the following: import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class FileToConsole { String...
  13. KirbyWallace

    Why does it think this is a static context?

    For some reason, the line "FileToConsole.fileToConsole(cInputFile);" is generating that pesky "non-static method fileToConsole() cannot be referenced from a static context" error. But I cannot figure out what makes it think .FileTest() is static. Does it consider all constructors to be static...
  14. KirbyWallace

    How can i step through java script code?

    Also, if you have Visual Studio (whether VB, C#, or any other CLR), it will popup a "do you wanna debug" prompt whenever there is a javascript error on your page. To enable it, goto Tools->Internet Options->Advanced, and uncheck the "Disable Script Debugging" option (it's in the "Browsing"...
  15. KirbyWallace

    Need to test jtextfield exists before attempt to .setText()

    Here's the bigger picture, in case you are interested. I'm still going to have a problem, but I think I can work it. The deal is that the frame I want to test for is a private member of another class. I do not think I will be able to reference it. So if you have suggestions there, send them...
  16. KirbyWallace

    Need to test jtextfield exists before attempt to .setText()

    Hey Mikey! (Bet you NEVER hear that one, eh?) Anyway, thanks, that is exactly what I was looking for. I didn't give a lengthy discussion of the program or source code 'cause I didn't want to bulk it (the message) up. But the gist of it is the startup class will check for command line params...
  17. KirbyWallace

    Need to test jtextfield exists before attempt to .setText()

    Really stuck on this one... I am about to .setText() on a textfield, but just before I attempt it, I need to check whether the field exists or not: the jFrame form that it is on may or may not be open. Any ideas? Thanks
  18. KirbyWallace

    TSQL Trigger to return alternate data???

    bborissov: That's what I thinking of too. I've already done this in other databases that have the same table. Problem is, I'm not the sole developer. There are others working in here too. If I encrypt/decrypt at the database (easily doable), then I defeat the purpose because while the...
  19. KirbyWallace

    TSQL Trigger to return alternate data???

    Is there a way to, at the database level, create an INSTEAD OF trigger (or anything else) that will prevent a query from returning the actual content of a row, but instead, return alternate data? Specifically, I want to grant developer access to query the "login table, but I want to return...
  20. KirbyWallace

    SQL Server Endpoints Deprecated... Service Broker too?

    http://technet.microsoft.com/en-us/library/cc280436.aspx "In SQL Server 2008, Native XML Web Services (SOAP/HTTP endpoints) is deprecated; Native XML Web Services will be removed from a future version of SQL Server. Plan to convert your existing SOAP/HTTP endpoints to use Windows Communications...

Part and Inventory Search

Back
Top