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

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

DiasVFX

Member List

Joe Albahari
Anand77
Philip at Beaufort
SnowJim
chxfryer
NetPochi
DSA_Dietmar
Chuff
Weps
ksharma_deepak
Frame
thomaskremmel
Binumohan
Will Durning
iainatk
Briam
RJBriscoe
Cathie 64
&#59;lkj&#59;lk
ftamminga
Only Title

DiasVFX's Q&A profile

  • Windows Forms Problem calling event from control

    Hi, I have a control, SimpleSplitter , that derives from Splitter where I override the OnMouseDown , OnMouseUp , OnMouseSplitterMoved and OnSplitterMoving . I do this because I don't want the Splitter to handle these for me since it will draw what I call a shadow splitter when handling these events. So I wanted to still handle the event but not call the OnMouseDown of the Splitter , instead, I wanted the parent of the Splitter , that is the Control . I'm not seeing how I can do this. If you don't understand what I mean, you have the code here: http://n0n4m3.gamedev-pt.net/ pag=managed_component2&language=en The solution I used was to create a new event, MouseDown2 , but I don't like this solution and I think there's a better one. Tha ...Show All

  • Windows Forms .NET 2.0 Changing the Select Command of a DataAdapter

    This may be a dumb question, but here goes. I have a grid with companies in in from a database. I have a combo box that I want to be populated with the permit numbers for these companies when I select on from the datagrid. To me I would think I would need to just change the Select Command of the dataadapter for the combobox to do this, but for the life of me, I can't figure out how to. Am I just overlooking something or what Please Help The tableadapter is a partial class that you can extend. The class has an variable _adapter which is a data adapter. In this sample on the vb-tips website I added the ContinueUpdateOnError property to the table adapter. You can use the same technique to expose the selectcomm ...Show All

  • Visual Studio Team System access to team foundation server

    Hi all, This is regarding access to TFS inside the same LAN network but geographically distributed. The scenario is something like this: We have a corporate network in New York as well as London and Shanghai. So How do I configure the TFS so that team members from the 3 different locations can use TFS Do we need to setup a proxy server Or is the procedure described for TFS access via internet appplicable in this scenario too Can anyone help me out on this thing Please note that the team member will be still using the corporate network in spite of being in separate location Thanks & Regards, ThunderRock I suggest you take a look at Install Guidance for TFS in particular the proxy se ...Show All

  • Visual C# detecting close button of browser in C#

    Hi all, i am developing an application in which i want to perform certain action when user clicks on the close(X ) button of the web browser. Please anyone help me out to resolve this issue.Any tutorials or sample application would also be helpful. Regards. hey farshad, this is my launch Browser function that I copied from my friend. public void LaunchBrowser() { Process browserProcess = new Process(); browserProcess.StartInfo.UseShellExecute = true; browserProcess.StartInfo.FileName = loginStr; browserProcess.Disposed; browserProcess.Start(); } I need a method to detect whether or not the browserProcess has been closed...any ideas thanks, tonyD ...Show All

  • Visual Studio Express Editions How to implement a "Back Button" feature?

    I have an application that will have dozens of forms that can be launched in a somewhat random order. I would like to implement a "Back Button" feature to allow the user to go back the same way they came (bread crumbs). How can I keep track of the launched forms, in order, and make that array accessible regardless of the form I am at Thanks, Pat Crikey, there are a bazillion ways to do that. What have you tried A simple array would work; a collection; or suprisingly enough, a Stack ...Looks like vb has exactly what you need... . ...Show All

  • Smart Device Development Beta of Microsoft Certification Exam 70-540

    Microsoft Certification Exam 70-540 is available in Beta form right now! This is a Technology Specialist exam for application developers in the mobility space. The Preparation Guide is available for the Exam at: http://www.microsoft.com/learning/exams/70-540.mspx . To register visit one of our independent testing providers: * Thomson Prometric: http://www.prometric.com/ContactUs/T...rs/default.htm * Pearson VUE: http://www.vue.com/ms/ Please use the following promotional codes when registering: Exam 71-540: BTA540 Best of luck! Howard Dierking Product Planner Developer and Database Certifications Microsoft Corporation If you were able to take the 70-540 beta exam during its last run, ...Show All

  • Visual Studio 2008 (Pre-release) Invalid Operation Exception when hosting WCF on IIS

    I am trying to implement a WCF service hosted by IIS using this example: http://msdn2.microsoft.com/en-us/library/ms751519.aspx I get the following error in my browser, when I try to connect to http://localhost/JOHN1/service.svc Server Error in '/' Application. -------------------------------------------------------------------------------- The type 'Microsoft.ServiceModel.Samples.CalculatorService', provided as the Service attribute value in the ServiceHost directive could not be found. 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.InvalidOperationExcept ...Show All

  • Visual Studio 2008 (Pre-release) How to perform explicit Validation?

    I've implemented a validation object and successfully bound it to an input control (textBox) in XAML such that when I modify the UI, the validation fires, and prevents the value from being updated. I would like to trigger the validation explicitly, so that I can perform it as the result of a user click (eg. a Close button) and condition the closing of the window on successful validation. I tried doing this in code. Specify the UpdateSourceTrigger to "Explicit" in XAML in the Binding and validation declaration and then do the following in the click handler for my close button.            BindingExpression be = textBoxPosition.GetBindingExpression(TextBox.TextProperty);   ...Show All

  • Visual Basic not legal form error

    Hello, I have written a small applicaiton for a class that opens and displays an image file, however when I get the open file dialog box the app crashes and states the path is not in a legal form. Has anyone ever run into something like this Here is the code I am using to select the file and pass it to the Picture Box If ofdOpen.ShowDialog = Dialog.Result.OK Then End If picBox.Image = Image.FromFile(ofdOpen.FileName) Thisi is the error I get when I compile the app and the cause the error to occurr System.ArgumentException was unhandled Message="The path is not of a legal form." Source="mscorlib" StackTrace: at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO. ...Show All

  • Microsoft ISV Community Center Forums For Next stops at 16

    The following code fails when I set the upper range of the For Next loop to any number greater than 16. The error: "Run-time error '9': Subscript out of range". The statement that it throws the error on is: If Vol(i, 1) <> OldVol(i, 1) Then It works fine for any upper range up to and including 16; but 17 or greater throws the error. Any help appreciated. Code Module: Dim NewVol As Variant Dim OldVol As Variant Dim Vol As Variant Dim RT As Variant Dim BSRT As Variant Dim ASRT As Variant Dim BSize As Variant Dim ASize As Variant Dim Start As Variant Sub Update() 'OldVol = Range("ab55:ab57").Value 'NewVol = Range("ab55:ab57").Value BSize = Range("n55:n70").Value ...Show All

  • Windows Live Developer Forums Out of date pictures!!!

    Service is a good concept. However, seeing the 3D image of tall buildings thought I would take a look at the landmarks where I work and how they look. I work in the city of London so was wanting to see how the Swiss Re tower (the gherkin) would look. This is located on St Mary Axe. A search here however reveals the old site which had yet to be built on. This must've been years ago meaning the photos are out of date. It wouldn't be such a problem if the building wasn't such an integral part of the London skyline as we know it now! If anyone doesn't know what i'm talking about go to http://www.30stmaryaxe.com/index2.asp and anyone who's been or seen pictures of what little skyline London has will recognise it and hopefully see my point. SORT ...Show All

  • Visual Basic New guy question, how do I do this???

    Ok, so I'm fairly new to programming, especially in .NET and VB. Everything before this was in MATLAB for me since I'm an aerospace engineer. I'm trying to build an sizing program for compressors, and I'm building a unit conversion class to take care of the obvious problem of inputs coming in as different units. I've taken care of the basics, ie: length, force, energy, pressure, volume, etc..., but now I want to do combinations thereof. The way my code works is it takes a ByRef value for either a conversion factor (for the combinations, since temperatures aren't always an absolute scale) which is initially zero or whatever, or a ByRef value for what you're trying to convert, and the input units, and the output units. The units were crea ...Show All

  • Visual Studio Team System Does Office 2007 System compatible with TFS

    Can I pull data from TFS by using office 2007 I cann't see the team menu on my microsoft excel 2007 TR version The current version of SPS 2.0 does not recognize new extentions for the office 2007 documents and as the result there is no propper icons and no access to the properties of the documents in the documet library (indexing, filterinf etc.). Will TFS SP1 fix this or we will need to install SPS 3.0 (if it will be compatible with TFS) Maxim, ...Show All

  • .NET Development Table Adapter Query with Parameterized Where Like Failure

    Hello: I built a query using the query builder as follows: Select Customer_ID, Customer_Name From Customer Where (Customer_Name LIKE @Name) When I test this query from within the query builder it work fine and supply a parameter of T% it works fine. However, if I use the View Data function of Database Explorer or bind the query to a ListBox and supply the same T% parameter it returns no data. The table contains two records with a Customer_Name of "Test Customer" and "test customer" It's interesting to note that in both the View Data Function and the list box if you supply a parameter value of "test custome%" the query works. Anyone got a clue on what's going on and how to fix this ...Show All

  • Software Development for Windows Vista Transaction Scope with datatable updates

    I have a VB windows app using a dataset with multiple datatables and a datagridview for the UI. Okay. I have the datatable. updates and inserts and deletes working. Now, I just want to wrap the calls to the different table updates/inserts/deletes in a single transaction so I can manage the errors and roll it all back. Is TransactionScope an option for me Using .net 2.0, VB 2005, ... I tried to add the System.transaction but it doesn't seem to know it. "Imports System.Transactions" ... does not load or find it. Is this just a stupid syntax or basic know-how that I'm missing I see SQLClient.SQLTransaction and I found an article that says I need to create a new transaction, ... it used OleDbTransaction = cn.BeginTran ...Show All

©2008 Software Development Network