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

Software Development Network >> Jade Skaggs's Q&A profile

Jade Skaggs

Member List

John_from_Donetsk
Drew Marsh
Rick.H
doug finke
RajaGanapathy
ReneeC
vanu
Jenise
Rich.wray2
Dans.
AndyL
MarcGBeauchamp
dotnetbee
Suman#SS
djmikke
Noral
Craig McGuff
Thrix
Romantic_touch
Derek Comingore
Only Title

Jade Skaggs's Q&A profile

  • .NET Development Find a folder's location problem

    I try to find a folder located on my C: which maches a specific name using: Directory.GetDirectories(@"C://", "folders name", SearchOption.AllDirectories); but when it checks a folder that has no access I got an interruption. System.UnauthorizedAccessException was unhandled How to solve this problem yes ahmedilyas , What you are telling is correct. But Konstantinos Polychronis knows the exception what he is getting ( System.UnauthorizedAccessException ). that's why i said alternate solution. any way thank you for your information. -Thanks Mahesh ...Show All

  • Windows Forms WMP control in MDI child

    Any idea why an AxWindowsMediaPlayer control that has been assigned a URL (Given a file to display) Crashes when I try to re-size the MDI form it is in First time poster, be gentle...    <EDIT> VB.net 2.0     Even Stranger, If I put a button on the Child form (The one with the MediaPlayer control) that re-sizes the form. It looks like it is resizing, but the drawing area does not change and the media player control does not change (even though it is docked and anchored) ...Show All

  • Visual Basic Stopping execution of a subroutine

    Ok. I have a series of events happening inside a subroutine. Near the beginning of it, I check to see if the StopRunning variable equals true or false. If it's false, I want it to keep running through the rest of the subroutine with no other problems. However, if it's true, I want the program to stop running through the subroutine and return to the other class that called it. How do I go about doing this I've tried using Me.Close() and closing the window in question, but it still continues to run through the code. Thank you for all helpful responses. If StopRunning = True Then Exit Sub End If ...Show All

  • Visual C# Looping through the pages of a Tab Control, and checking whether they contain a certain control

    I'm making a text-editor-like program with tabs for all the open documents, and need a "Save All" button, unfortunately, not all the tabs will contain a text box. How can I loop through each page of the Tab Control, check whether it contains a Rich Text Box control and if so save the text from it The code I'm currently using on my regular save button is: public void Save_Click( object sender, EventArgs e) { RichTextBox tempbox = tab.SelectedTab.Controls[0] as RichTextBox ; if (saveFileDialog.ShowDialog() == DialogResult .OK) tempbox.SaveFile(saveFileDialog.FileName, RichTextBoxStreamType .PlainText); } And this saves the text from the currently selected tab. Any help would be greatly app ...Show All

  • Software Development for Windows Vista Getting readonly data without locking the workflow instance in a WF runtime-multihosted environment

    Hi, Please, consider the following scenario: A web farm or web garden A common store for SqlTrackingService and SqlWorkflowPersistenceService with locking enabled An ASP.NET web service running in the web farm or garden that: Host the runtime Exposes custom message-based interface to clients (web or windows apps) and encapsulates workflow stuff Interact with the hosted workflows using the runtime Now, several persons using a web application are requesting read only data about the same state machine workflow instance at the same time. This data are the workflow state and allowed messages. I have seen the ordering state machine sample, and I have realized that it gets the allowed messages from the workfl ...Show All

  • Visual Studio Express Editions to every character have diffrent size how can I show string in listbox that every character have the same size exactly?

    yaniv ...Show All

  • Windows Forms inheritance at runtime

    hi , how do i make this form inherit another form at runtime Dim selectInvoice As New Form it should inherit from 'template' - my base form. base form is called template which has standard exit buttons. i have some forms to create on the fly, and they should all inherits the base form. therefore: it should have been at design time: class form1 inherits template but now if the same thing at run time pseudo : dim form1 as new form inherits template i want the same functionality as above that we all do at design time, . me want to know how to do it run time. ...Show All

  • Visual Studio Express Editions datagridView update with dataset dataapater

    is anyone know if i can update access database with dataset in the vs 2005 express really imortant to me. i need to know maybe i just wasting my time! i've a datagridView that get is data from a dataset: Me .T_1TableAdapter.Fill( Me .T_1DateSet.T_1) and i try to update it in a bottom-click: Me .Validate() Me .T_1BindingSource.EndEdit() Me .T_1TableAdapter.Update( Me .T_1DataSet.T_1) and i get the followin error: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. I bet if you searched this forum for that exact error message you'd find this has been answered many times... You're TableAdapter is not fully configured. You need to ...Show All

  • Visual Studio 2008 (Pre-release) Header and Content Template

    How can i find when the Header or Content Template are applied I want to get a control from my template but if I try in OnHeaderTempalteChanged i get this exception : This operation is valid only on elements that have this template applied. Is there a solution this doesn't work very well The thing is that I have a TabItem and I have 2 HeadeTemplates, one for default and one for selelected. When the TabItem is selected I have saome buttons on it And i need to acces them somehow. But i don't know when they are loaded. I've tried OnSelected but it doesn't work. I can't retrieve the buttons. Any ideeas ...Show All

  • Visual Studio Express Editions function returns

    *Edit* how do i separate the code from the actual text Hi. i'm reading about classes and how to create fields, properties and methods so far i'm doing just far everything seems strait foward but one thing that i bumped into... a function must return a value in visual basic but in this example (http://msdn2.microsoft.com/en-us/library/f8f40dwh.aspx) Private Function CalcAge( ByVal year As Integer ) As Integer CalcAge = My.Computer.Clock.LocalTime.Year - year End Function is CalcAge actually the equvalent of return CalcAge; This was the only way to return a value from a function with VB6 or earlier. That's why it remains. Additionally, it gives you greater versatility: you do not need to 'return' fr ...Show All

  • Microsoft ISV Community Center Forums Problems with OpenRecordset outputting text in Access Database

    Hi - When I run my VBA code to output text against IDs into fields in my Access DB, I get into an infinite loop without results or errors. How would I teak my code, specifically the subrst.Fields.Count syntax in a Do While statement, to output text results in my DB. I have attached the code to see if someone can spot my problem. Private Sub Form_Current() Dim subrst As Recordset Dim db As Database Dim rst As DAO.Recordset Dim strPhase As String Dim dtDate As Date Dim strClassification As String Dim strFailureType As String Dim ID As String Dim ID_No As String Set db = CurrentDb Set rst = db.OpenRecordset("Select*FROM qryScores WHERE id_NO=[Forms]![frmMODS_TorpedoScores].[ID_NO]") dtDate = rst.Fields("Date") ...Show All

  • Windows Live Developer Forums How to Add PushPin using FindLocation (without providing lat and long)

    Hi guys, Just started playing with the API. I am trying to add a pushpin to general points e.g. Cities, Provinces, Postal Codes but everytime I try to the pushpin appears in a totally different point. Any insight would be much appreciated. Thanks K <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; var pinID = 1; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); FindTO(); AddPin(); } function FindTO() { map.Fin ...Show All

  • Software Development for Windows Vista Deserializing WorkflowRuntimeSection

    Hi, I'm hosting WorkflowRuntime in a framework that allows the host to run either as a service or as a standalone application. Rather than maintaining duplicate copies of the WorkflowRuntime configuration, I would like to have the host read a single configuration file separate from the application configuration files. My initial idea was just to use XmlSerializer to deserialize an xml file into a WorkflowRuntimeSection object and pass it to the runtime ctor. However, XmlSerializer xs = new XmlSerializer(typeof(WorkflowRuntimeSection)); yields an invalidOperationException that says you must implement a default accessor on System.Configuration.ConfigurationLockCollection because it inherits from ICollection. Is there another high ...Show All

  • Visual Basic Disabling selectionmode in datagridview

    Is there any way to diasable the selection of a cell in a datagridview Or do you have to make the selection backcolor=nothing Or even better, can you make it only "circle" a cell if you select it I remember that you could do it in vb6 with the flexgrid. i dont think there is a "nonselect" type enum in the DataGridView SelectionMode. I guess when the cell has got focused (looking at the event when fired: cellClick/CellEntered) you can unselect it by setting the "currentcell" property to null. other than this, i can't seem to find anything else. hope it helps in some way! ...Show All

  • Windows Live Developer Forums how to get distance between state lines on a route

    hello everyone, thank you for releasing virtual earth. i added a "View Directions" link to our customer details page so we can quickly get directions from our property to theirs. Works great! my question is, is it possible to get the distance between the state lines that a route crosses we have to do a fuel report, and having this automatically calculated would be helpful. an example route would go from north carolina to florida, so the data that would show would be: distance in NC: 100 miles distance in SC: 200 miles distance in GA: 200 miles distance in FL: 100 miles thanks for your help, abe ...Show All

©2008 Software Development Network