Bernhard Roos's Q&A profile
Windows Forms DataGrid Question - Using a column in a selected row - Newbie
Hi, I am trying to select a row in a DataGrid by simply clicking on the row (any column in the row) which will in turn open a new form with various controls which are binded to the original record which was selected in the DataGrid. I ...Show All
Visual Basic Close external exe, txt file on click from main program....
I've tried everything I've seen in here about this and nothing is doing it... Prior to venturing into coding myself (thanks to MS's letting us download Express free...) I had another coder create a couple of small utilities I designed (the GUI and functionality) as part of a bigger project/program. He never finished the project so I took it on myself... and I am still in the process of learning all the complexities...now I know I've been ...Show All
Windows Forms DataGridView Problems Adding New Row
I have a DataGridView and I set the EditMode to EditOnEnter. I am also using the DefaultValuesNeeded event to poplulate each column in the row. If I tab accross the new row and off of the DataGridView the new record is not added and when I set focus back on the DataGridView a System.InvalidOperationException is thrown. But if I set the EditMode to EditOnKeyStroke this error does not occur. Is this a bug or is there somethi ...Show All
Visual Studio Express Editions An Easy Question...Required Text Boxes
I need to validate that a textbox contains a value. As it currently stands, if I run the program & click "calculate", the software errors out because there is not a value in a textbox. So, how do I essentially require that information be entered into a text box Thanks, Brian Handle the Leave event of the textbox, and in that event, check that you have the value you want and if not, call ...Show All
Visual Studio Express Editions Can not download the C# e-book from benefits portal
I, too, have another kind of a problem. I just recently registered VC#, and I received the email with the Benefits Portal. When I try to download any of the goodies(I am a complete newbie-begginer-so I am very much interested in the e-book .pdf file) I get only a dreamweaver file. Can anyone help me As you have a different problem I split the post so you have a new thread instead. are you trying to download ...Show All
Smart Device Development Problem drwing a form
Hi, I would like to make some actions in the form directly when I launch this form but the form is drawing after doing all the actions and in Make_Actions(), I'm launching a lots of thread... public RegistryForm(string BackupName) { InitializeComponent(); this.BackupName = BackupName; Make_Actions(); } So I was trying to put some code like : this.refresh(); this.ResumeLayout(); this.update()... ...Show All
.NET Development Got 'SocketException' in Async Connection
i got SocketException in Async Connection.. which says "Do not have SocketPermission...." actually tested my application in my college network..i got very little time 4 testing..and now i dont hav permission to test my application on that network.. and in other network where i tried to solve this Exception ..this exception is not raised. Somebody told me that..you have to set policy in Windows... "i want to know whi ...Show All
SQL Server installing sql
i have a problem installing sql server 2005 CTP editon,iam using visual express beta 2 editions of vb and vc# 2005 what is the compaitable sql version i can use with them You can download the June CTP of SQL Server Express at: http://www.microsoft.com/downloads/details.aspx FamilyId=1A722B0F-6CCA-4E8B-B6EA-12D9C450ED92&displaylang=en Since the version of .Net Framework changed you will also ne ...Show All
SQL Server Encrypting a data
Hi, I have creating a stored procedure in sql server 2005 to encrypt a parameter value that comes from an asp.net page. this value is of type varchar. Now i have declared a paramater as varbinary to accept this value in the stored procedure. And encrypting it using symmetric key which is encrypted by certificate. Now when i enter a value into the textbox in asp.net page. it shows "implicit conversion from varchar to varbinar ...Show All
Visual Studio Team System Scenarios Report Showing No Data
I have added about 10 scenarios but they aren't appearing in the scenarios report. Iteration : All Area : All Any Ideas Jean-Pierre Have you been through each step in the troubleshooting guide Please confirm because as I debug through your issue - if I find a new one, I will update that guide. The guide is a bit thin on troubleshooting cube processing issues and is strong on see ...Show All
Visual Studio Tools for Office IDTExtensibility2.OnConnection not called on first load of Word after installation
I've written a managed com add-in for Word using Visual Studio 2003. The solution includes a com addin shim created using the wizard available through msdn. I've noticed that the OnConnection method, which in turn calls the OnStartUpComplete method, does not get called the first time that Word is loaded after the add-in is intalled. If I close Word and open it again, then the method runs. The LoadBehavior registry setting is 3, which I und ...Show All
.NET Development invoking native dlls in c#
Hi I have faced one problem on calling the native dll's functions from C# .Net coding.Actually i wrote one dll to control the Digital Multimeter in a remote programming mode through GPIB interface. Initially i have imported the win32 dll provided with GPIB driver in my coding and tried to send the data to the Digital Multimeter, Whenever i send the data, it throws this Exception " System.AccessViolationException: Attempted ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Convert from OpenGL right-hand coordsys to Direct3D left-hand
Hi, I am porting from OpenGL to Direct3D, but have some trouble going from OpenGL's right-hand coordinate system to Direct3D's left-hand coordinate system. I have a transformation matrix that I want to apply/load into to the virtual camera (the viewer): | r00 r01 r02 tx | | r10 r11 r12 ty | | r20 r21 r22 tz | | 0 0 0 1 | Where the 3x3 r's makes the rotation m ...Show All
Visual Studio Project Template : $rootnamespace$ not replaced in project items
I created a project template for a C# project in VS2005. In the project i have 1 class that looks like : using System; using System.Data; n amespace $rootnamespace$ { /// <summary> / // Summary description for $ safeprojectname $. /// </summary> public class $ safeprojectname $ : DataEntities.$safeprojectname$ { ... In my vstemplate file I have : < VSTemplate Type = " Project " Version = " 2.0.0 " xmlns = " ...Show All
Visual Studio Exec task with no waiting
I have a batch file that starts an external tool using the Start command. When I run the batch file from the command line, it immediately returns to the command line after launching the tool, as expected. When I call the batch file from an <Exec> task, the task does not complete until the external tool exits. How can I change this behaviour so that the <Exec> task will not wait for the external tool to exit Thanks Mike ...Show All
