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

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

Rik Dodsworth

Member List

Sudhakar J
AndyMills
JamesCox1968
Marzullo
Eighthxplayer
Tonnie
Jade Skaggs
pamidcc
vannielou
Ty Newton
vr3h
Richard_Wolf
nialljsmith
hrd2hndl67
phoenix11
VSUser2k5
forrestcupp
Pi314159
Robert F.
Stéphane Beauchemin
Only Title

Rik Dodsworth's Q&A profile

  • Visual Studio Express Editions Write arraylist to Text File

    Im sure this is an easy one, but what is the best way to write an arraylist to a text file Scott Well the best way is loop through all the elements Like FOr each elemnt In array Append the file with this element and use a new line or tab for spacing Next ...Show All

  • SQL Server SOS, One .NDF file missing Can not Restore DB

    Dear All, I have a DB with four .NDF Files. The First .NDF File is corrupt. Unfortunately my Backup also Failed. So I Have no Backup. Other .NDF and .LDF and the MDF Files are intact except one .NDF file. Can anyone help How can restore/Recover my DB. I can not mount the DB. ITs OK if i loose some data and am able to use other intact .ndf files. Your help is Greatly appreciated. Thanks Thanks Kevin. I did not notice the new 'offline' attribute. alter database testdb modify file (name='testdb_n1', offline); indeed works great. A small suggestion, you'd probably want to bubble up the info/warning message that the offline filegroup is not available when you bring the database back online. Putting it in the sql log is ...Show All

  • Visual C++ Simulating Left Mouse Button Click

    Hi, At the moment, I am running into a problem which is this: Every time I right-click on a TreeView item in my application, the selected item remains the item prior to right-clicking rather than changing to the right-clicked item. While this isn't exactly a BUG, it is quite an inconvenience. The most obvious solution to the problem, to me, is to simulate a left-button click in the right-click NM_RCLICK event that will in turn select the item prior to any further actions. Is there a better way to accomplish this If not, how can the left-click simulation be accomplished Thanks in advanced. ---Dan To simulate mouse clicks, you can use mouse_event and SendInput. However, I think it will be better to use ...Show All

  • SQL Server Number of rows

    Hello! I try to figure out how to change the number of rows at each page, but I'm stuck. I have no page break , but I get a number of pages when I view my report. Is there any way to set the number of rows shown at each page //Cissi Checking out these two threads might help: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1028484&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=892738&SiteID=1 ...Show All

  • SQL Server SQL SERVER on MAC

    I have a SQL Server 2000 database that works with an access ADP front end. I now need to run the application in a pure MAC environment. Do you know what my options are Specifically, does SQL Server run on MAC OS and can I use the access ADP file also on a MAC client. Really appreciate the help and advice Zaksilver@hotmail.com No, in all cases :-) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual C# c# method, event wizard

    Hi, am starting to work my way through a tutorial book, trying to learn C#. It tells me to run the C# Method Wizard, by right-clicking an existing Class in Class View and selecting Add > Add Method. There is no Add option in Visual Studio 2005 (which I am using). I have looked around for about an hour trying to locate the Method Wizard, but the help does not tell me anything more than it is there. Has this been rtemoved from Studio 2005 If not, how do I access it Not being able to find it is making following the tutorial very difficult. Thanks in advance ityu Anson, Well then you could have also had all references removed from the documentation!!! I just spent an hour trying to get that wizard to p ...Show All

  • Smart Device Development login screen acting as a spash screen

    I am having some issues with my login form. Its acting like a spash screen where it stays on only for a few seconds until my program loads and then closes. I have made sure that I created the login form with the template and checked my code, but it shouldnt be that difficult! Help! nope..its definately gone! I thought about that too but I closed out all the other windows and its not there. i am just so confused as to why its taking on all the characteristics of a splash screen. I had created a splash screen as the login screen, but realized there was a template for the login screen so I made sure to delete the splash screen and create a completely new login screen. But its like the new login templa ...Show All

  • Visual Studio Express Editions Move to cell in previous row?

    I need to write a code to move to a cell in the previous row. I have looked at (offset) , (currentcell) & (currentcelladdress) but i can't quite get the hang of it. This is what i have so far in a button click event:      Me.MaintableDataGridView.CurrentCell.Selected = False      Me.MaintableDataGridView.Rows(0).Cells(0).Selected = True This works great but i just want to move 1 cell up, not by coordinates. Is there some way to utilize code to mimic the arrow keys (sendkeys, etc...) Any help would be great.  Thanks Jeff Ok that means that rowindex is = 0 or less than zero. Put a break point in the selection changed event.... select a cell ...Show All

  • Windows Forms filling a datagrid

    Hi, i need sombebody to explain me how can i fill a datagrid with information comming from different tables in a unique DB, or a link to anywhere explaining with an example.. Thanks! I'm using VB .NET and a DB created with Access. Hi, My fault I guess. I forgot to mention that you must set the datamember property to the name of your table if your binding using a dataset. But you can bind the datatable instead of a dataset so that you would not need to set the datamember property. cheers, Paul June A. Domag ...Show All

  • Software Development for Windows Vista Handling events when hosting workflow in ASP.Net or a remote object

    I am looking to host workflow within ASP.Net and perhaps a remote object. In both cases it appears best practice to create the WorkflowRuntime once and reuse it for each call. However, having read Dino Espoito's article and looking at Matt Winkler's example I have some questions: In both cases their code registers with the WorkflowCompleted event on the WorkflowRuntime, but the handlers do not check that the workflow that has completed is the same one they started. Am I missing something here If the ASP.Net site was concurrently starting several workflows, how do you know which one you are handling the WorkflowCompleted event for Is it that because they use ManualWorkflowSchedulerService they only get an event raised that is relevant ...Show All

  • Windows Forms Textbox focus in tabpage?

    I have two tab pages.In the first tabpage I have some textboxes also in the second tabpage. I wont to get focus on Textbox3 (in tabpage2) when I enter the tabpage2 but it wont do that. This is my code: Private Sub TabPage2_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles TabPage2.Enter TextBox3.Focus() End Sub What is the problem Thank you! Instead of setting the focus using TabPage2_Enter, try using the SelectedIndexChanged method like: <code> private void tabControl1_SelectedIndexChanged(object sender, EventArgs e) { if(tabControl1.SelectedIndex == 1) textBox3.Fo ...Show All

  • Visual Studio 2008 (Pre-release) Returning appropriate fault information in a custom UserNamePasswordValidator

      I'm looking at the WCF samples for creating a custom UserNamePasswordValidator (WCFSamples\TechnologySamples\Extensibility\Security\UserNamePasswordValidator\CS\service). The sample's CustomUserNamePasswordValidator implementation demonstrates that if a username/password combination is not valid, to throw a SecurityTokenException. However, since the exception occurs during the authentication stage of the pipeline, prior to the message being authenticated, the exception thrown by the client is not a SecurityTokenException, but is always a MessageSecurityException that indicates that: {"An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and de ...Show All

  • Smart Device Development Testing for Windows Mobile Applications

    Hi All, we are developing Windows Mobile Application using VS 2005. We want to test the Code we have written. something like NUnit Testing. But we are not able to find any tool available for the Mobile Application. Pl. anyone can give me some insight about the testing tools available for Mobile Applications created using VS 2005 Thanks in Advance Thanks and Regards Biju S Melayil Hi Unit Testing for the .NET Compact Framework will be supported in the next version of visual studio (Orcas) see: http://blogs.msdn.com/vsdteam/archive/2006/11/12/unit-testing-for-net-compact-framework.aspx There is a nUnit port for .NET CF under development at: http://cfnunitbridge.tigris.org/ HTH Michael ...Show All

  • Visual Studio Express Editions Help with code plz, copy paste sendinput coding

    I finally was able to get code I thought would work. I use dragon naturally speaking and in some nonselect and say text area (that means cant use voice dictation there) I wanted to open a dictationbox dictate into it, then transfer the text from it into the nonselect and say fields. After I made the app, if i manually copy and past ctrl a or ctrl c or ctrl v that works fine. its my auto code thats amiss. Am trying to avoid sendkeys aws vista is coming and i hear wont support them, plus they have issues with use. I get an error when run it that says to large or to small for Int16 no idea what that means. here is the code. Imports System.Runtime.InteropServices Public Class Form1 Private Sub DoKeyBoar ...Show All

  • .NET Development Required To post XML data to SSL enabled Server IIS 5.0

    Hi, I have to post XML fILE TO A server IIS 5.0 which is SSL eanbled Following is the code that accpets the data posted to THE IIS 5.0 SSL enabled server using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Text; using System.Configuration; // must add reference to project, not there by default! using System.Diagnostics; using System.IO; using System.Net; namespace WebApplication2 { public class WebForm1 : System.Web.UI.Page { ...Show All

©2008 Software Development Network