Software Development Network Logo
  • Visual J#
  • Microsoft ISV
  • Windows Live
  • Visual C#
  • SQL Server
  • Visual FoxPro
  • Windows Forms
  • Visual Basic
  • Visual Studio
  • Windows Vista
  • VS Team System
  • Smart Device
  • Game Technologies
  • Architecture
  • .NET Development

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

Aloaiza

Member List

seva04121973
Kosta II
mendraz
plwrenn
Jfarran
Barham
Raj Kasi - MSFT
lamojo
mr pk
Makarand_Keer
MarkEck911
Lisa_99
Audalio
Christian Stefanescu
Joseph Stalin
canadian_coder
tdrock
pixelord
robbie73
dave_mwi
Only Title

Aloaiza's Q&A profile

  • Visual Studio Express Editions How to set a date field to null

    I have a bound text box showing a date field and I can enter a date into this no problem and save the changes. I have spent the past two days trying to find a way to allow the user to delete the date i.e. set the field back to null! I have found several articles on the net but nothing that provides an answer or explains why something that should be simple should be so hard!! DateTime is not a nullable type. If it's nullable in your db, you need to allow it to be set that way in your UI, and use DBNull.Value as what you pass into the DB if that condition exists, instead of a datetime. ...Show All

  • Visual Studio Forms or Report Controls

    Lets say I have 5 reports - report1, report2,....report5. In my VB application, should I a) Create 5 forms - Form1, Form2,....Form5 with a different report on each form b) Have 1 form, with 5 different report controls. Use code to select which report control is visible. Any advice Thanks Vayse ...Show All

  • Windows Forms Populating VB.Net Listview from Access Database

    Please, what is the code for populating a Listview with data from a Access DB  Is urgent for me. Thanks!! did you say something bad   Did they give you a reason ...Show All

  • Software Development for Windows Vista Simple CBaseFilter Question - all appears OK, but no image...

    Hi there, I am writing a 2-input 3-output directshow filter. I am deriving my filter class from CBaseFilter, and my input and output pins from the CBaseInputPin and CBaseOutputPin classes respectivly. Eventually, the filter will take input from a webcam and microphone, and output lower bandwidth versions of the same. There will also be an additional 'information' stream on the 3rd output pin. I am currently wrestling with the (oh-so-badly documented) filter creation process. My current version has only one input and one output (video in and video out), and the milestone set is to get video passing cleanly through my filter. When ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DxDiag shows missing files after .Net 2.0, Oct and Dec 2005 SDK.

    After installing the .Net Framework 2.0 and the Oct and/or Dec 2005 SDK, the DxDiag utility shows that some files are "missing". DxDiag notes on the DirectX Files tab: " Several files (system.dll, Microsoft.DirectX.dll, Microsoft.DirectX.dll) are missing! " These files  are present in the GAC and they coincide with the files from the .NET Framework 2.0  and the October and December 2005 versions of the .Net 2.0 beta versions of Managed DX. system.dll - .Net Framework 2.0   (2.0.0.0) Microsoft.DirectX.dll - October SDK - (2.0.900.0) Microsoft.DirectX.dll - December SDK - (2.0.0 ...Show All

  • Visual Basic Adding 100 progress bars to a list view control

    Hi, I have a process that spawns 100 sub-processes. I need to display the progress of each of them. I was thinking about doing this using 100 progressbar controls contained in some other control. I've looked at using the Listview control for doing this - but I'm not sure how this is done. Some other articles suggest adding to the controls collection of the Listview - but I've tried this and it does not produce scroll bars. Any ideas on how to acheive the required result Regards Michael Green Hello, You can download a sample that show how to put progress bars in a list view at the foll ...Show All

  • Software Development for Windows Vista Iterate through Activities

    How can iterate through all the activies for a workflow for list them Thanks With the type of the workflow i do this: System.Workflow.ComponentModel. CompositeActivity lActivityRoot = (System.Workflow.ComponentModel. CompositeActivity )pRunTime.GetWorkflowDefinition( typeof (MyWorkflow )); And it works, then i iterate ReadOnlyCollection < Activity > lColection = lActivityRoot.ExecutableActivities; foreach ( Activity lAct in lColection) {    //Do something.. } And it works without having the instance.... ...Show All

  • Windows Forms Odd Drag & Drop Issue - Works only after second try!

    Hello Everyone,      I am trying to get text to drag & drop inside of a RichTextBox.  I can drag Text into the box from word or notepad fine, but moving the text around inside the RichTextBox is odd.  When I try it the first time by highlighting the words I want then drag a bit I get the "No" cursor and when& ...Show All

  • Windows Forms can I use a datagridView combobox column when using RAD databinding?

    hiya, I'm well impressed with the RAD databinding of the datagridView, when binding to single database table. I'd like to add a gridView combobox column which will be populated by a lookup table. I can't see to do this in a RAD way.Is it possible Even if not possible, is there any way that I can manually add code to handle databinding and updating of this gridView combobox column, without having to disturb the other, RAD bound columns in the datagridView many thanks for any pointers. yogi :-) Ok, lets assume you have a table called Products that has a UnitID in the table that is a foreig ...Show All

  • .NET Development HOW DO I: Move to the next compile error

    Very simple question, being a 2005 newbie... When I have compile time errors, and I want to progressively move from one error to the next, what are the keystrokes used to do this   In VS 6.0 it was F4. That doesn't work in 2005. This feature was very handy and now I feel like I'm trying to correct compile errors with one hand tied behind my back. Thanks, Greg Try F8 or Control Shift F12 or go to Tools -> Options -> Environemnt -> keyboard -> View.NextTask ...Show All

  • Windows Forms MDI + external exe

    Hi can anybody give me the code so that i can load external exe's as MDI childs into my application. Also cn anybody give me code so that i can load exe's from .dlls as MDI childs into my application Thx Assuming your exe or dll is .NET.... ' MyAssembly exe or dll contains the form to be instantiated System.Reflection.Assembly asm = System.Reflection.Assembly.LoadFrom( "MyAssembly.exe" ) ' This create an instance of an Object Class, but it's castable to the proper  System.Windows.Form or custom Form Class. objClass = asmExternal.CreateInstance("Form Name") objClass.Parent = MainForm ...Show All

  • Visual Basic Visual Basic.Net 2003 Standard ???

    This is right off the box. Connect to a wide range of data sources using the new Managed Data Providers, ADO.Net, and the Microsoft.Net Framework. Within the program there is Oracle, SQL....... When I try to connect to a SQLExpress Database I connect successful but then it errors out with the error that it can only connect to an Access database or MSDE a desk top engine with the standard edition. So my question is, Is the wide range just the two databases and the Oracle and SQL classes just for looks I feel like I have been had, If this is true I would of bought pro. Or is this just threw server explorer I don't want to wr ...Show All

  • Visual Basic Try...Catch statement Question

    I have a Try...Catch statement that contains 12 Operations inside it. On the catch I want to display a msgbox that tells exactly which operations failed. I was looking through the exception methods and couldn't find one that worked. All of the methods provided relative information but nothing specific. The reason I want to pinpoint exactly which operations failed is so that the user can email the error message to me and when I get it I will know exactly how to fix it. Thanks. Is there a way to show information like a breakpoint shows For example my breakpoint details say: At Form1.vb, line 129 character 13 ('Char1_Read', line 25 ...Show All

  • Visual C# FTP

    Hi there, how can I use C# to transfer files using FTP I found a nice class on the net (h ttp://www.csharphelp.com/archives/archive9.html ), but how do I use it I compiled it successfully. The exaple-code, at the bottom of the script simply has a "using-statement". I tried the same, but without success. The lib can't be found. Where do I have to copy the compiled class Do I have to register it somewhere Thank you, Finch. Your answer was right, ofcourse... ...but I'm having another problem now. I already managed a work-around, but it's not very professionel: When using the dll and trying to create a directory ...Show All

  • Windows Forms Default Enter and Cancel button C# Winforms?

    Hi In my winform application I have multiple buttons. Of those buttons, I want one to behave as Enter key by default and other as Escape key.  Tried to search for it, but couldn't find a good solution. Please suggest how can I acheive this   Thanks in advance. Pankaj You can have event handlers for your AcceptButton and CancelButton but yo ...Show All

©2008 Software Development Network