Lug Vélez Schmitz's Q&A profile
Visual Studio 2008 (Pre-release) Problems understanding how to use the async loop in a ChannelListener while using a ServiceHost
Hi, I'm having a little trouble creating a custom transport and was hoping someone could help me clear some things up. I've read the blogs, and the forum, but for some reason I don't get a real grip on how my particular situation should be solved. I hope I'm not repeating old stuff here. Well.. The system is a request/reply kind of thing, where the client makes a request by mail and then waits for a (more or less, since we're talking about mails here) synchronous answer. The client part works pretty well, a channel factory produces IRequest-channels that send and wait for the mail, and everything is run through a proxy. No probs there. On the server side however, it doesn't work as smoothly. I've created a Listener (hopin ...Show All
Visual Studio Team System How to add Linked Server into database project
Hi, Here I encounter a problem when synchronize the DB project with DataBase: The store procedure which using the linked server are all compile failed. Actually, I cannot see the Linked Server scirpt object in DB project except the LinkedServers.sql in Pre-Deployment directory. Do I need to import Linked Server manually If yes, how can I do it The store procedure and error message are as follows: CREATE PROCEDURE [dbo].[P_PARTY_GET] AS /* Module : Author : Date : 29-01-2007 Desc : Retrieves records from T_PARTY Returns: 0 if successful, else SQL error code Change Revision ----------------------------------------------------- Date Author ...Show All
SQL Server Applying CASE in Stored Procedures
I'm creating a stored procedures, and pass in few parameters, which is @keys, @fields, @types and @likes, whereby I will select from certain table based on the @types, where the @fields equal to @keys, I also wanted to implement the LIKE to the statement as well, but I found out some problem, so ends up my stored procedure looks like this: ALTER PROCEDURE searchBooks @keys varchar(50), @fields varchar(50) AS SELECT * FROM books WHERE (CASE @field WHEN 'Author' THEN Author WHEN 'Publisher' THEN Publisher WHEN 'Title' THEN Title WHEN 'ISBN' THEN ISBN END)= @keys This statement run well, but I would like to specify the table to select with parameter instead of specified it, but I found it won't works, not even let me s ...Show All
Software Development for Windows Vista How to get executing activity under current workflow instance
Is there any direct way to get executing acivity I'm writting custom persistance service, and I want get current executing activity's qualified name in the custom service. Could this be done Also look at this sample. This should also be helpful http://msdn2.microsoft.com/en-us/library/ms741725.aspx Thanks, Kushal. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to get XNA Game Studio for VS2005 Team Suite Edition????
Where to download it Jim Perry wrote: "promised" Where and when were things "promised" Features are routinely dropped from games and applications due to time constaints. I don't understand the reasoning here. GSE was never, AFAIK, promised to work with VS. GSE and GSPro are targeted at two totally different audiences. GSPro will contain functionality that indies and hobbyists won't have access to (Live features) since they're not registered developers so why should they pay for something they can't use Where is the line between "hobbyists", "indies" and "professional" Where does it say Live Features won't be available to GSE And why can't they use Live Features ...Show All
Visual Studio 2008 (Pre-release) How to binding data to PasswordBox (2 way)?
Hi guys, I am trying to use a PasswordBox in a basic login window with Avalon. The user information is stored in an MSSQL database. Basically I want to Binding data from Password column in MSSQL to PasswordBox in XAML. However, I get an error when I perform binding data like this: "Object of type 'System.Window.DataBinding' cannot be converted to type 'System.String' " Please help me... Thanks. you can't. see this thread for the reason why. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=129262&SiteID=1 ...Show All
SQL Server Old SQL Design Tools
Hi Guys... I was familiar to use sqlserver2000 more than 2 years, and Utilized from beneficial Tools Like Enterprise Manager and Query Analyzer which was so helpfull... . afterthen I decide to get knowledge on SqlServer 2005 Enterpise Edition. and after install 2CD's and SP1 , I try to find the Old Tools mentioned above , or find any DataBase as example , but I find nothing ... so is there any tool do the role to related tools in the last version , or should I get another vesion instead like Express or ...etc. Thanks Basel There should be SQL Server Management Studio, which is both EM and QA at once (an many other features as well). If only it's not an Express version, either. ...Show All
Windows Live Developer Forums MAP IN DIV
Hello, I have a VE map inside a <DIV> and I want it to load automaticaly but I can only get it to load then you click on it. Any ideas! ! Thanks Those are both style (CSS) issues; it looks like you've placed the DIV inside a table (why ), so you'll need to mess with the table, tr, td, and/or div style properties to figure out why you hve an alignment problem and a border. ...Show All
Visual Basic Listbox with Datasource in TabControl causes errors
Need your assistance with following error: Cannot modify the Items collection when the DataSource property is set. I have a listbox control with a datasource, a local datatable, with other controls on the page bound to the datatable. The said listbox is contained in a TabControl. The listbox datasource is set at runtime and nothing is specifid for items collections (ever). I am able to populate the listbox without any issues, and controls bound to the underlying datatable functions without problems. However, whenever the tabcontrol focus is set to another "tab", returning to the original tab with the above listbox control results in afore mentioned error ("Cannot modify the Items collection when the DataSource property is se ...Show All
SQL Server Want to include a field from a data set in the Header of a report
I am using reporting services 2000 to report of an OLAP cube, I am using an id value e.g. 1234 as the parameter to the MDX query however the client wants to see the member name e.g. J.Smith so I have created another data set that queries the relational database for the parameter name. select emp_name from emploees where emp_id = '1234' This works fine , except when I try to add the Emp_name to the report header I get the error message : "Fields cannot be used in page headers or footers" I can include this in the report body but is there a better way to do this Thanks Umesh Jens Suessmeyer wrote: YOu can’t use data references in footers or header, but you can use the ReportItem coll ...Show All
Software Development for Windows Vista Dec VISTA - No LDDM Driver for ATI Mobility Radeon 7500
From http://samgentile.com/blog/archive/2005/12/24/32188.aspx Given Ian's success on a ThinkPad T43p with an ATIX600, I just installed Vista 5270 on a ThinkPad T42 which has an ATI Mobility Radeon 7500 instead. All the drivers installed except that one but I was able to install it using the Device Manager and Windows Update. The ATI Mobility Radeon Driver is totally supported in Vista. The only bummer is that there is no LDDM driver for it even in the CATALYST Drivers on the ATI Vista site so I can't get Glass. Otherwise, on this machine, Vista is performing perfectly. The new glowing ORB instead of the Start Menu is totally cool as is Windows Media Player 11. The comments on the UAP still apply though. There is no LDDM Driver fo ...Show All
SQL Server Dts Package foreach loop container and Excel connection manager
How can I use a foreach loop container with an Excel connection manager. It is virtually impossible to configure the ConectionString property through expressions builder. Everything works fine with a Flat File connection manager but when it comes to Excel, I get the following error message: Error 1 Validation error. Extract Four: Extract Four [1]: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. Tarification.dtsx 0 0 Please ! Heeeelp ! tel me how I can loop through Excel files ! Hi, When you set up a foreach loop you can set the a variable mapping using index an index value of 0 to map to a preset variable of string type ...Show All
Visual Studio Team System Problems with password protected key file
We have just changed our assemblies over to be strongly-named. This has worked fine, except that the tests fail to run. So I checked the documentation, and sure enough password protected key files are not supported. That's OK (although I think it's a bit weak, since we would have to have been psychic to have known about the problem ahead of time), so I followed the instructions and used the sn tool to override verification on the assemblies in question. This worked fine when I ran it from the command line, so I created a test setup and cleanup script (as directed in the instructions at http://msdn2.microsoft.com/en-us/library/ms243141.aspx#DisableSigningVerification ). This does not work. The test run runs exactly as it did before I add ...Show All
SQL Server Sql Server Error Remote Access
Hi all, i need to upload time tracker in a static ip which doesnt have sql server, after the installation there in static ip, i receive the following error while trying to access Named Pipes Provider, error: 40 - Could not open a connection to SQL Remote Server 2005 need help Regards, Prasenna. K There are some things that I don’t undestand from your explanations: "I need to upload time tracker" What is time tracker " in a static ip which doesnt have sql server" You want to deploy it to a server on the internet which has a static ip "after the installation there in static ip, i receive the following error while trying to access" WHere do you receive the ...Show All
Windows Forms textbox.text error
I have the following code for a dialogue with a combobox and I defined public variable SiteName as string in a module. When calling the SiteName variable on a main form and display in a textbox, I get an error that says "Error 1 Value of type 'System.Windows.Forms.TextBox' cannot be converted to 'String'." How could I modify it so i can get rid of this error .. Private Sub OK_Button_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK_Button.Click If Me .DialogResult = System.Windows.Forms.DialogResult.OK Then SiteName = siteList.SelectedText() End If Me .Close() End Sub ------------------- This code below is in the main form ------------------------ ...Show All
