Kirk MS's Q&A profile
Windows Forms Problem with Form Display
Hi there, in the project I'm working on there are several Forms which are displayed wrong at runtime. At designtime every control is displayed at the correct position but at runtime everythings messed up. Designtime: http://www.ifinddes.org/uploads/design.jpg Runtime: http://www.ifinddes.org/uploads/run.jpg Can anyone tell me why this happens Thx in Advance Steve Wow, I hope it's not going bl ...Show All
Visual C# What's the difference between string and String?
What is the difference between string and String Which of them should i normally use Their is no such difference between string and String, actually it let the user who is coming from C/C++ background and to make Understand that fimiliar data types names available in C# as it is available in c/c++. Both are defined in System namespace and contain same methods. ...Show All
.NET Development How to pass data from a dataset directly to SQL 7.0 in VB.NET?
Hello, I have filled a dataset and would like to take that data and pass it to a sql server database on the network How can I accomplish this task Thanks, Rashar You can use a sqldataadapter to pass the data for you See http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/UpdateDataFromDB.aspx ...Show All
Windows Forms Group Box Value
Hi - I am trying to determine what radio button in a group box has been selected or if any radio button in a group box has been selected. It is a validation check to make sure something in the box is selected before the code runs off to do something else. Can't seem to find the way to do it in .Net Thanks for any he ...Show All
SQL Server print blank page
i export my report to pdf and its leaving one blank page with every alternative page is there any setting thanks Make sure your layout, pagesize and margins all agree. Also, search this forum. This topic has been addressed several times in the past. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Loading .X meshes
How do you load a DX8 .x mesh file My 3D modelling program (Blender) exports to DX8 format or just .X. I don't know what the difference is. I tried it with the same code as for one of the meshes that came with the SDK, but it just gives an error. Does the DirectX Viewer open the .x file you created If so then its something in your code - check out the source for DX viewer. ...Show All
Visual Studio Team System team members alert notifications (project alerts) - HOW??
Hello, As I found out, there are only the following four options available to setup an auto-notification (multiply email addresses are supported) on the Team Foundation Server. In the Team Explorer, right click on your project, select “Project Alerts…” to open a dialog which contains the following: My work items are changed by others Anything is checked in A build status changes A build completes So, the possible alerts are not sufficient to achieve a global and all members including alert from the project because there is not an option enabling an alert to defined email add ...Show All
SQL Server Multi-line annotation?
Is it not possible to have a multi-line annotation OR my ENTER key is stuck ;-) thanks, Nitesh Personally, I wonder why the annotation object doesn't have word-wrapping enabled, like the tesxt in visio. That would certainly (imho) be the simplest answer. I do wish enter worked as well (again, a la visio), but at least now I can takes those 8 annotations I had, and re-merge them into 1, having found this answer. ...Show All
Microsoft ISV Community Center Forums Application Error
Hi experts, We have an application written in VBA. The application is failing with the following log entry in the event log. Faulting application: appname.exe Faulting Module: VBE6 Version: 6.4.99.72 Fault Address 0x000dc6f2 Event ID: 1000 The application is running on Windows XP SP2 with Office 2003 SP2. Help would be much appreciated. Thanks Steve Additional information: The application is not a Word or Excel application. It was written in VBA using the VBA SKD 6.2 development environment. We have vba project files that contain forms,modules similar to VB6 project files. The problem here is, ...Show All
SQL Server Evaluating String Content
Our Business partners request me to read the field names from a SQL table dynamically so that my SSIS package will not get impacted if Web Service hosts make a change. Is there a way to evaluate a string at runtime that contains a field name Thanks, Gulden Gulden wrote: Hi Duane, If what you are referring to is something like this, please fill in the line marked by ( ): SSISVariable="UserLast, UserFirst, UserId" do while len(SSISVariable) > 0 'parsing ...next line gives me the column names' newVar = Left(SSISVariable, InStr(SSISVaria ...Show All
Visual Studio Team System How to use TFS best as a code-reviewer
Hello, we are using Beta 3 Refresh of TFS along with VS2005 and the Team-Explorer. 1) I should be able to do a weekly codereview. Is there a specialized view for this Getting the whole history, opening each history-element, comparing the version with the previous version takes way too long. 2) I am missing an information: We got two branches. We merge from one branch to the other. When I do my review I would like to be able to see, whether this change has been merged into it from the other branch. Any suggestions Thanks a lot. 1) tf diff $/folder/under/review /r /version:D1/10/2006~T will ...Show All
Windows Forms Color in DataGridView
hi all, I having the DataGridView on the form, My requirement is to display the rows of the grid in some predefined colors, which satisfies the condition. I wrote the following code for it, bit this code does not give the rows in specified colors , can some one tells me where exactky the problem is, or some other way to solve this. foreach ( DataGridViewRow dgvrGroupDetail in this .dataGridViewBudget.Rows ) { DataGridViewCellCollection dgvcc = dgvrGroupDetail.Cells; //check the value if closed then make red if (( bool )dgvcc[ColumnClosed.Index]. ...Show All
Visual C# sql connection string
ok i finally terminated a sql project.. Thanks God! but.. 1 question remains: this his the connection string used to connect to my DB Data Source=MASTER\\SQLEXPRESS;Initial Catalog=tut;Integrated Security=True;Asynchronous Processing=True" MASTER is my PC name;; anyway i way to give to some friend thsi app so he can use it too.. but my app will connect to his database i mean the connection string wont be valid anymore.. so how can i make him automaticly detect or create the connection string.. Hi, assuming your friend used the default settings for the SQL instance, and you don't need anything fancy, you may simply try to change ...Show All
Visual Studio 2008 (Pre-release) Virtualizing Wrap Panel?
I need to have a wrap panel for the ItemPanel with the virtualizing option. Why there is no virtualizing wrap panel. Do I need to create another View control for the ListView to show items one after the other or the wrap panel is the only solution without virtualizing Thanks I'm sure they'd love to provide an implementation of every panel in virutalizing form, but WPF is huge and they have to focus on delivering all the features they already have. They provide VirtualizingPanel as a base class and from there you can implement your own wrapping layout logic. There's a great article on writing a custom ...Show All
Visual Basic repeat delay in Keydown event
Is there any way to keep the keydown event from having a repeat delay when the key is held I know you can go into Control Panel and adjust the keyboard settings, but is there a way to get around that in VB In case it is useful, my code is: Sub Form1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyDown Select Case e.KeyCode Case Keys.Left The_moving_object.Left -= 20 Case Keys.Right The_moving_object.Left += 20 Case Keys.Up The_moving_object.Top -= 20 Case Keys.Down The_moving_object.Top += 20 End Select End Sub ...Show All
