Vitaut's Q&A profile
SQL Server Why I can not deploy my report project?
Hi, all here, I am having a problem when trying to deploy my new report. The error message is like this: can not connect to the server, make sure the connection information is correct . But I have double checked the connection information, the server I tried to connect is the reporting server name on my local host though. (/localhost/Report Server). So what is the problem though. Did some body here ever occur this problem Thanks a lot for any guidance and help for this and really appreciate it. PS: where can I find the metadata manager to modify the metadata properties on Analysis services server Thanks a lot for any guidance and ...Show All
Visual Basic BASIC program to read/write SQL
Anybody know how to read and write records in SQL I have a VB 2005 program which have a loop and generate a lot of variables I need to read and write them rapidly so the command need to be simple and efficent Can anybody help me I've tried to find all helps i can get MSDN library, BASIC website etc... they all have the information i need, but i just don't understand it! Those help just introduce the method it works then pop up source code the problem is - i don't understand the source code! I don't know which part should be in my program and which part should be edited! For example Imports System Imports System.Data Imports System ...Show All
Windows Forms Print Templates in managed webbrowser control
We have been using the older webbrowser control and there was a way to modfiy the default print template and replace it with a user created one. This was a mod that required C++. Is the ability to modify the print template available in the managed webbrowser control, and if there is, can the print template be modified via VB.NET Thanks you in advance, Devboy Hi Devboy, I don’t know I understand correctly that whether you want to modify the print template permanently or you would like to use a print template just for a single print. I modified the default print template of a user through a registry key HKCU\Software\ ...Show All
Visual Studio Team System Code Analysis Policy
I was looking to create a Code Analysis Policy for Checkin but noticed that the docs are still under development. Is there a pointer to a blog anywhere on this slee, Yes, you can indeed sign up for the checkin event using the docs in the extensibility kit. I don't know for sure, but I would expect there's an example in there. There are couple of forum posts that show subscribing to events, such as this one. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=11700 Buck ...Show All
Visual Studio 2008 (Pre-release) Service Identities in February CTP
What exactly is the relation between following identies in the context of a WCF service: System.Threading.Thread.CurrentPrincipal.Identity ServiceSecurityContext.Current.PrimaryIdentity ServiceSecurityContext.Current.WindowsIdentity Are they all referring to the same identity when a service is configured with Windows security Thanks. I assume you're refering to the OperationContext.ServiceSecurityContext. the PrimaryIdentity will return an generic object implementing IIdentity. WindowsIdentity also implements IIdentity but is specific to Windows accounts. So for example if you examine the PrincipalIdentity or the WindowsIdentity ...Show All
Visual Studio 2008 (Pre-release) Animation not working in code
I set some animations in a WBA. First I register the name: Application.Current.MainWindow.RegisterName(myElement.Name, myElement); When I try to set a storyboard and set an animation on this element I get 'The name 'myElementName' could not be resolved in the name scope of 'MS.Internal.AppModel.RootBrowserWindow' like the name is not registered. This code used to work in Sep CTP. Did something change for Nov CTP regarding animations Thank you, Valentin Iliescu Is your custom control defined in xaml If so, it will be its own namescope, and searching the parent namescope (the window) won't find its na ...Show All
Windows Forms How to add new blank row between 2 rows in datagrid
Hi All, Same as subject. Please advise. Thanks ...Show All
Windows Forms Error: Key not valid for use in the specific state.
I hope I am in the right forum for this problem: I am trying to add a "DataGridView" component to my form. Under DataGridView Tasks, I go to 'Choose Data Souce' and then I go to Add Project Data Source and then choose Database and click Next. The window changes (as though it is going to let me enter in some more information), but then an error message appears that says: An unexpected error has occurred. Error message: key not valid for use in the specific state. I am running Visual Studio 2005 for Testers on a Windows XP machine. Does anyone know what this means and how to fi ...Show All
Visual C# FileInfo.LastWriteTime issue: does not correctly evaluate
Hello All, I'm currently having an issue when evaluating FileInfo.LastWriteTime between two files. Basically, the two files in question have the IDENTICAL LastWriteTime values, however the following code evaluates to false: FileInfo f1 = new FileInfo ( "C:\\FileTest2\\IUS_GEN.MNV" ); FileInfo f2 = new FileInfo ( "C:\\FileTest2\\SubFolder\\IUS_GEN.MNV" ); f1.LastWriteTime == f2.LastWriteTime //this evaluates to false Strange thing is, if I convert LastWriteTime to string, it evaluates correctly, as in: f1.LastWriteTime.ToString() == f2.LastWriteTime.ToString() //this evaluates to true! Both files have the ...Show All
SQL Server SQL Mail
Dear Professional, I'm writing a vb program which try to use SQL mail to send an email to Outlook client. It is including document path (e.g. http://server01/document/Management And Design.doc) in the email content. When received email on the client side, it is found that the document path is broken and cannot be opened directly by double click the link. Is there any way to sove this problem Thank you, Cindy Hi there, Are you using the xp_sendmail stored procedure If you are, I don't know what parameter values you're passing it but the broken link might be due to the fact that the line ...Show All
Visual C++ ODBC 3.0 issue - HY003 Program type out of range
I tried posting this under "SQL Server Data Access" but did not get any response. I'm guess it's due to the C++ code. So I'll try here: I'm trying to use ODBC to send data to SQL Server from VC++. When I try to setup the parameters for sending a date to the database by calling SQLBindParameters(), I get the error HY003 "Program type out of range". This indicates that the 4th parameter, ValueType, is not correct. But I'm hard coding it to a known valid value. Actually, I'm copying code strait from the Microsoft Help and still getting this error. Specifically, here's the lines of code: DATE_STRUCT ...Show All
.NET Development How to focus a textbox on a toolstrip.
I would like to know if it is possible to give the focus to a textbox on a toolstrip. I programm in VB.NET 2003 ...Show All
.NET Development Collection subset
Have can I return a subset of collection by using one class memeber as the filter criteria I'm in love with the new generic List(Of T). Here is a little console application that illustrates one way to implement a search. It is very easy to extend this example to cover any criteria you would like for your search. I hope it gives you some ideas. ...Show All
Microsoft ISV Community Center Forums Using Excel from Access
Hi, I am hoping that someone can help me improve the way I am using Excel from Access. I am a poor simple Accountant, and my only training is reading the help filies, and the excellent posts to this forum. I have a number of Access databases which have code to write data into Excel spreadsheets for distribution. Currently, I use the example code from Office 97 which checks to see if Excel is running; if so the code prompts the user to close excel and try again. I do this because I cannot check if the user has the files already open with the code I am using. I open the sheets with set xlsFile = getobject( , filename.xls). I think I need ...Show All
Visual Studio Team System Advanced work item customization...?
Hi all, I am attempting to create a custom work item type for our development methodology. Among other things, I would like to have a field that auto increments (a unique ID number for each work item) and I would like to have some date fields populate with the current date when a value in a drop down list box is chagned. Basically, I'm looking for any guide a little more advanced than the "step by step" ones I found in the help. A copy of the schema would be helpful too. We are currently using the most current Beta of TFS (updating to the RTM as soon as our IT gal gets back from vacation) with the RTM of VS 200 ...Show All
