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 SkipVought 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. shaddow

    Change the content in a div from a menu

    You can also use an iframe in that main content div, name it, and use it as target on thos links. Only problem is that if the content is big enought it might scroll the iframe. Or you can use javascript and Ajax as Spork52 mentioned. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  2. shaddow

    Can someone tell me what i'm doing wrong

    You should use it like this SqlParameter wellName = new SqlParameter("@wellName", SqlDbType.NVarChar, 50, ParameterDirection.Input, true, 0, 0, "wellName", DataRowVersion.Current, cmbWellName.Value); ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  3. shaddow

    To Close Text File or Not To Close

    I would recommend that you open/close the file if you dont have to many writes on that file. You can also use File.AppendAllText method if youre using framework 2.0. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  4. shaddow

    hints please on error

    I want to add one more observation if(isset($_SESSION['loggedin'])) { if($_SESSION['loggedin'] == TRUE) $admin = TRUE; } As you can see { } pair represents an scope, and so anything outside that scope is not declared outside, if you want to use that variable out of scope you had to...
  5. shaddow

    Count the number of files that are recursively searched for.

    Well if the function works to display data, then it's good. Problem is that in a recursive function when you return a value in an recursion step it usualy be returned each time you will leave that step so if you have a folder tree with 3 depths you will have that value 3 times, so to avoid that...
  6. shaddow

    Adding Multiple records

    You could try to use this code and see how SQL with error looks like. Also some tips in there. Dim arr_ids, conn, conn_str, sql_update Function CleanInput(strReqName) CleanInput = Replace(Request.Form(strReqName),"'","''") End Function Function CleanInput1(strReqName) CleanInput =...
  7. shaddow

    image download dialog

    You should try with some static file like in this example fn = "loading.gif" FPath = "C:\temp\" & fn Response.ContentType = "image/GIF" ' arbitrary Response.AddHeader "Content-Disposition","attachment; filename=" & fn Set adoStream = CreateObject("ADODB.Stream")...
  8. shaddow

    The include file '../include/inc_security.inc' was not found.

    You also can check if you have Enable Parent Paths if you use it on IIS 6. That's the usual problem with asp on IIS 6, you dont have access to ".." parent. Check on Home Directory -> Configuration -> Options. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  9. shaddow

    Strongly typed data set connection string question

    You can check this link http://www.thescripts.com/forum/thread446374.html for an alternate solution but it will require to change the designer code You can also add 2 entries as connection strings examples and then change the designer code in InitConnection() based on computer name or whatever...
  10. shaddow

    Stored image and display into a control.

    Well i've used some of those examples and wizards and i saw in the end that bitmap files can easy be binded directly to binary field. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  11. shaddow

    Stored image and display into a control.

    Thanks for the fast reply, well i was affraid it would come to that. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  12. shaddow

    Stored image and display into a control.

    Is there an easy way to save an image into binary field and then to display stored image an image control? Using VFP 9.0. PS: it seems that search feature doesnt work. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  13. shaddow

    Force Completion of function without thread swaping?

    I'm not shure that this would be any help but in net 2.0 you should be able to change thread affinity, there for assigning each thread to an CPU. Well at least i use that on Task Manager sometimes for different applications. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  14. shaddow

    Atlas : What are your experiences so far?

    I havent used Ajax in more then some simple stuff, but i've used Atlas in some projects i had. So far so good since i've mostly used server side Atlas. It looks verry promissing to bad that it lacks a complete documentation yet. So small projects, custom controls and such worked fine using...
  15. shaddow

    Parameter converting problem in a reflected method

    You could take a look here and find a way maybe. http://msdn2.microsoft.com/en-us/library/zah6xy75.aspx Also you could use [MarshalAs...] attribute, i knw i had to use it. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  16. shaddow

    Parameter converting problem in a reflected method

    I've had a similar problem with a project of mine when i was trying to control and get data from a device driver. The only solution i've managed to find it was to dynamicaly alloc memory for the structure, pass the pointer to that memory, and then Marshal it back to the structure or parse it...
  17. shaddow

    AJAX Datagrid Refresh

    Take a look here then http://www.ajaxpro.info/default.aspx?old=ajax ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  18. shaddow

    Writing to a file on page load

    Well i think you gonna need to get the file fullpath in order to create it inside your web project. Never had this problem with Windows Applications. Try to use this string fPath = Server.MapPath("file.txt"); //or string fPath = Server.MapPath("file_folder/file.txt"); ________ George, M...
  19. shaddow

    Writing to a file on page load

    You could allways try to add Everyone create/write/modify file rights to a folder inside your project and test with it to track down your problems. ________ George, M Searches(faq333-4906),Carts(faq333-4911)
  20. shaddow

    Parameter converting problem in a reflected method

    Not shure but you can try to send it using ref or an IntPtr to that object using Marshal class to get that pointer. ________ George, M Searches(faq333-4906),Carts(faq333-4911)

Part and Inventory Search

Back
Top