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
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...
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)...
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...
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 :)
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...
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"...
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...
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...
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...
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
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
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...
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...
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...
Hi all,
I have the following string stored in an asp variable:
myString = "some regular html <script language =""javascript"" src = ""aVar.js""> some more html"
aVar.js contained within the string is a variable and will change(eg: aVar.js will...
Hi all,
The following JavaScript stops the alert box being used on a page:
<SCRIPT LANGUAGE = "Javascript">
window.alert=null;
alert("This alert will not show");
</SCRIPT>
If you run the above code you will not get an alert box. Is there a way to reset the window.alert...
Hi all,
myWord = "hello"
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.