I have a windows form application that when it starts needs to see if the user has Excel installed on the computer and if not display a message informing user that part of functionality will be disabled.
Is their an easy way to perform this check?
Working in Visual Studio 2008 with VB.Net
I’m working on the build process for a VS 2010 solution and some projects within it target the .NET framework 4.0. As far as I know, to have this type of solution built by TFS 2008 we will have to change the version of the MSBuild.exe file used by the build agent – modifying the TFSBuildService.exe.config file, pointing MSBuildPath entry accordingly.
Do you know if this will have any impact to existing project builds that target the 2.0 and 3.5 framework? Are you aware of any known issues with this type of set up?
Hey,
I have a ASP.NET page called admin.aspx that needs to be protected from direct access.
I want it to be accessed only when the user enter his name & password in another page called login.aspx
I'm working in ASP.NET with Visual Basic .NET 2008, and I have no idea how to do it.
Can you help me doing it ?
Hi,
I used a win 32 console application application to test a crash reporting mechanism. But when I run the Release exe, I got this error : Missing Language File or Wrong Language File Version. Can someone please explain what is the matter here and how to overcome it??? I use Visual Studio 2008 pro.
i have been googleing trying to find a Winsock book or something about networking but all i can find is out of date books or nothing at all :( so does anyone know a book i can buy to learn about networking in VC++ 2008? i really would like a book i could hold because i learn better when it's in my hand.
I have a bunch of (50+) XML files in a directory that I would like to insert into a SQL server 2008 table.
How can I create a SQL script from the command prompt or Powershell that will let me insert the files into a simple table with the following schema:
XMLDataFiles (
xmlFileName varchar(255)
, content xml
)
All I need is for something to generate a script with a bunch of insert statements. Right now, I'm contemplating writing a silly little .NET console app to write the SQL script.
Thanks.
I have a page that uses routing and it works fine under Visual web developer. But when I deployed to IIS 7. The page that uses routing doesn't seem to recognize the user is logged in.
I think I read about this but had not seen it until now. Hope there is a fix!
Environment deployed too is ASP.NET 3.5 SP1, SQL SERVER 2008, and IIS 7 integrated. Thanks.
Hi-
I have a website created in VS 2008 using asp.net v3.5.
My requirement is to add both Routing and Infragistics controls the website. But noticed, I can have only one of these working - not both. My infragistics control works if I remove the following from web.config
But by removing it- routing would not work.
Is there a way I can have both infragistics and routing working in a single website?
Thanks so much.
Windows 7 computer running SQL Server Express 2008 (sp1).
When I try to run net start mssql$sqlexpress I receive an error:
System error 5 has occurred.
Access is denied
The SQL service is running under "Network Service" account
The service starts fine if I use the services window. Could somebody help me figure out why I am receiving this error?
I have like 10 private members in my class, and I was hoping vs.net could create public properties from them but can't seem to find that option in VS.NET 2008.
Is there a feature for this?
Hi,
In my current application, i am performing an update by invoking T-SQL Update command. The problem is when the same record is locked by other users at that time.
At .NET application, the application will wait until SQL Server timeout, then it will throw the SqlException timeout.
Is it possible to perform a check first whether a particular record is locked by other process rather than catching the exception ?
Thanks,
hadi teo
Update : The SQL Server version used are 2000 and 2008
Edit-And-Continue is one of my favorite debugging tools which I have previously used on C# based Winforms and ASP.NET projects. However, I'm running a Silverlight 3.0 application on VS 2008 and whenever I try to make a change (after breaking) it says "Changes are not allowed when debugging Silverlight applications". Also there isn't an "Enable Edit and Continue" option in the project settings.
Does anyone (possibly an insider) know when this feature will be supported by Microsoft???
(I NEED IT!)
Hello everyone,
I am using VSTS 2008 + .Net 3.5 + C# + Microsoft Expression 3. I want to capture screen and output a wmv file. I tried hard but can not found C# samples from Google. Any reference samples?
thanks in advance,
George
Can I create a line chart that looks like the one(which I have provided as a link. Please click the link to see the chart image) using SSRS 2008? If so, please help me how to do that?
Please see the below link for sample
http://i48.tinypic.com/20ib1v8.png
The company for which I work has an MSDN license and upgrading to TFS 2010 from 2008 is not an expensive option. However, I haven't been able to find any features that make this something neither my colleagues or me feel we need. Is anyone experienced with TFS 2010 enough to convince me that my company needs this?
I have been using Gvim for quite sometime and I like it very much.
There is a problem I am facing with Gvim.
I type "shell" and go to the command line, When I press the up arrow I get some weird
symbols and I am not able to use backspace also.
The version which I am using.
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Mar 19 2009 15:27:51)
Hi,
I created a webforms asp.net site. When I run the site from VWD 2008 express the site displays fine. But I setup the site on IIS 7.5 on localhost. Now when I browse the site I get a page filled with symbols.
Eg.
??{???{??;?N'???
What is going on here?
Does anyone know (ideally, with a reference), whether the VS2010 release of LinqToSQL or EntityFramework v4 will support queries over the SQL 2008 spatial data types?
There are a lot of great programming quotes out there. Which do you like?
Today (Sept 12, 2008) I heard a new one from a friend, Lars-Gunnar, he said "Gud finns i Emacs" (in Swedish). This basically means "God is in Emacs". Still laughing about it here :) What he meant was that a function "gud is grand-unified-debugger" is in Emacs.
A great one I think all programmers should know is The Three Great Virtues of a Programmer.
I have two tables
Table FOO
FooUniqueID| Year| Name| Worth|
---------------------------
1 2008 Bob 23.00
2 2009 Bob 40200
Table Bar
BarUniqueID | Name | Value
-----------------------
1aBc Year 2009
I would like to create a view.
That will select everything from FOO where the Year is equal
select value from Bar where name = year
without using a sub query.
thank you
Hi,
how can I enable database logging in my ASP.net application?
I am using VS2010 (ASP.net MVC2 Project) and would like to see logging that highlights database activity between the application and the database, including database connection establishment (as I do have a connection related error somewhere).
I'm using SqlServer Express 2008.
thanks
MSVC's "secure" sprintf funcions have a template version that 'knows' the size of the target buffer. However, this code happily paints 567890 over the stack after the end of bytes...
char bytes[5];
_snprintf_s( bytes, _TRUNCATE, "%s", "1234567890" );
Any idea what I do wrong, or is this a known bug?
(I'm working in VS2005 - didn't test in 2008 or 2010)
I just moved from Visual Studio 2008 to 2010, and noticed one major flaw:
When I try to use AutoComplete in a C++ Source file for managed c++, a small note in the footer appers:
intellisense for c++/cli not available
Uh, has IntelliSense for c++/cli been dropped from Visual Studio 2010? Is there any way to get this back? It is rather useful...