Mr. Poll's Q&A profile
Visual Studio always got this ERROR MSG on build debugger
fatal error LNK1000: Internal error during IncrBuildImage.Pass1 whenever i changed my code, and re-compile, i would always got this error. then i try other time, and it passed...dont know why must i re-install VS ...Show All
Windows Live Developer Forums When is it gonna be released
Hello, When is live chatting going to be included into live.com thanks I think the forum title related to this kind of chatter . ...Show All
Windows Forms Another question
I notice when I look at the program files that there are some palm os files. There are pdb but no prc files. What should be done with these The PDB files contain debugging information, they are not Plam related. ...Show All
Smart Device Development xmlserialisation different in .net Framework and Compact Framework?
Hi, looks like .net CF framework does not support xmlserialisation of the array of class that i define. the same code works without problem in my desktop but it does not deserialise properly when i use it in my PPC. i have not tried serialisation but deserialization gives problem. here is the xml that i want to deserialise: < xml version="1.0" encoding="utf-8" > < MyProfiles xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd =" http://www.w3.org/2001/XMLSchema "> < Profiles > < ProfileName > Home </ ProfileName > < ProfileD ...Show All
.NET Development Windows Service
Hi, I have created a windows service application with VS 2003 and c#. But it seems OnContinue method which Ive overridden it dosnt work.Start and Stop methods working. here is my sample code for service: protected override void OnStart( string [] args) { eventLog1.WriteEntry("DataReader service started."); FileStream fs = new FileStream(@"d:\myservice.txt" , FileMode.OpenOrCreate, FileAccess.Write); StreamWriter m_streamWriter = new StreamWriter(fs); m_streamWriter.BaseStream.Seek(0, SeekOrigin.End); m_streamWriter.WriteLine(" Start.... \n"); m_streamWriter.Flush(); ...Show All
Visual Studio 2008 (Pre-release) WCF Load balancing
Hi, We are developing a large web application (ASP.NET 2) that communicates with a stateless distributed middle tier (.net 2.0) using WCF. In production we need the ability to scale up the number of middle tier boxes. Is there any information on how we would implement load balancing between the web servers and our middle tier servers using WCF is WCF going to introduce a new technology to support scalability (Component load balancing ) Thanks, Nicolai. Hi Nicolai, Scale out scenarios of this type (stateless services) are supported in WCF just like for all the other Web Ser ...Show All
SQL Server Copy Database with "Transfer Database Task" breaks identity columns?
Hello all! I'm trying to do something which is seemingly simple, but I keep running into problems, so I am hoping for some friendly advice. I have a live SQL database running on a hosted Sql Server 2000. I'd like to copy that database to my local machine running Sql Server 2005. What is the easiest way to do this I tried creating a very simple SSIS package with one "Transfer Database Task" which does the database copy. This almost works, but all of my "identity columns" have been turned off for some reason. Is there a better way to copy a database Is this "identity" thing a setting I am missing or is it a known issu ...Show All
Windows Forms remote server is unreachable or the request has timed out
I've installed the Client and server applications to two different Windows 2000 machines and get the same error on both when I start the client "The remote server is unreachable or the request has timed out." I have SQL Server 2000 and sa has a blank password. The SQL Server instance can be referenced using "local" and I believe that&nb ...Show All
Visual Studio Express Editions Installing visual studio express problems
Hi All Having problems after downloading the express editions of vb and web developer. it copies 39 files to the temp area then does the loading instalations componets, i accept the license aggrement and click the two boxes. I then click install, it then says :- Microsoft Visual Basic 2005 Express Edition - ENU has encountered a probelm during set up. setyp did not complete correclty. Error signature bits says something about dllmgr_bitserror P7 :- 2148023651 P8: 0 P9 : cdownloadjob_addfile have tried several times cleared down mt %temp% dir, running windows home xp SP2, i am the adminstator. also in the error report contents it says ...Show All
Windows Forms Binding DataGridView to Junction (many-to-many) table.
Hi. How do I bind a DataGridView to a junction (many-to-many) table in a way that the DGV displays data from the lookup tables being joined by the junction table I have worked with the DGV column types such as DataGridViewComboBoxColumn but haven't been able to get them to work in this complicated scenario. I'd like the user to be able to select values (being displayed in DataGridViewComboBox columns) from the lookup tables and a new row is added to the junction table. I have an Author lookup table, a Title lookup table and a junction table called AuthorTitle. In the DGV I ...Show All
Visual Basic Assign Datasource to DataGrid at Runtime
hi I want to assign datasource to the datagrid ( or any other compatible grid..if u have suggessions pls tell me) This is my code [ VBCODE] Dim cst, sq As String sq = "SELECT * from TABLE" Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset con.Provider = "Microsoft.Jet.OLEDB.4.0" con.Open "F:\Trial\trial.mdb" rs.Open sq, con, adOpenDynamic, adLockOptimistic, adCmdText DataGrid1.DataSource = rs.Source [/VBCODE] But while executing the program i get the following error ...METHORD OR DATAMEMBER NOT FOUND.. ie not recognising the datasource property at runtime the Adodb connection etc etc works fine ...Show All
Windows Forms Data Binding
I have a form with data bindings to my sales table i have the item field combo box bound to my product table to display the items in the drop down is there a way when i select an item in the combo box that items price will display in the item price textbox. thankyou barryt Barry, Yes. If you're using a BindingSource object, then in addition to binding your combo box to the sales table, you can also bind your price textbox to the sales table using the same BindingSource. Whenever the Current property is set on the BindingSource via selecting an item in the combo, the textbox should u ...Show All
.NET Development how to add a network place
I would like to know if it's possible to add a network place via .net (csharp) or by a command from a console. Yes, I know it can be added through a wizard but I'm interested in the first two possibilities. Thank you in advance. Hello Mike, this is a Windows concept that is useful in combination with sharepoint and office integration but it's not particular for sharepoint or exclusive to apply in it. You can find the basic steps to map a network place in: http://www.york.ac.uk/services/cserv/help/compyrk/network_places.html It seems it is not possible to make it programaticall ...Show All
Visual Basic Using process to run a batch file
I am converting a VB6 app into VB.net. This app checks the existance of source files in RCS by creating a batch file which checks out the source files and copies them to a temporary directory. The app then looks in the temporary directory for the existance of the files. The VB.net version works except that the batch process is copining the files to the Windows directory instead of the temporary directory which was made the default. It creates the batch file itself in the temport directory but doesn't copy the files there. The most current version of the code is below. When I run the batch file in DOS it works fine and when VB6 does it it wor ...Show All
.NET Development load 1 record into a variable
hello all i'm quite new to vb.net i'm trying to use the online help suggestion that's supposed to load a specific table row into a variable: Dim Lnrow As paraohDataSet.LoansRow Lnrow = ParaohDataSet.Loans.FindBylID(5) (5-an existing key in my table) trying to use it to reach any value, like using this line: LID.Text = Lnrow.lID causes an error : "Object reference not set to an instance of an object." since that's exactly as it is in help, i cant find where i do wrong please help thanx Erez. I was experiencing the same problems, so I experimented and found that the code below w ...Show All
