Jim Daubert's Q&A profile
SQL Server Company Logo in Header of Report Builder
Can you put a company logo at the top of a report when using Report Builder The documentation indicates the "image" can be place in the report layout. Is there any way around this limitation Thank you. This is correct - static images cannot be added in Report Builder. You would need to import the report into Report Designer. We are working on adding this support in an upcoming service pack. ...Show All
Visual C++ Weird compiler error...
Actually, I tried to enter a bug report, but it wouldn't let me select the product as Visual C++ .Net 2003. I am trying to port from 6.0 to 2003...and keep coming across an internal compiler error (c1001 , compiler file 'msc1.cpp', line 2701). I have boiled down the code to a snippet that won't compile. The code itself looks fine to me and it will compile fine with VC++ 6.0 and g++. The snippet: // -- begin snippet #include <stdio.h> struct vector3D { union { struct { double x, y, z; }; double v[3]; }; const vector3D ...Show All
Windows Forms Autoscroll issue at design time.
when i set the Form.Autoscroll property to true, and scroll the slider to somewhere. then i drap /drop a control on form. the issue comes that it's not placed on the point where i droped it. obviously it didn't count the scrollposition . also if i set a big image which out of the border of the form to the BackgroundImage property ,when i scroll the slider the backgroundImage doesn't move at all . i do think it's a bug of VS Designer. or just i am ignorant; any help is great appreciated. Alan Hi, Can you provide some more info on the Drag-Drop scenario We do take the scroll position into account. What are you s ...Show All
Visual Studio SourceSafe Internet Plugin and IIS on W2K Server
I have setup a VSS database on a file server and installed VSS 2005 on our web server. I followed the directions in the MSDN "How to: Set Up Database Access via Visual SourceSafe (Internet) Plug-In" (http://msdn2.microsoft.com/en-us/library/ms230206.aspx) When I reached "To enable Internet Access for an Existing database on a different computer than the web service" step #7 things got weird. First the VSS Web Service is running on a Domain Controller so it did not appear in the "Computers" list (sub-step 2) rather it appeared inthe "Domain Controllers" list. So I opened it's properties (sub-step 3). Th ...Show All
Visual Studio Add Active Directory users as Source Safe 2005 users
Greetings, I added a couple users to SourceSafe and assigned them the same user names as their ActiveDirectory User names. Does VSS try and detect if Active Directory exists and checks for users that match the users it's got and manage it that way I'm asking this because I noticed that these users didn't have to put in a password sometimes to access the source Safe DB once they're logged in to their machines. If this is not the case, is there such a way to add users from Active Directory Thanks. Hi, There is no way to automatically add users from ActiveDirectory. You have to create users manually, usin ...Show All
Visual C++ F1 help -> "Inforrmation Not Found" ?
The online help seems to show me the "Information Not Found" page quite often, even for things that it seems to find. For example, in a .c file I hilight "EnableMenuItem" and hit F1. I get the "Information Not Found" page, but down in the "Index Results" window it shows 1 topic found, and I just have to click on it, and then it shows up in the main help window. Why doesn't it just display this instead of telling me information not found Maybe I don't have something configured right Any help would be great. Thanks, Mark Beiley Software http://www.beiley.com My apo ...Show All
SQL Server Flat File Destination Filename with Date ?
Is there a way to append a date at the end of the filename for whenever a Flat File Destination is run So far, I only see the ability to browse to a static filename. For the Flat File Connection, which is being used by the Flat File Destination, you can set the ConnectionString using Expressions, to set your file name with dates. ...Show All
Visual Studio Team System Cannot See the Distributed System Designers Options
Hi I have been trying to install the VS2005 to get the Distributed System Designers . But have not been able to get the Appication designers/ Datacenter designers in my VS2005. I am able to see all other kind of projects. Please advcie how can i get them. Is it a small module to be installed or the version that we have is not correct. Please send the download information for correct modules... Regards C P Singh If you installed Visual Studio 2005 Team Edition for Software Architects, the following topics should help you get to Application Designer or Logical Datacenter Designer: Create a Visual Studio solution ...Show All
.NET Development File.Exists()
Hi. Wierd problem here If i take this exact same code and put it into a Windows app in C#, it works and enters the loop after the File.Exists() command If i take this, modify it for the smartphone, it seems it return false all the time however the file does exist in that directory. I only modified it so it can get the proper strings (the filename of the application - as in .NET CF there is no "Application.ExecutablePath...." so you have to get it by "Assembly.GetExecutingAssembly()..." string oldFileNameOnly = "abc.exe"; string theNewFileName = oldFileNameOnly; int x = 0; try { while (File.Exists(theNewFileN ...Show All
.NET Development Best Practice for making DB connection available to components
Since I haven't seen any tutorials/documentation on this subject, I am probably missing something obvious. Any hints would be appreciated. Simplifying the situation a bit, I have a library of data objects (SalesOrder, Customer, Shipment, etc. compiled in a dll) that I would like to make available to both desktop and ASP.NET applications. Each of these objects needs access to a database connection, and I figure that the "host" application should somehow make its connection available to the library (setting a connection string within the component seems like the worst possible idea, and passing a connection to the data object ...Show All
Windows Forms Debugger delays when stepping into static method call
I'm writing an application which was running fine until one time during debug startup, it took an extra long time to load the application. I stepped through the application and found the line that was the culprit. It was a call to a static (well, Shared, because I'm using VB.net) function which belonged to a class in a different project in the&nbs ...Show All
Windows Forms How to avoid multiple BindingSources
Hi, I have made a Dataset with 2 tables (via DataDesigner). I can find this thing in my DataSources. When I drag a DataGridView on my form it creates a dataset and one BindingSource. Thats fine. After adding some colums to the grid I drag a few fields from my datasources to my form. Every time I do this a new BindingSource is added. What I want is to bind those controls to the existing one. Of course I can later change the binding of the controls and remove those sources, but isn't there a way to (let's say) "drag columns of the existing source" Cheers Manfred Hi Joe, interesting thing - this just happens w ...Show All
Windows Forms Move or Drap and Drop items in CheckedListBox VS.Net 2005
Dear all, My solution have a form with checkedlistbox and two button (Move Up, Move Down). I want to move up/down items in checkedlistbox when i push buttons up or down or drag and drop items possible. This is my code : private void btnMoveUp_Click( object sender, EventArgs e) { chkListBox.SelectedIndex -= 1; } private void btnMoveDown_Click( object sender, EventArgs e) { chkListBox.SelectedIndex += 1; } please help me add code to move. Thanks for cooperation. Khiem Vo. Dear James Kovacs , Your code is helpful I got it, however i would like flexible drag and drop items. ...Show All
SQL Server SSIS & SAP .Net Connector 2.0
Hi everybody, i need to write a thesis and I need to integrate data from sap tables into sql server 2005. i got the .net connector to provide an interface. As I am a newbie to all this, could you give me some hints what steps to do next I'd really appreciate it, cause i'm stuck somehow. :-( thanks in advance, mat Hi! As far as I know SAP .NET Connector 2.0 is fully integrated into VS2003. You cannot develop your solution with VS2005 but you can use your VS2003 Libraries. So developing under VS2003 is only nessecary if you want to add new SAP objects to your project. Remember to put the libraries into the ...Show All
SQL Server Change the File Name in File connection Manager
Hi, How can I dynamically change the file name in File connection Manager in SSIS package I can do this in SQL 2000 but how to achieve the same thing in SQL 2005. I have to generate 10 different excel file and just need to change the file name in connection manager for excel file Thanks Shafiq You'll need to put an expression on the ConnectionString property of the flat file connection manager. Step 3 in here demos this: http://blogs.conchango.com/jamiethomson/archive/2005/05/30/1489.aspx In fact, that whole post maps pretty well to what you seem to want to do. -Jamie ...Show All
