nbl's Q&A profile
Visual C++ Beginner console program question
I am a student learning C++ in the .NET IDE we have at school. I have previous commercial programming experience using other languages. Our class restricts us to making just console programs. I would like to try to make some useful console utilities for myself in addition to the assignments. However, every time I come up with such a project it requires getting some info from the OS. For instance getting a list of files in a directory or comparing a stored date to today's date. I don't see anything in the STL that offers those functions. Do you have to make a whole Win GUI program to get access to the Win API or are there libs out there ...Show All
Visual Studio Help with Help .. its driving me crazy!!
Installed the new Visual Studio 2005 (*not beta) from an .iso image file (CD) Installed MSDN Library October 2005 edition from CD's. NOTE: I chose the option to install the library from the Visual Studio 2005 setup. Launching VS 2005, the dexplore help is showing help on help only, not any documentation from MSDN Library 10/2005 version. So, I Launched the help seperately, still not seeing anything related to MSDN. But I did see options to install additional help libraries from third-party component makers (Infragistics to be exact). I dont understand why there are all these variations in the way HELP is installed between versions of devel ...Show All
Visual Studio Request: Visual Studio on Microsoft Update
Just as it says on the tin . Seriously. SQL Server has appeared on it so can we please add VS. It may be because I am running VS express. I dont know but please may we have it. ...Show All
Visual Basic Problem - save files to new type and folder, Net 2005
Have folder of image files with .tif type. Need to save each file to: (1) .jpg type, and (2) a new folder. If I open the file manually and "Save as" to new file type .jpg, the file is saved OK and the file size is reduced from 1194 KB to 76 KB. MSDN article "How to: Save Files Using the SaveFileDialog Component" has sample code, but not exactly what I need. http://msdn2.microsoft.com/en-us/library/sfezx97z(VS.80).aspx Q1. The article says "The example assumes your form has a Button control with its Image property set to a file type .gif, .jpeg, or .bmp. How is the button control rela ...Show All
SQL Server Cached Report and Windows Authentication
I want to use cached reports with Reporting Services 2005. But when I edit the execution properties of a report, an error message answser that I can't use cache because it has a connexion to Analysis Services with Windows Authentication. I understand why I can't do that, but I still want to do so, because the reports take too much time to load. How can I do that Thanks. You can configure the datasource in the report to run using stored credentials. In report manager, go the report and then click on the DataSource tab on the left side, you can store the credentials using that UI. ...Show All
.NET Development .NET 2.0
Hi, I want to write a tool to troubleshoot our product issues using Visual Studio 2005 which requires .NET 2.0. But our product's requirement is .NET 1.1 SP1. My questions are: 1. Can I install .NET 2.0 on top of .NET 1.1 SP1 so that I can install my tool on the machine where product is installed. Due to this will it break our product from running or is .NET 2.0 backward compatible 2. If I would not be able to install the tool on the machine where .NET 1.1 SP1 and our product is installed , can I write some kind of web service or web application which will remotely troubleshoot the product Can you suggest which application would be good C# ...Show All
SQL Server can I get the Parent task in a custom data flow task?
I'm building a custom data flow task to handle errors in a generic way in C#. I want to output the Task name (the name of the Data flow) as well as the Task name that is inputting data into my custom task. Is there a way to get both the task name and the previous data flow task name that's inputting the data THanks in advance, -Chris PS, the VariableContainer didn't seem to contain any of the system variables- ex. the below statement returned false. this.VariableDispenser.Contains("System::SourceName") Are you talking about a control flow task ...Show All
SQL Server ODBC Data Source
I am new to SSIS packages and want to use an ODBC data source connected to an old Btrieve set of data files. I set up the ODBC DSN, and my SQL Server Data Connection, and can browse the tables in the Server Explorer. However with regards to my SSIS package, I'm not sure whether to use an OLE DB Source or Data Reader Source. I have futzed with both of them but haven't had any luck at seeing the tables. Can someone please give me some tips. Thanks, Carson Bob, where is the option for new ado .net connection Thanks ...Show All
Visual C++ ATL Server with precompiled headers (VS 2005 beta 2)
Using the wizard to create the basic default ATL server application, I am able to build the solution and it works fine. Now if I set a breakpoint in the isapi cpp file at the line: return theExtension.HttpExtensionProc(lpECB); and if I "go to definition" on theExtension.HttpExtensionProc (it opens atlisapi.h) and set a few more breakpoints in the HttpExtensionProc(LPEXTENSION_CONTROL_BLOCK lpECB) member function... On debugging (using the VS ide debugger), I reach the first breakpoint but as soon as I try to step into call, the debugger complains that the atlisapi.h source is different to when the module was built! P ...Show All
Visual C++ how to create a dll with a modeless dialog ?
Hi all, I am trying to create a dll that contains a modeless dialog without any success. There is a sample called "DllScreenCap" on the msdn. It opens a modal diloag. When I tried to change it modelss, It looks like it work, the mother application lost focus but no dialog pop up. Any ideas Thanks in advance, Udi Raz, FTK You need so post exactly what you tried. Thanks Ronald Laeremans Visual C++ Team ...Show All
Visual C# Updating Database
Hi I am receiving an error message "Error 1 'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection level ",when i try to update the database programtically through datagridview control placed in my from. I want to edit and update a database at run time while changing the corresponding cell values of my datagridview control. Please,provide me the appropriate code snippet with a brief note.... The DataRowBuilder class is not intended to be used directly from your code. The class is sealed and doesn't have a public constructor. Because this class doesn't have ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Device Lost Problem
I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when you could resize fine before). Has anyone had this kind of experience and solved it Does somebody have a clear example in C# for how to handle the device lost, resize, and reset events cleanly in MDX ...Show All
Visual Studio 2008 (Pre-release) How do I disable ListBoxItems?
Ok here's my situation. I have a custom control that contains a ListBox. On some some screens, I need the ListBox to function normally with it's rollover and selected states. On one screen however, I need the items to not react to mouse input at all. It is contained inside of a Button on this screen and I need to it pass the Click event to the Button. Also I don't want the highlighted states to show on this screen either. Using an ItemsControl works great if you will never need the ListBox functionality. I have tried setting Focusable=False on nearly everything associated with ListBox to no avail. Thanks is advance for any help! Lee ...Show All
Visual Studio Team System Proejct Creation failed while uploading reports
Hi there, In Beta3 I'm trying to create project which fails everytime with the error below... Error TF30225: Error uploading report : Bug List Explanation The Project Creation Wizard encountered a problem while creating reports on the SQL Reporting Services on TEST01. The reason for the failure cannot be determined at this time. Because the operation failed, the wizard was not able to complete creating the SQL Reporting Services site. User Action Contact the administrator for the SQL Reporting Services on TEST01 to confirm that the SQL Reporting Services server is running and you have sufficient privileges to create a projec ...Show All
Windows Forms Is IIS locally installed necessary?
I did not want to load personal web server on my XP box. I have a server farm here at my disposal. However, I have not been able to use a test web server to create applications. Everytime I try to create an application, it fails and offers me the alternative ... use FrontPage extension to create a new project. These don't&n ...Show All
