butt25Man's Q&A profile
Smart Device Development Left Alignment of text in a button... This has to be easy...
I can't seem to find the textalign property for a button in .NET CF1. How can I left align text in a button Thanks, this has to be easy right ;) Relatively easy. The code to do this is shown below. using System.Runtime.InteropServices; ... [ DllImport ( "Coredll" )] private static extern IntPtr GetCapture(); [ DllImport ( "Coredll" )] private static extern int GetWindowLong( IntPtr hWnd, int nIndex); [ DllImport ( "Coredll" )] private static extern int SetWindowLong( IntPtr hWnd, int nIndex, int dwNewLong); private const int G ...Show All
.NET Development SqlDataSource InsertParameters
I am trying to adapt a piece of code written for .Net1.x. Dose any one know how it is possible to pass a byte array into a SqlDataSource Parameter. I have set the parameter type to Byte but it still appears to be wanting a string. Any pointers would be greatly appreciated. Dim iLength As New Integer iLength = FileUpload1.PostedFile.InputStream.Length If iLength = 0 Then Exit Sub Dim sContentType As String = FileUpload1.PostedFile.ContentType Dim sFileName As String , i As Integer Dim bytContent As Byte () ReDim bytContent(iLength) i = InStrRev(FileUpload1.Post ...Show All
Windows Forms Updating DataGridViewComboBoxColumn after external changes
Hi.. I have a DataGridViewComboBoxColumn inside a Datagridview, that lists Products. Sometimes while adding Products, I realize that some products are missing so, I add such products from another form with my primary form still open.. so when i have already added muy new product.. i need my primary form DataGridViewComboBoxColumn updated after changes in my dataset.. it is possible I'm using a Typed Datased with all controls from my products add-form and my primary form what can i do Thanks Andres Bind the DataGridViewComboBoxColumn to products table. On the other form as you add items to the products ...Show All
Visual Studio Team System MSF "Risk Factor Charts"
In the MSF document, "MSF Risk Management Process", the author describes "Risk Factor Charts" for different focus areas. I work in the focus area of "custom software development". Does Microsoft provide a comprehensive list of Risk Factor Charts for custom software development somewhere on the Web The author only provides a single Risk Factor Chart in the document that has the risk factors of "Project fit", "Customer perception" and "workflow". The Risk Factor Chart example that the author provides is very good IMO and I would like to get a hold of all of the Risk Factor C ...Show All
Windows Forms Unable to view designer in vs2005 c#
I am trying to get some help with a very strange problem. When I opened up vs2005 today my form designer would no longer work and caused vs to crash. This happens on all projects, even newly created ones. I have tried reinstalling vs, but the problem persists. If anyone has seen this problem or knows how to repair vs I would be very happy to hear from you. Thanks. DC. Hi, I'm facing the same problem too, there is no solution yet ...Show All
Visual Studio Tools for Office VSTO Editions
Doesn't VSTO come with VS 2005 Professional I downloaded the VS2005 Pro DVD from MSDN and didn't find the installer for VSTO. Thanks. Mike, I have a MSDN subscription and have downloaded and used VSTO. Other employees in my company do not have a MSDN subscription and would also like to start using VSTO. They have already purchased VS 2005 Professional. All we can seem to find is for them to purchase the individual Visual Studio Tools for Office 2005 edition, which is the same price as Professional edition. Do you know of any other ways to obtain VSTO if you already have Professional edition and do n ...Show All
SQL Server Service Pack 1 Database Services Installation Failure
Hi - using SQL Server Standard Edition (64Bit). All of items of the service pack will install execpt for the Database Services. The Details are: "Unable to install Windows Installer MSP file" Log Details Below 05/04/2006 08:18:42.327 ================================================================================ 05/04/2006 08:18:42.327 Hotfix package launched 05/04/2006 08:18:43.827 Product discovery successfully completed during the install process for MSSQLSERVER 05/04/2006 08:18:43.827 SP Level check successfully completed during the install process for MSSQLSERVER 05/04/2006 08:18:43.827 Product language check ...Show All
Visual Studio Team System Is C++ instrumentation profiling broken in Beta 2?
I have successfully run sampling profiling on a c++ project. When I switch to instrumentation profiling I get a message box saying 'Value does not fall within the expected range.' and then the launch button greys out. To get the launch button back I have to restart the Visual Studio application. Should instrumentation profiling work for C++ OK, don't know what was up with the above, but I opened a new wizard default project and that worked fine. Thanks for your reply, now on to profile the real project... ...Show All
Software Development for Windows Vista Does WF support transactions?
I need to start several workflows in one transaction. Something like this: using (TransactionScope scope = new TransactionScope()) { Runtime.CreateWorkflow(typeof(MyWorkflow1)).Start(); Runtime.CreateWorkflow(typeof(MyWorkflow2)).Start(); Runtime.CreateWorkflow(typeof(MyWorkflow3)).Start(); scope.Complete(); } Basically, If something goes wrong inside the scope, I dont want any of these workflows created/running/persisted. Does WF work this way I don't think you can do anything that direct from the host, but you could probably create a "wrapper" workflow that has a ...Show All
Visual Basic Visual basic with .NET framework off of a CD?
OK, so the application I've developed in Visual Basic Studio 2005 Express Beta works perfectly and is compiled into an exe file, everything's wonderful... Problem: the organization that the program is for doesn't want to install the .NET framework on their computers. Is their any way to run it all from CD That is, all the .NET framework files needed will be on the CD, and the .exe file will use them, so nothing has to go on the hard drive. Thanks for the help :) Edgardo is correct. In order to run the application, you need to have the .NET Framework installed on the client machine. Steven ...Show All
Visual Studio 2008 (Pre-release) Running self hosted services (WSDualHttpBinding) as windows services (Network Service)
Problem: If you want to run a WCF service (with any kind of http binding, for example: WSDualHttpBinding) as a Windows service then there is security restriction, the windows service should run with administrative rights (for registering arbitrary namespaces), but what if you would like to run the service as "Network Service" There is solution by using Httpcfg.exe (http://www.leastprivilege.com/HttpCfgACLHelper.aspx) but now the question is, how to find the SID of the service S-1-5-20 does not work. I tried this: I:\Program Files\Support Tools>httpcfg set urlacl /u http://localhost:80/RtdrInt ...Show All
Visual Studio VSS 2005 can not show history.
I'm using VSS 2005 and VS2005, both version are 8.0.50727.42. I'm using VSS Explorer. The "Show History..." does not work. No any results when I choose a long period. I tried to empty "From" and "To" fiels, the result is same. Any idea Thanks in advance. I'm experiencing the same problem. I've recently upgraded to the RTM version of VSS 2005 (was previously using the Beta version, and 6.0d before that). I've observed that any databases that I created with the 6.0d client work properly. I can view the history of files, see their dates and labels, etc. Any databases I created with the 2005 Beta or now with 2005 RTM, History functional ...Show All
Visual Studio Add projects to VSS
Hi, I installed VS2005 Professional Edition and Team Foundation Client to my computer, and have problem with the VSS. I selected "New Project" from the File menu and wanted to add a new project to VSS though the add to source control checkbox does not appear in the New Project dialog box. How can I add a project to VSS I can check out projects from Team Foundation Server. Thanks ! If the Source Control Check Box is missing from the Create Project it sounds like your copy of Visual Studio is configured with Source Control Plug-in = None. But if that was the case you should not be able ...Show All
SQL Server importing access data to sql express
can't seem to find the import wizard - does it paly in the express edition. thanks Bill, sorry, Microsoft says that it's not included in Express edition... http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx I guess you have to do that through Access... ...Show All
Visual Studio Can't find server?
From VB 2005 start page,I click on "Connect with the Community", then Document Explorer opens,but it can't find a server, that is to say , it can't be connected to the internet. This problem doesn't happen before,but it does after I install VC++ 2005 Express Edition.Connection of my computer to Internet is OK! Waiting for help! Thanks! David, I'm glad your system is working for you again, and thanks for the details on your problem. It sounds like some remnants of the Beta 1 were causing the issue. Thanks, Jeremy Jones ...Show All
