I have a text file that I am reading each line of using sr.readline()
As I read that line, I want to search for it in a List that the line should have been added to previously, then add the line to a NEW (different) list. How do I do this?
...
How to create a 30 days evaluation software. Is there any possibility to do this with MSI creation. It would be great if MSI installer package provides such in built facility, by which, application expires after fixed trial period.
If we going for custom action to do this by writing code, how can i do this.
How to Write installation ...
I'm struggling a lot trying to get our build server going. I am currently running tests in a Windows XP virtual machine, and have installed TeamCity v5.0.3, build 10821. I am using NUnit v2.5.3.
I finished the initial setup with TeamCity without any issues at all, provided that I use the sln2008 build runner that makes the entire proc...
I have a WCF service with a namespace called:
MyCompany.MyApplication.Configuration.ConfigurationHelperService
On the client side I have an assembly called which consumes this service:
MyCompany.MyApplication.Core (this is the default namespace)
When I add the service reference, the namespace I'm asked to specify in the Add Service...
I want to take system time and date during install of my program.
How to set my current time into system registry.
I s it possible to do coding in VC++
Give me a sample code to set current time to registry using VC++..
Thanks in advance.
...
Is there anything that can be done about the Designer mode for a ascx file taking forever to show? I'm currently waiting for like 1 minute and still nothing happened. This is not the first time i see this problem, the ascx file doesn't even have any components to show yet... The web user control is like empty and still it won't load. Wha...
In our team we have a database project in visual Studio 2008 which is under source control by Team Foundation Server. Every two weeks or so, after one co-worker checks in, the project file won't load on the other developers machines. The error message is:
The project file could not be loaded. Data at the root level is invalid. Line 1...
Im trying to compare these two chars but on win 32 Visual Studio 2008:
if(mychar1 == 'ä' || mychar2 == 'Ä')
Erromess:
Debug Assertion Failed!
File:f\dd\vctools\crt_bld\self_x86\crt\src\xstring
Line 1575
Expression: string subscript out of range
...
Hi I have a visual studio project which includes postbuildevents in the following form:
MyTool.exe $(ProjectDir)somesrcfile.txt $(TargetDir)sometargetfile.bin
Now I want to add some logic saying that these steps are taking place only if the files have changed. In peudocode:
if (somesrcfile.txt is newer than sometargetfile.bin)
{
My...
Working on moving some C++ code from Linux over to Windows. The code uses boost 1.4.2, however it keeps failing out on building the boost modules. Basically, every boost hpp file that happens to contain "namespace boost" errors with:
error C2143: syntax error : missing ';' before 'namespace'
Any idea what could be causing this?
...
I'm working in Asp.net and IntelliSense isn't finding the methods in app code. It executes the code well without any issue at run time, but I'm not able to see the method names while coding. Any idea how to fix this? Thanks in advance
...
Is there design time support in VS2008 for SharePoint Application Pages?
I've wrote an SPService and I want to develop an UI for the properties
who are necessary for running this SPService. But I can't manage to get
design time support in VS2008. I'm creating an custom ASPX which inherits
from GlobalAdminPage and has the "_admin/admin.m...
I'm trying to debug the execution of a T4 template in Visual Studio 2008.
All the information I'm finding on debugging T4 templates in Visual Studio 2008 say that you can set a breakpoint (red dot) in the template as if it were a regular code file. I have the Clarius T4 code highlighter installed, so my T4 template is colored, but I ca...
Hi,
I am trying to write a small app to connect and manipulate some data on an SQL 2008 Express database. The database is on my local machine but I can see it on the network. I am trying to use LINQ to SQL in my app. I am trying to connect to the database so I can add database model to use with LINQ but the problem is I can not see any ...
Is there a way in Visual Studio 2008 Professional edition to create a graphical representation of an application? What I am looking for is a flowchart or other design graph that shows each program in the app and how they relate to other programs and files in the app. I can create one using Visio, but wanted to know if there is somethin...
My question is a follow-up to the issue posted here
regarding the Intellisense performance issue when building a large solution in VS2008 that has many partial static classes.
Since Microsoft does not seem to be addressing the issue for VS2008, I would like to know if there are other ways around the problem? Waiting for VS2010 is not ...
Using Visual Studio 2008 and built-in web server.
In a Web Handler .ashx file
public void ProcessRequest(HttpContext context) {
context.Response.ContentType = MimeType_text_xvcard;
context.Response.Headers.Add(HttpHeader_ContentLength, "2138");
when I try to add an HTTP header I get the exception:
This operat...
Hello,
I have a simple test using vsts load test that is using datasource. The connection string for the source is as follows
<connectionStrings>
<add name="MyExcelConn" connectionString="Driver={Microsoft Excel Driver (*.xls)};Dsn=Excel Files;dbq=loginusers.xls;defaultdir=.;driverid=790;maxbuffersize=4096;pagetimeout=20;ReadOnly=F...
I have a WPF app in VS2008 that compiles twice during the build. The two CSC command lines are similar but with some differences. The first CSC command line does not have an /resource options, the second has two /resource options on the command line.
The second CSC command line has these additional arguments:
/resource:"obj\Debug Aut...
Hi
I'm using Gallio\MbUnit 3.1 with ReSharper and Visual Studio 2008. Everything is working well except this type of test:
[Test]
[Row("test@badEmail@_test.com")]
[Row("test@badEmail@_test.")]
public void IsValidEmail_Invalid_Emails_Should_Return_False(string invalidEmail)
{
Assert....