VOEagain's Q&A profile
SQL Server Setting Passwords In Connections Using Script Task
I have a situation where I have to read an encrypted password from a table and set the password and userID for the connections. I wrote functions to retrieve the data from a table, decrypt the password and UserID, and set the connection string for the connection. What happens, though, is that the connection string I wrote to the connection gets changed when reading it back so that the password is no longer included. Also, in testing the connection, it fails, telling me login fails. Can anyone shed any light on this Does anyone have sample code to show the setting of a password for a connection in a script task All of the examples I find are ...Show All
.NET Development How to get 64-bit MIDL files to work right?
I have an IDL file that I wrote that builds and runs fine. Now, we have a requirement to make our server run on 64-bit. According to the MIDL compiler docs: "Use the /env win64 switch to generate 64-bit stubs only. The default is to generate dual stubs that run on both platforms." However, I do not find that to be true. If I specify /env win64, I get 64-bit stubs. But, if I don't specify anything, I do not get dual stubs, I get 32-bit stubs that have this: #if !defined(_M_IA64) && !defined(_M_AMD64) So, they won't build 64-bit. Help! No, I never did find a solution to thi ...Show All
Windows Forms Controlling the Visibility of Controls at Run-Time
I'm interested to find out what are some of the best practices for controlling visibility of Controls on Forms at runtime based on a users group permission settings. My intentions are to create groups like Administrator, Manager, Supervisor, Team Lead and Developer. Individual users will be assigned to one of these groups. All Forms and all the controls& ...Show All
Visual Studio Express Editions Can´t register or create new User in Demo Project
Hi! The application is running fine but I can’t create an admistrative user (or anything else). It always comes up with a red HTML-Dialog "Please enter a different password.". There must be some kind of error in here, because I can try whichever password I want, it won’t let me finish the registration. This happens in the basic application as well as in the ASP.NET Configuration > Security > Create User dialog. Any suggestions Bye, Brokit hi, I have the same problem and continue found a lot of other problems. Im from Brasil and i cant find the same valueable information in the msdn brasil. Thank yo ...Show All
Visual Studio Run a target if a specific file is updated.
Hi, I would like to know if it is possible to specify the launch of a target when a specific file is updated. Currently, you can use the BeforeCompile target to do this when the project is loaded or a file is included or excluded in a project. I would like to avoid the development of a custom tool. A solution exists Thanks for your help. Pascal. I wonder if you could solve this with an addin that monitors changes to your template files and then somehow is able to call the appropriate target in the project file ...Show All
Visual Studio Express Editions Suite integration toolkit executable encountered a problem
Hi, everytime I try to install visual web developer, i get an error message saying suite integration toolkit executable has encountered a problem and has to close..or something to that effect. I have reformatted my HD, and installed a fresh copy of XP +SP2. I have activated as well as registered my copy of xp.I downloaded the setup file from the msdn website. I dont have any previous versions of visual studio installed, but i ran the auto uninstall tool all the same. Can someone please suggest what i can possible do thanks, vas Get the latest version of SP2 Also manually install .net fram ...Show All
Visual Basic DataType Conversion help
Hi, hoping someone may be able to help me convert VB.Net datatype to VB6 datatype. The module I'm working on takes a Dataset from a Web Service and converts it to a VB6 recordset. The problem is datatype selection and conversion. It seems that a case statement wont allow me to use a system datatype ie(System.Int32) as an expression. Public Sub GetRS() Dim newds As New DataSet Dim ws As New localhost.Service Dim value As DataTableCollection Dim newtable As New DataTable Dim col As New DataColumn Dim rs As New ADODB.Recordset Dim rscol As ADODB.Field = Nothing Dim colrows As DataRowCollection = Nothing &n ...Show All
SQL Server Strange cube processing error
We have a bit of automation that creates a relational star-schema database and deploys and processes an SSAS2005 database (using an XML/A deployment script). Sometimes (but not always) during this process an error is thrown: Errors in the high-level relational engine. The following exception occurred while the managed IDbCommand interface was being used: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.). Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'D_Scenario', Name ...Show All
.NET Development Can framework 2.0 be used with VS 2003?
A very simple question, but I can find nothing on microsoft's site about this. I just want to install the .net framework and use it with my VS 2003 IDE. It is not possible as VS2003 is hotwired to build against 1.0 and 1.1. Also, due to the many new language features, you would be getting a lot of intellisence errors, ...Show All
.NET Development different behavior of cmd file when started by a web Service
Hello, i'm facing a problem that's really driving me mad..... I fear I'm missing some fundamental step .... but I cannot imagine what ... I wrote down a basic WebService to start an executable file (using the shell command). The cmd file by itself works fine ... doing what it was projected for ... (unlock the ScreenSaver of the Server machine with the following instruction : ..... Keybd_event(vbKeyShift, 0, 0, 0) keybd_event(vbKeyShift, 0, KEYEVENTF_KEYUP, 0) ..... ) When I start the exe trough the WebService I get no errors from shell command. Moreover I'm sure the exe runs ...Show All
Visual C# How to call an API function by ordinal?
Hi all, I'm working on a project that uses some DLL that export nameless functions, in which exported only by their ordinal numbers; How can I make a declaration for that ordinal function in C# and call it Also, if I have an API function retrieved by address using GetProcAddress, is it possible to call a function in C# directly by its address Is so, how Thanks in advance, -chris Chris, The DllImport attribute has an EntryPoint member that can be used to refer to a method by its ordinal value: // The # character is required. [DllImport("dllname", EntryPoint="#123")] If possible, don't use GetProcAddress.&n ...Show All
Visual Studio Express Editions Problems with the ASP.NET configuration tool web site
Hi, I am following a tutorial about "Integrate Sql Server 2005 Express Edition with Visual Web Developer Express Edition" and in the tutorial, there are some options in the ASP.NET configuration tool web site that I don't have in my version of Visual Web Developer 2005. For example, I can't add providers and I don`t have the option "Profile" in my ASP.NET configuration tool web site. Somebody knows, what happened with my version of visual web developer express edition. This is the link of the tutorial: http://msdn.microsoft.com/sql/express/default.aspx pull=/library/en-us/dnsse/html/vwd_sse.asp Thanks... ...Show All
SQL Server AdventureWorks database not seen by Management Studio Express CTP
When I install AdventureWorks.db for SQL Express, it runs without errors. The database files (data and logs) are in the SQL Express 2005 data directory. However, I can not see the database in Managment Studio Express CTP. I've tried repairing and uninstall/install again. Does not help. I have SQL Express 2005 cleanly installed. I have the pubs and Northwinds databases cleanly installed. (I was able to execute the queries that came for installing these). I can see both pubs and Northwinds in Management Studio Express CTP. Any suggestions You won’t be able to see them if you don’t have permissions to t ...Show All
Visual Basic help with vb.net
i'm currently developing an application that uses vb.net and msde. what i'm trying to do is a simple creation of a table with multiple primary keys...2 to be exact this is the code for it Imports System Imports System.Data Imports System.Data.SqlClient Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim testestr As String Dim reader As Integer Dim testeconn As SqlConnection = New Sq ...Show All
Visual Studio Team System ADFS web test
Hi all, I am new to Visual Studio Web Test. Does anyone have any experience with ADFS web testing I encounter a problem when the test case (recorded test case) expected result is different from what is being produced by the system. I setup my ADFS system based on "Step-by-Step Guide for Active Directory Federation Services" . It works well via manual testing. When I recorded the test case using Visual Studio Team Edition and run it, the expected result is always different from the actual result. (I set pre-authentication to "true", and put in the correct username and password). What might be the possible mistake that I ...Show All
