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

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

mdrelyea

Member List

MA2005
Andrew DeVaughn
Koruyucu
ConfigSSIS
Gravy
S.
mNilysg
SasiInfy
Tryin2Bgood
wutwjd
SankaraNarayanan Nagalingam
dvferretm
Ning
henri805
Dorian Dechant
Maxim Masiutin
dagfari
jason d
EnterBS
SenthilNathan
Only Title

mdrelyea's Q&A profile

  • Visual C++ RegCreateKeyEx returns ERROR_BADKEY

    I realize this is probably a dumb formatting problem, but I'm banging my head against a wall trying to figure it out. Here is a code snippit. _tcscpy(szBuffer, TEXT( "Software\\TSDPP" )); errorcode = RegCreateKeyEx(HKEY_CURRENT_USER, szBuffer, 0, NULL, REG_OPTION_NON_VOLATILE, KEY_SET_VALUE, NULL, appsettingkey, &keydisp); I am getting an errorcode of 1010 (ERROR_BADKEY) and I cannot figure out why. Thanks in advance. Yes, it is already a pointer PHKEY appsettingkey; However, I tried changing as you suggested, and it worked! Weird isn't it. The function must be incapable of allocating the memory for an HKEY on its own. You would think it would be able to deal with this since the funct ...Show All

  • SQL Server Linked Server B/w two SQL SERVER 05 instances (on differnt pc;s) VERY URGENT

    I created a linked server named CONFUSION (as the machine name with perticular IP say a.b.c.d) TESTED the connection by USE master GO EXEC sp_configure 'show advanced options', 1 GO RECONFIGURE WITH OVERRIDE GO EXEC sp_configure 'xp_cmdshell', 1 GO RECONFIGURE WITH OVERRIDE GO EXEC sp_configure 'show advanced options', 0 GO CREATE TABLE #foo ( pingResult SYSNAME NULL ); INSERT #foo EXEC master..xp_cmdshell 'ping CONFUSION'; IF EXISTS ( SELECT 1 FROM #foo WHERE pingResult LIKE '%TTL%' ) BEGIN PRINT 'Feel free to use linked server.'; END ELSE BEGIN PRINT 'Linked server not available.'; END DROP TABLE #foo; I executed the above code and the result was ::: (13 row(s) affected) Feel ...Show All

  • Visual Studio Flowlayout to GridLayout in ASP.net2005

    hi forum how to set Gridlayout of any webpage asp.net2005 thanking u in advance Hey Rastogi I am also looking for the same. But i am sure this issues i was solved in Vs.net2005 Beta 2.but now i am not able to fix this issues. Working with flow layout is suggestible as design view still exists for only windows developer. Any way I got a temporarily solution for it. Just drag and drop any control Then Select the control then go to Layout->position->Click on absolute. Now you will able to move the control as per your requirements. ...Show All

  • Windows Forms Updating a specific row in Access database

    Hi, I have another question regarding my database application. After my other question being answered here , I was able to populate a listbox with data from a column of an Access database. I now need to edit a specific item of the listbox and then update it in the database. The idea is the following: below the Listbox is a Textbox and a button labeled 'Update'. The user selects an item from the listbox and then writes something in the textbox below. When the Save button is pressed, the content of the textbox replace the value of that specific item in the database. How can this be achieved Or is there an easier way similar to what I have in mind And I don't have a DataSource associated with my project. (please refer to the code for ...Show All

  • Visual C# Reading files

    Hi, I have a group of files that I need to read, they are saved in the computer through a tftp server.... How can I know if the file(all files) is ready to read First of all, normally when a file upload is finished it isn't locked any more! So you can try to get full read and write promisions, if it doesn't fail you know the upload has been finished. It could be that the upload was interupted and that the file was left for resuming. You never know this! And if posible you have to validate your files first. Meybe it is easier to write or use a FTP Server component so you can add custom actions to it and you know when uploads are really finished. The last option is to filterout all TCP packages and scan them for finished message ...Show All

  • Smart Device Development infrared!

    Hi. I want to be able to send data (hex codes or whatever) using the infrared ports. I have imported the System.Net.Irda reference and able to access the IR classes. However, I do not wish to connect to a device but rather send data. The device I am sending data to will be a dumb device really, just as a "reciever"... this can be a remote control recieving box or a TV IR reciever for example. IS it possible to do this how I cannot seem to find a way in the .NET classes as it seems you have to connect to the destination then write data to the stream. Thanks! stepping aside from the starcontrol.... I have found a way of making a socket object which includes IR. Socket theSock = new Socket(AddressFamily.Irda, SocketType.Stream, Pro ...Show All

  • Architecture profiler needed

    Hi everybody, I need to check the performance of a .net application and enhance ti whereever needed. For this , i need a good and freely available(if it is free for evaluaton with full functionalities on, that would be fine) profiler. Please suggest the best which fits in above criteria. Thanks in advance rajiv If you're using Visual Studio 2005, then the Team Developer edition contains a profiler you can use. If you're looking for one that works with .NET 2003, there are several available. For example, there's the open source NProfiler , as well as commercial offerings such as Red-Gate's ANTS Profiler . ...Show All

  • SQL Server SQL 2005 sp_send_dbmail with XML in body or as attachment outputs HEX not XML

    Anyone know how to run a Select statement with FOR XML and have the sp_send_dbmail send it out in the proper format When my Select statement is a simple "Select * from TableName" the results appear normal in the email but as soon as I add the FOR XML I get results that look nothing what SQLWB shows (i.e. nice XML). Instead I get text that looks like HEX or something like that. I'm running SQL Server 2005 SP1 on Windows 2003 SP1 set @strSQLQuery = 'Select * from TableName FOR XML path (''Row''), root(''Root'')' EXEC msdb . dbo . sp_send_dbmail @recipients = 'myemail@myemail.com , @body = 'Body of text is here' , @subject = 'My Subject' , @query = @strSQLQuery , @attach_query_result_as_file = 1 ...Show All

  • Software Development for Windows Vista Design pattern for enlisting a "plain old API call" in a transaction?

    We have a third-party workflow server process that exposes a plain old managed .NET API with the following the following methods: 1. Connecting to the server 2. Setting datafields within the server 3. Causing the datafields to be updated within server 4. Closing the server We have a business object with a UpdateServer() method that accepts a collection of datafield values and calls the above methods to store them in the workflow server. We want to include the call to UpdateServer() amongst some database update calls. We need to have these calls to execute as a single transactions - i.e. the UpdateServer() and database updates are all executed; or they are all aborted/rolled back. In EnterpriseServices, I p ...Show All

  • SQL Server connection help

    hey im 2006 passed out.,im a trainee in asp platform., ive been provided windows authentication and i have a code showing error. could u please help me and i got this code from net only else u giv me a correct code to connect asp and sql2005 my code <% set con=server.CreateObject("ADODB.connection") con.Open dsn="dsn_uma" set rs=server.CreateObject("ADODB.recordset") rs.Open "select * from xxtable",con,1,3 while(not rs.EOF) for i=0 to rs.RecordCount Response.Write rs(i) & ":" next Response.Write "<br>" rs.MoveNext() wend %> Please check this link http://www.frontpages-web-hosting.net/support/asp.access.database.c ...Show All

  • Software Development for Windows Vista PrintFilterPipelineSvc.exe getting closed.

    Hi, My print driver is giving the following problem in RC1 WDK and VISTA. The print filter pipeline ( PrintFilterPipelineSvc.exe) is getting closed. Exception. Print Filter Pipeline Host stopped working and is closed. It may be because of DEP (Data execution prevention), which cannot be disabled for ( PrintFilterPipelineSvc.exe ) in VISTA OS. I am not able to find the exact cause of this problem, because the printdriver was working properly earlier before RC1. When trying to print an image in PhotoGallery I am getting the following error dialog "Windows can't find a print provider for this printer. You may need to re-install the printer and try again." Please help. Regards, Lalit. Hi Zoom, Thanks for your reply. 1. I am using ...Show All

  • Visual Studio Team System Object model for Schema comparison

    I want to compare schema from my C# code. Is Object Model available for this product ~Devpal ...Show All

  • Visual Basic SQL Time Out Error

    What causes a timeout other than a slow query An syntax error in a query I've got a windows service that downloads emails from a popserver and populates a table. Sometimes (like 3 times a day) the insert statement gives a timeout... can't find a pattern. The server doesn't seem to be busy... The code is as follows: ANY HELP MUCH APPRECIATED! :) Dim commandStringEmail As String = "" Dim CmdInsertEmail As SqlCommand commandStringEmail = "INSERT INTO tbemail (EID, EmailIcon, EmailFrom, EmailTo, Subject, Body, BodyHTML, DateReceived, EmailFolder, Status, ParentID, CaseEmailID, EmailType, FriendlyName, CC) " & _ "VALUES (" & NewEmailEID & ", '" & EmailIcon & ...Show All

  • SQL Server Can a dataset in reporting services return multiple datatables

    Hi. I am trying to access data from a stored procedure that returns data in form of multiple data tables. But when i drop this stored procedure in my rdl report, it just shows me the first data table returned by stored procedure. I want to know that is there any way that I can view all the data tables returned by my stored procedure, or this is not possible in reporting services 2005. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Cannot connect to the auditioning server?

    When I first tried to use XACT a few weeks ago it worked like charm. Then for no apparent reason I cannot make the GUI to connect to the XACT auditioning tool And now I can't play the sound files I create. I get a time out error message. Any ideas what's wrong ...Show All

©2008 Software Development Network