Bigteddy's Q&A profile
Visual Studio 2008 (Pre-release) WCF on Windows Mobile 5.0
I've seen a few posts on blogs from a few people indicating that people are actively working on this product. If anyone knows anything about the status, or how I can get into the beta to get my grubby little geek hands on a CTP, please let me know :) p.s. I am extremely interested in finding out if the compact framework version of WCF will support the NetPeerTcpBinding Please put me on the list of people to notify when you do have concrete information, because as the popularity of connected devices increases (you'd have to be living under a rock, in a cave, on another planet, not to notice the increasing popularity of connected devices), so too does the desire to code for them, and if developers are writing applications on the des ...Show All
Silverlight (formerly WPF/E) Storyboard BeginTime property confusion
There is a general workaround for being able to fire events on EventTriggers that are not "Canvas.Loaded" that involves setting the BeginTime to a large number so it doesn't get run immediately (then you can fire it with JScript whenever you like). Here is my issue: The docs seem to imply that I can use "Forever" instead of an artibirary large number to make the Storyboard wait a number of days. WHat is the recommended way of suggesting how this workaround should be implemented Setting the BeginTime of a Storyboard to a large value is a temporary workaround to enable, on the Dec CTP bits, animations that don't start on page load. The main scenario are interactive animations that happen in response to some us ...Show All
Software Development for Windows Vista Problem with the manifest file for Vista
Hi, I have to embed the manifest file for my application for Windows Vista. I have added all the necessary information in the manifest file and embedded it to my application using .rc file of my application. And it is working file. But I am facing the problem of the different manifest files for Debug and Release version. Please have a look at the following: In Debug version: < dependency > < dependentAssembly > < assemblyIdentity type = ' win32 ' name = ' Microsoft.VC80.DebugCRT ' version = ' 8.0.50608.0 ' processorArchitecture = ' x86 ' publicKeyToken = ' 1fc8b3b9a1e18e3b ' /> </ dependentAssembly > </ dependency > < dependency > < dependentAssembly &g ...Show All
Visual Basic EMAIL
I am using this code in vb.net 2005 to sent an email but an error FAILURE SENDING MAIL is allways appearing. Can someone show me where I am duing wrong. Try Dim SmtpClient As New System.Net.Mail.SmtpClient SmtpClient.Host = "localhost" SmtpClient.Port = 25 SmtpClient.UseDefaultCredentials = True SmtpClient.Send("glennzarb@gmail.com", "glenn_zarb@hotmail.com", "Test", "hi") MsgBox("sent") Catch ex As Exception MsgBox("Send failure:" & ex.Message) End Try I haven't installed any other programs or smpt's the code is pretty much the same as you have done, except replacing the email add ...Show All
Windows Forms DataGridView - Auto Gen Columns - But skip certain properties - Help
Hi, I'm trying to bind a datagridview to a collection class - lets say "OrderLineCollection" that contains a number of "OrderLine" Objects. In this class I have a number of read-only properties (Things like ID) that I don't want to bind, and maybe even some that are read-write that I still don't want to bind. If I just create a BindingSource and let the grid do things itself, then I get all of the columns from the objects appearing in the grid, and thats kind of what I'd expect. My question is: - Is there an attribute that I can use on my object property declarations that will prevent the field from being bound automatically ... I've had a hunt around on the web to see if I can find such a thing but to no av ...Show All
Smart Device Development Creating Single Insatance Application in SmartDevice Application
Hai, I have created DeviceApplication present under Visual C#\SmartDevice\Windows Mobile 5.0 Pocket PC.The out of this is an exe.I want to make this exe to have single insatnce i.e if one instance is running,if u click on that exe for multiple times it must not new instances,instead it must pop-up some message.I have developed the exe in .NET 2.0 version.I tried to do fix the problem using mutex,but it did not work.Another approach is to derive a class from the WindowsFormsApplicationBase class in the Microsoft.VisualBasic.ApplicationServices namespace and set IsSingleInstance property.Can anyone explain how to do this for Smart Device Application.I found that GetProcessByName ...Show All
Visual C# sometimes kill all processes and some time some of them????!!!!..
my application is to kill running processes I have wrote this code and it is working fine but sometimes ... It is sometimes kill all application I select and some times kill hust some of them ... what is the problem ... this is my code ... private void button6_Click( object sender, System.EventArgs e) { if (checkedListBox1.Items.Count!=0) { try { Process[] myProcesses; myProcesses = Process.GetProcesses(); switch (MessageBox.Show("Are you sure, that you want to close all Applications ","Question",MessageBoxButtons.YesNo,MessageBoxIcon.Question)) { case DialogResult.Yes: foreach (Process p in myProcesses) { string Name = p.MainWindowTitle.ToLower( ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where do I buy the whole devkit for XBOX 360
I am working as a leturer in a University, and my department would like to developing game for XBOX 360 ,it's all for teachings only. So I am asking what do we need to develop a XBOX 360 game, and how much will it cost Is there any beta devkit including the devBox Any clues Thanks a lot. SamuraiDan wrote: As per the FAQ you will need to wait for XNA Game STudio Professional or become a licensed xbox developer. The XBox developer program is not trivial to get into and cost prohibitive for most small independant developers. You best chance is to wait for XNA Game STudio Professional. AndyL, I don't get it. This message seems telling me if I am independent developer I just need to buy XNA Game Studio P ...Show All
Visual Studio Team System Access "Start Date" and "Finish Date" via TFS API
Hi, I'm integrating access to TFS in one of our internal development tools. So far I have successfully connected to the TFS, retrieved a WorkItem etc. I was also able to modify the "Completed Work" field programmatically. How could I access "Start Date" and "Finish Date" Those fields seem not to be part of the Fields collection. I haven't found any samples. Any help would be appreciated. Regards Uwe Hi Uwe, You can find several tutorials on customizing work-item types on MSDN. You might want to start here: http://msdn2.microsoft.com/en-us/library/ms243849(VS.80).aspx Hope that helps, -Matt ...Show All
Windows Forms foreach(Form f in AllformsOfApplication)
Hi, searched the forum, found something that wouldn't work, so I'm asking for some help. I'd like to find all forms in my application after clicking on a menu item, so I can do something with all of them. That would be something like: foreach (Form f in AllformsOfApplication) { dosomething(f); } Note: not just the open forms like with Application.OpenForms but something like Application.AllForms (if only it would exist...) Thanks for the help! For those who have local help, I found this: How to: Access Properties of Files for Specific Types of Projects - ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_extvbcs/html/498fd515-1a05-4ee2-89d2-e5babcde034e.htm It's the code for an add-in that lis ...Show All
SQL Server Connecting to Analysis Services through Analysis Manager gives "ActiveX component can't create object" error
Hi, This question pertains to Analysis Services 2000 SP3a running parallelly with SQL Server 2000 SP3. When I try to connect to Analysis Services through Analysis Manager, I get an error "ActiveX component can't create object". Any help in resolving this issue would be greatly appreciated. Thank you. You are running into some kind of installation dependancy problem. Try installing latest service pack for Anlaysis Services - SP4 or re-installing existing one. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server Clone new database from existing
How do I go about creating a cloned copy of an existing database on the same server I basically want to set up a test copy of a production database, but let it reside on the same server with a slightly different name, prefixed with 'Testing_". I typically just use Studio Express Manager and not scripts to do admin tasks. Here's what I tried that didn't work so well: * Had full backups of production db * Detached production database I wanted to clone * From within Win Explorer, copy the .mdf and .ldf files within same data folder and gave them a new name, prefixing with "Testing_" * Re-attached prodution db * Attached "Testing_..." database Sql Express seems confused at this point with new database I attached. It re ...Show All
Windows Forms locking of combo box
Dear All, I just added a combo box in my form. I wrote the code in public frmForm1() //================== { //This call is required by the Windows Form Designer. InitializeComponent(); comoboBox1.Items.Clear(); comoboBox1.Items.Add( "USA" ); comoboBox1.Items.Add( "INDIA" ); comoboBox1.Items.Add( "UK" ); comoboBox1.SelectedIndex = 0; } than i called the load event. I would like to lock the combo box so that the user can see all the three values in combo box but will not be able to select the other items. In VB6 we generally locked the item and it solved the problem. But here I am facing a lots of problem for this in Visual Studio 2005. Can you tell me p ...Show All
Windows Forms Combo box did not pick up the selection
Hi, all, I have a win form app in vs03. One of the combo box has a bug. If the user click and scroll down to select from the dropdown list, then click a save button, every thing is fine. But if they type the first couple letters to bring up the selection, then tab away to Save, the selection did not get saved. Here is how I populated it: Dim dsDropdowns As DataSet = SqlHelper.ExecuteDataset(cn_Pro, CommandType.StoredProcedure, "CT_getCLGDefault") dsDropdowns.Tables(0).TableName = "LogType" cboNoteType.DataSource = dsDropdowns.Tables(0) cboNoteType.DisplayMember = "TypeName" cboNoteType.ValueMember = "TypeId" And here is how I retrieve the selection Dim arParms() ...Show All
Visual C++ convert int buffer to a std::vector
Hi, I have this char buffer and need to convert it to a std::vector<int>. Is there a non brute-force method for doing this . Thanks. ...Show All
