xico's Q&A profile
Visual Studio Team System Project Site Login error to Report Server
I am getting the following error when I go to the project site: Reporting Services Error A few questions: 1. Was this single-server or dual-server 2. What account was used to install SQL Reporting service 3. Could you load page http://localhost/Reports Thanks, Scott ...Show All
Visual Studio Team System Sharepoint services - uninstalling
We are installing the rtm (workgroup) of TFS and I accidentily installed Sharepoint services in the NON-Server Farm mode (we are doing a dual-server deployment). I thought i could just un-install and re-install sharepoint services but when i re-install it does not prompt me for the mode. I am at a complete loss. I have uninstalled and re-installed..well, i lost count how many times. What am i doing incorrectly Scott I was wondering how do you uninstall MSDE manually I have a problem with installing Team Foundation, the install fails with a message that SharePoint is using MSDE, and must not... I checked the installed applica ...Show All
Smart Device Development VS2005 always deploys framework files
I am developing an application for SmartPhone 2003 using VS2005. When deploying the application VS always copies the standard framework files (System.dll, etc) to the target application directory even though these are already in the GAC. The app runs fine on the GAC files if the files in the app directory are deleted. Any way to stop this download (to save time and space on the target machine, especially if multiple apps are under test) What do You hit build or deploy because if you hit deploy it should only copy the program files and send them to your mobile device but if you hit build it will s ...Show All
Windows Forms Including forms from other projects - resource problems?
Ive created two forms which i keep in Includes\Misc\ as i use them in all the apps im developing. one is a splash screen, the other is an about dialog however it seems i have to create them separately every time i want to use them - if i include them from the include folder, i get the following error... ********************************* Could not find& ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Lost Device? What Scenario?
Hi I Have a problem with a simple D3D application. The program runs in windowed mode. 1) When I minimize/iconize the window it hangs (not crashes) in the taskbar and I cannot restore it again unless I forcibly close the window, as if it were running an infinite loop. Even the Debugger cannot report anything what's wrong. I can only close it with the debugger. 2) While resizing the window quickly and after sometime I get the error message: Direct3D9: (ERROR) :Viewport outside the render target surface 3) Lost device is ahndled in both the WM_RESIZE and Render function. However I'm not sure if this is the correct scenario, Coul ...Show All
Windows Forms Controlling the max size of a button
We're creating base classes inherited from the standard WinForm controls. As part of a proof-of-concept, I need to demonstrate "why" this inheritance is a good thing. One of the things I'd like to demonstrate is the enforcement of a maximum size (height and width) of a button, particularly at design time. I figured all I would need to&nbs ...Show All
Visual Studio Express Editions Newbie: Keeping Forms in Synch w/Code
Hi all, I'm new to VC# so pardon me if this is a simple question. When I drag a control (like a DataSet) onto a Form I know VC# will generate some code. That's very convenient. The problem I see is that when I delete the control, the generated code remains. This isn't a problem for a simple Form with a few controls but for a more complex form it gets tough to hunt down and remove all the applicable generated code. Is there a way to ask VC# to keep the visual Form "in synch" with the underlying code, so that if I delete a control all associated code is deleted It would be nice if VC# maintained a mapping between each control and the ...Show All
SQL Server Do Table Value Functions eliminate parallel execution plans?
In the SQL 2005 help doc on the table data type, it states " Queries that contain table variables do not generate parallel query execution plans. Performance can be affected by the presence of very large table variables, or table variables in complex queries. In these situations, consider using temporary tables instead. " Does the use of a table-valued user-defined function incur the same penalty, since it is returning a table date type Thank you, I finally understand! ...Show All
Visual Studio Opening localhost Web application causes "A connection with the server could not be established" error
I am trying to open a new Asp.Net application using Visual Studio.Net 2003 on my stand alone home machine. I am opening it in HTTP://localhost/webnewapp. Each attempt to open in error message saying "A connection with the server could not be established". I am using Windows XP SP 2, IE 6.0 ASP.net version 1.1.4322. Have run aspnet_regiis.exe with the -i switch, the -enable switch, the -ir switch and the -r switch. Have checked the application mappings in the configuration of IIS and they all point to the v1.1.4322 directory. IIS is running. VS 6.0 Interdev project can be established and opened just fine. I have seen many requests for help on ...Show All
SQL Server Prevent users from seeing Table structures or underlying data
I encrypt my procedures using with encryption clause, but I do not how to decrypt again. Is there a command or utility for encrypt and decrypt in Sql 2000 How about Sql 2005 Thanks Haydee Decryption is weak and can be cracked by searching on google for the specific algorithms, there was a thread sometime ago, which might be useful to you: http://groups.google.de/group/comp.databases.ms-sqlserver/browse_frm/thread/34b309b76ba574b4 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Basic Use string value as variable name
How do I use a value of a string as a public variable name/object that I can then change.... dim var1 as integer dim var2 as integer dim var3 as integer...ect... Dim vroot as string = "var" Dim i as integer = 1 Do var + i.tostring 'this returns "var1" 'now how do i use this var1 returned value to act like a variable i=i+1 loop until i = 15 Also how would i do this with objects....say i had a series of labels named label1, labe2, label3...ect... to call these through a "label + i.tostring + .text" script also...... Catch my drift....is this possible Thanks! For the issue with variable names, here is ...Show All
Windows Forms Application deployment directory in VBasic Express
I am interested in knowing on what directory my applications install when using clickonce. On setup projects in previous VB versions your apps were installed on a directory with the name of your organization but I think that has changed, because I am not able to locate the directory where the applications reside once installed. Any help I could get will be greatly appreciated. Hi, The application installs under %USERPROFILE%\Local Settings\Apps The actual subdir under which the app installs is obfuscated. If you are a full trust app you can get the exact path by using Environment.CurrentDirectory form ...Show All
.NET Development Using ActiveDirectoryMembershipProvider to authenticate against ADAM
Hi there, I've searched all over the internet and found more developers with the same problem, but no solutions at all. I'm using the June CTP of VS.NET 2005 on WinXP SP2 and want to use the ActiveDirectoryMembershipProvider to validate my users against ADAM. My web.config contains the following parts (where CDomain\MyUsername is a local administrator that is also member of the administrators-group in the ADAM-instance): < connectionStrings > < add name = " ADConnectionString " connectionString = LDAP://localhost:389/o=Company,c=NL,dc=CDomain /> </ connectionStrings > < system.web &g ...Show All
Visual Studio Express Editions Getting Data from Excel Spreadsheet to Populate TextBox Controls on Form
I just coded a functionality in my program that with a click of a button pulls up Excel, takes all values as strings and populates the spreadsheet in a particular format, with column names, and even makes a line chart out of two column's data. This was pretty hard to find out how to do but after fits and starts it finally works great. My question now is... I'd like to go in the reverse direction - to open a particular spreadsheet (which will be created new daily and saved to a default folder; with studies of stock market picks, stocks, trade ideas and so on) and bring that data back into my form, back into the original place it came from, ...Show All
SQL Server SQL Looping for Complex Query
Good Morning, I am dealing with a complex query that seems to generate stack compile and timeout errors. It was suggested that the query be rewritten to become more simplified, and while I need to still display the same required data, I am wondering if incorporating a loop in the statement would help... and how would I go about doing so A working example would be helpful. Thanks! travelerkgd, if you can provide some more detail or even a copy of the query, that will make it easier to see some solutions. There are many varieties of complex queries, so without detail it is hard to s ...Show All
