ChrislRoy's Q&A profile
Windows Forms Inside datagridview - filter value of 1 combobox based on 2 combobox selected value
Hi friends, Please note that both the comboboxes are unbound and are inside the datagridview. I have a datagridview with 2 comboboxcolumns - one showing the "category" and other the "sub category". Category and Sub Category are related tables - 1 to many. When I select the value from Category comboxbox, the sub category comboxbox should only display values which are applicable based on the selected category. Any ideas - VB only . thanks Create a relation between Categories and Subcategories tables using DataSet Designer. Set the DataSource property for your Categories co ...Show All
SQL Server granting select permission
Hi, How to grant select permission on table of another database from current database. Ex: I am in database asddb I want to grant select permission on table "test" which is in database bsddb. Can anyone please help me in resolving this problem. ...Show All
Smart Device Development Multiple CAB files in one ini?
Hi All, I have develop Pocket PC Application which is running perfectly from my development PC using iPAQ PDA. Now, I need to install my apps on the iPAQ PDA. Anyone can help n guide me step by step on how to create .cab files, .inf files ,.msi files (package n deploy app) and also how to install .Net Compact Framework and SQL CE on the PDA. I'm using : - - VS Net 2003 - .Net Compact Framework 1.0 - Windows Mobile 2003 Version 4.21.1088 - ActiveSync 3.8 Thank you Please see links below: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/deploy_cf2_ap ...Show All
Visual Studio Team System Is it possible to change deployment dir
Hi I would like to change deployment dir for tests. Is there any way to do it This is how to change deployment dir in Beta 2: Main menu: Test->Edit Run Configuration->Local Test Run Go to the Deployment tab Under Deployment location check the "User defined directory" radio button Click Browse... to select your custom deployment directory In RTM by default deployment directory will be under Solution dir (for IDE and current dir for command line) and we removed Deployment location from Run Config UI. But it is still possible to change deployment dir by editing .testrunconfig file. Thank you, Michae ...Show All
Visual C++ Why I cannot open include <atlbase.h>
I cannot use heder file <atlbase.h> in Visual C++ 2005 beta. I try to acces a resurce file as: CComBSTR bstrTemp; bstrTemp.LoadString(index); ob->Text=bstrTemp.Copy(); and I need to include atlbase.h Error recived when a compiling a project in which I wrotte only #include <atlbase.h> ------ Build started: Project: Multilingual, Configuration: Debug Win32 ------ Compiling... stdafx.cpp Compiling... Multilingual.cpp C:\Programmi\Microsoft Visual Studio 8\VC\atlmfc\include\atlconv.h(90) : error C3641: 'InterlockedExchangePointer' : invalid calling convention '__stdcall ' for function com ...Show All
Visual Studio Distinguishing debugger-called ToString()
I am using lazy evaluation to determine a "real" value of an object inside the ToString() override, based on its "unevaluated" value. The problem is that I don't want the debugger watch to cause lazy evaluation to occur. Is there a way to know if the callstack contains a debugger call This is my code. public override string ToString() { LazyEvaluate(); // note: don't want debugger to update Value return Value.ToString(); } Thanks, Brian I'm using the attribute with success within a C# application (the Expr class itself is in a C# class libr ...Show All
Visual Studio Team System Error TF42052.
I'm getting the following error when attempting a build via TFS Dec CTP: "TF42052: The file system on the build machine does not support access control lists. Please specify build directory on a file system that supports access control lists like NTFS." The drive in question absolutely has NTFS. Ideas Sorry, I posted this in another forum as well but I wasn't getting any responses. Hello RMD, Sorry about this problem. This is a known issue and it is unlikely that we can get it fixed in V1. This incorrect error ...Show All
Visual Studio 2008 (Pre-release) Anyone knows how to draw a vertical text?
Hi, Does anybody know how to draw a vertial text in Avalon I've tried the rotate transform but it doesn't as i expected, have any ideals Thanks, Dat Dang If you want the text to just be rotated and run along the Y axis then using the render transform should do the trick. To get the letters stacked one on the other, you just need to use line breaks. ...Show All
SQL Server Multi-line annotation?
Is it not possible to have a multi-line annotation OR my ENTER key is stuck ;-) thanks, Nitesh Personally, I wonder why the annotation object doesn't have word-wrapping enabled, like the tesxt in visio. That would certainly (imho) be the simplest answer. I do wish enter worked as well (again, a la visio), but at least now I can takes those 8 annotations I had, and re-merge them into 1, having found this answer. ...Show All
Software Development for Windows Vista BizTalk 2004 Migration to WFF
If I start with BizTalk 2004 today, is there a migration strategy for converting the workflows to WWF Paul, This answers my questions. Thanks for your reply and WWF looks great... ...Show All
Visual Basic Build Complete Notification Sounds
I just upgraded to Visual Studio 2005 from VS6.0 and I cannot find any documentation for Visual Studio sounds schemes. In VS6.0 I could have seperate sounds for "BuildComplete", "BuildError", and "BuildWarning". In Visual Studio I can only create a sound for VS_BreakpointHit Are any of the others available Make sure you're calling devenv.com instead of devenv.exe (if you've set up a shortcut or doskey alias) Alternatively, from a command line you could use "start /wait devenv.exe" but, as I implied, devenv.com should be doing that for you. ...Show All
.NET Development dataadapter doesnt generate update insert commands
Hi all. Ive a problem with dataAdapter that can't generate delete and update commands with the wizard. First, i have a simple project where im trying to save data to a simple 3 fields table table (CostumerID, Costumer ,Address) , without keys. (access database) I add a new data source with the wizard that makes the connection, i select customer table and vb 2005 (express) creates the dataset. At dataset design view i realize that update and delete commands arent generated. If i configure the adapter with the wizard and selects generete direct methods doesnt work. It leaves update and delete commands blank. ive tried to manually sel ...Show All
Windows Forms How can I create a collection of objects (Custom built Class)?
Greetings all, How can I return an object that contains multiple instances (object Array Perhaps ) of that object Lets say for example, I return 3 records from sql server and instead of returning a datatable with results, I return 3 instances of the Employee Class. And then iterate through the class objects. For each employee in Employees Label1.text = employee.F ...Show All
.NET Development Side by Side Execution
I have a little problem in my application: Assembly1.0 and Assembly1.1 is in GAC Application is referecing Assembly1.0, how can i tell Application to use Assembly1.1... and if Assembly1.1 is removed from GAC how can i tell Application to use Assembly1.0 thanks in advance i am just newbie.... I guess if you set the "specific version" property in reference to false, it will handle the problem for you. ...Show All
SQL Server SSIS From SQL2K5 to MySQL
Hi, We recently migrated from a SQL 2K to 2K5. We had an automatic DTS scheduled every night that would transfer data to a MySQL server on one of our client’s machine. It worked like a charm in SQL 2K. I am trying to figure out how I can connect to a MySQL data source using SSIS in 2K5 as I don’t see an ODBC Destination anywhere in the Data Flow Task; and run the same transfer using 2K5. Do I have to add a reference of some kind or does 2K5 doesn’t support ODBC destinations Thanks I had the same problem while doing a data migration project. I found a strange feature that helped me out of the ...Show All
