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

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

ved_30

Member List

TWReynol
okiebugmv
Sam Hobbs
kinny_k
XNA Rockstar
Sam Hobbs
Bryan Stone
Bart371
SnowJim
sticky
djchapin
Blue_Cali
jturpin
AlanKohl
Scott McKeown
Ralf_from_Europe
danmor
Bill Henning
averge joe
mpetanovitch
Only Title

ved_30's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. waiting for a sound to finish

    Hi, I'm all new to this & there is probably a simple solution.. I'm wanting to play a sound and trigger an event or callback when that sound has finished playing. Do I need to check the status of the sound in each Update or is there a more elegant way Many thanks, Pat XACT supports notifications for this. Check out the IXACTEngine::RegisterNotification method and the associated XACT_NOTIFICATION_DESCRIPTION structure.  (Note that this functionality is not available in XNA).   ...Show All

  • .NET Development web service error

    Public Function HelloWorld() As String Dim R As String R = "SELECT * FROM PanHotelRate" Return R End Function i wanna return information from my database wif the above codes but there's an error i tink i noe the error it is this: Dim R As String i noe i should not declare it as String but i donnoe any other alternative what should i declare R as You need to plug in a bit of ADO.NET code in your function to do the actual look up. http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/ExecuteCommand.aspx You can then return a DataSet/ string as appropriate. ...Show All

  • SQL Server Replication. Cant delete rows

    Hi All. I have the folling replication issue: BD1 ------------------------> BD0 Replicate with filter BD2 ------------------------> BD0 Replicate with filter BD3 Four data bases BD0,BD1,BD2,BD3 In BD1 y BD2 there are two merged publications subscribed continuous in BD0. The publications are defined as insert only and allow changes in the subscriber. Everything works perfectly. The records replicate immediately. In BD0 you can insert and modify records, however when I attemept to delete a record I get the following message: error: You can't insert a row with a duplicate key in the object 'dbo.MSmerge_tombstone' with unique index 'uc1MSmerge_tombstone' Note: This is a translation of the original error message in Spanish b ...Show All

  • Windows Forms Adapter.Fill fails with No Selection Rights.

    Im using an informix driver and having an issue when I try to change the connection string. Setting up a data source with the tables and adapters, I have only been able to use a DSN that I have created using the ODBC Manager. When you do the setup, it wants to save the ConnectionString. But it saves it to the Application.Connection String which is impossible to change.(Maybe I wrong) Everything works great until I try to get rid of my UID and PWD. The Adapter.Fill fails with No Selection Permissions. What am I missing DataSet ds = new DataSet(); OdbcDataAdapter daAccountInfo = new OdbcDataAdapter(); OdbcConnection connection = new OdbcConnection(myConnString + myLoginPWD); try { this.Cursor = Cursors.WaitCursor; ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Or OpenGL?

    Why DirectX Is Better Than Open GL Hassan Ayoub wrote: Why DirectX Is Better Than Open GL This typically devolves intro a "troll" conversation, so let me nip it here:Asking this kind of question on a Microsoft-hosted forum probably won't get you the answers you want (or need). Andy "Zman" Dunn's response was the most-accurate, actually. However, if you want to read about similar conversations (and believe me, this question is asked OFTEN -- just do a search), I recommend visiting www.gamedev.net and discussing it in their general forums. ...Show All

  • Visual Studio Express Editions form2 combobox

    Hi,i am new to programming i am having trouble with the following. i have a form with a splitcontainer i have added 2 usercontrols "usercontrol1" and "usercontrol2" i have set the usercontrols to fill splitcontainer panel2 i have a second form "form2" i have a combobox on form2 with collection items "conttrol 1" and "control 2" i am saving the selected text of the combobox to a user setting "startupcontrol" if i put the combobox on form1 on splitcontainer panel1 i get the results i want. But if i move it to form2 where belongs it does nothing. Please see the code below. The first part is working with the combobox on form1 splitcontainer panel1 T ...Show All

  • Visual Studio Tools for Office Is it possible to have an application-level plug-in continue to run after closing the active document?

    The subject says it all: Is it possible to have an application-level plug-in continue to run after closing the active document Essentially, what is happening is that I want to take a document and save it as an html file, then close it to do some manipulation of the .htm file, and then re-open the original word document. Unfortunately, everything stops once I close the document. I can understand this behavior on a document-level plug-in, but is there any way to continue executing code with an application-level plug-in This would make my life so much easier.... Thanks in advance for your input. Hi, What do you mean by continue to run after closing the document Application level addin basically sits in you ...Show All

  • Visual Basic Setting MSSQL Entry as Variable in VB.NET

    What I'm trying to do is select data out of a single cell in a MSSQL table using the SQL statement "SELECT JobData2 FROM tblJobs Where JobID=1" which will return a string and set that string as a variable within my VB.NET program the purpose of this is so that when all the MSSQL data is dumped and uploaded it will get uploaded in /home/variable/data/ on the FTP server anywhere heres the majority of the code any help would be much appreciated. Public Sub Work() 'GLOBAL VARIABLES FOR DATABASE DUMP AND FTP UPLOAD Dim dbserver As String = dbserverbox.Text Dim dbusername As String = dbusernamebox.Text Dim dbpassword As String = dbpasswordbox.Text Dim dbpath As String = dbpathbox.Text Dim ftpserver As String = f ...Show All

  • Visual Studio Tools for Office Cannot run or debug VSTO 2005 SE addin on Office 2003 when running Windows Vista

    Configuration: Windows Vista Visual Studio 2005 VSTO 2005 SE Office 2003 Professional Problem: I've just upgraded from XP to Vista and after that even the simplest VSTO Outlook addin doesn't work any more. I can't debug the project and ThisApplication_Startup event not firing. When I look at the addin i Outlook (COM Add-Ins/Add-Ins available) the Load Behavior is "Not loaded. A runtime error occurred during the load of the COM Add-in." Kindly help me with this issue Regards Gazza   Just to bring this thread to the top, I'd like to throw my hat into the ring and admit that I also just realized that all the work I've put into VSTO over the last month is useless on Vista. Nothi ...Show All

  • .NET Development Why does the String CompareTo method return inconsistent results?

    Does this make sense Why "*".CompareTo("A") -1 "*A".CompareTo("A") -1 //ok. compares as less than, both times. "_".CompareTo("A") -1 "_A".CompareTo("A") -1 //ok. same results... "-".CompareTo("A") -1 "-A".CompareTo("A") 1 //what ! inconsistent results... why This is causing problems in our application, because the sorting on the DataGridView is unpredictable, and the users of the application are complaining. I can't think of any reasoning that would explain these CompareTo results. Any ideas BTW I found more results j ...Show All

  • SQL Server Null ParameterValue

    Ok, seems like this should be a quick and easy one, but I can't find any info anywhere. How do I pass a ParameterValue to the Render method that represents a Null parameter Is this enough ParameterValue[] parameters = new ParameterValue[1]; ParameterValue nullParam = new ParameterValue(); nullParam.Name = "SomeParam"; nullParam.Value = "NULL"; parameters[0] = nullParam; .. then set up everything else we need to call ReportingServices.Render... Thanks Scott When you send "null" parameter value as url link to report server it looks like this: http://reportserver/ %2fReport1Test &param1%3aisnull=True &rs%3aParameterLanguage=&rc%3aParameters=Collapsed "param1" is the na ...Show All

  • Windows Forms How to retrieve the data in DataGridView?

    Hi, I am using Visual Basic 2005 Express Edition and MSSQL Express Edition for database. I am doing a quotation application and I have the following in my DataGridView: ProductName, Qty, UnitPrice, TotalCost ProductName is a comboBox and its databound to my product database. I am hoping that when a client chooses a product in the comboBox, the UnitPrice will automatically reflects the actual price thats in the product database as well. I know i need to retrieve the data in ProductName column and execute a SQL statement to get the UnitPrice. But how can i get the ProductName data which the client has selected Hoping someone can point me to the right direction here. Thanks In the editing control s ...Show All

  • Visual C# Inheriting App.config from Referenced Class Libraries

    I have a Windows Application Project called Foo that has a reference to a Class Library Project called Bar. I created separate App.config files in each project as I want to keep settings specific to Foo separate from that of Bar. After compiling, App.config in the Debug/Release folder only contains settings for Foo. I have considered using a .settings file instead, but the .settings file isn't updatable at run-time (there is no XML file to alter like that of App.config). Is it possible to inherit the App.config settings from Bar to Foo Or have more than one App.config files hi, first of all what version of .net do you use if you use .net 2.0 you can check this thread about how to use settings http ...Show All

  • SQL Server How Do I Sort the objects in the Integrated Source Safe

    I manage a team of developers and we are using SQL Server Management Studio v9.00.2047.00 I have created a Solution and we've been adding stored procedures and are using Source Safe integration as well. We have discovered that the objects (stored procedure in this case) are not sorted by name when you pull up the solution explorer. This is unacceptable when you have over a hundred stored procedures and you need to find one quickly to edit and check back in. Is there some configuration I don't know about (undocumented or what have you) to enable the objects to be sorted by default I truly appreciate any help. We may have to abandon our approach because of the frustration factor. Bret Williams This has been logged as a bu ...Show All

  • Visual Studio Team System IS VS 2005 premier partner editon mandatory

    I already have VS 2005 professional edition do i need to install premier partner edition also. I already have microsoft .net compact framework 2.0 .net compact framework 1.0 sp3 developer .net framework 2.0 .net framework 2.0 SDk -ENU installed on my client. Thanks It's needed when you install Team Explorer. -- Lorenzo Barbieri MVP Visual Developer - Team System, MCT, MCPD EA Win & Web, MCITP DBA IT: http://www.geniodelmale.info EN: http://www.lorenzobarbieri.info I already have VS 2005 professional edition do i need to install premier partner edition also. ...Show All

©2008 Software Development Network