js12's Q&A profile
Windows Forms Heirarchical data binding
Much to my joy I recently discovered that it is possible to bind to properties more than 1 level deep in my heirarchy. For example, I can bind a textbox to Customer.Location.Address. However if the Location property of Customer is null a user's entry in the Address textbox is discarded. Is there anyway to override this behaviour (some event I can listen to) so that I can create an instance of the Location object and a ...Show All
Visual Studio Express Editions Newbe help with Receive Serial Data
Hello everyone, I'm new to visual VB and I am trying to setup communications using the Function ReceiveSerialData() As String example found in the help section of Microsoft Visual Basic 2005 Express Edition. Sample Code: Function ReceiveSerialData() As String ' Receive strings from a serial port. Dim returnStr As String = "" Using com2 As IO.Ports.SerialPort = _ My.Computer.Ports.OpenSerialPort("COM2") D ...Show All
Windows Forms ??? How to set a default image viewer
I've got a main menu with an item called "Set Default Viewer"... How do I go about giving the user a form to 1. Browse and Select a Default ImgVwr program and 2. Have the Windows Program remeber this default vwr even when program ...Show All
SQL Server How to get the Row Number per Distinct Records?
Row Number Name Phone Number 1 John Doe (555) 123-1221 1 John Doe (555) 144-9989 2 Smith (666) 191-1201 3 Jane Doe (555) 188-0191 3 Jane Doe (555) 189-0192 3 Jane Doe (555) 190-0193 Here are the records I get back using a Grouping on "Name". I would like to assign a Row Number for each "Distinct" row. I've tried all the possible aggregate functions with n ...Show All
Visual Studio building a setup project using MSBuild
Hello, does anyone know how to build a visual studio 2005 setup project using msbuild (the ouput is msi file) thanks. Hi, MSBuild cannot build setup projects (.vdproj). Please review the blog at: http://blogs.msdn.com/anutthara/archive/2006/01/05/509606.aspx Thanks, Jay Shrestha ( jaysh@microsoft.com ) ...Show All
Visual C++ MessageBox question
This is probably a dumb question, but I am working with Microsoft Visual C++ express beta 2005. I need to obtain a result from a message box, but the info I find does not work. I tried the if ( MessageBox::Show ( "Text", "Error", MessageBoxButtons::YesNo, MessageBoxIcon::Question ) == DialogResult::NO ) But this code will not work all I can get is get() or set() with DialogResult. Thank you for any help you can provide. ...Show All
Visual Studio How to add a new field in the TASK Work Item in Visual Team System
I want to customize the TASK Work Item by introducing a new field into it. How to achieve this. Pls provide me with some examples. Hello Sethu, You can implement Microsoft.VisualStudio.Shell.Interop.IVsTaskItem2 to add custom columns to the Task List. The column information is stored in the registry under: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\TaskList\Views\ <GUID> \Columns\ <number> I ...Show All
Visual Studio Help with Help Part 2
Installed the MSDN Visual Studio 5 Help Collection (and removed the OTHER flavor HELP collection from OCTOBER 2005, which - I have NO IDEA why these are different!) Launching the dExplorer utility (through the IDE, clicking on HELP) Only seeing subsets of total collection. I understand there is a configuration manager. unfortunately, its not in a logical place! Clicking TOOLS>OPTIONS I'm seeing 4 catagories: 1) Help 2) International Setting ...Show All
SQL Server Report Builder Help
I have been doing everything in Report Designer....now I just tried report Builder after using a Model I creted to create a report. When I try to run the report, it's prompting me for a username and password. Where and how can I switch this to Windows Authentification The dataset it's supposedly using already has windows authentification as the method. But the strange thing is, when I click on View Report, it gives me an ...Show All
Visual Studio Express Editions calculate the sum/average of a column in ListView
I have a ListView which gets a new row every 1minute and i want to how the average of col1 on label1 and sum of col2 on Lebel2. I am thinking a listview is not the way to do this. Have you properly defined your object model Controls should NOT be used for data structure but only for display of the state of your model. You shouldn't total the columns of the Control, the total/avg should be built on the data model a ...Show All
Visual Studio "The specified share path cannot be accessed by the SourceSafe Web Service."
Hello! Ok, we tried all possible configurations that we found in this forum and still having problem with access: "The specified share path cannot be accessed by the SourceSafe Web Service." We even created Admin user with all rights and empty password + specified it in the VS plug-in settings (Login ID). Yeah, we do not use SSL. it looks like we connect to the service perfectly, but then we fail somewhere.... could anyone write a detailed guide ...Show All
Visual Studio Express Editions Email Program HELP!!!
Hi yall, im currently building an email application and ive gotten the send mail part down, but i have no idea how to recieve mail. Can someone piz give me some sample code to recieve an email!! HELP!!!!!!!! Check out the below article , hope it helps http://www.informit.com/guides/content.asp g=dotnet&seqNum=277&rl=1 Also you can try using the mail.dll http://www.lesnikowski.com/mail it supports POP3 and SMTP commands ...Show All
Software Development for Windows Vista Access violation errors
Hi. I'm trying to make a DirectShow app in C++. I'm using Visual Studio 2005 Express, and I don't want to use .NET for various uninteresting reasons. I can get programmes to compile fine, but every time I try to run them it comes up with access violation errors. I feel sure there's something fairly simple and probably fairly obvious I'm doing wrong, but I really don't know where to start figuring out what that thing is. In ...Show All
Smart Device Development Target Machine Link Error
I have used the upgrade wizard to migrate my EVC 4 project to VS 2005. I have managed to get most of my projects to build but I have a couple that give me the following link error. mfc80u.lib(MFC80U.DLL) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM' The configuration was originally targeting ARMV4. The "Target Machine" Linker option is set to "MachineARM (/MACHINE:ARM)". And I cannot ...Show All
Visual C# Controls in diferents forms
hi i have this problem: private void Form5_Load(object sender, System.EventArgs e) { Form1 frm1 = new Form1(); string name = frm1.textBox1.Text; MessageBox..Show(name); } on the Form5 i wrote that code.....ill explain u what the program do: u start in Form1 and when u click in a button it ShowDialog the Form5 and in the Form5_Load it should get the text in the textBox1 of Form1 and MessageBox the text it get. the problem is that ...Show All
