WHairston's Q&A profile
Windows Forms Comples Databinding - ComboBox
I am having trouble getting databinding to work with a ComboBox. The problem is the translation doesn't take affect. The ValueMember (Foreign Key ID) shows up instead of the translated description (DisplayMember) when I bind to 'Text'. When I bind to 'SelectedValue', the proper entries are in the drop down list but nothing is in the text portion of the&nbs ...Show All
.NET Development Right sequence to get datatable updates written back to the database?
I have a DataGridView that I've manually bound to a DataTable (which is populated from a DataSet via a SQLDataAdapter). The user can go through and toggle a boolean column value and then save the results. I can see (via Rowstate) that the rows in the DataTable have been modified, but I can't seem to get them to be written back to the database. I've tried both acceptchanges at the DataTable level and update at the SQLDataAdapter level. I've looked through all the examples I can find and they just seem to be missing my situation. Is there an example that just wires up a database table to a DataTable, modifies ...Show All
.NET Development HTTPS?
Hello everyone, Just want to know if there's a reliable article about implementing HTTPS or Secured Site in .NET using ASP.NET (VB CodeBehind). Thanks in advance. Hai Jon There is a chapter about inplementing SSL [https] in the study guide[book] of Exam 70-315 ie MCAD/MCSD Self-Paced Training Kit: Developing Web Applications with MicrosoftR Visual BasicR .NET and Microsoft Visual C# .NET You can find details about the book in the following link http://www.microsoft.com/MSPress/books/6714.asp Jose ...Show All
SQL Server SQL Job setup to run SSIS 2005 Package is Failing
I keep getting a failure when trying to run my agent which is trunning an SSIS 2005 package. I have checked the logins and appear to have given the right logins owner to the msdb database and my other databases but still getting this error: 03/09/2006 10:13:31,Run EBN Process,Error,0,BG-22SQL,Run EBN Process,(Job outcome),,The job failed. The Job was invoked by User domain\myuserid. The last step to run was step 1 (Run EBN SSIS Package).,00:00:02,0,0,,,,0 03/09/2006 10:13:31,Run EBN Process,Error,1,BG-22SQL,Run EBN Process,Run EBN SSIS Package,,Executed as user: domain\account_we_setup_to_run_all_sql_services_on_this_serv ...Show All
Visual C++ Mixing cout and printf
When I mix cout and printf as shown below, the two lines print in reverse order. Why I'm using a student version of Visual C++ 6.0. #include<stdio.h> #include<iostream.h> int main () { cout << "This should be the first line.\n\n"; printf ("This should be the second line.\n\n"); return 0; } They come out in a "random" order because both of the I/O systems have to write to the same underlying console object and they both use internal buffers in order to increase performance (you don't actually write to the console: you write to a buffer which gets flushed to the ...Show All
Software Development for Windows Vista Help with IDvdControl2 and IDvdInfo2
HI somebody know how can I use or define IDvdControl2 and IDvdInfo2 on Borland C++ 6.0 because I have only this compiler and I need work with this funtions. My compiler only detect IDvdControl and IDvdInfo. Or I don't know if my file Dshow.h is old and there is one more new... too let me tell you than I have just download Direct X 9.0 (October 2005).... Please tell me how can do ..... Thanks You will need the Platform SDK for DirectShow applications. You can download Visual Studio Express for free if your compiler is not working correctly. You will need to post info on the error before someone can help y ...Show All
Windows Forms Problems with GetHicon method
I've a problem converting System.Drawing.Bitmap in System.Drawing.Icon using the GetHicon method. This is my code sample : private void pSetIco( int parNumImg) { System.Drawing.Bitmap b; b= new Bitmap( this .ilIcons.Images[parNumImg]); this .StartIcon.Icon = Icon.FromHandle(b.GetHicon()); } There are no runtime errors but the result icon is a black box. I've try to save the bitmap to a file and the file is ok. Can anyone help me I've fill the imagelist ilIcons by the form designer, I'm sure that the imagelist has the right images b ...Show All
Software Development for Windows Vista Dual Monitors
Can Vista handle having Dual Monitors having each monitor displaying its own Desktop Image Each image being different ;) Like on the MAC I am not aware of any plans to do this. (That doesn't mean it isn't happening; it just means that I can't prove that it is.) ...Show All
Smart Device Development Establishing a Direct Database Connection
Can I establish a direct database connection with .NET CF Is this possible with Pocket PC/.NET CF For example is there a System.Data.OracleClient that supports .NET CF Thanks again, Jeff. Yes, it's possible to establish direct connection to SQL Server 2000 and SQL Sever Mobile (CE), support for that is included into VS. Other DB providers are available from 3rd parties. For example, Oracle DB provider can be found here: http://crlab.com/oranet/ ...Show All
Visual Studio Express Editions Formless Application?
Is there anyway to create an application that (when created) doesn't have a form For example, I would like to create an application that has an icon in the notification bar and have it so that when I double click it a settings form is created. I would prefer not to have the form exist all along and just have it invisible because to my understanding that uses more memory then creating it on demand and the goal of this application is to make it as unobtrusive as possible. Thanks in Advance, Nick Dancer. I'm not sure what this application will be doing but what you're describing sounds like a Wind ...Show All
Visual Studio Team System Cannot connet to VMWare TFS from a other windows 2003 VMWare image with Team Explorer
I've installed TFS (RTM) successfully on a VMWARE image (win2003 Standard). I can connect to the TFS on the same machine. I can connect to the TFS from a Windows XP machine. But I can't connect to the TFS form a other VMWare image with windows 2003 Standard with Team Explorer. All the machines/images are on the same domain and i use the same user on all the machines. The error number i get is: TF31002. If i try this ( http://srv_tfs_caesar:8080/services/v1.0/serverstatus.asmx ) on the machine, it succeeds. This mean the TFS name is ok, port and protocol is ok. My username and password is ok and that the TFS is online. Does anyone hav ...Show All
Windows Forms How to access DataRow.rowID?
Hi, How can I access DataRow.rowID I see it in the variable window during debugging, but I'm not allowed to access it in my program. Is there any possibility to know the row ID of a given row in its table, without enumerationg through all Thanks, Rainer. Absolutely fantastic ! I've been trying to crack that one for ages. Not being able to access DataRow.rowID was a real pain. Thanks for this ...Show All
.NET Development Installing SQL Express and .Net for IIS in Setup Project
I have a web service that uses SQL Express. I have looked at web setup projects and Web Deployment projects. Under the setup project properties prerequisits I've selected .net framework 2.0,windows installer 3.1 and sqlserver 2005 express edition. After I run the install on a new virtural machine (clean) there is no asp.net available in IIS and sql express is not installed. How do I get these services installed durring my install process Do these services need to be installed with "Custom Actions" Thanks MFZ Ok I feel dumb. I was running the .msi instead of the setup. So none of the pr ...Show All
Visual Studio Tools for Office A very technical (I think) VSTO startup question
What is different on a system before VSTO customized document is loaded and after Let me explain. We've got a Word customization that takes 58 seconds to load the first time after a reboot, but only 18 seconds thereafter. Our customization is installed in the GAC, is NGEN'd, and rather large. We have a shimmed managed Word addin that starts .NET CLR with the STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN flag so that multiple documents don't require all of our assemblies for each document. We've also found through experimentation that loading a differently customized document (i.e. a new Word VSTO project) before loading our customized doc ...Show All
Windows Forms C# Replacement for ActiveX
Has something replaced ActiveX Objects for C#.NET What I want to do is have a web page where a user clicks an "Install Now" button and has the standard ActiveX popup asking if they think its safe. When they click yes I insert some registry keys and insert a class into the Downloaded Program Files folder that you can view in Internet&nbs ...Show All
