Answer Questions
Ayo Soul Region for title bar button addition?
I have a form. I want to add a button to the left of the minimize button. Are regions the answer Can I have my exsisting form as one region without changing it's normal current appearance - I dont want to change the shape of&nb ...Show All
Sathianantha Thilagar T Manually wrap a string
How do I manually wrap a string I want to popup a help text as a ToolTip on a TextBox, but I do not know how long this string is in advance and as the ToolTip does not have a maximum width with autowrap it might look pretty ugly to have an 800 pixel wide ToolTip with one line. So it seems that I have to break the string myself. How do I do this, if I want to break it after a full word every, e.g. 250 pixel One way I guess is to create a ...Show All
Kanchi Harish Problem to get the information about user name while using windows service
Hello, I'm using WindowsIdentity.GetCurrent() to get user name of Logged User in Windows. And I got the correct result (the current user's name was displayed) But if I use it with windows service program the result always be "System", not the current user who logged in windows. How to solve this problem Is it possible to get the information about user name while using windows service Hi, Were you able to solve your pr ...Show All
anfortas Problem with designtime support for controls with collections
Hi guys, I wanr to write a Control, which allows me to add Columns at designtime. Similar to the ListView Control. I have implemented 3 classes: VTraceColumn (has Informations about the columns) VTraceColumnCollection (this is the collection class) VTrace   ...Show All
tex77 Scrolling textbox
I'm using Windows Forms 2.0 (Visual Stduio 2005) and cannot get characters within the textbox to scroll. I need displays coming out because it is a batch process and need to allow operators of the app to view the messages. I have the following code which I want to basically have show up in the window like so: line1 line 2 etc. <code> TextBox1.Text = ControlChars.CrLf & "Retrieving Search Definitions along with th ...Show All
Pdoh Smart Client Offline Application Block (SCOAB)
where can i donwload this app block i didnt find it any where .... Are you asking for a .Net 2 version Might not be out yet. If .Net 1.1 is ok you'll find it here: http://www.microsoft.com/downloads/details.aspx FamilyId=BD864EB5-56B3-43A5-A964-6F23566DF0AB&displaylang=en Bye, SvenC Hi, More info regarding the same: Documentation on MSDN: http://msdn.microsoft.com/library/ ...Show All
musosdev move a form without the title bar code taken from microsoft game example
Public Class MainForm Dim matrix As Guid Dim score As Integer = 0 Private mouseOffset As Point Private paused As Boolean = False Private isSoundOn As Boolean = True Private Sub Form1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase .MouseDown mouseOffset = New Point(-e.X, -e.Y) End Sub Private Sub Form1_MouseMove( ByVal ...Show All
LPATTERSON Drawing an custom icon in the caption area of a form
Is there any way to draw an icon, or image in the caption area of a form to the left of the 'X' close button Or perhaps add my own button there instead of an image It would also be cool if I could replace the 'X' close button with my own close button [ DllImport ( "user32.dll" )] static extern IntPtr GetWindowDC( IntPtr hWnd); // draw the auto hide icon to the left of the close button ...Show All
Chris Walton Insttal problems
Hi ! Sorry for my bad english.... I try to install Taskvision sources.... I've got error on install without error message, i'don't know why it does'nt install.... All requirements are ok on my computer... So why you don't simply zip files Thanks in advance Alex ...Show All
Kent Liu Putting classes using MS Office into the Global Assembly Cache
I've created a class in VB.net that uses MS Word via Automation and which I wish to use with several Win Forms apps. Unfortunately, when I attempt to give it a strong name (after setting Assembly: AssemblyKeyFile in the AssemblyInfo.vb file) I ...Show All
imaheshbabu MultiThread in VB.NET
Hi I want to make an application in VB.NET and I want this application to work as follows, There will be an array of items on which I want to perform a specific operation (MyTask), with the help of multiple threads. for example say the ...Show All
ncorreia7 Best practice when passing values between forms
Hi, I want to pass values between forms using public properties. e.g. I want to pass "Supplier Name" from form 'A' and display it in a text box on form 'B' What's the best practise for setting the value on form 'B' Do i set the value directly from within the property or do i use the form load event to display the recieved property value Like so: Public Property SupplierReference() As String Get Return ...Show All
skyapie code generation at designtime
Hi, by default vs.net generates a handler for the click or paint events when doubleclicking a custom component in designtime. I have a control that contains a few components when i doubleclick the control in designtime , i want to generate code for an&nb ...Show All
Geoffrey Tseng How to resize button to follow Text at runtime?
Hi everybody, Is there a function or property to set Button size to folow the length and size of its text at runtime For example at runtime, I set Font of Button to a size of 20 and has veriable length of Text, I want the button to be able to display the text clearly and whole text is displayed. How do I do that automatically This is all in VB.Net. Thanks. den2005 Is there a AutoSize property in a Widn ...Show All
Jim Nakashima - MSFT CHild close when parent form closes
Hi all, I have a parent form that instatiates and shows a child form. Is it possible to have the child form close when the parent form closes Is there a setting I should set for this to occur. Thanks for your time in this. ...Show All
