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

Software Development Network >> Rik Dodsworth's Q&A profile

Rik Dodsworth

Member List

A Bodnar
rayden
Derek Nedelman
Matt Lin
CraigInCalifornia
Zane M
Brian in London
Geetha SG
Behnam Fagih
vtortola
SAADEDIN
sciFiFan
danny1999
aCaen
Jough
Troy Lundin
Loki70
Thomas Wolfram
amdarden
Rainadaman
Only Title

Rik Dodsworth's Q&A profile

  • Software Development for Windows Vista Filter the sqltrackingquery by ActivityName / ActivityType

    Hi, Is there any way to filter activitytrackingrecords by Activity Name or the type of Activity in sqltrackingquery e.g I want to get the list of activitytrackingrecords of all code actities of workflow Instance 'x' Thanks I am not sure you can write such a SQL Query but you can surely write your own custom tracking profile which can help you have more control f what is being tracked. THere you can specify what exactly you need to track. Take a look here: http://msdn2.microsoft.com/en-us/library/ms742042.aspx http://msdn2.microsoft.com/en-us/library/ms742184.aspx Thanks, Kushal. ...Show All

  • Visual Studio Express Editions Using Adobe ActiveX control

    I have placed an ActiveX PDF control (the Adobe Reader OCX) on a .Net Windows form and set the .src property to the location of a PDF file on the internet. The control displays this file just fine when the application is run. However, when I add a button to change the src file (to be displayed) with a single line of code in the button click event as shown below: AxPdf1.src = "http://www.somewebsite.com/somefile.pdf" ....I get the following error: AccessViolationException was unhandled: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Does anyone have any idea what the problem is here Also, I want to be able to print the PDF file programatically without any user intervention ...Show All

  • Visual Studio 2008 (Pre-release) is SoapAction really used in WCF routing ???

    I'm confused. I just read the new whitepaper: "ASP.NET Web Services and the Windows Communication Foundation". In it the author says WCF uses soapaction to route messages, so advises not to use the attributes available today in ASMX to route by message body element. My question is, isn't SOAPACTION obsolete in soap 1.2 The SoapAction requirement makes it really hard to build something like a pub-sub system when you have to have SoapAction header matching the namespace of the subscribers service. Am I missing something Ah, that is a different question, and the answer is "no." That option was an idiosyncracy of ASP.NET Web Services, which is why it is not being carried forward to the Win ...Show All

  • SQL Server error message....

    hi I have the followin code but it isnot working giving the following error message String or binary data would be truncated. The statement has been terminated. string sqlStrInsert = "insert into tbl_izinTalep (b_date, e_date, info, cc, comment) values('" + dateTimePicker1.Value.ToString() + "' , '" + dateTimePicker2.Value.ToString() + "','" + textBox2.Text + "', '" + textBox3.Text + "', '" + textBox4.Text + "')" ; SqlCommand command = new SqlCommand (sqlStrInsert, conn); command.ExecuteNonQuery(); thanks if this forum is out of my topic, please write the related forum's name hi, Jens already prov ...Show All

  • Visual Studio Express Editions Question on Drop Down

    Form My drop down I set the ID as the value member and display as the Name. I would like to use "ID, Name" as what I see I am not sure how to do this. Here is my code: and I have tried to do Me .ComboDept.DisplayMember = "BUD_Name & BUD_ID" but it shows on the BUD_NAME \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Me .Cursor = Cursors.WaitCursor ' Me .Cursor = Cursors.WaitCursor ' CHANGE CURSER TO A WAITING CURSOR THEN DO WORK Dim theDataSet2 As New DataSet() Dim theSqlCommand1 As New SqlCommand( "Select [BUD_ID],[BUD_Name] from [FR_Budget_Unit] ORDER BY [BUD_ID]" , New SqlConnection(connectionString)) Dim theDataAdapter As New SqlDataAdapter(theSqlCommand1) ...Show All

  • Visual Studio 2008 (Pre-release) xmlns:custom="clr-namespace:..." Designview problem

    Once adding to simple XAML code reference to it's namespace designer stops work. Is it bug See sample This code shows designer as expected <Window x:Class="Test_CLRNamespace.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Test_CLRNamespace" Height="300" Width="300" > <Grid> <Button Margin="41,52,46,62" Name="button1">Button</Button> </Grid> </Window> However, this code does not <Window x:Class="Test_CLRNamespace.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x=& ...Show All

  • Software Development for Windows Vista Requesting Admin Rights without COM

    I have been trying to read over many of the articles concerning elevated priviledges in an application, but am a bit lost.  http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp http://windowssdk.msdn.microsoft.com/en-us/library/ms679687.aspx Those two of the main articles I have been trying to understand.  I know I can create a COM class that is defined in the registry and set it's elevation values there, then create it through CreateInstance.  The first article I am almost completely lost on (maybe it doesn't have anything to do with what I want ). Here's my situtation, I have a program that wants to write to registry, save files, etc, but can't do it without ad ...Show All

  • Visual Studio Tools for Office Add-In -> Works = My Computer, Doesn't work on others

    I made an add in for Outlook. After adding a custom install class that I found there: http://weblogs.asp.net/mnissen/articles/427490.aspx It finally worked on my computer when I used the msi to install it (it wasn't working without that class) but now, I tried to deploy it on other computers (Co-Workers machines at the moment), it doesn't work and their configuration doesn't seem to be different than mine and they have the requirements I found here http://weblogs.asp.net/mnissen/articles/427504.aspx  under Prerequisites (The CSA should be dealt with by the custom install class). What's weird is that if I install it via a shared folder, all seems to have been installed fine if I look under tools/option ...Show All

  • Visual Basic ConfigurationManager.AppSettings Error

    hii all! When i tried to access a value from the configuration file ( ConfigurationManager.AppSettings("ADMIN")) i am getting an error: 'ConfigurationManager.AppSettings' is not declared or the module containing it is not loaded in the debugging session. can you please anyone help me who have experienced the above said error thanks in advance, best regards, Ammar. (platform: .NET Framework 2.0, VS 2005, SQL Server 2005) any help, suggestion, URLs would be greatly appreciated! best regards, Ammar. ...Show All

  • SQL Server T-SQL to delete files from Backup Device

    I created a backup device and a job to backup a full dbs and transaction logs. When I first created the backup statement it was created with RETAIN DAYS = 10 Its been 15 days and the ones created after 10 days appear to be marked for deletiong but I am obviously missing a statement in my backup statement or in another job I need to schedule to come through and delete the old files from the backup device. Please help me figure out what this statement needs to be. All the backups and T-log backups are written to one device which is one file. Thanks Scott TSQL does not have the ability to strip an individual backup out of a file containing many backups. Generally, it is more manageable to ...Show All

  • Visual Studio 2008 (Pre-release) FlowDocumentReader ContextMenu

    Hello, I'm trying to implement a FlowDocumentReader Context Menu, but haven't a little bit of a problem. I have it so it can display the context menu when you right click on the menu by the page numbers and layout and it works fine however when I right click on the page itself I just get copy and paste but I want the same as whats set as my context menu. What am I missing Thanks Ben ...Show All

  • Visual Studio Express Editions Very simple help needed

    I apologize for asking this but I couldn't find any help. I wanna put a button on my form that will assign a number to a frame, it needs to be uneditable by the user but editable by the computer. I need to put something like a frame in there. I've looked up and down the list in my copy of 2005 Visual Basic Express Edition but I couldn't find a frame control to put on my form, so what do I choose you may wish to look at this: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=903&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=747347&SiteID=1 there have been some powertoys developed to print a form - check it out and see if that helps. In .NET, to print, the ...Show All

  • Visual Basic Saving Via Dataset

    I need help saving/updating/deleting multiple records in the database via dataset. How i want to do that details are below: please help ASAP. I have a datagrid view and i have five new records in it or i have edited five records or deleted five records and i passed those five records to the dataset in a n-tier application, now i want to save the records into the database using stored procedures. How can i save records row by row. I mean every row is passed to the parameteres, one row at a time using a loop and how to check that five rows are inserted into database and now no record is left back. It was quite simple in vb 6.0 i am having problem in VB.Net.  Thanks again for helping me. Regards Mirza Ashraf ...Show All

  • Visual Studio Tools for Office set selection on mail item

    Hi, I'm using vsto 2005, c#, OL-2003 Is it possible to se t selection on mail item in Outlook explorer, by entryID Thank you for raplay, Is there some workaround Thanks in advance. ...Show All

  • .NET Development How to check if an xml schema type is already present in an XmlSchemaSet?

    When building a schema (set) of a class hierarchy set, using the XmlSchemaProvider attribute, how do I check if a type is already present in the XmlSchemaSet Some classes will end up being shared by different parent classes, so then the schema would appear more than once in the XmlSchemaSet, which gives problems, because it can be defined only once. How do I check if the type is already in there Wout Hi Elena, Thanks for your answer, I think I'm starting to feel the pattern that should be used, I was on the wrong path, I was asking child classes to add their schema to the same schema set, and then I ran into those issues. So the pattern for referencing child schema's would be always using the XmlReflecti ...Show All

©2008 Software Development Network