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

Software Development Network >> Jeff Patton's Q&A profile

Jeff Patton

Member List

vkv
skuehner
Tarey Wolf
Vijay Guru Prasadh
Banhnam
Sangweb
sea2006
ATM
JonEagle
allpdoff
lukef01
Jolly Jelly Bean
mrotoloni
bonnielee
anee
Alainna
clint 2
Abhishek bhadouria
joynerCN
iortizvictory
Only Title

Jeff Patton's Q&A profile

  • Gadgets System.Shell.knownFolder/knownFolderPath - do they work?

    Using either knownFolder or knownFolderPath in the following code just produces the error "automation server can't create object". Has anyone managed to use either of these functions successfully <html> <head> <script language="javascript"> try{ var p = System.Shell.knownFolderPath("My Documents"); } catch(err) {System.Debug.outputString(err.name+" - "+err.message)} </script> </head> <body style="width:100px; height:100px; margin:0px;"> </body> </html> Okay, I have a question that might be related to this topic... I am using the code below in a gadget that simply links to My Docs. The problem I am facing is that I have only been able to link the ...Show All

  • Visual Studio Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))

    Any ideas why I am getting COMException when I was expecting and handling an exception of type CrystalDecisions.CrystalReports.Engine. InvalidArgumentException Why are those nasty interop exceptions showing up Thanks Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Source Error: Hi All error of such type may occure due to invalid arg. pass to ...Show All

  • Software Development for Windows Vista Rehosting WWF and set ifelseActivity Rule expression

    1.I have rehosted WF with _vihang's sample(WorkflowDesignerControl.EXE). 2.I have created a customActivity with a boolean property(BlnReturn). Now,In the WF interface i put in a customActivity1 and a ifelseActivity1.Then I select the ifElseBranchActivity1 and run the RunConditionDialog,In the Dialog i input 'this.customActivity1.BlnReturn == True' .When i click the 'Ok' button,the error message will show "The type of the menber 'customActivity1' could not be determined.Ensure that the declaration is corrent". The same problem will run correctly in vs!Why Please help me!Thanks! I'm not 100% sure - but it could be a type information problem (lack of type info for the rule editing functionality). You can always do this: ...Show All

  • SQL Server Cannot connect

      Hi, I installed Sql Server Express and was told to change the connection setting to Local and Remote using both TCP/IP and named pipes. But when I select it and try and apply I get the following Surface Area Configuration error: TITLE: Surface Area Configuration ------------------------------ An exception occurred in SMO while trying to manage a service. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.InnerWmiException&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum) For ...Show All

  • Audio and Video Development Who knows the .xts and .xss suffixes ?

    Who knows the .xts and .xss suffixes How to use them Thanks in advance. [FYI] You can download sample with .xts and .xss suffixes on http://blogs.msdn.com/ptorr/archive/2006/09/20/763839.aspx page. ...Show All

  • .NET Development DriveType

    Please help me. What's a RAM Disk and how does it look like Thanks man. In fact I do a few questions: does that drive appear in My Computer or it's used as a part of RAM (Main Memory) and how does this drive looks like (if it's possible give me a link to a picture of a RAM Drive) How is it connected to a computer ...Show All

  • Windows Forms MDI child form to maximize to the size of parent free space

    Hi When you create a mdi application. You will have your mdi parent. Then you have the child forms. But when you maximize the child form it sort of merges/overlaps with the toolstrip on the mdi parent. is there a way to make sure that the mdi child maximum size is the size of that available dark space in the mdi parent. Not to merge or overlap the toolstrip!! Thanks in advance  This is not normal behavior. Try to reproduce this in a minimal app and post the designer code so we can try it ourselves. ...Show All

  • Visual C++ Hide console window

    Hi, in my console application i want to exit the console and switch to a windows form. opening te form works fine, but the console window is disturbing at this time. how can i hide the console window or do i have to create a windows forms project instead thanks in advance! longwood12345 wrote: Is it possible to make it so that the console windows is never created in the first place Don't spawn a console process. That's controlled by the SubSystem setting in the configuration properties > linker > system section of the project properties. If you want an external process to not have a console window, CreateProcess has flags to control this. Look it up on MSDN. ...Show All

  • Windows Live Developer Forums Can't Edit Spaces Page

    I need to edit my spaces page. I sign in, and don't get the link to edit the page. I can view all my account info and profile, but can't edit my page. The Help was no help, and I don't know what to do. At this point, I would just delete the space if I could and start over, but I can't do that either. I have another spaces page with another account and can access that one with no problem. I don't know if it's something simple I'm overlooking or something more complicated. Either way, there's information I REALLY want off my space, and any help you could offer would be great! Thank you~ Jennifer ~Let me know if you need more info~ I wish I could help. I can't edit mine either, although I seem to get further than you. I ...Show All

  • Visual Studio 2008 (Pre-release) Oracle support in Entity Framework

    Any idea which CTP or Beta might include support for an ADO.NET Data Provider other than SqlClient While we all admit *GRIN* that SQL 2005 is the ultimate database server, many of us must contend with the fact that Oracle is still a very pervasive database and we need to support it. Kevin, First, I wholeheartedly agree with your statement about the ultimate database server. We're committed to working with various .NET Data Provider writers to get early feedback from them and make sure we have a provider model that allows provider writers to leverage the great new features in the next version of ADO.NET. You may have seen the announcement about a provider writer event that we held on campus in early August. One of the provider ...Show All

  • .NET Development what mime type can I use for .msg files?

    There is a file attachment feature that allows users to attach .msg files, among others. I'm not able to find the right mime type to view the attached files. I've tried adding a .msg mime type in the IIS, adding a registry key for .msg in the HKEY_CLASSES_ROOT\MIME\Database\Content Type. But nothing seems to work. I've tried using the following MIME types: 1. appliation/x-msg (I added this to the registry but it didn't work) 2. application/outlook(I tried adding this to the IIS mime type) 3. message/rfc822 4.zz-application/zz-winassoc-MSG 5. applicaiton/msoutlook None of these have worked. Any sugesstions I also tried using a generic mime type like "text/HTML", but I could only see garbage. I'm saving the ...Show All

  • Visual Studio Generating Code From a Model Walkthrough

    I'm going through some of the walkthroughs today. I was not sure what to do after step 14. "Copy and paste the following XML into the file, and then save it." I used the "Copy Code" link button to copy the code from the web site. Apparently the next step is to add a new text file to the project and name it "DomainModel.tt", but this is not clear. I did that and completed the other steps. When I save the ".tt" files, I see the following error message. "Running transformation: Dsl ExampleModel has no Editor." When I open the .cs file all I see is "ErrorGeneratingOutput". I am using the Sept. 2006 RTM version of DSL Tools. Other walkthrough, such as Creating and Custom ...Show All

  • SQL Server Unable to open other Users Report Projects

    I want to be able to open a Report Project created by another User (SQL 2005 Reporting Services) but get an error message 'Access to the path " \\pathname\projectname\projectname.RPTPROJ.USER " is denied' Hi, Visual Studio checks if the user file (where appropiate definitions for a single user is stored) stores some information related to you. So you either need to have NTFS permissions to read the information or delete / rename the file. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Express Editions visual basic express problems

    what is the code to update a database, the code i use tells me an error This is the code I used. It might help, it might not. Dim NameofRow As DatabaseDataSet.DataTableRow NameofRow = Me .DatabaseDataSet.DataTable.NewDataTableRow() Insert table info here in this format NameofRow.Item("Nameofcolumn") = Textbox1.Text Repeat for each column Me .DatabaseDataSet.DataTable.Rows.Add(NameofRow) Me .TableAdapter.Update(DatabaseDataSet.DataTable) DatabaseDataSet.AcceptChanges() Hope this helps ...Show All

  • SQL Server Time of last table write

    Greetings. Can TSQL be used to retrieve the date and time of the last time a table was written to Thanks. alan Alan: TSQL can be used to retrieve this information IF your tables are constructed support this kind of activity.  We typically keep (1) create_user, (2) create_DT, (3) mod_user, (4) mod_DT as standard data elements of our tables.  These columns are updated by trigger whenever a record is inserted or updated.  If your tables do not retain this type of information you might want to consider adding it.  Understand that this does add some overhead; however, there are times in which this information is a quite valuable. Dave ...Show All

©2008 Software Development Network