If you mean a "springy" form resizing tool, there is much code out there, and several tools as well ... Here is a google search[^] for you. And in VB.NET, the forms can be layed out to do just that.
"The greatest danger to humanity is humanity without an open mind."
- Ian Mariano
http://www.ian-space.com/
PLEASE respond to forum Golfmaltais wrote: not valid with type of 'Integer' and type of 'DataRowView' Hold on! I've only just clicked on to this DataRowView thing. How is ListBox2 defined? A ListBox item should be of type Object. A DataRowView is an item of a DataView. [edit]I have this question wrong. I should be asking "How is ListBox2 populated?"[/edit] Paul Why don't you take a good look at yourself and describe what you see - Led Zeppelin, Misty Mountain Hop
Try specifying the property of the object you are referencing in: sum = sum + ListBox2.Items(ListBox2.SelectedIndex). In VB6 each data type had a default property, and I don't think VB.NET has this so you need to indicate which property you are reading from. Is it numeric? HTH Andy
Go to the property, mark all the text with the mouse and press DELETE. It's strange, but it's this way... lazy isn't my middle name.. its my first.. people just keep calling me Mel cause that's what they put on my drivers license. - Mel Feik
Some of the system settings are read from the registry ONLY during windows logon/boot-up. That's why some apps force you to restart Windows after installation. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
drmzunlimited wrote: plz help me with input validation in textbox with VB.NET What part of this are you actually stuck on??? Nick Parker
May your glass be ever full. May the roof over your head be always strong. And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing
Hmmm... you emailed me, but no message here. Oh well - hopefully this helps. Sorry, I didn't realise you were asking for code, as your question only asks how to do it. What I do (but perhaps I shouldn't spread this possibly bad practice) when I need code for VBA is open the program (in this case Access) and start recording a Macro. Then perform all the actions for importing the excel spreadsheet to an Access table. Stop recording the Macro, view the Macro code - it will give you everything :-D Hope that is of more use to you :)
I've always heard that there was an idea behind Win ME... I still can't figure out what that was... anyboy know??? I;ve herad the idea was that it was supposed to be n operating system but I doubt this. - Brian Delahunty
If this is for VB6, just use the 'Windows Media Player' ActiveX. To insert it in VB, go to the menu Project->Components, then select the 'Windows Media Player', then OK. This will add a component that you can put on your form. Then, go through the properties of this component to load your movie. Hope this helps ! Jerome
JS, I had a similar problem and wrote a VS addin to try and address this. It can be found at http://ncomment.sourceforge.net/[^] It is still in Beta, my apologies if you find any bugs in it. Let me know what you think. I am also working on a macro to add comment blocks to the top of functions. Ben.
Vipul, You have now sent me three email messages asking how to do this. As I have previously pointed out, I do not reply to questions sent by email unless they relate to an article or code sample I have published. You have posted the question to several different forums. If someone knows the answer, they will no doubt post a response. If you continue to email this question to me, I will report you for sending Spam. Richard
You can use the OleDb ADO.NET classes to access both MS Access and Excel datasources... it's works in pretty much the same way as the SqlDb classes when accessing a SQL Server database. The hard part is the connection, everything else is pretty much the same as importing/exporting data from other datasources... See these knowledge base articles if you need more information and sample code... HOW TO: Query and Display Excel Data by Using ASP.NET, ADO.NET and Visual Basic .NET - http://support.microsoft.com/default.aspx?scid=kb;en-us;Q311731 HOW TO: Use the ODBC .NET Managed Provider in Visual Basic .NET and Connection Strings - http://support.microsoft.com/default.aspx?scid=kb;en-us;Q310985 The last one is an example of connection strings for many different db types. It uses OdbcDb but can easily be changed to OleDb, if you please. steve