Mosha's Q&A profile
Visual Basic combobox column in DataGrid
Hey there, I've been searching everywhere for a good example of how I can add a combobox column to a Datagrid but without success. At the moment I have a DataGrid with 5 columns (3 from one database table, and 2 from another). I would like to remove the first 3 rows and place them into a combobox (multi-column combobox) this combobox must then be placed in the datagrid Does anyone have a good example please You can use the TextBox that is used from the ColumnStyle object. Assume that the combobox is the one below: Private WithEvents dgComboBX as New ComboBox You have to add it as a control to the textbox o ...Show All
Software Development for Windows Vista Problem passing parameters from workflow to custom activity using dynamicly compiled xoml workflow
We have created a Win Form app that programmatically builds a workflow. It contains one sequential workflow object, and has activities implemented in a separate DLL. The generated workflow definition is then serialized out to a xaml file. We then compile the xaml definition to an assembly, and executes the workflow using dharmas compiler sample. The workflow library is a class library wrapper for the runtime, and both the workflow library and activitiy library dlls are strong named and placed in the GAC. The dynamic compilation and execution all works fine until we try and pass parameters from the ...Show All
Smart Device Development ActiveSync with Exchange 2003
Is the device emulator capable of ActiveSync with Exchange 2003 When I tried it I always get a http_400 error (your account does not have permission to sync) . Please help. -Thanks Are you able to advise me how you got this to work I have the exact same error message and cannot get it to work at all. I appreciate any information you can provide. ...Show All
Visual Studio Express Editions App_Data fails to open new item
I have installed the August CTP of Visual Web Developer 2005 Express edition, along with SQL Server Express and the MSDN Express edition. SQL Server seems to function properly and I am able to connect to it throught the Database Explorer pane. It is configured through the ASP.NET Website administration tool and a test of the AspNetSqlProvider confirms a connection to the database. When I try to open a data source or create a new item under App_Data in the Solutions Explorer, I get the following error: Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the insta ...Show All
Windows Forms How to enable Ctrl+C, Ctrl+V, Ctrl+X in a text box?
Hi, I've already set the ShortcutsEnabled property to true but still cannot use keyboard shortcuts to do "copy", "cut", "paste" ,"select all", "undo" , "redo", etc. Did I miss anything Thanks in advance ps. i'm using VC# Hi, TextBox by default can work with clipboard shortcuts, Ctrl-X for Cut, Ctrl-V for Paste and Ctrl-C for Copy. Alternatively, the control has methods you can use to perform these clipboard operations: textBox1.Cut(); textBox1.Copy(); textBox1.Paste(); As for SelectAll, Undo and Redo, textBox has methods for this operations as well: textBox1.Undo ...Show All
.NET Development How to really abort(kill?) a thread instantly? [VB2005]
Hi there! I have a slight problem with aborting a Thread which is waiting for user input. When i try to abort the thread from another thread using the threading.thread.abort method, it does not abort the thread instantly, but waits for the thread to get it's user input and then terminates the thread. Is there a way of terminating the thread instantly, so it does not wait for user input anymore thanks! Hello, In the implementation for your thread proc, can you modify the code to listen for user input AND monitor a synchronization object (e.g. a waitable handle) Then you can set the synchronization object ...Show All
Visual Studio Team System ? VS2005: How to SuppressMessage for an entire class ?
I'm porting a load of our VS2003 code to VS2005, and at the same time trying to clean up the code by running Code Analysis on it. My biggest problem is with a load of structs that I have defined for P/Invoking Windows API functions. For example, the Windows API function called MEMORY_BASIC_INFORMATION: public struct MemoryBasicInfo { public IntPtr BaseAddress; public IntPtr AllocationBase; public int AllocationProtect; public int RegionSize; public int State; public int Protect; public int MemType; ...Show All
SQL Server Not able to install SQL express 2005 italina version
Really no good experience! After uninstalling every stuff regarding : .Net, MSDN, Sql Beta version, etc. no way to finish the installation starting from this package "SQLEXPR_ITA.EXE". I lose any idea how to solve this Windows MisterY. I left installed Visual Studio 6.0. Please suggest me something new...I would avoid to eliminate everything Thanks Eibike After some unsuccessful tentatives to install SQLEXPR_ITA.EXE on XP Home edition, analyzing the content of _Core.log file, in folder C:\Programmi\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files, I found this: Delay load of action "DetectPatchedBoot ...Show All
SQL Server New to SSIS - Destination FK's Lookup, auto increment for PK's
Hello there. I've just upgraded from using DTS to SSIS. I've run through a few tutorials and am starting to use to the new ways of working. There are however two task that I'm not really sure how to tackle, can someone suggest the best method in SSIS. 1) The destination table has many FK's. I'd like the package to check that the input data does not violate the FK's and use a default value for the columns where a violation occurs. 2) I need to increment a value in the package as a source column for use as the Primary Key field in the destination insert. It would be an added bonus if I could find out the maximum key used in ...Show All
Visual Studio "Microsoft.Sdc.Tasks" project is not getting recognized
I have created a web service with default settings. Copied the contents of the Install folder <from the GDN2[1].0.051004.000.zip file> onto a new folder called Build. I created a DevBuild.proj file with the following contents: < xml version = " 1.0 " encoding = " utf-8 " > < Project DefaultTargets = " Full " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " > < Import Project = " Microsoft.Sdc.Tasks " ></ Import > < PropertyGroup > < BuildConfig > Debug </ BuildConfig > </ PropertyGrou ...Show All
SQL Server MSEE 2005 Storage Capacity
Hi Friends, I am Gokul, I am using SQL Server MSEE 2005 (Free ware). Currently I am involved in the development of an application where I am using SQL Server MSEE 2005 and VB.Net. My incomming data size ranges from 5 GB to 7 GB per day. Can I use SQL Server MSEE 2005 as Data base with any licensing or have to get any license for storing larger capacity data. Can any body please help me. Thanks, Gokul.G Hi, SSEE is limited to 4GB database capacity, due to the volume that you posted, I would say that this is already right now to big for SQL Server Express (and frommy experience database normally grow rather than shrin ...Show All
Visual Studio Express Editions Set hour, minute, second to Date object
Hi all, This is my first post here. I’m learning now about C#. I need to kown how to Set hour, minute, second to Date object If I try to use the follwoing, occurs an error: [code] DateTime dt = DateTime.Now; dt.Hour = 0; dt.Minute = 0; dt.Second = 0; dt.Millisecond = 0; [/code] when the Hour it’s use only for get operation. How can I get to do something like this thanx This is not the right forum for general questions. That being set, to set the date/time to your custom date/time you can use this: ------------------------------------ using System.Globalization; ..... CultureInfo ...Show All
Visual Studio Team System beta2, personal website starter kit problem
downloaded latest team system beta 2 today, created new personal web starter project, when i attempt to create an administrator account here: http://localhost:1689/asp.netwebadminfiles/security/users/addUser.aspx no mater what i type, it continues to say "please enter a different password". you are instructed to create an admin account for your personal web site by the new starter project. ideas >I'm pasting this into my web.config file and then most of these attributes >get the error underlining with "The xxx attribute is not declared" >error message. Anyone have any ideas Wel ...Show All
Windows Forms Changing DataGridViewComboBox only for current record
Is it possible to change the combo in a DGV, only for the current record I have two fields: Category and SubCategory (I found a similar thread but it is not solve the problem), so if I select a value in the Category Combo, I want the SubCategory filled with the SubCategory filtered by Category. This happen with my code (I handled the CellValidated event), the problem that all the combo in DGV changes with the new SubCategory filtered... Is there a solution Check out the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=61133&SiteID=1 -mark DataGridView Program Manager Microsoft This post is provided "as-is ...Show All
Visual Studio Team System how to create a Project in VSTS server using Integration services of VSTS.?
how do i create a new project in VSTS using APIs. Vikas ...Show All
