Luis Esteban Valencia Muñoz's Q&A profile
Visual Basic Problem With ToolBox
My TabelAdapter object is not in my toolbox and when I got to choose the toolbox items, its not on the list. Can someone help me you may have to open the DataSetDesigner first. try this: 1. goto Menu -> Project -> Add New Item 2. Add a DataSet The tabelAdapter will show up in the toolbox when the dataSet is open ...Show All
Software Development for Windows Vista How to get child workflow instanceId after calling invokeworkflow
Hi, I have one state machine workflow, in the start of the workflow, it will call InvokeWorkflow to invoke a sub workflow which is also a state machine workflow. The question I have is how to get the sub workflow instanceId after calling InvokeWorkflow. I try to use invokeWorkflowActivity1.InstanceId right after invokeWorkflow but that GUID is not the correct Id. Also, is that possible to fire event from child back to the parent when the child workflow is done (just need to pass some information back to the parent workflow when child workflow is done) Currently, both workflows are sharing the same exchange ...Show All
SQL Server How do I set access 2002 Upsizing Wizard to create clustered-index on SQL 2005
Here is an extract from the Acc2Sql2.doc >> By default, the Upsizing Wizard transfers all indexes as nonclustered indexes. You can modify the Upsizing Wizard to transfer the primary key index to a clustered index. To make this change, start Microsoft Access and open the upsizing wizard library database. For Microsoft Access 95, the filename is Wzcs.mda. For Microsoft Access 97, the filename is Wzcs97.mda. When the database is open, click the Modules tab and open the UT_ModUserConstants module. Search down to the UT_CLUSTERED constant. Change the default value from False to True . <<< end quote Question: I am us ...Show All
Windows Forms How to change the layout of a control at runtime
how do i change the layout of the controls at runtime while the application is running then save it to load the modified layout again next time. i have an form, which I want to customize a certain portion of it by allowing the user to change the layout of the form. say, the address field would be placed below the postal code or the email text box will be located on top of the phone text box. I want the user to edit it, then save it's settings to the database so that when the user opens the form again, it will load the modified layout( it's user specific, each user can customize his/her own form layout). i've downloaded a code from co ...Show All
Visual Studio 2008 (Pre-release) How get click event from button embedded in each item of ListView?
I have a ListView control with a DataTemplate for displaying some of the columns. Inside of one DataTemplate, I have a button. When this button is clicked, how do I get the click event in the main window C# code Will this event also give me the list view item that was clicked, or will I have to figure that out somehow The button has a name, but that's going to be the same for each row. Thanks for any help... you can use VisualTreeHelper .GetParent(btn) in a loop to go up the tree ...Show All
SQL Server How to select a case sensitive value in SQL with C#
Hello, I have an application that at the begining a user will login with a user name and password which is stored in the database. The SQL statement is as follows: "SELECT id_employee FROM employee WHERE employee_number='" + txtUserName.Text + "' AND passWord='" + txtPassword.Text + "'"; For testing purposes I have set the password to the word test . The problem is, if the user enters in TEST or TeSt or TESt it will grant them access. How do I set it to force the correct case I am using SQL 2005 for the database. Thanks! ~zero now. . . suppose for a second you figured out how to make ...Show All
Visual Studio vb.net
how I can create two datagrid control instance for customers and suppliers. only one datagrid should be visible at a time and create menu items that allow the user to switch between customers and suppliers Hello, This doesn't appear to be a Crystal Reports post, you might want to try the Visual Studio General forum. Thanks! Keith - Business Objects ...Show All
Windows Forms How get the account of the user who login the window
eg. I use this account "Abill" to login window, and then how to get it with C# thank you. Quote from gwapo: You can also use Environment.UserName property. That's a very very bad idea as the process starting your app can override the environment tricking your application into thinking somebody else is using it. ...Show All
Windows Forms Unicode chars in a control HelpString property.
Seems that HelpString ignores Unicode or international ANSI characters. I fill it with a Greek string, but when helpstring popup is displayed, string content appears as symbols. Is it a bug or I missed something ...Show All
Smart Device Development Missing assembly information in converted project
This is a rather weird 'bug'. We upgraded a VS2003 Pocket PC project to VS2005. The conversion process didn't change AssemblyInfo.cs and when we go into the new Assembly Information screen in the project properties we see the settings as we set it. When we change it in that property screen, it does change in AssemblyInfo and vice versa. But when we build the project and have a look at the properties of the executable there is no version info at all. Within the same solution we have a normal desktop application and a pocket pc class library project. Both those projects were converted as well, but on the executable and DLL it builds ther ...Show All
Visual Basic TV Streaming
i am trying to do an application that streams tv into the pc... the problem starts when i choose a channel... it just doesn't work... it retains the channel of the default software of the tv capture device.... pls. help... ...Show All
Visual C# Capturing Mouse Movement
Many of you have probably seen "mouse meters" that track how many pixels the mouse has moved. I'm trying to do that but I can't figure out how to execute code every time there's a mousemove (on any control, let alone the entire screen). This is what I've gotten so far but it doesn't work. Any ideas namespace mmove { public partial class Form1 : Form { int pxls = 0; public Form1() { InitializeComponent(); ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
Visual Basic VS 2005 RTM Weird Editor Behavior
I'm using the VB Editor in VS 2005 RTM version and every so often it starts misbehaving and I have to close all editor windows to get working properly again. What happens is that as soon as I type a single letter at the beginning of a line it immediately appends open and close parens. So for example if I want to type an If statement, as soon as I type 'i' it changes it to i(). If I backspace to delete the parens it puts them back in. Hi Zisha, The bug was resolved as No Repro because we have not been able to reproduce this issue, and we don't have sufficient repro steps to help us do so. ...Show All
Visual Studio VSTO install balks because of "beta"
A few months ago, like everyone else, I installed the release version of VS 2005 Professional after having gone through the painful uninstall of the beta version. I recently downloaded the VSTO install, but it seems to think I still have betas for VS 2005 and VSS 2005 installed. I get the following message when I run setup.exe: Thanks you for particiapting in the beta program. You must uninstall pre-release products in a specific order before you can continue with setup. For detailed information ....blah, blah. - Microsoft Visual Studio 2005 Professional Edition - ENU - Microsoft Visual SourceSafe 2005 - ENU My add/remove pro ...Show All
