Software Development Network Logo
  • Visual C#
  • Visual C++
  • Visual FoxPro
  • SharePoint Products
  • .NET Development
  • VS Team System
  • SQL Server
  • Visual Basic
  • Visual Studio
  • Microsoft ISV
  • Smart Devicet
  • Windows Vista
  • Audio and Video
  • IE Development
  • Game Technologies

Software Development Network >> Spyrrho's Q&A profile

Spyrrho

Member List

Mystagogue
Othello
glenhoo
lushdog
Weebmaster
haba
rpp
gleason78
HariAdu
Nicw
crondog
unahb
John05
zx5000
Eder Andr&#233&#59;s
vimaljonn
Bridgeway
Wouss
fdc2005
chakravarthy_b
Only Title

Spyrrho's Q&A profile

  • .NET Development HELP!! "This row already belongs to another table" ERROR!!

    Hi everyone! I have a sticky issue... I am not getting an error when the following code is executed as a normal dll (not even registered in the GAC). But when I inherit the service component and have it registed as a COM+ service it throws the "This row already belongs to another table". Have been frustrated with all kinds attempt to find out the reason. Please help!! Private Sub cmdAddLOV_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAddLOV.Click Try If editCategory_Group.Text = "" Then errProvider.SetError(editCategory_Group, "Please Enter Category Group") Exit Sub Else errProvider.SetError(editCategory_Group, "") ...Show All

  • Visual C# [newbie] Thread.Sleep and Button's color change

    Hello! I've got the problem: I want to change BackColor of Button only for few seconds. I try do it: button.BackColor = Color.Red; Thread.Sleep(1000); And effect is that program wait 1 sec. and then change the color of button. I don't understand it. I thought that Color should be changed first and then program should wait 1 sec. Yes, that has happened to me as well, and it may be because .NET runs lines of code at the same time... Maybe adding Application.DoEvents() above the Thread.Sleep(1000) would make it work (wild guess).. ...Show All

  • SQL Server Difficult T-SQL query (for me anyways)

    Hi. I am developing for a system that receives an input from an external modem. The Transaction is split into 2 sections, Section 1 = grants the transaction ID, Section 2 = deliver the transaction Data. I have 2 corresponding tables, One called tblremoteunitrequestID (Where the transaction ID is granted) The other called tblremoteunitrequests (Where the transaction is completed, about 1 second later) I am writing a diagnostic report that determines if the first part of the transaction completes but the second part fails. I am having difficulties designing the SQL for this. Here is some sample data for tblremoteunitrequestID : (The first stage of the transaction) RecordDate | Serial 13/11/2006 14:00:36 0 ...Show All

  • Software Development for Windows Vista Scripts on localized Windows

    Looks like Install-certificates.vbs and Install-website.vbs installation scripts do not work on localized Windows. Will do. Heh-heh. It is actually funny, in a twisted kindof way. The evolution of those scripts to install the samples came as a result of sooooooo many people having problems setting up simple little examples. I never intended for them to get so expansive, but setting up these darn samples to run in a variety of sites and configurations was tricky. I wouldn't normally have been concerned with that particular problem, but I see how it would make nothing but trouble elsewise. Rest assured, I'll fall back to the first web site. g Garrett Serack | Program Man ...Show All

  • SQL Server in which language the SQL is implemented?

    i need to know in which language the standard SQL is implemented.. and that from where can i get the code.. i need the code for the "logical operators" of SQL. Plz help.. No, not really I'm afraid. What do you mean by "original SQL implementation" Do you mean ANSI SQL If so, go and check out their website: http://webstore.ansi.org/ansidocstore/default.asp If you want to know something about SQL then you should try the appropriate forum. This isn't it. -Jamie ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. BasicEffect object is clamp-ing textures?

    Can anybody tell me if I'm doing this right or if I'm missing some thing... I have written a method that creates a vertex buffer object and populates it with 2 polys that make a 2D plane. But when I render this vertex buffer using a BasicEffect object to handle the rendering my vertex buffer object is rendered but the texture is clearly being clamped. I have checked the texture sampler states and vertex sampler states and they both say they are set to Wrap by default. I am creating the vertex buffer using this method... /// <summary> /// Creates a triangle fan of 2 polys along the x/y axis centered around 0,0,0 with a width and height of 1. /// </summary> /// <returns>Returns a new vertexbuffer</returns> ...Show All

  • Visual Studio How to play with property values?

    Hello. Sorry to be that rookie, but I cannot figure out how to handle with MSBuild property values. Indeed, I'd like to define a property the value of which depends on sub-strings of other properties . Let's say that I have introduced a property named ' ActualRootOutputPath ', which I want to set according to the property ' ProjectPath ', which is already defined. This property ' ProjectPath ' is equal to something like ' C:\SomePath\AnotherPath\wok\MyProject\MyProject.csproj ' and I'd like the ' ActualRootOutputPath ' to be equal to ' C:\TEMP\AnotherPath\MyProject\output '. I do not see how to write the ' PropertyGroup ' ' ActualRootOutputPath ' property in order to perform simple string search/replace. As a general remark, I must admit ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DXUT - DXUTSetDevice

    I am trying to use a device created by my application and using DXUTSetDevice(renderer->GetD3DDevice()) to set it. Inside the DXUTSetDevice (DXUT.cpp) function an attempt is made to get the presentation parameters from the swapchain through the getContainer function as follows. IDirect3DSwapChain9* pSwapChain = NULL; hr = pBackBuffer->GetContainer( IID_IDirect3DSwapChain9, (void**) &pSwapChain ); if( SUCCEEDED(hr) ) { pSwapChain->GetPresentParameters( &pDeviceSettings->pp ); SAFE_RELEASE( pSwapChain ); } The get container is returning E_FAIL and hence I the presentation params are not obtained. as a result pDeviceSettings->pp.Windowed remains 0. As a result the window is displayed as a popup without borders or c ...Show All

  • SQL Server how can I substract a SUM from a SUM?

    first, I am using stiored procedure and here is my table structure: [item_id] [int] IDENTITY(1,1) NOT NULL, [item_guid] [uniqueidentifier] [company_reg_number] [int] , [file_no] [int] , [visit_id] [int] , [item_code] [varchar](50), [item_price] [decimal](6, 3) [created_date] [datetime] [created_user] [varchar](50) and I have debit and credits in the same table but I want to get the difference.. my stored procedure to return the result is: USE shefa set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================ ...Show All

  • Smart Device Development System.Net.WebException

    Hi there, i have developed a application for ppc, and in the other day i was surprised by this exception, while trying to access a WebService: System.Net.WebException: Nao e possivel apresentar uma mensagem de erro porque nao e possivel localizar uma assemblagem do recurso opcional ---> System.Net.Sockets.SocketException: Nao e possivel apresentar uma mensagem de erro porque nao e possivel localizar uma assemblagem do recurso opcional em System.Net.Sockets.Socket.ConnectNoCheck() em System.Net.Sockets.Socket.Connect() em System.Net.Connection.doConnect() em System.Net.Connection.connect() at WorkItem.doWork() em System.Threading.Timer.ring() em System.Net.HttpWebRequest.finishGetResponse() em System.Net.HttpWebRequest.GetRe ...Show All

  • Smart Device Development Bluetooth + SmartPhones

    Hi, I would like to read the Bluetooth status (On/Off) & inbound & out bound COM Ports for Smart pHone, can any one tell me the location of the same in Registry This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Windows CE API : microsoft.public.windowsce.embedded General programming (not VisualStudio related) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Keyboard Input and character encoding

    I'm trying to implement a editable text box type of thing, and I'm having a little trouble with keyboard input. The best choice for something like this would be handling keyboard events and adding characters that way, but from what I've seen there is currently no way to handle those events in an XNA project. Or is there So if I can't use events, is there any way to determine what character was pressed Or am I just going to have to make a case for each key (and key combination) see my article on the falling characters game i wrote: http://www.ziggyware.com/readarticle.php article_id=49 Here is the meat of how to do keyboard key pressed events: (See the sample for a full explanation as well a ...Show All

  • Visual Studio SourceSafe integration and "Show Differences" dialog

    Having successfully developed a C#-usercontrol "VSSBrowser" using VSS OLE Automation, I was sad to see that it's impossible to invoke "Show Differences", "View/Edit" and "Properties" dialogs via OLE. And that's the last thing left to get a fully functional control. I googled a bit and found out that "Microsoft SourceSafe SCC Provider" (SSSCC.DLL) should be used to invoke those dialogs. I examined this DLL with "Dependency Walker" and seems I even found the necessary functions; at least two of them - SccDiff ans SccProperties. The problem is that I have no idea of how to use this API in my C# project. I couldn't find any samples or articles in the Net; at the same time I remember t ...Show All

  • Visual Studio Team System Whether uploading documents can be playbacked

    On recording, I uploaded a Excel and on playback it shows RequestFailed: Could not find file 'C:\Inetpub\wwwroot\For_testing\TestResults\vijay 2007-02-09 22_01_57\Out\SheetTemplate.xls'. Kindly suggest If you look at the request in the web editor for your upload page there should be a File Upload Parameter. You can edit that to point to the full path of your upload file on the machine that will be running the webtest. If the full path isn't specified the web test playback will look for it in the current deployment directory which is the path you posted above. ...Show All

  • Visual Studio How to open a Cmd (DOS) Window?

    How can I open a Cmd (DOS) window for I/O I created a custom Visual Studio project as the first step in implementing a language service. The language uses a console window. A Visual Studio output window isn't usable because the language uses the Console API for cursor positioning (24x80) and coloring. I tried things like the following, including prefixing with "Cmd/C". However, all output goes to the Visual Studio Output Window, not a DOS window. <Target Name="StartProgramEvent"> <Exec Command="MyConsoleApp.Exe"/> </Target> An alternative is to setup a Cmd window as an external tool. I'm having several problems with that approach. First, $(TargetName) is an empty string. I need it for a ...Show All

©2008 Software Development Network