raymuirhead's Q&A profile
Windows Forms Binding a textbox or label on website
I know this is a "Windows Form" area but thought the answer might be simple.. In 2003 you could bind a text box or label to a DB and pick the actual field in the DB record to bind to. In 2005 the GUI doesn't seen to provide this. Instead under Data there's an Expressions field where you pick the bindable field (I choose Text), expression type (ConnectionStrings) but not sure what to enter for the Expression Properties. Any hel ...Show All
Visual C++ how to compile C code using Visual C++ 2005 beta 2 ??
first should say am not a professional in writing codes or preparing other stuffs like that (like header files and thiiings like that)! am novice!!my problem is that can not compile my C codes using visual C++ 2005 beta 2!the first problem have encountered is that can not see any button or right click or left click menu for compliing the code like had been doing while using Microsoft Visual C++ 6.0!Secondly, I did open new project and file to wr ...Show All
Visual J# Hit a bug
Hi; I am getting the following: Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Drawing.SafeNativeMethods.Gdip.GdipMeasureCharacterRanges(HandleRef graphics, String textString, Int32 length, HandleRef font, GPRECTF& layoutRect, HandleRef stringFormat, Int32 characterCount, IntPtr[] region) &nbs ...Show All
.NET Development COM Port
Hello, this is not a especific COM PORT error, but the app uses the COM port comunication. I have the follow code: Private Sub Port2_DataReceived( ByVal sender As Object , ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles Port2.DataReceived Call DoUpdate() End Sub Private Sub DoUpdate() Dim r As String r = Port2.ReadExisting() RecvBox.Text & str & ControlChars.New ...Show All
Windows Forms ToolStripDropDown.IsAutoGenerated?
Where can I find more information about ToolStripDropDown auto generation The IsAutoGenerated documentation doesn't say much. Thanks, Ray This means that the drop down was generated by the owner ToolStripDropDownItem as a result of a populated DropDownItems collection. This is in contrast to an explicit set of the the Dropdown property. This is for use with property flow to submenus. For example, if you set Rend ...Show All
Windows Forms Bug in Databinding:
Senario: You have a textbox bound to a data source for which you aren't really sure what is the current row (which is normal with ADO.net) Now if you do this: textBox.Text = "Something"; It will never get saved event if you do a .EndEdit(); If& ...Show All
Windows Forms accessing a form and its controls knowing the formname
In VBA I used to pass the form object to functions for further manipulation sub cleaform(frm as form) dim ctl as control foreach ctl in frm.controls ctl.value=null ..... May I replicate the same behaviour in .NET, I mean, using the form name to manipulate its controls.... thanks Well, that's the nice thing about object-orientation. Your method should take an object ...Show All
SQL Server NUMERIC or INTEGER ?
Hi, Is there any difference between NUMERIC and INTEGER datatype I am currently migrating my application from oracle to sqlserver hence i need to know the best equivalent: Oracle var_int int(38); SQLServer: @var_int numeric(38) or @var_integer integer Please let me know the best equivalent --Srik Use integer in SQL Server for Oracle int. NUMBER is close to NUMERIC. Numeric implementation between O ...Show All
Smart Device Development VS.NET 2005 BETA2 : Could not establish connection to network
Hello to all! I just create one simple solution in VS.NET 2005 Beta2 with 2 projects: -webservice project (just with default HelloWorld web method) -smartDevice project (who call HelloWorld web method) When I try to call WebMethod the error occurred (I use PocketPC 2003 Emulator): An unhandled exception of type 'System.Net.WebException' occurred in System.Web.Services.dll Additional information: Could not establish connection to network. W ...Show All
Smart Device Development WM 5.0 PPC SDK install does not finish
The install, repair, and uninstall of the Windows Mobile 5.0 Pocket PC SDK does not finish. Here is the end of the install log... Action ended 10:49:26: InstallFinalize. Return value 1. Action 10:49:26: RemoveExistingProducts. Removing applications Action start 10:49:26: RemoveExistingProducts. Action ended 10:49:26: RemoveExistingProducts. Return value 0. Action 10:49:26: CUSTOM_ACTION_0. Action start 10:49:26: CUSTOM_ACTION_0. *** RunIns ...Show All
Visual Basic Trouble with vs 2005 beta 2
Hello. I have order VS Studio beta release 2. now it is 1 mounte over betwen installation and now. The problem is that my Compiller not to what i want. and i have nothing do befor in the settings part. The other, fathal problem is that my keyboard commands in the Source Window not correctli works. i mean: The backspace and some shortcout commands licke Ctrl+C and Ctrl+V dont work. i haven't the express edition. What is the problem. is my tra ...Show All
Visual Studio Publishing project with MSBUILD
I am running msbuild on our build server, the server has the .NET v2 beta 2 runtime and SDK installed, it does not have DEVENV installed on it. When I try to publish the project with msbuild from the command line on my local PC that has DEVENV installed it all seems to work. When I try running the some command on the build server I get: “C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets : warning MSB3482: SignTool repo ...Show All
Visual C# c# colordialog custom colors save
Hello, Is there some way to save and restore the custom colors in a colorDialog in a Windows Forms project When I look in the ApplicationSettings's PropertyBinding pop-up for the colorDialog, those custom colors are not there. Thanks. The ColorDialog class exposes a property called CustomColors which is an array of integers that represent the colors in question in an ARGB format. Worst case you could save these values manua ...Show All
SQL Server HIERARCHY
i have a problem.. which is the procedure to establish the hierarchies in my dimension.. the dimension wizard sends a message that the relationships were checked but did not create any hierarchies is there any propertie i should checke before running the wizard The cube and dimension wizards will attempt to create hierarchies based on relationships between tables and relationships found when sampling data. However, it may not discover ...Show All
Visual Studio Tools for Office Using existing word doc in VSTO project (VS2005) Causes "Attempted to read or write protected memory" error
**EDIT**- Please see my next post in this thread for specific steps to reproduce error*** We have a fairly complex Word document that we use here at my company for creating reports. While it contains a good amount of VBA code, it has never had any VSTO associated with it. My intention with this current project is to bring the doc "up to date" by replacing the VBA code with VSTO equivilants. Unfortunately, I can't eve ...Show All
