Larry Robinson's Q&A profile
.NET Development Is the anyway to define 1 Templated Layout for FormView.
Hi, In ASP:Formview you have < InsertItemTemplate > < ItemTemplate > < EditItemTemplate > Is there any way of defining just 1 layout template to be used for them all. It can be a pain to copy and paste the identical layout between Templates. Thanks This web forum is for questions specific to ASP.NET Web Services. Please try reposting your question to the ASP.NET web forums at: http://forums.asp.net Daniel Roth ...Show All
Visual Basic Filter data from text
I have an error log that is saved by some software as a text file. Currently my program allows you to open a text file and it shows the information in a text box. I want to sort through the text box for key words so I can filter out what I want for data, for example here is some data in the text file error log: Data on me this is just filler data; blah blah 21:06:14 Copying BOM from Part:123212 Part revision for sub assembly was not found. Request Cancelled Looking for revision of Part:123212 Error copying BOM . More filler data just to show example I want to find the Error copying BOM and get all the data ABOVE it until I see the words Cop ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Depending on where you load the textures to, you need to release them and recreate them. Make sure that you are properly handling them. Look at the Samples in the DirectX SDK install directory and also under lost devices in the documentation. It explains clearly how you must handle a lost device and how to reset it. I hope thi ...Show All
Visual Studio Express Editions Help with databases
Hi I have a database with about 20 columns one of which is vehicleNumber and one of which is temperature. I have many different vehicleNumbers. When the user types a vehicleNumber into a text box I need to collect all the temperatures for that vehicle and find the average temperature. I am not using SQL, I'm using an access database with the dataset and all that. I found a little information suggesting a dataview. Can anyone help me Just to visualize here is a shortened example of my database: VehNum Temp 123 73 456 68 123 83 456 79 123 81 456 72 ...Show All
Windows Forms Could not load file or assembly
Hello, I'm just installed the release version of the Visula Studion 2005 after removing all the parts of any old installation - even with removing some License keys from the registry. But I'm stiol getting this error in the designer view. BUt I'm not getting it for all my Forms just for the more difficult once. Could not load file or assembly 'Microsoft.VisualStudio.Design, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Hide at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence ...Show All
Visual Basic Project Properties Window fails to display
I'm learning to like VS 2005 alot over VB6. Not that I drove VB6 to the max not at all, but VS 2002 just seems a lot more capable at more things. I've got one problem however, right now if I go to Add Web Reference I get the following error message:- Web Services Enumeration are not available. You need to reinstall VS to add web references. Anyway I found a downloadable Add Web References, installed it and no change, still the error message and still no Project Properties Window failing to appear. Apart discovering FDISK any pointers on where I need to be looking, BTW no action in the Event Viewer either. Any help suggestions ...Show All
SQL Server Clearing Single User Mode/lock
What is the best way to clear Single User mode from SQL Server 2000 I have tried going to all tasks and selecting detach and clear Connections using this database. I then click cancel and go into the properties and options and clear the Restrict access check box. This seems to work some times but not all the times. I think it is because something else connects to it to it while I am going through the above steps. As a last resort I have detached the database and re-attach it. What is causing the single user mode to happen in the first place I am a little confused, the system is going into single use ...Show All
Visual C++ Project Dependencies
Hello again! Now I have a problem with my application's dependencies. When I build my application in Release, the Dependency Walker shows that the EXE is dependent on MSVCR80.DLL. But I want my application to be dependent on MSVCRT.DLL. Is there a way to enforce use of MSVCRT.DLL instead of MSVCR80.DLL Thanks! Have you found a way to do this yet I'd really like to see VS2005 able to link to mscvrt.dll (like VS6 does)... Can i be done in vs2003 For now.. i'll stick with VS6... /blair ...Show All
Visual Studio Team System TFS December CTP and SQL 2005 RTM
Has anyone tried to install the TFS December using a Single Server setup with SQL 2005 RTM I had problem during the setup and the process was interrupted. The error is 0x80004005: Failed to install databases. The TFSSetup account I use is part of the sysadmin of the SQL server. Thanks in advance for your help. Was this a fresh install That is, was SQL Server & Team Foundation Server previously installed on this computer Have you reviewed the seutp logs to gather add'l information ...Show All
SQL Server WMI error when uninstalling
I'm trying to uninstall SQL Server 2005 CTP. When I remove it through control panel/add remove programs, I get this error The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine <my machine name> Error:214779896 (0x80041008) I've tried this with both the WMI service running and not running. Mehal, WMI is corrupted on your machine. Try running the following to clean up WMI: Mofcomp.exe %windir%\system32\wbem\cimwin32.mof Regsvr32 wbemupgd.dll regsvr32 wbemsvc.dll wmiprvse /regserver Dan ...Show All
.NET Development .Net not sending E-Mails until the application closes?
Bit of a strange one, i made an application using .net 1.1 and it worked fine, but now its in .net 2.0 (and after moving the send_mail from the .web to the .net name space) its not sending the E-Mails when i call the .send method... When i close the application however i see all the E-Mails that i tried to send go out.. this is very strange Below is the code i use to send out my E-Mails, which like i say, worked fine in 1.1 usign the .web namespace Function SendEmailNow( ByVal From As String , ByVal ToAdd As String , ByVal Subject As String , ByVal Body As String , ByVal HTML As Boolean , ByVal DBConnection A ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why does my window go blank after a resize?
Just as a quick test too see if I understood how directX initialization works attempted to creat a new DX window using windows forms from scratch. But I have a problem... Can anyone explain to me why the triangles rendered in the following code disappear permanently when ever i resize the window I have comparable code that doesn't disappear when I resize but after hours of comparing I just can't see why one code works and this one doesn't. namespace DXTest { public partial class DXForm : Form { private Device myDevice; private PresentParameters presentparams; protected CustomVertex . PositionC ...Show All
Visual Basic Interacting with another aapplication
Hey, I have a project in which i have to interact with another application written in vb. Now it has some combo boxes which i have to fill and a button i have to click. I also have the code for this application and the modules and the form is accessible.But the problem is i want to interact with this application at run time . Any suggestion as to how i may do this An early response would be appreciated. Thanks Hello, I've never tryed it but should be something similar to: Dim pn As Process() = Process.GetProcessesByName( "notepad" ) If pn.Length > 0 Then Interaction.AppActivate( "notepad" ) ...Show All
Windows Live Developer Forums MSN PROBLEM
ive recently bought a brand new laptop and installed msn messenger ( from the msn site). When i go to sign in it really lags alot, and it never actually signs in... Sometimes i get a error message 80040111 and sometimes it just asks me to try again. Ive tried uninstalling and reinstalling it hundreds of times not to mention deleting any addons or patches. Ive tried to update that DLL file aswell but still get the same message. Windows messenger on the other hand works fine... along with msn messenger on my mates laptop as i have no worries signign into that. Ive also took any firewalls off etc aswell its really pissing me off tbf now aswell ...Show All
Visual C# XML
Is there anyway for a DataGridView to read an XML file and display it Try this post. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=155336&SiteID=1 Also, there is a Windows Forms Data Controls and Databinding forum that is great for questions like this. Thanks, Karen ...Show All
