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

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

shahrul

Member List

Binu Jeesman
Fata1Attack
Ayhan Yerli (TR-NL)
DayTrader
RajeshR
SuranaSaurabh
AlexBB
Free DownLoad Issues
NMM
rajendra patel
Gert Christiansen
Naveeeen
lagu2653
hanozo
AlucardHellSing
blackpuppy
markse
koo9
Billr17
Darren1
Only Title

shahrul's Q&A profile

  • Visual Studio Express Editions activating a file on a remote computer

    how can i activate a file on a remote computer inside a lan connection i dont want the users to be administrators on this computer, instead i would like to insert the administrator user and password to the code. (the idea is to restart an application from a remote computer by any user who uses this program) ok thank you i have only one problem my visual studio (2005) does'nt know the Connectionoptins type how can it be ...Show All

  • .NET Development Handling Exception in .NET 2.0 Async web service

    Hi, I have problem calling asynchronous web service via the "XXXAsync" method. In .NET 1.1 I can wrap the try...catch block around the "EndXXXX" method and catch any exception that could occur during asynchronous call (such as the internet connectivity problem, blah blah) But in .NET 2.0 there are no "BeginXXX" and "EndXXX" anymore. There is "XXXAsync" instead. In some conditions, when my program call "XXXAsync" method. There is an unhandled exception of type "TargetInvocationException" rises (at "Application.Run(new FormMain());" ) There is a description inside which says "502 Bad gateway". How can I catch such exception which occur during asynchronous call in .NET 2.0 I try to wrap try..catch block around "Application.Run(.." but after ...Show All

  • Windows Forms How to Highlight a TreeNode

    I have added a treenode object to my C# Windows form. In the code behind I create nodes under it and it works fine except... I want node three to be highlighted or get the focus during the form load(). How do I do this Here is my code to nuilf the treenode. Thanks Tom Hi, You can do this by using this .treeView1.Select(); this .treeView1.SelectedNode = this .treeView1.Nodes[2]; . Do you mean this Hope this helps. ...Show All

  • SQL Server SQL Everywhere replication

    is it possible to replicate sql everywhere with another instance of sql everywhere housed on seperate hardware the first being a desk/lap top and second a handheld running windows ce5 I would like to run an app with far more functionality on the desktop than the hendheld, however the size of the backend doesn't requitre the functionality that SQL express provides. SQL Everwhere cannot be a publisher/distributor, but I'm pretty sure you should be able to use OCS between the two when it gets released, but don't quote me on it. I can try and confirm this on monday. ...Show All

  • SQL Server SQL Server 2005 scripting

    In SQL Server 2005, how do we script multiple stored procedures at a time and automatically create a new file for each one Yes that has been excluded in SQL 2005 since RTM, don't know if Dev.team are willing to keep it back. You might update your wish on Microsoft Connect site. At the moment you can either script individual SP at a time or script multiple to one file. ...Show All

  • Visual Studio 2008 (Pre-release) A New Windows Application, WPF or Forms?

    Hi I plan on starting a new Windows Desktop project soon and I will surely want some places to be WPF, but the majority of the forms will be Windows Forms 2.0. Is there any advantage / disadvantage for me using a WPF application type (template) instead of a Windows Forms Application template from VS 2005, or because the majority of the application will be windows forms am I better off using the current Windows Forms template for the project Cheers   miloush wrote: If you start the project in Windows Forms template, I cannot imagine how should you manage to compile the WPF stuff. Maybe it's also simple, but this is my point of view, hope it helps a little bit. ...Show All

  • SQL Server Dropdown parameter in Report Builder

    Hi, Is it possible to create a dropdown parameter in Report Builder The result I want to get is (for example): The parameter is "Project". Next to the parameter should be a dropdown box from where I can select a project (for example: project1, project2, ...). Once the parameter is selected, and I click "view report", the report should only display data from the selected project. The only other options available in the Filter dialog screen are: "Field" is in list "Field" contains "Field" equals But none of these methods of creating a parameter generate a dropdownbox from where items can be selected, equal to those in the database. So ... is it even possible to create a dropdown p ...Show All

  • Visual Studio Team System How to validate the extracted text?

    Hi, I have extracted a text using starts with & end with and saved it to the context parameter name. My doubt is how to validate the extracted text Kindly suggest Thanks - Vijay. I can't remember the order of validation/extraction rule execution off the top of my head but you may be able to add a validation rule (find text) and bind it's 'text to find' property value to the context parameter you extracted the text to. You'll have to manually enter the binding, it'll look like "{{ContextParameterName}}" ...Show All

  • Visual Basic Import, Export Access Database Files ???

    Hello! I am new to Windows Forms. I am using VB.NET as the language for an application I am writing. I have searched around trying to find some documentation on this and have not found a solution. ****************************************************************** The application that I am using, uses an Access database to track trainee data. Every now and then the database needs to be exported and sent to me. Also, users will need to have the ability to overwrite a previous database with a new one sent to them from me. I have looked into the OpenFileDialog and SaveFileDialog controls and cannot find a way to do this using these controls. If someone could please help me with selecting an .mdb file and saving it to a specified location on th ...Show All

  • Windows Forms TableAdapter Select Command

    Hi, I have a form  that shows room availabilty for a number of hotels. I'm using a tableadapter called AvailabilityTableAdapter to fill a datagrid view. Is it possible to change the select command of the tableadapter programaticly to a string that I create dynamically Thanks Mark And that's exactly my problem too. Now, my question is that, as we cannot modify the SelectCommand of the TableAdapter generated by the wizard, but the dataset generated provides a type-safe data binding, is it a good idea to use the same Dataset generated by the wizard but create a new adapter for selecting data dynamically ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. [C#] Problem with the SkinInformation.ConvertToIndexedBlendedMesh()

    Hi guys and girls :) Maybe anyone of you could help me with this, as I have no idea why this happens. The problem is as follows: I load textures into a ContainerMesh ( I created an array of textures in the derived class, where I can store the textures) and then use its MeshData, AdjacencyStream and NumberPaletteEntries in the ConvertToIndexedBlendedMesh() method to create an indexed blended mesh. The code is: MeshData data = _MeshContainer.MeshData; data.Mesh = _MeshContainer.SkinInformation.ConvertToIndexedBlendedMesh( data.Mesh, flags, _MeshContainer.GetAdjacencyStream(), _MeshContainer.NumberPaletteEntries, out influences, out bones); After this method executes, though, the texture in the texture array has been disposed and its Unman ...Show All

  • Visual Studio Team System how to tf checkin multiple files

    Hi, Has anyone successful "tf.exe checkin" multiple files I get the following error when I try : "Target AfterCompile: "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\..\tf.exe" checkin /noprompt C:\DMDB_CODE\MARS Branch Project\DailyBuild\BuildType\..\Sources\daily build\MARS_Platform\UnitTestFramework\TestSupportFramework\TestSupportFrameworkTest\Properties\AssemblyInfo.cs C:\DMDB_CODE\MARS Branch Project\DailyBuild\BuildType\..\Sources\daily build\MARS_Platform\UnitTestFramework\TestSupportFramework\TestSupportTest\Properties\AssemblyInfo.cs C:\DMDB_CODE\MARS Branch Project\DailyBuild\BuildType\..\Sources\daily build\MARS_Platform\UnitTestFramework\TestSupportFramework\Valid ...Show All

  • .NET Development Update Not reflecting to Access Database

    Hi All, I am using DataGridView to show table data and allowing user to add/update/delete its content. I am manually creating sql on the basis of a value in a list box and getting the data through the following code: -------------------------------------------------------------------------------------------------- Dim sql As String = "SELECT fldAssetID, fldCategoryID, fldAssetName, fldDescription, fldDateAcquired, fldCost FROM tblAssets where fldCategoryID = " & lst_AssetCategories.SelectedValue Dim cmd As OleDbCommand = New OleDbCommand(sql, Conn) myDataAdapter = New OleDbDataAdapter(cmd) myDataSet.Clear() myDataAdapter.Fill(myDataSet, "tblAssets" ) dgv_AssetDetails.DataSource = myDataSet dg ...Show All

  • Windows Live Developer Forums remove endLocation flag for driving directions

    Hi, Is it possible to hide or remove the endLocation flag that appears at the destination for driving directions I have a custom icon that appears at the destination but is being drawn over by this flag. I am aware that there is a DeletePushpin(ID) method but I am unable to determine the ID of the flag I want to remove. Is there a consistent ID this flag is always created with or is there some way to determine the ID of the flag No the ID for the last flag is not consistant. The only way I can think about doing what you want is to call deleteallpins(), then re-adding them in (provided you stored them from the route itinerary). Finally stick the start flag pin on the start driving location to finish. ...Show All

  • .NET Development sql question

    Would there be a way to make the c# connection string to the sql database universal, so that it can be passed from one computer to another It's for a school project, so security isn't an issue. Why you all don't use same DB engine, like SqlExpress. Connection string must be configurable, and defined in one place. You can also create one simple form that will be shown when connection to the database is not established, with fields for all properties of connection string. So you will change that first time when moving to new database. Moving database is best with database backup if you work on sql server, but you can also take mdf file which requires detaching database (preffered for SqlExpress), and last t ...Show All

©2008 Software Development Network