Answer Questions
Jerick06 to be able to move in & back on Forms
Hi, I have three forms "Form1", "Form2", "Form3". First, "Form1" is displayed. Then user clicks on a 'submit' button and is redirected to "Form2". Similarly the user is directed to "Form3" after a button is clicked. I redirect from Form1 to Form2 in this manner. The below given code is included in the function for the "click" event of "submit" button. this.hide(); Fo ...Show All
chmarroc Richtext box Background Image
Hi as a part of my development Project i need to show a watermark image on the richtextbox.(ie) the image should be transparent.in other words the user should be able to view the text with the background image. There is no background image property exposed. richTextBox1.CreateGraphics().DrawImage(objBitmap,-10,0, new Rectangle(0,0,richTextBox1.Width,richTextBox1.Height) ,GraphicsUnit.Pixel ); And Moreover the image should be ...Show All
Kimberly Blair Export Unbound DataGrid To CSV File\Excel with WINDOWS FORM
I've spent hours hunting around the internet to find out how to do this and i can't seem to do it. I've found endless posts on ASP.NET but im using WinForms/VB2005 I would prefer not to have to manuall configure each export process at the time as the DataGridView can be one of at least 4 different structures depending on the options the user selected to fill it. There must be a simple way of taking all records and layout and playing it in ...Show All
MarcioJAS Newbie Question - Adding a "Next" Button
I am completely new to using Windows Forms and Visual Studio. I downloaded a Sample code off of this site called "Tabbed MDI" I plan to use this as a starting point. Currently the only way to navigate from one form to another& ...Show All
VishalOnline add new record in the binding datasource using BindingManagerBase.AddNew() method
I have a data-entry type form and I created with textboxes bound to a dataset.When I use the following code to add a new row to the dataset that my textbox bound to , a new row is being added (bmb.Count will increase one) , but the postion of the bmb doesn't position to the newly added row even though I use bmb.Postion = bmb.Count-1 , the postion didn't change private BindingManagerBase bmb ; bmb = this.BindingContext[this.dsDS.T ...Show All
Brad Peterson TextBox Context Menu
How do I remove the context menu of a textbox in VB.NET How do I disable/remove individual items in a textbox context menu Will try it shortly Thanks :) when you overrided wndproc, you are overriding the window message&nbs ...Show All
Bijesh Lahiri How to search for files by using only filenaems?
How to search for files on the drive by using only the filenames.ie i want to exclude file extensions while searching You can use Directory.GetFiles(String, String) to get an array of strings with the filenames in a certain directory matching a search pattern. String[] arrFiles = Directory.GetFiles(@"c:\", "*.bat"); Is there a way to get the file names excluding extensions. i ...Show All
Terry7 Address DataGridView via ColunName
I have a bound DataGridView I can't address the columns via ColumnName. For example this fails: dgv("Last_Update_Date", 10).Value="test" Shouldn't that work assuming the cell can accept text dgv(2,10).Value="test" ' works The 2nd and 3rd fails also although s contains the proper string. Dim s As String = dgv.Columns(2).HeaderText Debug.Print(dgv.Columns(s).HeaderText) Debug.Print(dgv.Col ...Show All
Lifer PocketVision Errors
Just tried to install and run PocketVision sample and got following errors: C:\Programme\.NET Compact Framework Samples\Pocket TaskVision Sample\Source\CS\PocketClient\Web References\DataAccess\Reference.cs(172): The type or namespace name 'ToolboxItem' does not exist in the class or namespace  ...Show All
RamyaPatki images in C#.net forms
Hi everybody, I have a problem with images in C#.net. I can't see my images after running my application.All of the properties seem correct.Actualy In some forms my images are visible but in the others not. I appreciate any suggestion. Hi. I recommend reading the post on how to ask good questions. Based on the info you've given, possible problems include that your monitor is turned off, and your eyes are close ...Show All
Dan Vallejo - RampGroup Can't get the actual width and height of control?
I have a picture box. It was a container under it. When I access the height of the picture box it gives me the height including the container that is below it. Is there a way to get just the picture box height Thanks in advance, Devin Yes. It is docked, could that cause this to happen PictureBox.Height should not return anything other than the height ...Show All
tehama1 Which .NET quick start application is best?
I'm new to .NET. I am glad to see that so much has been accomplished with regard to best practices and patterns for designing with .NET. I have recently been very interested in Smart Client and am looking forward to developing a rich clien ...Show All
WeldFire error when client using clickonce install
When a client try to install an application by clickonce it receive this error:"Unable to install or Run Application. The Application Requires that assembly stdole Version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first. Please contact your system administrator" Can I do thank's a lot! Thank you. Yes, I included it in the project to allow my users to have it and it worked. Thanks again. However; I al ...Show All
LeonidVo Computer reset after running setup
Hi I'm using vs2005. With a publish tool I have created a setup files. When I'm trying to run setup file i can only see popup window giving me the choice [Install|Dont install] - when I press 'Install' I got computer reset :( Why is this happening What I did wrong :) In a publish tool I also got warnings according to publishing crystal reports resources Ex.: 'Warning 3 Unable to apply publish properties ...Show All
Arik format date in bound control
How do you format date (to dd/mm/yyyy)in a control bound to a datetime database field with this code: this.txtFollowup.DataBindings.Add(new Binding ("Text, dsData["Results"],"Followup")); Hello. Do you use DataGrivView control to display data If so try to set DefaultCellStyle property. Me.OrderedByTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", ...Show All
