VladR's Q&A profile
Commerce Server Connecting to the ProductCatalog Database from CatalogManager
Hi, I've extended the Catalog Manager with the Image Management System from Max Abkars Blogs. Now I'm sitting in front of a problem, then with the class DatabaseAccess I want to connect to the ProductCatalog Database of the Site which I have currently open. in Max's Blogs it establishes the connection like this: string siteName = imageSiteAgen.SiteName; CommerceResourceCollection cs = new CommerceResourceCollection(siteName); OleDbConnectionStringBuilder builder1 = new OleDbConnectionStringBuilder(cs["Product Catalog"]["connstr_db_Catalog"].ToString()); builder1.Remove("Provider"); db = new SqlDatabase(builder1.ConnectionString); The problem here is that i canno't connect tho ...Show All
Software Development for Windows Vista Framework 2.0 Security setting on Window 2003 servers
Hi, We are looking to implement .net Framework Security on Windows 2003 servers and I would like to get some advices from experienced folks. We have a terminal application that access to file servers to read/write files. All domain users are using the termial app to do their job. Currently the shared folder is opened on file server (modify right – NTFS permission) to domain users. We would like to lock down the NTFS permission but still the application can allow users to do what they need to do (read or delete). Questions. 1. Do I need to install Framework 2.0 SDK on both Terminal Server and file server I look at the enterprise level of Runtime security policy but not too much details on communicate t ...Show All
SQL Server How to create cumulative S-curve?
Hi I need to make two reports: one containing the Raleigh chart, the other containing a cumulative curve. In the raleigh report I do this: Per project I can see the amount of mandays on a timebase(weeks). For the s-curve (cumulative curve) this needs to happen (and I dont know how): I need to see the sum of the amount of mandays on a timebase(weeks). An example: In raleigh curve: week1 has 20md(mandays), week2 has 30md, week3 has 15md, week4 has 5md In s-curve the same values should give: week1 has 20md, week2 has 50md(30+20), week3 has 65md(50+15), week4 has 70md (65 + 5) I tried a sum of a sum but thats not allowed in RS Anyone who knows how to generate an s-curve (cumulative curve) ...Show All
.NET Development Are there another choice for ExecuteNonQuery?
Are there anohter choice in Visual Basic 2000 instead for executeNonQuery. For the moment I use this command in while-loop. The problem is that it seems the executeNonQuery only run one time in the while-loop, even it suppose run many times if the the while-loop runs more then on time. Here are some code While Sum <> 0 connDatagrid = New MySqlConnection() connDatagrid.ConnectionString = ConnectionString connDatagrid.Open() Try For IdLoop = 1 To DepartLoop MessageBox.Show(IdLoop) myCommand.Connection = connDatagrid myCommand.CommandText = "update vnstelefon set idnr = idnr + 1" + " where idnr = " + TextBoxIDnr.Text.ToString + " and orginal = '" + ComboBoxD ...Show All
Visual Studio 2008 (Pre-release) Underlining content in WFP RichTextBox
Hi, I have the absolute start index and the last index of a section of text I would like to underline in a RichTextBox however there seems to be no obvouis way to do this easily. Bonus points if you know how the underlining can be nice and red and wigglely. Thanks, Rob This is the WPF/E forums, but if you're trying to do this in WPF see this post: http://blogs.msdn.com/henryh/archive/2006/08/11/696159.aspx ...Show All
Visual Basic Datagridview selected row problem
I everyone... I've got a problem at a datagridview row seletion. I've got a function to search ID in all datagridview rows, and when it find the correct row with my seach id, i need to select the row. At this point, no problem: For Each row As DataGridViewRow In dgvContas.Rows If row.Cells("CodigoConta").Value = CodigoConta Then 'selecciona a linha correspondente ao codigo de conta dgvContas.Rows(row.Index).Selected = True 'Altera a area de visualizacao de forma a mostrar 'a linha seleccionada &n ...Show All
.NET Development XML and XSD for aspx page
Hello, i have an aspx page that prints XML file (i.e Response.ContentType is xml) .. i want to use an XSD to specify that this page can only write XML or a particular format, how do i do this thanks in advance It is not clear what you are asking about. Do you want to know how to create or generate an XML schema for your XML The xsd.exe tool in the .NET framework SDK is one way to generate a schema. The .NET framework 2.0 also has a class XmlSchemaInference to do it programmatically. Or do you simply want to know how your XML document can reference a schema to be validated against Then you need to include an xsi:schemaLocation or xsi:noNamespaceSchemaLocation attribute in the XML document referring ...Show All
Visual Studio How to debug a wcf project from visual studio 2005?
Hi, I have developed a wcf service with the last version of wcf software factory. How can I debug this wcf from visual studio If I use the debug service of guidance package, it loads the .svc page, but it only says that I have created a service and that I can test the service with this svcutil.exe http://localhost :... Thanks. ...Show All
Visual Studio 2008 (Pre-release) Metadata publishing for this service is currently disabled.
I was using the July CTP but because of a decision by my development manager, I had to uninstall and resintall the June CTP. Now that I have done that, I am no longer able to generate a WSDL. The "Information" page that is displayed when I go to a service "home page" says: This is a Windowsc Communication Foundation service. Metadata publishing for this service is currently disabled. If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file: 1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration: < behaviors > < ser ...Show All
Internet Explorer Development WebBrowser control modifies HTML entities: How to get original source code?
Hi everybody, i have an (ANSI) C++ application that hosts the WebBrowser control. I write an HTML file to the control via m_spMsHtml->write( sfArray ). The I use the HTML editing functionality of the webbrowser to modify the source, lateron I read the content back and save it to a file again. This works quite good until I use special characters like german or greek characters with their HTML encoding. If a document contains characters like these: ä<br /> ü<br /> Σ<br /> α<br /> then the "write"-command already translates these into their unicode-equivalent, so they become to a u Σ α I would like to keep the HTML-equivalent. Is there any way to do this ...Show All
Visual Studio Team System is there Site Analysis in VS team edition ?
Is there Site Analysis in VS team edition I can't find it . if there is no site analysis feature, are there plans to add a Site analysis feature as a patch or update together with an automatic wizard for a web links test to test all the links for a website automatically Thanks ! Currently we do not have this feature, nor is it planned for our next release. We are in the planning stages for the release after that and will consider your request for that release. In addition to a link checker, are there other things you are looking for Ed. ...Show All
SQL Server How to get started on Microsoft SQL Server Management Studio Express
Hi, Was trying to open AdventureWorks when i got this error: "There is no editor available "C: Program Flies.....\AdventureWorksDW_Log.LDF' Make sure the application for the file type(.LDF) is installed. How can this error be corrected I also have some error on mdf not installed.May i know how should be the initally steps to be done inorder for me to view this database. And if i do have a database from microsoft access, what are the steps that i need to do inorder to get it export to Microsoft SQL Server Management Studio Express. Please advise as i really new to it. Thanks! hi, kumalla wrote: Thanks for the info.Btw, how do we attach access database which is mdb format The form design that i have in access ...Show All
Visual Studio Opening editor with particular code page
I would like to be able to tell the core editor which code page to use when openning a file (instead of auto detecting). I currently use IVsUIShellOpenDocument interface to open documents when the user clicks on a file node in the solution explorer. But I can't find any way to tell which code page to use. Any suggestions on how to do this vsphp Hallo, Normally there is a different editor factory for normal editors and editors with encoding. I suppose you're also the editor factory implementer. If yes, then follow one of the following procedures in your implementation of the Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.CreateEditorInstance() method: To set the text buffer to a ...Show All
Windows Search Technologies Windows Desktop Search 3.01
I'm please to announce the general availability of Windows Desktop Search 3.01 Overview Windows Desktop Search (WDS) 3.01 is a minor update to Windows Desktop Search 3.0 that adds: support for indexing UNC files, additional support for enterprise deployment, and stability improvements. WDS 3.01 installs on Windows XP and Window Server 2003, but is not needed for Windows Vista since the WDS component is already included in Vista. Windows Desktop Search 3.01 helps you to find, preview, and use your documents, e-mail, music, photos, and other items. The search engine in Windows Desktop Search 3.01 is a Windows service that is also used by applications such as Microsoft Office Outlook 2007 and OneNote 2007 to ...Show All
Visual Studio Line-breaks in <remarks/> bloc in SandCastle
Hi, Anybody knows how to insert line-breaks into a <remarks/> bloc I tried the tags I used in NDoc without success. More generally, is there any documentation about the accepted tags Thanks Philippe CSC wil process html or any other tags. We are nuking the HTML tags and not processing the other nDoc custom tags in our transforms currently. We will definately provide support fot this scenario in our RTW. Anand.. ...Show All
