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

    Timeout question

    On my Websphere console, I'm setting the timeout for anyone hitting the site to 15 minutes. Does this mean that the session is still alive for 15 mins even if they leave the site after 2? Reason being, I allow 1000 concurrent sessions, and in peak times this does come close to the knuckle -...
  2. chris921

    Differences when running SPROC locally, or over a WebPortal

    Hi I'm running a stored procedure through my C# code and when I run this locally, the stored procedure works correctly. However, if I compile my C# application (builds successfully) and then run it remotely through its URL, the stored procedure doesnt run properly. Its not the code, or...
  3. chris921

    Check existence of field in Access Database

    Hi - I've got a VB6 program which runs with a database back-end. I would like to implement a module that checks for the existence of fields in the database, and if they're not there, create them using a simple SQL query. The creation of the fields is easy, however I'm struggling on how to...
  4. chris921

    Selecting most recent document

    Hi My program opens Microsoft Word documents and allows the user to choose from a combobox in the program what codes to insert to the document. However it only works correctly for the first opened document (ie works fine if no other word docs are open prior to running the program but if they...
  5. chris921

    PHP MySQL Record Issue

    Hiya I'm new to PHP and sorry if I'm asking a stupid question. Right my problem... I query a table and return a summary of each record as a row in a html table. Next to the summary I want the user to be able to select a link which loads a new page displaying the complete records details. My...
  6. chris921

    Inserting text - would like it to be a merge field...

    I am inserting text into my document via a vb6 program - it does this just fine (when I press the button, it inserts the text as required). However, I'd like it to insert a mergefield (its a letter customisation program) - but I cant seem to do it. Below is the slice of code that does it...
  7. chris921

    Enter text into Open Word File

    Hi, I have the following bit of code, that enters text into a blank word file when opened. Set word_server = CreateObject("Word.Application") word_server.Caption = "My Document" word_server.documents.Add , , wdNewBlankDocument, True word_server.activedocument.PageSetup.Orientation...
  8. chris921

    Not allowed when connection is closed problem

    Combo1.Text = "Select Stage" SQL = "SELECT * FROM STAGETEMP where wfname = '" & WorkFlowName & "'" If Temporary.TemporaryData.State = 0 Then Temporary.TemporaryData.Open End If rsStageTemp = Temporary.TemporaryData.Execute(SQL, adOpenForwardOnly, adLockReadOnly)...
  9. chris921

    Sorry! Simple question!!

    Can someone explain the use of $ in VB6 to me? I've pretty much been thrown in the deep end in with a company (Java Background for me) so just a brief explanation of its use and functions if possible? I've tried googling it but it doesn't like the use of $ sign. Thanks!!
  10. chris921

    Deleting records from database

    Is there an easy way to delete records from a database? Many thanks, *Frustrated* Chris
  11. chris921

    Installing VB.net

    Can someone give me a link where to get VB.net from so I can program in it, provided its free of course :-/
  12. chris921

    Multiple class problem

    Hi, I'd like to use my program to take a selected file (from the first batch of code) and play it using the player made in the second lot of code here. I was wondering if anyone can see where I'm going wrong? Ive removed the file path but that wasnt the issue public VideoListFrame() {...
  13. chris921

    Displaying Videos in JEditorPane

    Hi - I've got some HTML files that my program reads - some of which contain videos. My program won't allow me to show any of these videos (they work when I run IE, so it isnt the HTML its the Java) Now I'm wondering if it is actually possible for Java to display these videos, and if so, how...
  14. chris921

    Inserting into table of references

    INSERT INTO TABLE (SELECT p.relates_To FROM Player p WHERE PlayerNo = 1) (SELECT REF (ap) FROM freeagents fa WHERE freeagentsno = 1); CREATE TABLE freeagents OF freeagents_t ( freeagentsno PRIMARY KEY, SCOPE FOR (relatesTo) IS Player, SCOPE FOR (sold) IS SoldPlayer_table, SCOPE FOR...
  15. chris921

    Scene Tree Assistance?

    Hi I need to make a scene tree for a game thats being made - can someone provide simple pseudocode of what this is exactly to someone who hasn't a clue?! Thanks in advance
  16. chris921

    Pointer Manipulation

    Hi, I have 3 pointers on the same linked list, named ptr, ptra, ptragain. I'd like to be able to swap data from ptr to ptra, and from ptra to ptr, thus the need for the temporary ptragain. Here is a slice of the code, that throws a Segmentation error. Can you help me with this please? Cant...
  17. chris921

    JTree - Saving Changes

    Hiya, Just wondering if theres a method that allows you to save changes to a JTree - such that the changes will be still there following closing of the file and reloading? Thanks, Chris
  18. chris921

    Checking for integer, not string etc.

    Hi, Its just a small problem I'm having now with a program I've got. I've got the input from the user (which is required to be an int) - how can I put my own error message on the screen if they enter a String etc? Id just like to know if theres a simple and quick way around this? Cheers, Chris
  19. chris921

    Back and forth using stacks

    ActionListener listenerB = new ActionListener() { public void actionPerformed(ActionEvent ev) { try { fStack.push("http://" + address.getText().toLowerCase()); html.setPage((String) bStack.pop()); } catch( Exception ex ) { new...
  20. chris921

    Finding average, flooding table

    Hiya, I was wondering if its possible to find the average price (in my case the average price of footballers sold per football team) and sort it so I can say the average price sold per player at Man United is £11,000,000 or something? I want to create a new column called average price and put...

Part and Inventory Search

Back
Top