Mystagogue's Q&A profile
Smart Device Development .NET Compact Framework 2.0 Service Pack 1 is released and available for download.
Please follow this link for download and list of changes: http://www.microsoft.com/downloads/details.aspx FamilyID=0c1b0a88-59e2-4eba-a70e-4cd851c5fcc4&displaylang=en Note: if you have previous version of NETCF V2 MSI installed on your desktop, please uninstall it first. They should, that's our goal anyway. ...Show All
Visual Studio Team System Solution requiring hardcoded path to projects
I have a master solution that I'm using to build all the dependent projects in our web application. When I use team build to build the solution it fails because the use of the BuildDirectoryPath is throwing off the full paths in the solution file. I could get around this by overriding the BuildPath in tfsbuild.path, but my real question is what would cause my solution to require that the hardcoded paths to the projects exist, rather than rely upon the relative paths For example, here is a sample from the solution file. Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CompanyName.Common.Global", "D:\IT\Objects\Common\CompanyName ...Show All
Visual Basic XML Creation
Hi, Hopefully this is the correct place for this type of (probably quite basic) question.. apologies if it is not.. I have some html (that is xhtml compliant) and I want to add it to a xmldocument that represents a part of a web page (I know which node in the document I want to append the text to).. However I am not sure of the best way to do this.. I began by creating a xmlelement and setting the inner text to the html fragment, however when doing this I found that the html is automatically escaped (i.e. "<" becomes "<" etc) I don’t know how long the incoming html will be and thought there must be a simpler way than writing a parser to parse the incoming string and add each node ( ...Show All
Commerce Server Color and size info
Does anyone know how I can access the Color and Size fields for the product variants in the Starter Site via the API This will not work for you. You will have to try something like the following public string GetProductVariantColumn(string columnName,string variantId) { string returnValue = String.Empty; ProductFamily pf = (ProductFamily)this.ProductItem; if (this.ProductItem != null && this.ProductItem.HasProperty(columnName) && !this.ProductItem.IsPropertyNull(columnName)) { returnValue = (string)pf.Variants[VariantId]; } return returnValue; } where ProductItem is a Product ...Show All
Visual C# Get Part of rows from DataTable .
Hi I have DataTable with many rows. i want to get from DataTable alway 20 rows. Once the first 20 records and next time i want to get the thrid (20 records). which way it is easily to make this. take a look at these articles: http://www.codeproject.com/useritems/eboxzone.asp http://www.sitepoint.com/print/asp-nets-pageddatasource hope this helps ...Show All
Windows Live Developer Forums how can you detect the version of messenger
how can you detect the version of messenger from a html page. I'd like to launch my app from a html page and would need to detect the version of messenger first. How can I do that Thanks, Mark ...Show All
Visual Studio Error Logon
I have read a lot of posts on what people did but it seems like everyone did the same thing but i dont understand any of it. I have VS 2005 and when devloping reports they run fine on the development machine but when moved to the server and accessed from a client machine inside the network a page comes up asking for login information. I have intergrated windows auth into the intranet site. How do i get rid of this page and just display the report here is the code to my file <% @ Page language ="C#" masterpagefile ="~/MasterPage2.master" autoeventwireup ="true" codefile ="closeouts.aspx.cs" inherits ="Closeouts" title ="Untitled Page" %> <% @ Regist ...Show All
Visual Studio Express Editions I Need Help With Creating My Web Browser
I am creating a web browser that is focused at loading pages at very high speeds. I have all of the basic "Forward" "Back" "Refresh and all of the major stuff down exept for the "Stop" Button. Also I am wondering how you can rigg your browser to automatically delete Cookies and tempory files as soon as they come. PS...My Browser works awesome already. Right now I am using it to create this post. well the temp files and cookies are stored in the same way as IE stores it - in the cookies/temporary internet files folder. the web browser control is a stripped version barebone version of IE I believe so the characteristics would be similar. Look at the Document.Cookie property on the web ...Show All
Visual Basic Transfer data to excel using sql query
Hi guys Do anyone noe how to transfer data to excel using sql query.. Now I'm using VS2005 with no connection string involve. I really need help... Thanks alot.. see this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=655351&SiteID=1 ...Show All
SQL Server SSIS Inner Join Problem
I have a Merge Join transofrmation that takes as input Table1 and Table2, which are each OLEDB Sources. Both tables have IsSorted set to true and the join key set to position 1. Table1 contains 242 rows. Table2 contains 61 rows. I connect Table1 and Table2 to my Merge Join Transformation, and slect the join key. For some reason, during transformation, the join is messed up because it spits out 69 records. If I write an equivelent statement is T-SQL, the results are correct: Select Table1.Col1, Table1.Col2, Table2.Col1 FROM Table1 INNER JOIN Table2 ON Table2.JoinKey = Table1.JoinKey The results are 242 because every instance of JoinKey exists in both tables. Having double cheked sorting and data types, I am ...Show All
Visual Basic writing bytes to a file
I have a program which generates data which I want to write to a file so that I can access it later. How do I open a file to append data and later open it to acess the data In your solution, create a new Class Library project. Actually, I wrote this very article up in either vb language or vb general forum. It tells you how to make a dll from beginning to end. Do searches in those two fora for Reneec and DLL. It'll turn up. Good luck! ...Show All
.NET Development FileSystemWatcher - event is for a file or folder?
FileSystemWatcher can raise events to determine when a file or folder has been created, changed, deleted or renamed. The event argument determines the type of change, but does not specify if it was a file or folder. Does anybody have any suggestions on how to determine if a file or folder is being changed One suggestion has been to use the 'name' argument, to check if a folder exists with that name. If it does exist, then it can be assumed that the event is for a folder, if it doesn't exist, then it can be assumed that the event is for a file. I personally dont like this approach, as it doesn't handle deletions, i.e. if a delete event is raised, how can you check to see if a file or folder exists when it will have been deleted The ...Show All
SQL Server XML reserved chars
consider this short T-SQL snippet: it fails because instruction set @m = '<boom' contains an illegal char: declare @m nvarchar(255) set @m = '<boom' declare @msgs nvarchar(max) set @msgs = '<test1>'+@m+'</test1>' declare @x xml set @x = @msgs Anyone knows a way to automatically or manually convert '<boom' into '<boom' when I assign to an xml datatype something like that: set @msgs = '<test1>'+PREPARE_FOR_XML(@m)+'</test1>' TIA Use replace declare @m nvarchar(255) set @m = '<boom' declare @msgs nvarchar(max) set @msgs = '<test1>'+replace(replace(@m,'<','<'),'>','>')+'</test1>' declare @x xml set @x = @msgs select @x De ...Show All
Visual Basic VB.Net general
Hi all, Can I show a form within a panel of another form -- Atanu It sounds like you really need a user control, rather than putting all your controls onto a form. I can't think of any reasonable reason to host a form within another container, particularly when you have the option of using a User Control. A form isn't designed to be hosted within another control (generally), whereas a Usercontrol is. The user control is also a container, so can perform all the functions you require (e.g. adding additional controls and even more containers). ...Show All
Windows Forms how to earse text in listbox
i tried this but it doesn't work, what sould I do private void button3_Click( object sender, EventArgs e) { listBox1.ClearSelected(); } On Form2, expose a property for each textbox you have: public string Text1 { get { return textBox1.Text; } } // repeat for each TextBox on Form1, call Form2: using ( Form2 form = new Form2 ()) { if (form.ShowDialog() == DialogResult .OK) { listBox1.Items.Add(form.Text1); // repeat for each TextBox } } Just try to give your textboxes/properties more meaningful names... Andrej ...Show All
