toe72's Q&A profile
Visual Studio Express Editions fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
Hi All: The story so far: I am having a we bit of trouble running the most difficult of all C++ programs the imfamous first C++ program Hello World! code: // Simple Hello World Console Application #include <iostream> using namespace std; int main() { cout << "\nHello World!\n" << endl; return 0; } And we get: ------ Build started: Project: Hello, Configuration: Debug Win32 ------ Compil ...Show All
Visual Basic WebBrowser
How can I make my browser control loads local html files I tried Navigate but it asked for internet access (per my firewall). Is there anyway to make the browser offline at all times Would that work for any web page. Even if it had external images or css or js files I tried this also: Browser.Navigate("file:\\\index.html") That makes it not ask for internet access but it says it cannot find the file. And the file is in the same ...Show All
Visual C++ How to transfer a exe file over socket correctly
Hello All, I need to transfer a exe file over a socket. Currently my code works perfectly all rite for all file types except exe file. Even exe file transfers well but somehow the file structure changes n it does nt run on the other pc. I am posting my both sender n receiver code for reference. Please suggest me a way to do it correctly(i mean i shud be able to run the exe file on remote pc) Sender Code: HANDLE hnd = CreateFile("C: ...Show All
Visual C# Visual Studio 2005 Screensaver
Hi I've been playing with the c# starter kit for building a screensaver, i've managed to configer and customise everything i want, untill it comes the background images. it has a variable of BackgroundImagePath which i can put a local path to, but i don't seam to be able to use a web link, i want it to use images stored on a web server. anyone else come accross this problem and anyone know a way around it i'm fairly new to c# Thanks ...Show All
SQL Server SQL 2005 Standard edition fails during installation
When trying to install SQL 2005, I keep getting the foll. error: Error 1706. Setup cannot find the required files. Check your connection to the network or CD-Rom drive. For other potential soltions to this problem, see C:\Program ....\1033\setup.chm I have tried using two different DVDs, and also downloaded SQL 2005 from msdn, but none of them work. Can some please help. Thanks, Amir acharania@trimontrea.com JHD ...Show All
Visual Studio Tools for Office ASP Page in Outlook
I have a folder in Outlook under my Inbox that I created with my VSTO AddIn. On the Home Page tab of the properties window I am pointing to a asp.net page that load data from several data sources and needs the signed on user id. On the web site definition I have disabled anonymous access and have Integrated Windows authentication checked. In Outlook when I click on the folder it prompts me for an user id and ...Show All
Visual Studio Parameters in OLE DB
Doing on a Report Server Project on an Access database. How do I set up a parameter in this case My query, in the Data pane, is SELECT * FROM qryR_ByLocation WHERE CatgID = @Catg But when I switch to the Layout Pane, I get the error message The data extension OLE DB does not support named parameters. Use unnamed parameters instead. Same message if I click Report/Report Parameters. How do I use an unnamed parameter Thanks Vayse & ...Show All
Visual Studio Team System Two-way sync: how to import in a Database Project a table, AFTER Import Schema?
Hello everybody, consider this scenario: I import a schema in a Database Project, then I create a table IN SQL SERVER, and I want to sync it with project. The only way I've architected till now is to create the table, script it, delete table in SQL Server, and copy the script in Database Project (deleting "if exists drop", because this syntax is unsupported in Team Edition for Database Professionals). More practical ways ...Show All
Windows Forms MainMenu Designer - Microsoft.VisualStudio.dll in VS2005
Hi I would like to continue with the MainMenu class in .NET 2.0 and VS2005, but the Designer doesn't work anymore. If you use the menu designer it now suports the MenuStrip instead. If I look in the assembly references for the tools that VS2005 uses the Microsoft.VisualStudio.dll (which hosted the Designer for MainMenu in VS2003) is still included, but I can't seem to use the Designer anyway. Any ideas The reason, by the way, that I would like ...Show All
Visual Studio Team System Unable to Debug with HostType and UrlToTest attributes in VSTS?
Hi, I am unable to debut UnitTest project with HostType and UrlToTest attributes.Here are the details. I have created a new Web Site application using Visual Studio 2005. I selected an empty website application and added MasterPage.master and content page(Default.aspx). I selected a file system option while creating the web site and my web application’s(ASPTDDWebApp) physical location is “C:\Anjaneya\Work\ASPTDDWebApp” I have cr ...Show All
Visual Studio How to access reporting dataset after report is run?
How do you access the dataset that the current instance of the report is run on outside of the report The reason I want to do this is because I have created my own parameter toolbar and want to be able to populate the dropdown menus with data that is returned from the dataset. Specifically, I want to be able to extract things like the UserIDs and/or the Status fields that are returned inside the dataset. I a ...Show All
Visual C# Use of "this" keyword
Dear All, I am a bit new to C#. I am a bit confused about the "this" keyword. The way they define "this" keyword is that it is the reference to the current object of the class but want to know how to use it . Can some 1 show me some very simple examples. I have found 1 example on the msdn. public Employee(string name,string alias) { this.name=name; this.alias=alias; } Can some one explain me the "this" keyword in the above example . To which ob ...Show All
Visual Basic Using a for loop to remove a string from a collection gives me an error.
My code. I get a list of files from an ftp server and only need to download the ones that meet a certain file mask. For I As Integer = 0 To _myFileList.Count - 1 If _myFileList(I).Substring(0, 7) <> strClaimsFileMask Then UpdateStatusBox(_myFileList(I).Trim & " is not a valid professional " + vbCrLf + _ " file and has been removed from the collection." ) &nb ...Show All
Visual Studio Team System TF.EXE label by workspace
I'm trying to utilize TF.EXE from within NAnt. At this point, I have retrieved, compiled and tested my code and I want to label all of the source code in my workspace using TF.EXE. I haven't been able to find any documentation on the value needed in the /version:{something_here} parameter. Can anyone help tf.exe label /workspace:{some_workspace} /version:{workspace } Thanks -Steve To label items at the version ...Show All
SQL Server Return random rows
Are there any way to execute a procedure and return N random rows Add an id column to your table. Then, from application generate a list of n random id-s, and select the rows with those ids. If you specify the context of the application you are intending to do this, more help might be possible. In any case, T-SQL is not well suited for generating random numbers etc. Do this in your app code. ...Show All
