Answer Questions
Krithi still stumped.
Hey guys, Would it be too hard to put a status indicator on the web site somewhere indicating the availability of the server. Ie, a red or green light representing the server status being available or not would be a nice feature. I for on ...Show All
Matei Puiu Advanced SQL Generation Options Grayed Out
Hi, I am using Visual Studio 2005. When I attempt to use the Configure Data Source wizard to set up advanced SQL Generation Options the options (i.e. add addtional INSERT, UPDATE... statements) are grayed out. I don't know why. Any ideas Thanks, Keith I have the same problem, hopefully someone can help with this. I tried it with connections to a SQL Express Database and with a MDB file connection. Nothing seems to work, i ...Show All
Dybber Icon leak in File Explorer demo?
I believe there is a resource leak in the File Explorer demo available here: http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49#WinForms%20V2%20Demo%20App Specifically, the program uses SHGetFileInfo to get the icons for files and directories, but it never calls DestroyIcon on the retrieved icons. It uses Icon.FromHandle to wrap the retrieved GDI handles in a .NET Icon, but, as documented, FromHandle does not take ownership o ...Show All
soarwithVS2005 Is it possible to create a dynamic userControl?
Can I create a user control that contains dynamic controls What I meanis that at design time there is no static controls created except place holders for text boxes and labels. When the user control is added to a form, the form will tell the&n ...Show All
Roman Barsky WebBrowser Paint
Hi Visual CSharp 2005 Express Edition Beta Webbrowser control does not derive from System.Windows,Forms.Control, so, How can I add events like OnPaint and OnResize Why this simple code does not put the line on the WebBrowser control private void button1_Click( object sender, EventArgs e){ Graphics g2 = webBrowser1.CreateGraphics(); Pen p = new Pen(Brushes.Red); p.Width = 10; &nb ...Show All
rickm2005 Input Validation on Windows Forms
I am still having trouble getting this straight. I wonder if anyone can help. I have a straightforward Windows Forms application, displaying data in separate controls (not a Datagridview (yet)) bound to a database via a Dataset and BindingSource, all set up automatically in VS. I want to validate my user's input, so: 1. I want to do the validation as soon as the user enters data, while his attention is still on that field, AND I want to wr ...Show All
Methark Where is the Terrarium home page now?
As the title says... It use to be on Gotdotnet.com... it has apparently moved... anyone know where http://www.windowsforms.net/Applications/application.aspx PageID=30&tabindex=8 You can also get "top creatures" and other info at http://www.terarriumgame.net/terrarium ...Show All
Saswata How to get icons of applications and system ?
Dear all, Currently, I had create listview which sames window explorer. However, I have a issue to get icons of applications or system associate with items in listview. I think somebody had same my issue. If you had solved it please share it for me. Thanks for your help. Steven. In .NET 2.0 you can also use Icon.ExtractAssociatedIcon method to retrieve icons for documents and files. I Think I Got it. ...Show All
smudie Questions about connecting to SQL Server & Web Services
Hi everyone, First, let me say I haven't ever really done much with Web Services except for the brief coverage in MS .NET curriculum... Our network doesn't allow clients to connect directly to a SQL server that is on a different subnet (firewall por ...Show All
vdh abort thread
I have an app that will import some data into a database. I can't seem to stop my worker thread from running. Am I missing something t = New Thread(AddressOf oPF.ProcessFile) t.IsBackground = True oPF.oCnn = SqlConnection1 oPF.myStream = myStream t.Start() then in my ...Show All
yj2000 BindingSource to object help
Hello, I'm trying to bind to a custom object (business layer component), and I can bind to a type, but I don't know what it is looking for in response to the DataMember. Will it only accept a property or a method I would like to do this at design-time... Also, I'm trying to bind to a datatable, if that matters... Thanks, Brian The DataMember is the name of the property you want to b ...Show All
DC Martin data binding to a photo with sql server 2000 in c#
hi all, the question as above anyone can solve the problem What's the issue This should work with no magic required - you can do this in Visual Studio (assuming you are using VS 2005 Beta 2). You need to bind the Photo column to an Image property (for example, the Image property on PictureBox). This will also work when binding the whole table to a DataGridView. Joe The easiest way is to ...Show All
Justin Voshell Change the Build Number?
I had to reinstall all my computer and now my Build Number is lower than the one I had before, is there a way to change this number generated by the system Thank you You mean the build number of Visual Studio.NET Or ...Show All
shelter Is there any way to change the coordinate origin of a form away from the top left?
I am tinkering with designer hosting, and would like to change the coordinate origin of the form to the lower left, so that controls dropped onto the surface of the designer will reflect the changes in their coordinates. Is it possible to set the origin via code for my instance of the root designer Thanks man, I have already rolled my own solution which involved affine transformations, delegates, a bunch ...Show All
John Jeffers 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
