Rodboy's Q&A profile
Windows Forms Refreshing a combo box value...
Hi, I would like to know if someone knows how to refresha combobox instantly after you did an insert. The problem begins because i have a button that inserts values in the combobox but in another form, but the combobox doesn't show the new values that you already insert. (obviously, when you insert the value, instantly closes this modal form, and  ...Show All
Software Development for Windows Vista Activity Properties
hi all, i know that i can bind activity properties to workflow properties using the designer; but is it also possible to bind activity properties to properties of other activities and: is it possible to bind activity properties not to a certain activity but to the parent activity’s properties if you know something, please tell me. :-) thanks in advance, regards, .k Yes, you can bind an activity property to another activity property, this is one of the very powerful features of WF. In Beta1, you used to be able to use "Parent" for the identifier before the path, but this ...Show All
Windows Forms hold a key...
is there a way to "codely" press and hold down a key for x amount of seconds sendkeys doc http://www.rutherfurd.net/python/sendkeys/#id1 ...Show All
Windows Forms BIndingSource AddingNew Event and Factory Pattern
I found the answer here when I want to just create the right DataRowView Object _row = view.addNew(); But how can I inject a new Object from a Factory Method... Without a DataGridView in the background the sample is already in the VS Docu. And this works...but in this situation I have no idea Thanks Peter ...Show All
Windows Forms Inherit events
hi al, q: can i inherit events eg: Public Class InvoerVeld Inherits System.Windows.Forms.TextBox Public Event FoutOpgetreden(ByVal Foutmelding As String) Public Event WaardeGeacepteerd() end class Public Class NummeriekInvoerVeld Inherits InvoerVeld sub check if somethinghapend() then RaiseEvent FoutOpgetreden end su ...Show All
SQL Server Handling a double or float value for inserting into DataTime field.
Hi, I was trying to enter the non-normalised exponential format of double or float value into the DataTime field in my data base. It is allowing to store any kind of data passed to this field. If the same non-normalised exponential value for eg: 4.235E-329 is passed to float or double field we are getting a TDS error but when same thing is used to store in DateTime field it is simply inserting the value. Now my concern is that SQL Server 2005 should give me such kind of exception when I am trying to insert in-valid double or float value to DateTime field. Is this a bug in SQL Server 2005 Please kindly help me how to implement this one. Than ...Show All
SQL Server Is this connection string formated correctly?
Data Source=**COMPUTERNAME**\SQLEXPRESS;Initial Catalog=*CAT NAME*;User ID=*USR*;Password=*PASS*;Min Pool Size=5;Max Pool Size=10000;Connect Timeout=5 I can't connect to the DB. Everythime I try to connect to a page within my site that uses DB data I get an: " The resource cannot be found. " error. Hi, sems ok, dom’t know why you stared the USERNAME and COMPUTERNAME tey should just have no stars or quotes. You can just take also one of the connectionstrings here: http://www.connectionstrings.com they are work fine. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C# POPUP window accepting data
I have created a popup app that I want called when another program opens it. C:\screenpop UUI: XXXXXXX How do I accept the UUI value into a search text field in my popup app upon openning the popup app Thanks Could you please specify more accurate ...Show All
Visual Studio Problems installing sdk for 2005 april
I have VS2003 and VS2005 on my PC. I also have sdk march 2006 installed .Now I want to install sdk april 2006 but it fails because I don't have mshelp 2.0 . I can't even remove me prev version of sdk from the same reason. Don't know what it is and why I need it. Thanks Avi No solution here The error code is 1603 Avi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. in managed directx, Materials are black if I create more than one mesh
I'm using the cool example from the managed directx wiki. http://pluralsight.com/wiki/default.aspx/Craig.DirectX/MeshBasicsTutorial.html I created an object that took the mesh name and the device as arguments and have their own render methods. It works perfectly if I only make and render one Mesh but if I render two the materials seem to disapear, every surface of the mesh is totally black except for where there are textures, those parts render fine. What gives Here's the bit of the constructor which has to do with the mesh: ExtendedMaterial[] exMaterials; mesh = Mesh.FromFile(Path.Combine(artPath, name), MeshFlags.SystemMemory, device, out ...Show All
.NET Development Suggest some books dealing FTP tasks using .NET
Greetings, I want to develop a module to upload folders to ftp server. So please suggest some books and resources to aid this task. Thanks First, you can use FtpWebRequest class for this task; it is really easy to use. The documents about it are on msdn2 : http://msdn2.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx There are several very good blog articles here: http://blogs.msdn.com/adarshk/archive/category/7225.aspx and I have a couple on my personal blog: http://blogs.msdn.com/mariya In addition you can search this forum for other ftp related questions. Mariya ...Show All
Windows Forms problem restoring focus to main window
hi, i have a panel with 2 radiobuttons, besides the radiobuttons i'm controlling the keyboard input for the arrows to change other parameters in the panel such as a counter, the problem is that if i click the radiobuttons and then hit an arrow i cannot control my counter anymore but i switch between the radiobuttons, i've thought of simply calling this.Focus(); on the CheckedChanged Event of the RadioButtons but that doesn't seem to restore the focus on the main form, also, tryed calling Invoke with a delegate wich is bound to a method that calls invoke, as well as doing this last approach on the gotfocus event of the radiobuttons., wich ult ...Show All
Windows Forms unhandled Exception thrown when user enters value in a new row in datagridView
I have a datagridView in my screen which is bounded to a dataSource which has been generated through DataSource Wizard.DataError event is added for handling invalid data. Consider, if user enters invalid data in very first row of datagridview and tabs out from the invalid data column, then dataerror message is displayed. Now if user hits Esc key to clear invalid contents, system throws an exception which is what we cannot figure out. This is particular only if datagridview is empty when form loads else if there is any saved row(s)..no issues as such. Jency I'll look at this today ...Show All
Windows Forms DataGrid
There is a windows DataGrid on a form which is populated with a DataSet. When a row is selected, it can then be deleted by hitting the delete key on the keyboard. I would like to be able to give a confirmation messagebox (i.e. Are you sure to delete...Yes/No) in that event before the actual Delete takes place. Then I would like to be able to do the same thing using a Delete button on the form. Thanks I believe the only way to do this is by creating a separate class which inherits from the DataGrid. And then use that class to draw the grid on the form. But the main issue is that the delete key stroke is not ...Show All
Visual Studio Team System TFSDeleteProject Doesn't Remove Project From Source Control
I ran the TFSDeleteProject. This appears to finish succesfully. The only thing that isn't deleted is the Project in Source Control. I selected the 'show deleted items' in my VS2005 and can see the deleted files under the Source Control project. Is there a way to totally remove the project from Source Control We want to re-create the Team Project with the same name we used before, but it can't because of the existing Project in Source Control. I see many entries in the Forum that had this same problem, but they were using the beta version. We are using the TFS released version, not the Beta. Is there a way to do this yet In vers ...Show All
