Heriberto Menendez's Q&A profile
Visual Studio Do I need to install SQL Server and Reporting Services locally to create a report server project in VS2005?
I am using SQL Server 2005 and Studio 2005 to create reports through Reporting Services on SQL Server. This works as intended if I create the projects on the Server, but on my development computer I don't appear to have a way to create any Business Server Projects like I do on the server. Do I need to install Reporting services locally and if so, do I also need to install SQL Server locally I think there must be a better way Thanks Good question... Unlike the Reporting Services implementation on SQL Server 2000 and Visual Studio 2003, in the 2005 world the RS functionality has been s ...Show All
Windows Forms Need help populating a DropDownList in and EditItemTemplate
I have a dropdownlist that I have in an EditItemTemplate that I need to populate with a list of files in a directory on my web server. Currently, this is how I'm retrieving the file names: DirectoryInfo dir = new DirectoryInfo(@"e:\web\xxx\htdocs" + strPath); FileInfo[] bmpfiles = dir.GetFiles("*.*"); foreach ( FileInfo f in bmpfiles) { ddl.Items.Add(f.Name); lblMessage.Text += "Name is: " + f.Name + "<br>"; } From my web form I am calling this class, passing in a path (directory name), the DropDownList I want to add the items to, and then a Label to see the ...Show All
.NET Development DataRelations Between Two Tables without using Dataset
I have two datatables which i want to have a relationship. The Parent table is in the Vessels Usercontrol and the child table is in the Cargos Usercontrol. Is is posible to create a relationship between this two tables without using a dataset ...Show All
Visual C++ CFileDialog.DoModal() Crashes When Hint box is about to appear.
I have a strange crashing problem in an application developed on Visual Studio 2005 Standard Edition. The crash comes during a function call to CFileDialog.DoModal(). The problem seems to relate to the "hint" box that appears if you let the mouse pointer linger over a file. If the mouse pointer registers over a file with an unregistered file type, then a hint box appears indicating the file type (e.g. ".slg file"). You then open the file with no problem. If you then go to open a file again using the same CFileDialog.DoModal() function and let the pointer linger over the file, then after a few seconds, just as the hint ...Show All
Visual Studio Express Editions OTP: ASPX files not working
I just installed Visual Web Developer Express and wrote a couple lines of C# code to test things out. It ran fine and rendered in my browser. I used the "Copy Website" feature to deploy the app and try it live. I am getting " The page cannot be displayed". The Event Viewer logs the following error every time I attempt to view the page: "T he server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found." I have Googled this and been on several forums and pretty much everything I have read indicated that my .NET 2.0 framework is corrupt or IIS is corrupt . I tried to ...Show All
Visual C++ Pls help me out! I cannot build a very simple Hello World app.
I have been trying to build the following simple app for these two days. #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; } VS2005 C++ Express complains this way; Warning 2 warning C4512: 'std::basic_ostream<_E,_Tr>::sentry' : assignment operator could not be generated c:\program files\microsoft platform sdk\include\crt\ostream 45 Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostr ...Show All
Visual FoxPro DBclick
the dbclick event can't be effect after i wrote program in mousedown event in grid control.how can i fix it thank you A button would work, either on the form or in an adjacent column. The other way is to workaround it, but it's a bit of a pain. You might add a timer: On the first mouse down, start the timer. On the second mouse down check to see if the timer has been started. If it has stop the timer and do the double click code. If the timer expires the single click code runs. The problem with this is that there is a small lag before the single click code runs and that is often unacceptable. The other way would be ...Show All
SQL Server cannot install express edition
I am using the SQL Server June 2005 Community Technology Preview and installing express edition from it. I did unisntall the old version of sql and .net framework. Then followed the instructions on page http://www.microsoft.com/downloads/details.aspx FamilyId=1A722B0F-6CCA-4E8B-B6EA-12D9C450ED92&displaylang=en but I am getting an error "sql server 2005 CTP setup has detected incompatible beta components from visual studio or sql server.........." when try to install sql server. I don't have any visual studio or any old version of .net framework or sql. If I remeber correctly, SQL-Express ...Show All
Visual Basic VB 2005 Express upgrade from VB6
I cannot upgrade a VB6 project in VB 2005 Express. The upgrade wizard opens and at the point where upgrading starts it thows and exception: "Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE))" I tried the upgrade wizard on a simple VB6 project that contains 1 form with 1 command button on and the same message comes up. The VB6 and the upgrade folder are both on C: I can't find any reference to this error message anywhere in the Knowledge Base or MSDN sites Chris I have uninstal ...Show All
Visual Studio Tools for Office how to add xml markup to a range
Could somebody give me some reference links with samples on how to add xml tags to ranges. I need to add those at runtime, have them not show up to the user, and be saved with a document. Is it possible Check out this post Creating Excel Report file From VB.Net 2k5 - Help it has some useful suggestions for adding data en-mass. ...Show All
Visual Basic Splash Screen Problems
Using VS 2005, I am using the splash screen facility within VB and within the code, having it run some general maintenance. The main exe has 5 different screens which can load depending on the command line parameter. The problem I'm experiencing (and having a lot of feedback from users) is the correct screen loads, the splash screen unloads but rather than return focus to the correct screen, the application on screen before the program was launched takes the focus. Eg. I have Windows Explorer on screen, launch the program. The prog loads and shows the generic splash screen and within a few seconds, the correct part of my app loads, the spla ...Show All
Windows Forms TreeView scrolling up
I have a TreeView control that when expanded is way too big to fit on one screen vertically. I have coded drag drop stuff which works absolutely fine except for one small flaw. If I am dragging a node downwards, the TreeView scrolls down when I get to the bottom of its area to bring the stuff below into view. If I need to drag a node upwards then the same thing doesn't happen. This means that my users can't drop a node onto one which was above the viewable area of the TreeView before the drag operation started. Anybody got any ideas hi, Why are they not able to drop a node onto the top node Could you ple ...Show All
SQL Server Executing ETL packages programatically from .NET apps
Is there a way to execute ETL packages programatically Specifically, is it possible to manually invoke the ETL package to execute from, say, an ASP.NET application If so, how do you do that I've been searching MSDN regarding this but all I see are examples on programatically building packages. There are various ways depending on your needs: If you want to execute package in process, using object model - just load and then execute package using Application.LoadPackage and Package.Execute methods. But you'll probably want to start package out-of-process, as this method offers process isolation and thus better reliability. ...Show All
SQL Server Exporting text file and populate it as table using SQL
Hi, I have a problem, I have some text files in the server. I have to export that file and read it line by line and then cut it into fields and populate it as a table in SQl with SQL commnads. Could you anybody help mw with some hints, any relevent readings etc.. How can i use sql framework for this If you have control over how the text files can look like, I would recommend using the FOR XML and XML Shredding mechanisms (OpenXML, nodes() method). Otherwise in SQL 2005, I would look into CLR user-defined functions to write the parsing code in your fav .Net language. In SQL 2000, you would have to do it in TSQL or the mid-tier. Also, if ...Show All
Smart Device Development Nullable value in Numeric updown
I want to have a null value in a numeric up down field, but .NET CF 1 always forces a default value of 0 into the control. Is there anyway I can get a null value into this field Thanks! ...Show All
