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

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

Diego_f

Member List

Sattva
Rohit Tela
vbjunkie
vishal1857
StevenPo - MSFT
Chris M Turner
throll
Garyngl
Lisa Shipley
Mike Hadlow
Hiral
dig412
J M B
PolkaDance
EWoodruff
Daniel Gadens
Handerson
JasonFx
JIM.H.
Michael Weingartner
Only Title

Diego_f's Q&A profile

  • Software Development for Windows Vista How to optionally set an output parameter in xaml

    I want to use an inner activity to set the output parameter of the workflow. This seems simple enough with a simple workflow: <DT:MySequentialWorkflowActivity Response="{ActivityBind Name=child, Path=Message}" ...> <MyChildActivity x:Name="child" Message="This was read from a child" /> </DT:MySequentialWorkflowActivity > But how do I optionally bind to different activities For example if I used an ifElse activity how can I push a property from an Activity within the branch that executed into the output parameter: <DT:MySequentialWorkflowActivity Response="{ }" ...> <IfElseActivity x:Name="ifElseActivity1"> <IfElseBranchActivity x:Name ...Show All

  • Windows Forms Splash Screen in VB 2005

    I have a Small question i used the preset splash screen that is available in VB 2005 now when i run my project it only shows the splash screen for about 1 second how would i go about controlling the time to show the splash screen before it to continue. Usually the reason for using a splashscreen is to show the user something while the main form is waiting to show due to preliminary processing for the application. The last thing you want to do is put the app to sleep. Use the My .Application.MinimumSplashScreenDisplayTime property. You can't set this in the Startup event. Set it in the New constructor for the SplashScreen before InitializeComponent(). ...Show All

  • .NET Development Why are there extra items in List after Deserializing?

    Actually, I know why. What I need to know is the best way to get around this. Here's the deal: I have a class that exposes a List<>. In the constructor of this class, a couple items are added to the list. i.e. public class MyClass { private List<OtherObject> m_list; public List<OtherObject> List { get { return m_list; } set { m_list = value; } } public MyClass() { m_list = new List<OtherObject>(); //every instanced of this class starts with objects in the list m_list.Add(new OtherObject()); m_list.Add(new OtherObject()); m_list.Add(new OtherObject()); } } When serializing this object, everything looks c ...Show All

  • SharePoint Products and Technologies Infopath xsd and sharepoint workflow serialization problem

    I have a simple form that I am using for Association in my workflow. The form works fine and I can associate my workflow to the document library. The problem comes in when I try to use the form data in my workflow. I am using the following code to import the form data into the AssociationData class. I exported the form code, ran "xsd.exe /c /l:vb mychema.xsd" which generated the appropriate class. I am using the following code to generate my class from the form data (extra lines removed for readability): Public Class PurchaseReqWorkflow Public workflowProperties As SPWorkflowActivationProperties = New Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties Public assocData As New AssociationData() Private Sub codeA ...Show All

  • Visual Studio Express Editions clicking a picturebox

    I have about 200 little pictureboxes that start simply white. When they are clicked they turn black. I'm using picture boxes because they are the only thing that can get as small as I need them. I'm hoping for a way that I don't need to re-write the code that many times. I've tried using Private Sub PictureBox1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click Me .BackColor = Color.Black End Sub But that changes all the picture boxes and textboxes and forms backcolor to black. I'm hoping there is some simple solution that I'm missing. Thanks for any insight. your code snippet is showing that you are setting the back color of the FO ...Show All

  • .NET Development Smartphone 2003

    I would like to write a simple game like "Gaming with cheese"(MSDN) for Smartphone 2003. What version of Visual Studio and what other programs do I need I would like to try it with the emulator to. I would like to try bluetooth comunication to. Can I do this between the Emulator and a phone   Visual Studio 2003 or 2005 can be used for SmartPhone 2003! There is no other software required for SmartPhone development but its better if you download Windows Mobile SDK. Blue tooth communication is also possible. For more details its better to post this question on .Net Compact Framework Forum! Best regards, ...Show All

  • SQL Server Migrate AS2005 Cube to New Version of Source DB

    Is it possible -- and how straightforward is it -- to migrate an existing AS2005 Cube (and/or at least it's dimensions) to an updated version of my source DB (SQL 2005) I had little choice but to establish a "dev-and-test" version of the source DB during enhancements that coincided with production analysis and reporting. Now that I've approved the "dev-and-test" version, I want to make it our production master for OLAP. As a note, I don't believe that any of the fields used in the cube have been modified. We've just added some new calculated fields (and sp's). I have little idea of whether this will be simple, hard or impossible. I'm planning to try, but wanted expert feedback first. ...Show All

  • Visual C# why i am getting this error?

    why i am getting this error ! System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="my2connectHR" StackTrace: at my2connectHR.frmAddLeave.btnAddLeave_Click(Object sender, EventArgs e) in C:\Documents and Settings\jassim\My Documents\Visual Studio 2005\Projects\my2connectHR\my2connectHR\add_leaves_form.cs:line 81 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Fo ...Show All

  • Smart Device Development update UI from Thread - control.invoke or controlinvoker?

    This is a CF 1.0 application. I need to load an image in a background thread and use it in the UI thread. I'm a little confused. There have been tutorials that have the background thread write to a public variable in the Form, then Control.Invoke when they're finished to have the UI thread update the form. (No locking). This looks very simple, I'd like to do it this way. The following is the way the tutorial described - the thread writes directly to the Form, but not to any control on the form. Is that "legal" public class MainFrame : Form { private int progressBar1Status = 0; public MainFrame() { InitializeComponent(); DoThreading(); } public void DoThreading() { Thread t = new Thread( ne ...Show All

  • .NET Development sequence do not increment

    how can i increment a sequence if a data is already in a database. Whats wrong with my code When a new book is added it doesnt give error BUT the sequence is not incremented if a same booktitle is entered. I have three columns(author, booktitle, sequence). Sequence should increment if book with same title is added. But with my codes it doesnt. Protected Sub save_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles save.Click Dim DBConn As New Data.SqlClient.SqlConnection("DATA SOURCE = xxx;Initial Catalog= xxx;Integrated Security=True") Dim myDataAdapter As New Data.SqlClient.SqlDataAdapter myDataAdapter.SelectCommand = New Data.SqlClient.SqlCommand("Select * from books", DBConn ...Show All

  • Visual C# HELP: Convert PDF to HTML

    Hello all Programmers! I want to write a software myself that can Convert PDF file's content to HTML. But I don't know where to start: Is there any valid ActiveX for this Any exist Function that can extract PDF contents and add it to an HTML file Or anything else that a newbie like me don't know So wonderful if I can receive any reply of yours... Thanks a lot! So many things to learn in this world, hihi : - ) you need to use some PDF SDK that maybe available then generate html from it in some way. in .NET there is no direct way since PDF's are not a Microsoft product really but Adobe as well as having no relevance to the .NET Framework itself. I believe there are a couple of open source PDF projects you can lo ...Show All

  • Visual Studio Tools for Office InfoPath Events

    I'm trying to create a custom control that I can use in InfoPath. While I've got the basics down finally (i.e. setting up all the COM interfaces and registering the control to allow it to be seen by infopath) I'm hitting a little bit of a wall trying to figure out how things are going to interact. This is what I am trying to do. The InfoPath user will add my control to their newly created form. The control will have a text box for entering information which will be read into a comma delimited string. The user will then drag a datasource onto a gridview (or something like that). Once the gridview has the data source and the time interval (read from the comma delimited string) it will dynamically create columns based on fields in the databas ...Show All

  • Software Development for Windows Vista Am I running with latest WWF?

    Hi, Before I highlight the problems that I am facing in WWF, I just wanna know whether my PC has the latest version of WWF. Here are the details what I see in my PC.I have installed Windows Workflow Foundation Runtime Components Beta 2_2(EN), Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2(EN). The assembly versions I found in my PC are: System.Workflow.Runtime 3.0.0.0 & Microsoft.Workflow.VSDesigner 3.0.0.0 thanks. The latest WF release is included with the .NET FX 3.0 RC1 release: http://www.netfx3.com/blogs/news_and_announcements/archive/2006/09/05/5479.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Extensions Problem for Visual Studio 2006

    Hello,      I have tried to find an answer for my problem for the past week, and I am not sure if this is the right thread for it.  I have installed DirectX SDK April 2006 with the DirectX Extensions, and I am running VS2006.  When I start VS2006 I don't see the DX extension icon on the intro Splash Screen, but I am able to see it in the About Box for VS2006.  The problem is not that it is justnot loading - or something,  my problem is not being able to debug HLSL code.  If I place a break point in the *.fx file I get "This break point will not currently be hit. No symbols have been loaded for this document." Now I am not sure if this has anything to do with my extensions not getting loade ...Show All

  • Smart Device Development run app on power on or at a specific time

    hi is there a way for my application to open/run either when the user turns on the device or at specific time every day i currently have another program doing a "soft reset" every day and my program running from the /startup folder. Thank you Michael arcintl wrote: hi is there a way for my application to open/run either when the user turns on the device or at specific time every day i currently have another program doing a "soft reset" every day and my program running from the /startup folder. Thank you Michael startup is the typical fashion for doing this -- why are you looking for another method if you're building images, I believe you can spe ...Show All

©2008 Software Development Network