Answer Questions
rgreene_blizzard MSXML JumpStart fails under VS2005 (Error C2664)
I just downloaded a fresh shiny copy of " JumpStart for Creating a SAX2 Application with C++ " from the MS XML Developer Center. I'm a little surprized to see it doesn't even compile under VS2005, but I'm happy to massage it to get it to work. The issue I could use some input from the forum comes from the fact that before VS2005, wchar_t was declared as unsigned short, but wchar_t is a fundamental type (as it should be). The t ...Show All
Mohit Saini package 'Windows Forms Designer Package' has failed to load properly
Hello, I'm trying to install Microsoft Visual Web Developer 2005 Express and I'm getting the error: package 'Windows Forms Designer Package' has failed to load properly... I have uninstalled and reinstalled NET 2.0 SQL Express 2005 the same Visual Web Designer, clean the registry etc... Any idea Please HELP!!! Thanks. I recommending posting to the ASP.NET web forums. They should be able to help you with your issue. http://forums.a ...Show All
roger-v Cannot convert type 'System.Type' to 'System.Data.SqlDbType'
I encounter error, " Cannot convert type 'System.Type' to 'System.Data.SqlDbType' " when attempting the following code: // Create a secondary DataSet in order to research the unknown data types of the destination table columns. SqlDataAdapter sqlResearchAdapter = new SqlDataAdapter(); SqlCommand sqlResearchCommand = sqlSelectCommand.Clone(); DataTable sqlResearchTable; DataSet sqlResearchSet; sqlResearchAdapter.TableMappings ...Show All
Compugab Windows Message
I'm trying to write a program in C# that will sit in an infinite for loop, waiting for any other application to write to or read from the registry. I have a few questions, I was hoping people maybe able to help with:- I intend to override a Forms WndProc function and take in the System.Windows.Forms.Message and compare the Msg from the Message for a particular WM_ value - Could you tell me if there are particular Windows Messag ...Show All
dush1 Dependency Generator Issue??
We are currently including a selection of complex types from one schema document into a schema defining a dataset. However, the code generation tool doesn't seem to be able to detect that the datasets need to be regenerated when the included schema is changed. We are currently on VS 2005, but this problem was also an issue in VS 2003. Are there any know workarounds or fixes for this Then if I were to reference the schem ...Show All
Gert-Jan van der Kamp Microsoft Excel and ASP.NET woes... Help needed please...
Here is the problem:Following code opens a connection to an Excel spreadsheet and updates three fields. A group of other cells are then automatically updated by Microsoft Excel within the spreadsheet. These cells are then returned and displayed within a datagrid. The population method takes three arguments that are contained within the query string ( http://localhost/wssmzone/ballistics/ballistics.aspx fps=3950%20&gr=45%20&bc=0.203%20&am ...Show All
lfranklin How to create a method with parameters?
I want to create a method object of a class with the class CodeMemberMethod , This method may need serveral parameters, the parameters may be simple data types like Int, bool, or may be objects of some classes like DataTable. How to create a method with parameters You can repeat this line: // Add the parameters m.Parameters.Add( new CodeParameterDeclarationExpression( "System.Int32", // Parameter ...Show All
Peter Hull How to transfer an object between two .net app?
I've two app that have been written in .net (server and client). I wana send a command to server via client and in response server returns an object ( e.g. OleDbDataReader). Is there any way sir, i am new to .net and vs2005.but i am doing my final year project in .net. in my project i want to create two application (client and server ) to communicate. so, i need ur help. how to create those two applicatio ...Show All
Steven I. Additional information: The process cannot access the file because it is being used by another process
I am trying to read all the addresses contained in my network and write them in a text file..I am using the undersaid code string MyAddress=Dns.GetHostByName(Dns.GetHostName()).AddressList[0].ToString(); System.Diagnostics.ProcessStartInfo psi= new System.Diagnostics.ProcessStartInfo(); psi.FileName=@"C:\WINNT\System32\cmd.exe"; psi.Arguments="/c net view > add.txt"; psi.WindowStyle=System.Diagnostics.ProcessWindowStyle.Hidden; //app ...Show All
Dan W Hollingsworth Remoting and INotifyPropertyChanged
I am trying to create a remote business object that implements INotifyPropertyChanged in VB .NET 2005 and keep getting the following error, "System.Runtime.Serialization.SerializationException: Type 'System.ComponentModel.ReflectPropertyDescriptor' in Assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable." My remote class uses MarshalByRefObject and from what I can find ...Show All
TheUaRT How to force build in Framework 1.1 environment
Hi, On W2K3 system I installed VS 2005 and I automatically got .Net FrameWork 2.0 installed. When I build an app it builds in .Net Framework 2.0. This prevents it from executing on system with Framework 1.1. Question is how do I force VS 2005 to build in FrameWork 1.1 I did check in the registry and found I have both framework installed. 2.0 did not clobber 1.1. If any one can reply to this that would be awesome. thanks ananda vardhana ...Show All
ganesh.p Upgrade to .Net2 framework?
Hi, I'm looking at upgrading my web sully backwardserver framework from .net1.1 to .net 2. Is .net2 fully backward compatable as I already have several web aplications using 1.1. Thanks Glyn .NET 2.0 is not completely compatible with .NET 1.1. The breaking changes are documented here: http://msdn.microsoft.com/netframework/programming/breakingchanges/default.aspx You need to go through them and see if they aff ...Show All
revati27 StructLayout Sequential not working for class
Try running this example: -------------------------------------------------------------------------------- [StructLayout(LayoutKind.Sequential)] class Test { public bool var1; public int var2; } class Program { static unsafe void Main(string[] args) { Test t = new Test(); fixed (bool* p1 = &t.var1) { fixed (int* p2 = &t.var2) { ...Show All
george moudry WebClient help
Hi, I'm writing a download utility for our company that allows users to download 1 to X files. In order to display a list of available downloads I use FTPWebRequest., and what a hassle that was! Anyway when it comes to downloading selected files I want to use the WebClient protocol so I can use the async method with its associated events, for progressbar etc. The problem lies here in that with the FTPWebRequest you have to set UsePassive to fals ...Show All
krhyzsy how to add multiple data into datagrid from textbox and save it into Access db
i have a window form application with using vb .net 2003 and Access database. i have few text box with a datagrid in a form. i need to add the text box data into the datagrid 1st only then all the data in the datagrid will save into the database. here is the question, the data from textbox is added 1 at a time with using a button, after confirm with all the data add into the datagrid another button will be used to save into the Access d ...Show All
