Taoyo's Q&A profile
SQL Server sql prob
hi, i get Msg 208, Level 16, State 1, Line 1 Invalid object name 'a1'. i do have a1, what is the problem here thanks set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [STP_InvoiceByPono] AS BEGIN SET NOCOUNT ON ; declare @Fieldname varchar ( 25 ) declare @stmt varchar ( max ) declare fields cursor for select amounttype from Inv_AmountTypes set @stmt = 'Select distinct a1.date_, a1.suppliercode, a1.invoiceid, a3.pono' open fields fetch next from fields into @fieldname while @@fetch_status = 0 Begin set @stmt = @stmt + ',(Select b3.amountfc from invoice b1 inner join Inv_Detailed b2 on b1. ...Show All
Visual Studio Team System Can't install CTP7
I get the message "...TeamDataCTP7.exe is not a valid Win32 application" Thanks, Ed Ed77 wrote: I get the message "...TeamDataCTP7.exe is not a valid Win32 application" Thanks, Ed Did you download the 64bit version by mistake -Jamie ...Show All
Smart Device Development Extending Context menu for Windows mobile 5.0 Samrtphone Contacts
I have a Cab project which extends contact's contextmenu items. But When I installed the same cab file on smartphone it installed successfully but contextmenu items remains same Could there be any change in the installation file. this is my ini file to built the cab file [Version] Signature = "$Windows NT$" Provider = "MyProject" CESignature = "$Windows CE$" [CEStrings] AppName = "MyWireless" InstallDir = %CE1%\%AppName% [Strings] NOW_PPC_Dir = D:\Projects\MyOffice\OriginalPocketPC\ ...Show All
.NET Development Soap header namespace not send?
Hi My program uses a AXIS webservice and need to add an soap header and in it an element with a value. My class is this: <System.Serializable()> _ <System.Diagnostics.DebuggerStepThrough()> _ <System.ComponentModel.DesignerCategory( "code" )> _ <System.Xml.Serialization.XmlType( "Vendorheader" , Namespace:= "http://ech.client.nl/vendor" )> _ <System.Xml.Serialization.XmlRoot( "Vendorheader" , Namespace:= "http://ech.client.nl/vendor" , IsNullable:= False )> _ Public Class Vendor : Inherits SoapHeader Public VENDOR As String End Class As can be seen is set the namespace in this class, but the header at the webservice ...Show All
Smart Device Development SerialPort Component IOException issue
I have a Ipaq Pocket PC. It connects to a bluetooth GPS Receiver (COM6). Whenever I try to open this COM Port using the SerialPort component I get an IOException. I have even tried listing all COM ports on the PPC, and opening each one inturn. Some work and some throw an IOException. Does anyone have a suggestion Were you using NETCF V2 SP1 If not, I would suggest you to try the service pack. The service pack includes fixes for SerialPort which may resolve your issue. It would also be helpful to include a stack trace of the IOException for further investigation. Cheers, Anthony Wong [MSFT] ...Show All
Game Technologies: DirectX, XNA, XACT, etc. multistream rendering problem
im trying to get multi stream rendering working in dx10, i'm just hacking around with the multistream sample ATM. (what ive got in comments is what was there origonally) /* const D3D10_INPUT_ELEMENT_DESC vertlayout_singleindex[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D10_INPUT_PER_VERTEX_DATA, 0 }, { "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 1, 0, D3D10_INPUT_PER_VERTEX_DATA, 0 }, { "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 2, 0, D3D10_INPUT_PER_VERTEX_DATA, 0 }, }; */ D3D10_INPUT_ELEMENT_DESC vertlayout_singleindex[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D10_INPUT_PER_VERTEX_DATA, 0 }, { "COLOR", 0, DXGI_FORMAT_R32G32B32A3 ...Show All
Visual Studio Express Editions Is a install of express after a full VS 2005 possible?
Greetings, Could someone tell me if I would have issues loading an express edition after the fact I already have a full Visual Studio 2005 installed. We maintain a computer lab environment for a university and the request for the an express edition (require for the courseware) came in late. Is this possible and would there be any gotchas Thank you Sincerely, dhayashi ...Show All
Windows Forms Can not turn off automatic updates
I made Windows application which manualy checks for updates each time when the application is started. Although I turned off auto updates, I still get sometimes before I launch the application update form which wasn't created by me. My manifest looks like that: ....... <deployment install="true" mapFileExtensions="true"> <deploymentProvider codebase="http://some.url/> </deployment> ....... What do I do wrong ...Show All
Visual Studio Missing Events Lightning Bolt Icon
In Visual Studio 2005 Properties window the Events Lightning Bolt icon has disappeared even with an object, e.g., DropDownList selected. How do I get it back It was there earlier today, but I must've clicked on something that removed it. I still have the Categorized and Alphabetical icons ... Gabriel, I'm away from the office until Tue. I'll try to get an answer to your question. Thanks for your response, Daryl ...Show All
Visual Studio UNDO no longer working...
I was working ASP remotely (bad network connectivity) and when I returned to the office, the UNDO feature no longer works. That's to say, whenever I'm in the editor (VB) and I code, the UNDO button no longer ENABLES itself and, syntax errors take a while to reveal themselves. Being in the office. I'm just a stones throw from the development server... Connectivity shouldn't be an issue... In fact, browsing the pages of the project using Internet Explorer reveals little to no lag. Is there a setting perhaps that was tripped because of my recent remote outing ...Show All
.NET Development Object dieing after some idle time
Hi, Need some help ragarding remoting . I have an application developed using remoting scneorio. I am using SAO singleton objects. My application is working fine. But when i left the application idle on client sie, (user machine and not server machine) say some half an hour, ,y application returns the error. I found that object is dieing after some idle period. Any guess why this is happening Thanks Vyanki Hi, we have not set any times for object lifetime we are using public override object InitializeLifetimeService() { return null; } which will set the lifetime to infinite. Thanks & Rgds Vyankatesh ...Show All
Windows Forms Create a new WebBrowser control with a new session
I'm using the WebBrowser control in my application, and I have a reset button that should create a new bowser instante with a new session. Apparently the default behaviour of the browser control is to keep the session, even if i have another instance. How can I have a new session in the new browser control instance thanks ...Show All
Visual Studio Tools for Office Visual Studio 2005 Tools for Office Hands-on Labs for Word 2003
I have been working through this lab but having a problem on Lab 3 - Working with Data in Word Documents. I am at the end of Lab 3, step 4 "Submit", I am supposed to receive a message that a survey was submitted. Instead I receive the following error, "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." I have done this lab twice, everything works step by step, I've compared each line of my code and cannot find why the update does not work. Overall, it is a great lab and I would really like to move on to Lab 4. I'm looking for anyone that has successfully completed this lab, or any suggestions as to what I should be looking for with this error. Here is the link for this ...Show All
Visual Studio How find produced output?
Scenario: I want to copy built assemblies (including satellite assemblies), xml docs, pdbs and to a "deploy" folder. The main assembly I can get with $(TargetPath), pdb I currently do $(TargetDir)$(TargetName).pdb, config file $(TargetPath).config documentation $(DocumentationFile) And these all work (well $(DocumentaionFile) after checking that the file exists due to previously discussed VS bug..) - Are there better ways to get the pdb file - Satellite assemblies, is the intention that I have to <CreateItem Include="$(TargetDir)\*\*.dll"> <Output TaskParameter="Include" ItemName="SatelliteAssemblies"/> </CreateItem> to get the satellite assemblies Spelunking around in Microsoft.* ...Show All
Visual FoxPro Remote views on SQL Server 2005
I have a simple RemoteView on an SqlServer 2005 database. Select id, ammount from table where month(data)=MONTH(GETDATE()) When I make an update on a single record it update all records for that id not only for that month. What's wrong You are not showing the update code. I'm not clear. Is this a VFP remote view to a SQL Server 2005 DB The query you showed only returns data for a certain month for all IDs. You are asking to update for one month for a single ID. Something like this maybe Update mytable set amount = nAmount where month(data) = nMonth and ID = cID ...Show All
