Software Development Network Logo
  • Game Technologies
  • .NET Development
  • Architecture
  • Windows Forms
  • Visual FoxPro
  • Visual C#
  • VS Team System
  • Visual C++
  • VS Express Editions
  • Windows Live
  • Microsoft ISV
  • Visual J#
  • Windows Vista
  • Visual Studio
  • Visual Basic

Software Development Network >> AL-Wakeel Adnan's Q&A profile

AL-Wakeel Adnan

Member List

Ian123
Test Automator
Tiger125
SWhittet
Mainstar
Fabio
CraigH
Ron Sexton
Fred de Lange
lavasurfer
remedy
Rickyman45
question mark
Ted T.
John999
spencery2
Euclidez
BjarneSCN
fradi
Granted
Only Title

AL-Wakeel Adnan's Q&A profile

  • Software Development for Windows Vista data exchange between workflow activities

    Is there a way to exchange data between two activities I have a need where multiple activities would be executed in sequence on same data, (calling multiple function on same object).e.g. I have a sequence activty having Custom activity A, B and C. When Sequence starts execution, can i exchange data from activity A to activity B to C Activity A would be closed and then it will transfer data to B and same from B to C. In my custom Activity, I am calling a method to process data, Any suggestion which activity type should i use Thanks, Hiten Absolutely. One way would be to bind properties from the A ...Show All

  • Visual C# How do I iterate over cells in excel?

    I have an excel file, with a bunch of sheets. Each sheet has a table, but there is not certainty of what row the table starts. But I do know the text in the top left cell of the table. So I want to iterate over the cells, until I find that text, then start reading the data. I can't seem to find any documentation for accessing excel document (via excel interop), although I have found tons of snippets, but all doing fairly trivial stuff. So far I have: Excel. Application lExcelInstance = new Excel. Application (); if ( lExcelInstance == null ) { throw new Exception ( "Couldn't start Excel. Is it installed ...Show All

  • Visual Studio Express Editions Cannot Access Free Registration Materials via Thank-You Emails

    Hi everyone. I'm trying to access the free downloads that come with registration, but I only see the Web Developer downloads listed. I don't see the icons, components, or book that come with C#. I assume they would all be listed on one page, but they aren't there. How can I find them Thanks, John Salerno P.S. I don't understand how to download what *is* there either. The link to the Web Developer book says it's a pdf, but when you download it, the file is an aspx file that won't do anything when opened in WD. When opened in an internet browser, it just tries to download itself again. Maybe the site will be updated and fixed tomorrow. ...Show All

  • Visual Basic Using the progressbar

    This is what I am trying to do: Copy a file from my resources to the temp directory. Get the size of the file in my resources in bytes. For every byte that is copied I want to step the progressbar by 1. The part I am having troubles with is getting the size of my file. I want to get the size so I can set the progressbar's maximum property to the same value. Also, would it be a good idea to use a background worker for this Thanks. Hi Troy, Here's a little something to get you started with grabbing the file size: Dim fileInformationHolder As System.IO.FileInfo = New System.IO.FileInfo("C:\AVG7QT.DAT") Dim fileSizeInBy ...Show All

  • Software Development for Windows Vista Wfc, xoml and version info

    I am trying to compile a xoml file using wfc.exe and the xoml file has references to members in other .net dlls. When I try to compile, wfc.exe workflow.xoml /reference:bin\debug\workflow.dll;bin\debug\other.dll /out:CamWorkflow.xoml1.cs I am getting the error error 279: Could not create activity of type 'Workflow'. System.TypeLoadException: Could not load type 'IWorkflowEvents' from assembly 'Workflow, Version=0.0.0.0, Culture=neutral, PublicKey Token=null'. at Msn.Ads.Cam.Workflow.CamWorkflow.InitializeComponent() at Msn.Ads.Cam.Workflow.CamWorkflow..ctor() Version of the workflow dll is 3.0.0.0. Where do I mention ...Show All

  • Windows Forms Only Allow 2 decimal places in a textbox.

    I have a textbox which contains interest rate. (e.g. 89.56, 100.00 etc) How do I disallow user type in more than 2 decimal places. (user cannot type in 89.5678 or 80.876876967896) Thanks! The hard way ( but with more control ): Override a text box and handle the key pressed event, using some complex logic to work out where the cursor is and if the key press will result in more than two digits after a decimal place, or if it's generally invalid ( second decimal, non number ). If so, set e.Handled to true. The easy way: Use a maskedtextbox, which will do this for you. ...Show All

  • Visual Studio Adding a Database Project using DTE

    Hi All, I was able to add a Windows Application Project in the runtime using the Automation Object Model but I couldn't add a Database Project (including SQLServer and empty database projects). The thing was I found the template zip files in the VS folder and I used solution.GetProjectTemplate() function to find the template path but for Database Projects I couldn't find any zip files that contain the template and it is located in a seperate folder that cannot be accessed using this method. Can anybody give me a clue for this. Thanks! Best Regards, Imesh If GetProjectTemplate doesn't help, you can use ...Show All

  • Visual C# Find with parameters for objects in a generic list<T>

    Greetings, I am putting together my first app with C# Express and am having some trouble searching for an object in a generic list.  The following is basically what I would like to do: class MyWidget {     String Name;     public MyWidget() {}     public MyWidget(String initName) {        this .name = initName;     } } class WidgetNavigator {     list<MyWidget> widgetList;     public WidgetNavigator() {        this .widgetList = new list<MyWidget>;     }    ...Show All

  • Visual Studio Team System Build FAILED: A database error occurred (SQL error 8152) ---> String or binary data would be truncated.

    Hi, I'm running Beta 3 Refresh in a single server environment. I've started moving our source code from StarTeam to TF Version Control, but have run into a problem with the build. I started out with a small sample and a simple build file and everything worked fine. Now I've checked a major part of our source code into TFVS and have set up a team build. The build have multiple solutions with multiple projects and several thousand source files. The problem now is that both the large build and the small sample build(that worked fine before I checked in all the source code) fail while checking out from version control. Everything still works fin ...Show All

  • Visual Studio constrain the number of a specific shape

    hi, i have three different shapes that i could 'drag&drop' from the toolbox: shapeA, shapeB, shapeC how can i constrain if there is already a shapeA within my designer workspace, that a second shapeA cannot be drag&dropped to the designer workspace The constraint should be, that only one shapeA within the designer workspace is allowed. Any ideas Thanks! Assuming that your shape is mapped to a concept that is directly embedded in the root class of your model, change the maximum multiplicity of this embedding to 1.  That should do what you want. Steve Cook [MSFT] ...Show All

  • Visual C# Sharing variables between classes

    Hi all I have the following project.  I would like to have a common property across all classes, i.e. such as skin color in the example below.  Is there a better way of constructing this object and assign the skin color Thanks for the advice, Steve using System; using System.Windows.Forms;   namespace WindowsApplication1 {   public class Class1  {    public static void Main()   {    Person myPerson = new Person();    myPerson.SkinColor = "Purple";      myPerson.myArm.description();    myPerson.myLeg.description();   ...Show All

  • Visual Studio Tools for Office Manipulate Bookmarks @ Server Side

    [Using VSTO 2005 Beta 2] I am looking for a way to change text within Word Bookmark controls at the server. I am aware of accessing the Cached objects within the Word Manifest and for instance fill a Cached Dataset with the information that I want to show in bookmarks. What I would like to know is if it's possible to change bookmark information directly using a ServerDocument. The Other thing, is it possible to databind Bookmark controls to a cached data object so that changing data in the cached object is enough to change de bookmark contents The reason for all of this is that the information is at hand at the serverside and it is needed t ...Show All

  • Smart Device Development CustomControl KeyDown problem

    Hi, I've build a owner-drawn control (inherits from System.Windows.Forms.Control class) that doesn't have any controls but only draw on his surface some text and I need to trap the OnKeyDown method. I've written the following code: public class myControl : System.Windows.Forms.Control {     protected override void OnKeyDown(KeyEventArgs e)     {         // ...to test if it works...         MessageBox.Show(e.KeyData.ToString());         base.OnKeyDown (e);    ...Show All

  • .NET Development xml serialization problem

    hi! I am new to xml serialization so please bear with me. Ilya on the smart device forum gave me a huge hand in guiding me to the right direction.   What I want to do is serialize objects so I can transport it across a network (PC to mobile) running .NET 2.0.   I have followed: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemxmlserializationxmlserializerclasstopic.asp   but getting an InvalidOperationException with "There was an error generating the XML document".   I have a main form I have a "file manager" and finally I have a "times" class. ti ...Show All

  • Visual Studio 2008 (Pre-release) Feb CTP, XAML error in new project

    I just installed the February CTP of WinFX and Windows SDK. The optional of the Visual Studio "Orcas" CTP. Try to create a new WindowApplication with XAML and visual studio 2005 RTM keep saying the type 'Application', 'Application Resources', 'Grid' cound not be found Does anyone know what's this issue about. Hi, Me too got the same error. When i deleted the Application,Application.Resources and Grid tags and gave the same again. It worked fine. Can anyone tell why is it so ...Show All

©2008 Software Development Network