AndrewFromEssex's Q&A profile
Smart Device Development Windows Mobile
Hi everybody, this is the first time i am here, so, i hope not to make many mistakes. the problem i have now is that a customer wants, for any reason, the date/time application of a Windows Mobile Operating System to be locked, so nobody can change the date or time, Do you know a way to do this Oscar markpre_ms wrote: There is no way to stop the user from changing the date and time on a window ...Show All
Windows Forms Add menu items to all instances of a form in a MDI.
This is my first project in VB.NET so this may seem like a newbie question, because it is! I have a MDI form. On this form there are multiple instances of frmA. frmA has a menu called mnuSendTo. mnuSendTo will have more items ...Show All
Visual Studio 2008 (Pre-release) Questions about the new CoerceValueCallback
The documentation is currently a bit wonky, but here's my understanding of how this new system works: With a DP called X: - In PropertyChangedCallback for X, you call CoerceValue on all properties that are dependent on X, including X itself. - In CoerceValueCallback for X, you take the parameter, which is X's current value or desired value, and return what the actual value should be after considering the values of othe ...Show All
Visual Studio Team System TF50801 - TFSServerScheduler / Team Explorer Logon Problems
have installed Team Foundation but I can’t logon to it through team explorer in Visual Studio. I think this is due to a service that doesn’t initialize in correct way. I find this error in the event-log: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administ ...Show All
.NET Development about "general network error, check your network documentation" error's question
I hvae use vb.net connect sql server, follow is my connectionstring: "Network Library=DBMSSOCN;Data Source=***.***.***.***,****;Connect Timeout=180;Initial Catalog=warehouse;User ID=sa;Password=******" source code: sqlcon.open dim myadp as new sqlclient.sqldataadapter("select * from table1",sqlcon) myadp.selectcommand.commandtype= text myadp.selectcommand.commandtimeout= 180 dim mytable as datatable myadp.fill(mytabl ...Show All
Windows Forms Neeed help!!
Hello All, I am Fatir Siddiqui, My problem is that I made simple MDI form ... So, problem ... Form1 is mdi form form5 is main form form3 is also a simple form Now, on form5 i create a commandbutton when i click the command button to call the form3 that form is not create in the MDI form its display outside the container or window .... I mean that when i click on the form5 button so the form3 also show in the MDI of Form1, I hope you pe ...Show All
Visual Studio Adding a context menu item to the server explorer?
Hello, I would like to add my own context item that will do something based on the item (table or database) being clicked. Is it possible Any suggestions Thanks, Orlin Hi Orlin, You can do it in an add-in. Create an add-in that creates a 'Tools' menu item through the add-in wizard, and update the code in OnConnection(). Use code below instead of the generated one that creates the Tools menu item: &nbs ...Show All
Visual C# Removing elements during iteration through a Dictionary
I'm trying to iterate through a Dictionary and remove some of the elements according to some criterion. I get an InvalidOperationException that says: "Collection was modified; enumeration operation may not execute." IDictionary<IPAddress, DateTime> peers = new Dictionary<IPAddress, DateTime>(); foreach (KeyValuePair<IPAddress, DateTime> peer in peers) ...Show All
Visual Basic TableLayoutPanel CellPaint Event
I have a program with TableLayoutPanel controls in it, and I use the CellPaint event to draw text (using DrawString) into the cell. I am using the rectangle "e.ClipRectangle" for the drawing, but it draws it into the entire control (all of the cells at once) instead of the individual cell. Is this a bug, or am I doing something wrong The height and width for e.ClipRectangle are rather large for such a tiny cell. The left and top are both zero. I ...Show All
Windows Forms How do you catch the delete event on a datagrid
Hi All, I have a datagrid that works. When the user presses the delete button on their keyboard it seems to delete the row from the grid. How do I know what has been deleted from the grid so that I can actually remove it from my actual data. Is there an event I catch or can I compare the data in the grid with my data source. Please help, Danny PS. I am using VB.NET 2003 (C# answers are fine) The Data Grid View FAQ here should answer your q ...Show All
Visual Studio Express Editions How to Have DataBound TextBox Controls Empty on FormLoad?
My title pretty much says it all. I've got a combobox that I set to -1 on load, and it is nice and empty when my form loads. However, I've got three textboxes on the same form that separate data binding that I cannot figure-out how to load "empty." They are always filled with the data from the first row of the dataset. You shouldn't be setting the SelectedIndex of the ComboBox because you are actually affecting the first rec ...Show All
SQL Server Develop multiusers applications with SQL Server Express
Can I develop applications with SQL Server Express that I have more than one user in several computers working with the same database on a server, or I can only develop applications with only one user with a local database with SQL Server Express SQL Server Express will support multiple users. To connect from other computers you must first enable "Local and remote connections" in the Surface Area ...Show All
Smart Device Development WinCE Database problem -pls help
Hi All Im a beginner to win ce platform . CAn somebody pls tell me how to mount a database file .. i have followed CEDB tutorial given in the book "programming winCE 5.0" by Robert boling. which gives the way to store Db in the object store. The problem is tht i want to use a database file externally and mount it so tht my data remains in the file when i shutdown and then start . Pls reply soon. -Meghraj Shah ( megh55555@ya ...Show All
SQL Server sql stored procedure question
I'm trying to insert data into a sql server 2005 table that was created dynamiclly. Data will be inserted into several of these types of tables. I tried to substitute the tablename as a parameter, but got the following error when I tried to execute the query: "Invalid object name '@CDRTableName' . Here is my stored procedure. Notice I included the periods for brevity: <code> ALTER PROCEDURE [dbo].[InsertCDRSearchResults] ...Show All
.NET Development Question on Asp:Repeater
Hi, I have an product catalog page for online shopping. This is the sample of the DataSet ID Name ThumbnailImage BigImage 1 Product A productA.jpg productA_big.jpg 2 &n ...Show All
