Maorik's Q&A profile
Windows Forms How to Determine my Eyesight Radius
This might be a dumb question, but how do I determine what my own creature's eyesight radius is Is there a formula to derive it from the EyesightPoints Attribute If so, how do I access the values of an Attribute programatically &nbs ...Show All
Windows Forms Asign data field to variable or otherwise use it
I sure hate to have to ask this--it's fundamental. But I've searched many hours trying to find the answer. And I've watched 4 hours of videos, too. In VB Express 2005, I've connected to an Access file and can load it to a grid on a form. I can do all the associated functions with the data that you would expect on the form. HOWEVER, I simply can't figure out how to "grab" a piece of data from a particular column (let alone row!) t ...Show All
Windows Forms problems updating database with ADO.net
Hello, I am trying to update a database with parametrized commmands, even though the record exists but when i run the update command, 0 records are affected and nothing happens to my data, i have no idea what is wrong i insert data similar&nbs ...Show All
Visual Basic How to execute click, some select, input text in HTML page, using WEBBrowser Control (VS2005)
I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005) After using method "navigate", in my webbrowser control I have HTML page from some website. This HTML page has some input button with events or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question ...Show All
.NET Development System.Configuration Does Not Save
I am trying to use the Configuration object provided with the .NET 2.0 framework. I see that when I call the Save function it does update the <application>.exe.config file. However, when I close the application and check the <application>.exe.config file again, it has reverted back to how it was when the application was started. Is there something I am doing or not doing Here is part of my code: (And before anyone writ ...Show All
SQL Server Runtime Metadata Capture
Hi All, Is it possible to capture the runtime metadata relating to the number of rows processed by a graph, the number of rows inserted/updated in the target blah blah using SSIS. I have only seen metadata extensions for starttime, machine name etc. but not for this THanks Manish It will be an OLE DB command insert. It is something similar to Informatica, where in its metadata tables, Inf ...Show All
SQL Server what version of ODBC does sqlserver/.net use?
Hi Guys, Does anyone know the version of ODBC that is used in .NET 1.1. with SqlServer 8 Is it 3 I can't find much information on this. Thanks! http://msdn.microsoft.com/data/sqlnative/default.aspx 3.x complaint. Thanks ...Show All
Visual Studio Team System string.Empty and ""
Hi One of our coding standards requires developers use string.Empty instead of "". Would a custom FxCop plugin be capable of detecting this problem Thanks Yes But I think that fxcop would recommend using "" (performence) since string.empty creates a new instance of string. ...Show All
Visual Studio Team System Error 28925. TFServerStatusValidator:Calling the Team Foundation Server ServerStatus Web service failed.
I followed the .chm file to the letter installing Team Foundation Server RC on Windows Server 2003 Standard Edition using Domain user accounts specified and running all the windows updates and installing all the patches. But I get this error. Error 28925. TFServerStatusValidator:Calling the Team Foundation Server ServerStatus Web service failed. I had two warnings come up about memory requirements before installing but that was all. I'm running ...Show All
Visual Basic TableAdapter update unchanged record cause Concurrency Violation
I found that concurrency violation would occur if updating the database using table adapter when the actual record does not have any change. Seems like my DataGridView marked the row dirty. TableAdapter.Update would result in concurrency violation because zero record was modified. Seems like TableAdapter did not verify there are actual changes in the record before sending the update command. Bug I've found t ...Show All
Software Development for Windows Vista Few Questions
To IT Professionals. I have a few questions. So please if u have enough time to answer me I'll be very grateful. 1- Why does Microsoft do all these impressing user interfaces while they just can improve the XP`s user interface to fit the in Vista like what the did in Windows 98 and ME 2- Did Microsoft have problems in dealing with Vista developing phase when it was "Longhorn" and why did the name changed &nbs ...Show All
Windows Forms What the intention of the "components" variable?
For every IDE generated UserControl C# file, there are some identical code : /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> &nb ...Show All
Visual C# Database Question
Ok. I have a database in attached to my program. What I would like the query to do is this. SELECT textBox1.Text FROM TableName; Here is the code I have now. private void doQuery_Click( object sender, EventArgs e) { sqlDataAdapter1.SelectCommand.CommandText = "SELECT" + textBox1.Text + "FROM TableName" ; dataSet1.Clear(); sqlDataAdapter1.Fill( dataSet1, "TableName" ); dataGrid1.SetDataBinding( dataSet1, "TableName" ); But ...Show All
Visual C# How to get all drives of my computer
I want to get a list of all my drives.how to Hi, Use Environment.GetLogicalDrives(); -chris ...Show All
Software Development for Windows Vista Vihang's Re-hosting Workflow Designer example Serialization problem
Vihang, I have downloaded the code for Re-hosting the Workflow Designer and have commented out the part that recompiles the code behind (I just need to update and save the xoml for now). The problem is that the namespace aliases get reversed when the following code executes: protected override void PerformFlush( IDesignerSerializationManager manager) { IDesignerHost host = ( IDesignerHost )GetService( typeof ( IDesig ...Show All
