Kris_b's Q&A profile
SQL Server Database Diagram + Reporting Services/Report Builder
If I make a new database, why is it that VS 2005 server explorer can see it, access the tables and stored procs, etc ... but when using Reporting Services/Report Builder after I make the data source and generate the model NOTHING APPEARS in Report Builder (message about "there is no content in this data source").. now this has been driving me nuts for a few days and the solution was to click on "DataBase Diagram" in Sql Managment studio for that DB and say "Yes" to the dialog that appears My question is why is that the case Carl ...Show All
Visual Studio 2008 (Pre-release) SVCUTIL.EXE Error
I am trying to get a very basic WCF service to work using the helloworld example described at: http://windowscommunication.net/collateral/pages/howto.htm I've built it exactly according to the instructions at that location using exactly the same code. (The only modification I made was to run it on port 8080...if I try to run it on port 80 as the orginal code, I get an IIS error that says that port is being used by another application. Here's the code I'm using: [code language="c#" ] using System; using System.Collections.Generic; using System.Text; using System.ServiceModel; namespace HelloService { class Program ...Show All
Visual Studio Express Editions quick console error?
hi, my program compiles and builds well but when it is run, the quick console gets stuck at getchar(). it even though i input something into the console (upon a request for user input), the getchar() doesn't seem to take in my keyboard input at all. any idea what's wrong with the quick console on this and what's the difference between a "quick" console and a normal console thanks! -gab Dear Luke, My main purpose of using Visual C++ is writing small win32 programs, and coming from an embedded world, printf() is still my favorite debugging tool. Did you consider just making the quick console output only It's a very usefull feature. T ...Show All
Visual C++ directx 9 lib error: unresolved external symbol
hi there all i and new here and i am very interested in getting a answer for my problem. i am learning now directx9 programing and i have compile errors like: Linking... Game.obj : error LNK2001: unresolved external symbol _GUID_DirectMusicAllTypes Game.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicLoader Game.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicLoader8 Game.obj : error LNK2001: unresolved external symbol _CLSID_DirectMusicPerformance Game.obj : error LNK2001: unresolved external symbol _IID_IDirectMusicPerformance8 Sound.obj : error LNK2001: unresolved external symbol _IID_IMediaPosition Soun ...Show All
SQL Server Capturing rows inserted from bulk insert
Is there any way to capture the count of rows processed by a bulk insert task A property perhaps I can run queries post import but would prefer it if there was a way to capture that number directly. It was something we had in the old DTS as the package ran. Anything we can do to discover it in SSIS Paul Pisarek That's right. We're working on a sample that parses the string and creates a report from it, hopefully should be available to you soon. But, yes, parsing the log is the right approach. ...Show All
Visual Studio Team System How to write Unit Testing for ASP.NET 2.0 under VSTS?
Hi, I have to write unit test cases for asp.net 2.0 web application using Team System's Test project. What I have done... 1. I created a solution under Team System 2. I added empty web site project to the above solution 3. I added Test project to the above solution. ---Solution +Solution Items xxxx.vsdml xxxx.testrunconfig +WebTestProj +TestProject +Properties +References -UnitTest1.cs So, I have a solution, web application and Test project...upto here my life is and then pains started like..... What I need to do ..... 1. I have to create a TestMethod whether the ...Show All
Visual Studio Express Editions can't install framework 2.0
Hi all! i've been trying all morning now to get my downloaded copy of visual web developer express edition and I can't get past the dotnetfx installation. At first it would just hang so I ran the dotnetfx setup separately. Every Time I try the application gets to checking my disk space and then exits with the following error: Signature: EventType : visualstudio8setup P1 : 183 P2 : 8.0.50727.42_rtm_x86ret P3 : msi P4 : inst P5 : f P6 : installvalidate P7 : - P8 : 2 P9 : -&nb ...Show All
.NET Development Run Remote Batch
Hi you all, Can anyone tell me how can I run a remote batch file Many Thanks, MeTitus When you say "remote" you mean in a shared drive on another computer if so , it is the same as running a local batch. Use process.StartInfo.FileName will be something like \\compName\sharedDrive$\...\file.bat Avi harush ...Show All
Windows Forms TabControl TabPage question
Is there some way to access the handle of a tabpage's 'tab' (for lack of a better term, there does not seem to actually be any object exposed that corresponds to the 'thumb' of a tab page). The reason I ask is that I wish to implement a context menu for that 'window', if it is one...I have the tab page itself completely covered by a docked custom control, and the tabpage itself does not get the focus. Another problem is that right clicking the tab page thumb does not select the tab page (although it will raise the context menu for the whole tabcontrol), so, for example, if you want a context menu that has a 'close tab' item, you will not be ...Show All
Visual FoxPro Use Customer VB Functions with FoxPro
Hi there, I have heard that you can create a custom Class Library DLL in Visual Basic to be included in FoxPro 9.0. I have custom code to manipulate PDF's and would like have access to the classes in a FoxPro interface. Does anyone know how to do include a DLL Thanks for the help. That's where things get a bit confusing due to Microsoft using poor terminology in the VB community. They call COM DLLs, "ActiveX DLLs". ...Show All
.NET Development Running an Application remotely from the Server gives a Security Policy error
Running an Application locally works but if running from the Server,it gives a Security Policy error. Even tried making it a full trust application by going to the Security tab and checking off "Enable ClickOnce settings" and selecting - This is a full trust application. I get the foll error when I try to run it from the server. Details System.Security.SecurityException: Request failed. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)   ...Show All
Windows Forms Bug in column header width using Chinese character?
I'm developing an application in Chinese UI. One of the problem that I got is on the DataGridView. I've put some characters in column header, let say 3 characters "中文字". I've changed the properties of DataGridView & first column as follow. DataGridView Setting RowHeadersVisible = false AutoSizeColumnsMode = AllCells First Column Setting SortMode = NotSortable The problem is the last Chinese character not able to show on the DataGridView column header. The width cannot be calculated correctly to allocate space for all the characters. My current solution is added a space at the end of the heading. Please let me know i ...Show All
SQL Server Derived Column Task failing with error 0xC0049067
I have a package that fails as soon as it hits the first Data Flow that contains a Derived Column task. The task takes three date columns and looks for a date of 6/6/2079. If it is there, it is replaced with a NULL. This task worked fine until I installed the Non-CTP version of SQL 2005 SP1, earlier today. (I went from RTM 9.0.1399 to SP1 9.0.2047)Does anyone have any ideas Here is the error I am trapping: An error occurred while evaluating the function . The "component " Update Max Date Value to NULL " (346)" failed because error code 0xC0049067 occurred , and the error row disposition on "input colu ...Show All
Visual Studio 2008 (Pre-release) Command pattern
I read some articles on implementing such a feature by extending the Command pattern. Now, WPF has an implementation of this pattern (System.Windows.Input) and I'm using it already. So here's my question: how do I add the Undo/Redo in an orderly way One of the things I have considered is extending the CommandManager but: 1. how do I get my window to use it 2. it is sealed... Any suggestions -- Erno ---- WPF tutorials: http://blogs.infosupport.com/ernow/articles/1878.aspx I am not sure if this is what you want: If you have a custom control to handle Undo/Redo commands, you have to register the command ...Show All
Visual Basic Computer Names on the network
How can we make form for user to select options to connect to database. Like the one vb6 make for us where user can select computers from a list box. I don't know how to get the list computer names available on the network. This will help making connection string at run-time by user selection. Please tell me if there is any other alternative. If you are talking about connecting to a SQL Server database rather than just a computer on the network. http://www.extremeexperts.com/SQL/FAQ/SQLDMO-ListServers.aspx Details how to get a list of available SQL servers using SQL DMO. In order to build a connection string, you'll also nee ...Show All
