Iulian's Q&A profile
Software Development for Windows Vista Vista installation problem
hi i have downloaded windows vista and have tried installing it (i am using daemon tools to mount it) 3 times on a 40gb ide hard drive. i have 2 40gb had drives 1 with xp on and 1 for vista. also i have a 250gb external 1 for backups. part way through the installation after it restarts for about the 3rd time it boots into xp and when it finshes loading i get a message saying: Your Windows Vista installation has failed Your previous version of windows had been restored. To try installing Windows Vista, back up your files, and then perform a clean installation. And i have from the start been doing clean installations simply bec ...Show All
Visual Studio Team System Question about binding and executing once per record in the data source
Hi, all. I have a question about how binding to a database works in web tests. I have a set of SQL Server tables that I use to bind my web tests to a data source. If I set my web test to execute once per record in the data source and I bind my web test to several tables, will it execute once per number of records in the first table or will it actually execute once per combination of each record. Here's an example. Let's say, my web test has two steps: Step1 and Step2. Step1 has some post parameters bound to fields in Table1. Step2 has some post parameters bound to fields in Table2. If both tables (Table1 and Table2) have two rows each, ...Show All
Visual Studio Any way to print a rich text content (like htm stored in database)?
Hi Rajeev, what I am trying to do is put into a database something like a html page (with no external file like images of course) and render it on a report. This works well with gridview thanks to the property "htmlencode" set to false in the right cell. But when I print the same field in local printing with a rdlc file, no way to render rich text for printer. It's Html encoded. Have you any idea It's so limiting to render only plain text... Thanks a lot Hi Guys, Is a feature like this STILL not available I want to just put a text box control onto my page like I can in Crystal reports, a ...Show All
Smart Device Development System.Net.WebException:Could not find resource assembly :
I am trying to access a Service at a specified URL. Code Snippet : =========== req = (HttpWebRequest)HttpWebRequest.Create(url); req.Timeout =REQ_TIMEOUT; //Throws up error at time Not sure y response = (HttpWebResponse)req.GetResponse(); responseStream = response.GetResponseStream(); At times I get this exception "System.Net.WebException:Could not find resource assembly" please advice. TIA Raj Most common reasons for HTTP problems are using “localhost” as server name and various network issues. To investigate this problem you can install System.SR.cab (which contains ...Show All
Visual C# Signing an assembly with a key container
The AssemblyKeyName attribute I've been using to sign my assemblies with a key from a container is now deprecated in VS 2005 (I'm using the Standard released version). I get this warning message: AssemblyInfo.cs(59,12): warning CS1699: Use command line option '/keycontainer' or appropriate project settings instead of 'AssemblyKeyName' But as far as I can tell, there's no way to specify a key container in the project settings, only a key file. I also can't find a way to specify command line options to the compiler. I can do both for managed C++ projects, but not for C#. The only workarounds I've found are (1) use a key file instead of a key c ...Show All
Visual Studio extending c# editor
Hi, I want to make a vs package for am AOP tool. Wat I'm interested in is in displaying in a tool window what aspects apply to the file it's being edited. I would like it to be something like the "class view" in visual studio but displaying something else. I don't know how to connect the editor with the toolbox, to catch events as editing or saving. I don't want to make a custom editor, because it's intended tu use with the c# editor, maybe extending this editor Thanks, Diego DTE is a service provider, so you will QS for SID_DTE with an interface of IID_DTE2, then call the E ...Show All
Visual C++ failed assertions leave code running behind the message box?
Is there a way to get other threads and timer callbacks to halt while the assertion message box is on the screen We don't want the program state to change between when the assertion happens and when we click Retry to break the debugger. You haven't specified whether you've created threads with a Win32 API or in .NET. If it's Win32, then you might want to create your own assertion macro that wraps the normal assert plus call a function of your own called SuspendAllThreads(). Assuming you've kept a list of thread handles, you can call the Win32 API SuspendThread on each of them. See http://msdn.microsoft.co ...Show All
Visual Studio Error Executing VSI File with Toolbox Controls
I tried to deploy a custom control in VSI file and I got the following error: Package Load Failure Package 'ToolBox Control Installer Package' has failed to load property (GUID = {36839529-3AF3-47FA-8194-F4A3FA9F0ED7}). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. Here is my vscontent file: < xml version="1.0" encoding="utf-8" > <VSContent xmlns=" http://schemas.microsoft.com/developer/vscontent/2005 "> <Content&g ...Show All
.NET Development Explain .ConnectionString Mechanism
I am interested to know how the ConnectionString line of code works. It appears to search machine.config, app.config and web.config. Anybody have any background on how this process works Does it really search all three files and in what order Protected Function DB( ByVal DatabaseName As String ) As String Return ConfigurationManager.ConnectionStrings _ (DatabaseName).ConnectionString End Function Are there any genuises at MS that have any background information on this I would love to see a KB article on this subject. Somebody should con ...Show All
Smart Device Development this.hide or this.visible=true not working...
Hi, i have a form consisting of only a text box. in the form_load, i have code that reads "this.hide()". However then the form loads, it is still visible. I have also tried "this.visible = true" and have tried them in the forms constructor as well, but nothing i try seems to work. Is anyone else having this issue with WM 2005 and CF 2.0 OK, I started with a brand new project and the only code in that project is below. The form refuses to be hidden...is this a bug using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; us ...Show All
SQL Server Cannot shut down VS after using report designer
Routinely when I use BIDS to work on a report design, I cannot close BIDS because I get a message box that says: Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again. Of course, there is no visible dialog open. I actually have to terminate the process from task manager. I do not get this problem when using SSIS or SSAS. Only SSRS. Any Ideas Thanks! BobP Myself and a number of colleagues are having the same error come up. We are only able to shutdown the visual studio by going to task manager. Still trying to find the cause, but if anyone else knows a ...Show All
SQL Server Migrating from Acess 2003 to Sql server - Function Val()
Hi folks I do a lot of work with address data. I have been using Acess 2003 as my database but now need to upgrade to SQL Server. My queries have been making extensive use of the Val function to order my queries on address columns. A typical address column might be: 12 The Avenue ....... by using Order By Val(AddressCol) I can sort these rows in ascending house number. I can't find anything in SQL Server that will acomplish this. Does anybody have any ideas. Thanks Paul why do you need to reference the val() function is there something in your column that you want to exclude Doe ...Show All
Visual Basic Using HTML code with Visual Basic 2005
The HTML codes creates a basic web page... can I use this code to display the page with the web browser Any ideas Thanks. Okay, I have a problem, how do I specify this line that already has " quotes in the document.text line Thanks. <input type="hidden" name="cmd" value="_xclick"> ...Show All
Windows Forms Default Publish Setting
By default whenever a new album is added the Publishing Settings is set to Upload. How can I make the default in FotoVision only thanks, jeff reed Setting Me.Publish = False in the ReadXml method works for all new albums. Although I was having some issues, I'll do some more testing with the AddAlbum method later. Thanks for the help, it's  ...Show All
Visual Studio Team System Build Error with rptproj file
I am trying to use the Team Build facility to build a solution that contains several class files, a couple of web services, a web project a couple of windows services and their associated setup projects. The configuration I am building only includes the web project and 3 class files. I think I am about there but have one error and 3 warnings that I can not resolve. The error concerns putting the MSBuild namespace into my rptproj file. I have tried this several different ways but anything I do causes Visual Studio to complain about the file and refuse to load the reports project in the solution. And to make it more confusing to me, none of th ...Show All
