Go4More's Q&A profile
Visual Studio Express Editions (newbie) How to refresh text box contents
Hi Dare I ask another question! I have a second form which opens via a button on main form. This form shows a score table (32 textboxes) The display/saving/loading/hiding for this form all work OK. I now have a new score (4 of the text boxes) to change. The following Sub seems to achieve the resorting of the ScoresTable Collection (the score table text boxes) inserting a new score appropriately. However, this doesn't change the value ...Show All
.NET Development Failed to enlist a Distributed transaction
When the web application is on one server(Windows 2003 server) and the SQL server 2000 database server(Windows 2000 Advanced server) is on the other system of the same domain there is an error "An error occured while enlisting a distributed transaction" when i try to login to the web application .This error is thrown now and then i.e., i was getting the same error 10 days back then i changed the settings by d ...Show All
Smart Device Development Getting "Download Failed" Message!
Hello Experts, We are facing this issue quite a while now and we have to repair our SDK everytime to get rid of this error message. Please help us find out WHY we get this Download Failed message everytime we start the emulator while working on evcpp The emulator works perfectly though once loaded but failed to show the application files. Any comments/suggestions will help us a lot! With Best Regards, Vicky ...Show All
Visual Basic Selecting datagridview cell
I am totlly newbie in vb.net and want to find out how can i utilize the datagridview tool here. I wanted to know how can i pass the content of a ceratain cell in datagridview on a click event to a textbox...thanks in advance. You can refer to the columns by index or by name. Textbox1.Text = Me .DataGridView1.Rows(0).Cells(0).Value Textbox2.Text = Me .DataGridView1.Rows(0).Cells( "ColumnName&q ...Show All
Software Development for Windows Vista TransactionScope with TableAdapters promoting to DTC transaction - why?
Why does the following promote to DTC when using SQL Server 2005 All tableadapters are using the same connection so surely the transaction can stay lightweight using ( SqlConnection conn = new SqlConnection ( ConfigurationManager .ConnectionStrings[ "DACL.Properties.Settings.CatalogueConnectionString" ].ConnectionString)) &n ...Show All
Visual Studio On Stores, Editors & Models.
There are a number of posts on the forum now about loading and saving models, including how to load models into stores, using one store for many models, and havin transactions that span changes to many models. There is still one gap in the information as far as I can see, and that is the relationship between editors and stores. When a file is openened in the designer an editor is created for that file (I hope I have the terminology right, please ...Show All
Windows Forms DB Search
How can I search in a database if a record already exists I am using OleDb, and data binding. The idea is to do a software to rent PC for a specific time, and if the computer is already rented, shows a message. Thank you ...Show All
Architecture the best orm for .net?
I would like to know your favorites, i am looking for a free one and with caching capabilities. well I would say to look at the following and weight their pros/cons with your requirements nhibernate gentle.net (2.0 is looking great is is completely based around concepts put forward in DDD by eric evans) wilson O/R (its not free but it has a minimal price, $50 if I remember correctly that includes source) A nice thing about this par ...Show All
Visual Studio VS 2005 he&&
Hello All, Hopefully someone can steer me in the right direction:) I have installed VS 2005 with success. After about a week of using it I had issues with the IDE not accepting certain key input (eg. arrows and enter). After a few days of mucking around and searching on forums I found an answer that worked. Now, I get 'Package Load Failure" error messages. I once again browsed the forums for answers. I had tried to reinstall then uninst ...Show All
SQL Server DTS DB2 Dates 0001-01-01
Hi, I am trying to transfer a table from DB2 to SQLServer 2000 through a DTS package. The DB2 table contains fields with default dates of "0001-01-01". The DTS package errors out whenever it reads this date as "invalid data value". In SQLServer 2000, the date fields are of type ShortDateTime. I have searched the Internet but did not find a workable solution. Please, can anyone help me find a solution ...Show All
Visual Studio 2008 (Pre-release) How to make a TextBox to AutoSize in a Grid?
When I put a TextBox into a StackPanel it automatically sets its height to ensure that you can read the current font. How can I get this behaviour in a Grid ATM: I have the problem that the text looks different on Vista (Segoe UI, 9pt) and XP (Tahoma 8pt). I can't read the text on XP systems but can read it on vista ... Now I always use independent values for Size, Width and Height (not pt, px or something like that) but still I have to assign ...Show All
Visual Studio Tools for Office ServerDocument.AddCustomization() starts new Word Instance
Hi, I use VSTO ServerDocument.AddCustomization() method to dynamically customize Word .doc file. However, if I try to customize a fresh (new) Word .DOT file, a new instance of Word is started even if one already exists. This is causing so much pain. Also, this behavior is NOT repeated if the .dot file is already customized and I re-add the customization after removing it first. Here is the code: private void button1_Click(object sender ...Show All
Visual Studio 2008 (Pre-release) How to make a tree in WPF
I need to make a tree which datas are fetched from stored Procedure,the stored Procedures make the datas at the following model: lvl fullPath 1 A 2 A.B 3 A.B.C 3 A.B.D 2 A.E 2 A.F .... when I fetch the datas from stored Procedure,I need some class to deal with it and then binding with XAML,make the tree in presentation at the following model: A |--B | |---C | |---D |---E ...Show All
Visual Basic how to add icon to vb.net menu
currently i am using VS.NET 2003 , may i know how to add icon to vb.net menu thx and regard kok soon As DMan1 said, you have to set OwnerDrawn to true and paint the menu with icons. Most developers who want to add icon and customize menu drawing, do it by creating an externder component to perform drawing of menus (on runtime) automatically. Try this: http://www.codeproject.com/cs/menu/MenuExtender.asp and this: http://www.codeproj ...Show All
.NET Development Input string was not in a correct format
somebody, please could tell me where is mi mistake in this problem I don't understand why is trying to change from string to Int32.. here's the error I am getting.. Any ideas , suggestions thanks in advance Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 103: objComm.Parameters.Add(parameterPosition) Line 104: Line 105: objComm.ExecuteNonQuery() 'Execute the UP ...Show All
