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

    Disable listview column resize?

    Hi all, How can I disable the users ability to resize columns in a listview control? Disabling the whole listview control, or setting the column headers to nonclickable are not options as when the user clicks the column headers I sort the columns. Thanks, Matt Scotney
  2. mattscotney

    Ms Access date format?

    Hi all, I am trying to update my Access database through vb.net using the following sql statement: Dim myDate As Date = Date.Now selectString = "INSERT INTO Purchase(ClientID, Date) VALUES (50, '" & mydate & "')" updateDB(selectString) The Date field in access is...
  3. mattscotney

    Rotate an ellipse?

    Hi all, I can draw an ellipse like this: myGFXobject.drawEllipse(myPEN, x, y, width, height) How can I draw an ellipse rotated around its center by a 45 degree angle? Is it possible to draw an ellipse using a series of points? (Simular to drawing a diamond using the drawPolygon method)...
  4. mattscotney

    Disable control events or disable procedure

    Hi all, Is it possible to disable specific events of a control while another procedure is running? eg. Disable a the valueChanged event of a Horizontal scroll bar. I am not trying to disable the actual control itself, only disable specific events while another procedure is running. Another...
  5. mattscotney

    Can scroll bar store decimals?

    Hi all, How do I change the type of a horizontal scroll bar value type (hsb.value) so it can accept decimal numbers? I have tried assigning decimals to the hsb like this: hsb.value = 3.5 but the value that gets stored in the hsb is 4. How can I make the hsb store decimal numbers? Thanks :)
  6. mattscotney

    Convert HSB to RGB

    Hi all, I can get the hue, saturation and brightness of a color using the following code: hue = Color.FromArgb(r, g, b).GetHue() sat = Color.FromArgb(r, g, b).GetSaturation() bri = Color.FromArgb(r, g, b).GetBrightness() But how do I convert the hue, saturation and brightness levels back to...
  7. mattscotney

    Naming array index

    Hi all, Is there any way to name the array index? example: dim myArray(3) myArray(0 := a) myArray(1 := b) myArray(2 := c) myArray(3 := d) Then to assign elements using the created index: myArray(a) = "apples" myArray(b) = "bananas" myArray(c) = "cherries&quot...
  8. mattscotney

    Use Like "*a*" in case statement

    Hi all, How do I use the like statement within a case statement to catch wildcards? This is how I think it should be done but it does not work: Select Case docTypes Case Like "*egg*" 'Do something.... Case Like "*tea*" 'Do something else.... End Select Thanks...
  9. mattscotney

    Color Dropper Tool

    How do I create an color dropper tool? The user clicks a button, the mouse cursor changes to an eye dropper tool, a panel changes to the color of the pixel at the mouse position as the mouse moves around the screen. I need the code to get the color of the pixel at the position of the mouse...
  10. mattscotney

    Tab control item on all pages?

    Hi all, How do I make the one panel or picture box visible on all pages of a tab control? Thanks in advance, Matt Scotney
  11. mattscotney

    Corrupt file - please help

    Hi all, I have just finished reinstalling all my applications after a hard drive meltdown. Everything is now back to normal, well almost. When installing Visual Studio .net from the CD I get a major error with the msvcp70.pdb file, the application then rolls back the installation. If I try...
  12. mattscotney

    Assign status bar text to a variable?

    Hi all, How do I assign the status bar text to a variable? I tried the logical way but it does not work: x = window.status; alert(x); Any help would be greatly appreciated. nb: I am not after a method to change the status bar text. Thanks in advance, Matt Scotney
  13. mattscotney

    Php live support solution

    Hi all, Does anyone have a spare copy of the Php live support script: http://www.phplivesupport.com/ or any simular script to provide real time customer support? Thanks in advance, Matt Scotney
  14. mattscotney

    Stop popup window mania & frameset breaking

    Hi all, I use two seperate auto surf programs running out of the same page using iframes to generate traffic to my site. Every now and then some goose breaks the rules and I am flooded with endless popups. I try to report the offending sites, however by the time I have got out of popup mania...
  15. mattscotney

    Advanced exit popup windows.

    Hi php coders, I have a site with around 16 pages. Each page on my site has the my standard nav bar with 15 internal and 2 external links. I want code using mostly php to create a true exit popup window. The popup window should not appear if the user clicks any of my defined internal or...
  16. mattscotney

    Forcing a table to 100% height

    Hi all, How do I force a table or cell to 100% height using Netscape 6.x? Thanks, Matt Scotney
  17. mattscotney

    http://www.penismagic.com/template.htm review

    Hey everyone, I have designed my new template, and would really like some inspiring ideas for how to incorporate a navigation bar into my site. Please view my template at: http://www.penismagic.com/template.htm and tell me what you honestly think. If you dislike it TELL ME but make sure to...
  18. mattscotney

    Advanced string manipulation??

    Hi all, I have the following string stored in an asp variable: myString = &quot;some regular html <script language =&quot;&quot;javascript&quot;&quot; src = &quot;&quot;aVar.js&quot;&quot;> some more html&quot; aVar.js contained within the string is a variable and will change(eg: aVar.js will...
  19. mattscotney

    RESET window.alert=null???

    Hi all, The following JavaScript stops the alert box being used on a page: <SCRIPT LANGUAGE = &quot;Javascript&quot;> window.alert=null; alert(&quot;This alert will not show&quot;); </SCRIPT> If you run the above code you will not get an alert box. Is there a way to reset the window.alert...
  20. mattscotney

    charAt in vb ??

    Hi all, myWord = &quot;hello&quot; Is it possible to see if a character is at a specific position in a string without using an array? EXAMPLE: If the character at position 2 is an e then change the character at position 5 to an x. In Javascript you could use the following code: If...

Part and Inventory Search

Back
Top