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

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

Chris4578

Member List

Dr. YSG
abuck
dhika
Behzad Karim
loopool
dhmason
MasterG
Marlun
BenCh1
Justine
riemerg
fripper
jw700
DMKanz
Douglas McClean
Ed Hintz
Soe
xird
Arie Jones
georgeob
Only Title

Chris4578's Q&A profile

  • Visual C# attempt to read or write protected memory

    hello everyone. i'm trying to open an excel workbook using c#. this is the code: using Excel; Excel.Application excelApp = new Excel.ApplicationClass(); string workbookPath = "c:/SomeWorkBook.xls"; Excel.Workbook excelWorkbook = excelApp.Workbooks.Open(workbookPath, 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false); when i run the program on the same pc that has the c# environment it runs without problem, but when i try to run it on another pc i have the following error: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corru ...Show All

  • Software Development for Windows Vista State Machine Workflow with multiple Completed states?

    Is this possible I would like create multiple states where the workflow should be terminated (without indicating an error condition). I guess I need to understand what the implications of having a workflow instance reach a completed state versus reaching a leaf state with no additional transistions. When a workflow reaches the complete state I am assuming that a 'cleanup' occurs (in the persistence store ) and that if a large number of instances never reached the complete state then the workflow would because a resource hog. My specific situation is that the workflow ends in either a success state or a failure state and I had a intuition that having the workflow instance remain in either of the states ...Show All

  • SQL Server Need all the list of all possible messges that can be logged in SQL server error log

    I have got all the sql server messages from sys.messages table, out of them some of them are logged in event viewer(could be distinguished using the column is_event_logged in sysmessages) and some of them are logged in sql server error log and some of them might be logged some where else.Now, I want to know all the locations(files) where these messages gets logged and also what are those specific messages like sql server error log contains some messages(\Microsoft SQL Server\MSSQL.2\MSSQL\LOG) and event viewer contains some messages and so on... I will be really thankful if some one can provide the information on this. ...Show All

  • SQL Server .Net program executed in SQL agent job

    We have a set of three Windows batch jobs, each batch job executes a program or runs ftp. When the batch jobs are executed in Windows, either command line or through the task scheduler, they run fine. If I create a SQL agent job that executes each batch file, the job fails. Not only does it fail, but the system log is full of "protected file replacement" messages, mmc's are gone as well as files like hal.dll. According to the programmer, the program that files is taking data from the SQL server and writing to a text file. The operating system is Windows 2003 w/sp1 running SQL server 2000 w/sp 3a. I have repeated this on two seperate servers. The SQL agent jobs are created by a user with domain admin rights and SQL agent runs unde ...Show All

  • Windows Forms Datagridview combobox query

    I have a datagridview with 5 columns which a populate with dataset, which retrieves data from a table. The first column in the datagridview is a combo box which contains IDNumbers. In the combo box, I wish to show a number of IDNumbers that are in another table. In code, I have defined another dataset to retrieve the IDNumbers, but I do not know how to connect the secondary dataset with the IDNumbers to the combobox's items collection in the datagridview. How am I able to do this in such a way that I can have multiple rows in the datagridview with the same IDNumber (The database has been setup correctly to allow for this scenario.) Thanks James Hi, Try the following code I ...Show All

  • Windows Live Developer Forums Map Cruncher with V3 control?

    I have been playing with Map cruncher from MS research and see that it appears to use a modified version of the V2 control. Has anyone got it working with the current V3 control John. Yep, agreed, been down the same path. MapCruncher is very cool no doubt, but the sample.html page it spits out references the V2 control but with overrides to pick up the local generated tilesets. Very similar to the viavirtualearth column about spinning up your own tile server(s), with the note that hacks are again subject to instantaneous breaking. No slight against the MapCruncher folks -- it's a research product and a wonderful insight into how everything works! ...Show All

  • Visual Studio 2008 (Pre-release) RTSP streaming

    I've written a RTSP streaming server that streams live television by saving a .ts buffer file and then stream it using the RTSP protocol. However, when I try to watch the stream with a MediaElement or even WMP 10 or 11 it's just black, or it says that it doesn't support the protocol. So my question is, isn't there any support in the MediaElement for RTSP streams Not sure who the manufacturer is here... they should provide you a DShow filter to enable playback in WMP (and likewise it should work in WPF then). ...Show All

  • Software Development for Windows Vista IID_IUnknown unresolved external symbol

    Hi All, I am trying to build a custom directshow filter in platform builder for WinCE 5.0. At linking , it throws errors for unresolved external symbols for IID_IUnknown, IID_IClassFactory and IID_IPersist ..ie. all the interfaces I use in my filter. My filter inherits the CBaseFIlter class. I have included uuid.lib, strmbase.lib , strmiids.lib. Any idea what could be going wrong here Do I have to define these values in my filter If yes .. what is the value All suggestions are welcome ! Regards, Ram Thanks for the quick reply, LGS. I had a look at uuid.lib and I found the definition of IID_IUnknown but I couldn't see why my project wouldn't build. BTW I'm attempting to use the IQ ...Show All

  • Visual Studio Dynamic data source at runtime?

    I've created some reports and deployed on Report Server 2005, and I created a winform application using ReportViewer control to display the reports. Can I assign data source to report during runtime like logon database in Crystal Reports, because I've several database with the same structure, I want to use one report file for all database by switching the data source in my winform application. Does anyone know how can I do this Thank you very much!!! The DataSources property is readonly, which means you cannot assign to ReportViewer.LocalReport.DataSources, but you can change the members of this collection. ...Show All

  • Smart Device Development Help with GAC problem

    I am porting an application from VB6 to VB .NET CE and have run into a roadblock. Here is the code I am trying to run.... If Not ValidateManYear() Then Exit Function ElseIf Not ValidateVehicleYear() Then Exit Function ElseIf Not ValidateMake(pbFullCheck) Then Exit Function As soon as the 5th line is reached I get this error... File or assembly name "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089', or one of its dependencies, was not found. This assembly is installed in the Windows/assembly folder on my machine. The funny thing is, I can remove the arguement and the parameter from the ValidateMake method and I still get the error. ...Show All

  • SQL Server what components rely on SQL Authentication??

    If I have a Mixed Mode Authentication - Can I remove it from my existing product while upgrading to SQL Server 2005 What is the impact to the installations what components rely on SQL Authentication No components per se rely on SQL Server authentication. You can switch on only Windows Authentication if you want to. To see, if you still have a connection using SQL Server Authentication, use the profiler for monitoring or the event log with auditing all logon events. The hard way would be to just switch to Windows Auth. only and wait for any incoming error messages of the users. HTH, jens SUessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development Problem installing Microsoft .NET Framework 1.1

    Hi i need to install Microsoft .NET Framework 1.1 on my PC for a game i want to play(Lord of the Rings Online), i downloaded the dotnetfx.exe setup file(file version: 1.1.4322.573) and ran it then during the copying new file prosess i got the following error: "Error 1304 error writing to file: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\shfusres.dll Verify that you have access to that directory." So yea im kinda stuck as to what to do, any help with this would be really great. Much thanks. Yes i have sent the file to both of your email addresses..:) Now after downloading the file do one thing, First go to the temp folder and delete all of the contents which can be deleted, then also delete the windows\ass ...Show All

  • Visual Studio 2008 (Pre-release) svcutil.exe - Error: Cannot import wsdl:portType

    Hello, I have to integrate several existing webservices in my .net application. But unfortunately, invoking the svcutil tool results in an error with the message: Error: Cannot import wsdl:portType Detail: An exception was thrown while running a WSDL import extension: System.Se rviceModel.Description.DataContractSerializerMessageContractImporter Error: Schema with target namespace 'http://www.wsi4j.at/rci/SecurityTypes/3.0.0 ' could not be found. XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.racon-lin z.at/delfin/KreditantragService/1.0']/wsdl:portType[@name='KreditantragServicePo rt'] Error: Cannot import wsdl:binding Detail: There was an error importing a wsdl:portType that the wsdl:binding is de penden ...Show All

  • SQL Server message lost

    Hi... My service broker was working...all of a sudden it stopped working...so i figured out destination queue was disabled and I set it as ALTER QUEUE SERVERQUEUE WITH STATUS = ON , RETENTION = ON , ACTIVATION ( STATUS = ON , PROCEDURE_NAME = usp_OnReceiveMessage , MAX_QUEUE_READERS = 5 , EXECUTE AS OWNER ) Also altered my database for trustworthy after going through some posts previously. Now the message is sent...i dont see any message in my tranmission queue but i dont receive the message in destination server. When i checked endpoints... select * from sys.conversation_endpoints I see the last message with st_desc as conversing... how do I solve this... Thanks, Pramod ...Show All

  • Visual Studio 2008 (Pre-release) Sample code / Demo projects

    Hi Due to the abscence of the Sync Designer, it will help immensely if you can post either or all of the following: Documentation for Microsoft.Synchronization.Data.Client, Microsoft.Synchronization.Data.Server and Microsoft.Synchronization.Data.dll Sample code : Any demo projects Regards, Kk Hi William, I am working on uploading the sample right now. I don't think it is possible to post to the forum, so I am looking for other options. I expect to post a link to the sample project shortly. I cannot wait either, just few technicalities are delaying me :) Thanks, Rafik ...Show All

©2008 Software Development Network