Jose Cruz's Q&A profile
Visual C# Regarding combo box value property in .net 2.0
HI I am using combo box, if i manually add the combo box i am not gettin the valuemember of item.If i access the value it is giving object reference not set. I need the value property as i am storing id in that. can any body tell the solution for it. I need to add manually because i want to add extra items to the which i retrieved from database. Thanks & Regards Bhargavi Hi Its means that you are adding items to the Items collection of the ComboBox. If you set the datasource property then you can get the value field and text fields values from these properties, but when you add items t ...Show All
.NET Development Logon failu unknown user name or bad password
Hello, Using VS 2005 Beta (VB) I would like to read a network share in the form of: \\192.168.1.10\c$\ - Using the DirectoryInfo object. However when I try that I get the error: Logon failure: unknown user name or bad password How can I either popup a box for the user to type in the username or password or embed it into the program I hope this helps others who received this error message. When I debugged my .net application on my local computer everything worked, however, when copying the same application to the server I received the error message Logon failure: Unknown user name or bad password All the proper permissions were se ...Show All
Smart Device Development MDE: Pocket PC 2003 SE version has VBScript
The Pocket PC 2003 SE version of the Emulator has VBScript 5.5 installed. The actual physical devices do not have this file, AFAIK. It's also an odd version: it is missing the MsgBox and InputBox statements. Thanks George. The device manufactors have an option of including/excluding components of the OS. For the emulator images we tried to be very inclusive (even the web server is in the box) as far as the image size permitted us. Thanks, Vladimir ...Show All
Visual Studio Team System Can the configuration information in build type be customized
Hi all, During create a build type, there are fields about configuration and platform information. Can these information be customized For example, I want to add/delete/change the values in the configuration and platform list. Thanks, Leon As I remember (I don't have TFS here right now to test it) you can select a value on the list, but also "write" it, if you are asking about that. And for a Build type already created, you have to modify the .proj file of the build type, you can find it in the source explorer, under the project which owns the build type, you have a folder Team Builds (or similar) and a folder f ...Show All
SQL Server Can't Deploy AdventureWorks AS Database using Instances of SQL and AS
Hi all, Have just installed June CTP on a new laptop build and am having problems getting the AdventureWorks AS database deployed. Using a named instance of SQL Server 2005 (which houses the AdventureWorksDW database) and a named instance of Analysis Services 2005 (which should be getting the deployed database). After opening the sample solution in BIDS, I changed the data source definition to point to my SQL Server 2005 instance (laptop\sql2005). Tested fine. Then modified the project properties to use the Analysis Services 2005 instance as the deployment location (also laptop\sql2005). Everything looks fine, bu ...Show All
Visual C# Monitoring a DB Table!
Hi, It would be great if someone can provide me a better solution to this problem. I need to constantly monitor a sql table. If any new records are added to this table, I need to fetch the newly added records and process them. Right now I am using an infinite loop to do this in C#. Is there any other efficient way of doing this. It would be helpful if you could provide your solutions in C#. Thanks & Regards, Frenz Frenz, The processing can be done outside of SQL Server. However, you'll need to send a notification from SQL Server, because there's no event per se. The fact that you're u ...Show All
SQL Server Database Diagram error on SQL 2005
I upgraded from SQL 2000 to SQL 2005. The database owner is sa and I am logging in as sa in Management Studio. But when I click on Database diagrams I get the following error "Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects." How can I fix it When trying to add a diagram to an SQL Server 2005 db I got the following error: Database ...Show All
Visual Basic thread problem - please help
I have this winform that calls a messaging window, i managed to make it work invoking the messag window as a background thread, but somrthing weird is happening If I invoke like this, it works fine: Dim aFrmAlertPopUp As New AlertWindow("oi", "test", "123", "A", "dude", "joe", "joe", "A", ListView1, "", "123", "123") aFrmAlertPopUp.display() but if I invoke with the tread Dim t As New Thread( New ThreadStart( AddressOf aFrmAlertPopUp.display)) t.IsBackground = True t.Start() It will not displa ...Show All
Windows Forms TextBox
Hy every one i don't want to extend the text box control i need to know how to create it from scratch i mean like M.S Word it has the white background you write on and another thing the textbox control is only limited to 32kb of text . let's say that you are going to create a notepad application without the textbox  ...Show All
SQL Server Data Flow Source for dbf (DBASE IV) files
We're trying to read DBASE IV files as a source, but can't find any providers for that format. Will these be included in the final release Is there another way DBASE has always been supported, so it's kinda stranged. Thanks, Dirk Has anyone had any trouble moving a package using a OLE DB Connection Manager reading DBASE IV files While developing I never had a problem, the confiugration string described here worked just fine. Now I'm finding as I move my package to production I can't access any of the files. I will always get a error as follows... The AcquireConnection method call to the connection ma ...Show All
Visual Studio 2008 (Pre-release) Parametric Animation
Is there some documentation I can refer to concerning parametric animation What I would like to do is feed in the value of the animated property at every "tick" based on a function. Actually...what would be even sweeter would be to have a "parametric animation object" that takes a function pointer to my parametric equation and then handles the rest for me! But I'll stick with being pointed to some details on doing it by hand. :) While you can certainly accomplish this with CompositionTarget, I'm not convinced you need to move to that level yet. Why can't you create a custom AnimationTime ...Show All
SQL Server SQL Dependency
Hi! Is there any way to use the sqldependency feature from ADO.NET with SQL Server Express editation I need this feature but I develop a shareware application and I can't buy Professional or higher SQL server for every downloaded copy. Thanx. I have a similar issue. I want to use SqlDependency with Express. I have a sample app working against another SQL 2005 edition that works fine. But changing the connection string in the sample app to point to an Express edition causes it to stop working. I do have all required DB settings on (e.g., enabling of service broker and even CLR integration) in the Express dat ...Show All
Windows Forms DataGridView and posting changes to DataTable
This problem appeared many times on this forum but in my case none of the solutions worked. The story is that changes do not appear in DataTable. dgv is bound to a dataset and DataMember has been assigned to a DataRelation (by its name). It views data fine, but when I type anything in dgv I can't see changes. I'm handling events TableNewRow and ColumnChanged. Those events are raised as they should when I change/add rows on dgv. When I don't press an arrow to go to the next datagridviewrow changes are not in the datatable. Before posting changes to database I'm trying to force saving data to datatable by tricks like dgv.Invalid ...Show All
Windows Forms Performing search on dataset
I am a big novice when it comes to ADO.NET and VB.NET so forgive me if I am making this hard to understand. I have a dataset that has 100+ rows and 12 columns. My table is named "DsInventory1.Inventory" within the dataset. I am looking for a brief coding example or resource to learn how to loop through each row and check to see&nbs ...Show All
Software Development for Windows Vista help
can anyone give a sample to help me create child state machine workflow I want to know how it work with master workflow. Thanks in advance It's not clear what you mean here. Do you want multiple workflows one parenting the other Or do you want a single workflow that has multiple parts in some way Please can you clarify what you are trying to do. Regards, Paul ...Show All
