KevinUT's Q&A profile
Windows Forms ctfmon
Hi, Everytime I start Windows SP2, my firewall warns me that the process ctfmon is trying to make a registry entry. I know that ctfmon has someting to do with the laguage settings of my PC. but why should this process want to change something in the registry every time it starts regards You have the wrong wesite/forum. This is a&nbs ...Show All
Visual C# Error during reflection - dependancy not found
Hi guys, When attempting to create an instance of a type, in an assembly I am getting an error saying that a referenced assembly, or one of it's dependencies cannot be found. I decompiled the assembly using the ildasm tool and copied all the referenced assemblies into the same folder but it doesn't seem to have fixed the issue. Any thoughts I'm getting pretty desperate, as if I can get this to work I'll have finished a major project. Thanks, Steve. I think you didn't add the reference of the assembly in your project file. Right click ur project, click Add Reference>Click Browse select your as ...Show All
Windows Forms Windows Forms, Avalon (XAML) and the future
Hi, Does anyone know if XAML will ever find its way in to Windows forms What I'm trying to establish is whether sometime in the future (before Longhorn though), XAML will be used to define a more traditional Windows forms app. Something like the MyXaml open source project. Regards Graham MyXaml is the only one that works with any object model, including windows forms. This is because it is generic. It only took two days to write the MyXaml serializer for windows forms. ...Show All
.NET Development Unable to modify database data (ADO.Net, C++, ODBC)
I am trying to learn how to use DataSets to edit data in a database using the ODBC .Net provider. I would also like to have an OdbcCommandBuilder buid the SQL commands for me. In this simple example, I created a small MS Access database with two tables (Table0 and Table 1), with a few columns, and populated with a few rows in each. I am able to connect to the database using a DSN (only targetting Table0), query and properly populate a DataSet - "properly", as far as getting some basic information back. Then I try to Clear the table from all its rows, and then I try to update the database by using the OdbcDataAdapter Update function. The upda ...Show All
.NET Development BeforeXxx/AfterXxx - Event Naming Guidelines
Hi learning Event Naming Guidelines in details I found Microsoft dosn't recomend using BeforeXxx/AfterXxx event naming. I see Before/After describes well events call sequence and a lot of companies use such convention too. What is the reason for that Even MS does not follow this guideline, check the TreeView. There are 5 events that start with Before/After. I think guidelines are there to guide you and sometime you need to go against them for your code to be easier to read. ...Show All
Windows Forms storing user settings
Newbie question: I have an app in which I want to be able to store certain basic settings per user (color scheme, form location, etc.). The book I am reading recommends storing these settings in isolated storage. This sounds good to me, but I am wondering what is the benefit over simply storing these settings in a SQL table I am already goin ...Show All
Windows Forms how to open ur custom file format in ur application
hi, i am developing an application in C#.For saving the state of an application i am using a custom file format.Now suppose a user using the application want to save the state of the application he can save it as "savedstate.abcd" where .abcd is the new extension to be supported by my application.Now when he double clicks on this saved file named "savedstate.abcd" my application will open up and the objects being used in my application will be instantiated with the saved data. i have done addition in the registry so than when a user double clicks file with my extension ".abcd" the application will start.but how do i read the application sta ...Show All
Visual C++ Memory error in loading DLL
Hi All, I have a program that reads DLL libraries but it fails with error code 1001 (i.e. Recursion too deep; the stack overflowed.). When I trace the program in debug mode of Visual Studio 2003, the exception is raised and the detail is shown as below. First-chance exception at 0x00359439 (msvcr71d.dll) in iChannelGateway.exe: 0xC0000005: Access violation writing location 0x00030ffc. The program breaks at the function _malloc_dbg() in file dbgheap.c. Do anyone teach me how to solve this error Thanks. Benny Look into the stack trace and see when this happens. Use _heapchk or AfxCheckMemory ...Show All
Visual Basic Sending email in vb2005
Does anyone have a barebones example of how to send email using vb 2005 I keep having problems assigning a recipient address. I have a question about the smpthost. First off what is it can it be an IP Thank you ...Show All
Windows Forms DataGridView RowLeave
I used the RowLeave event to execute tableadapter update to the database. This works fine. But when I try to edit a dropcombobox the value chosen is diplayed but as soon as I click another row the value get's resetted to the previous value. When I first select another cell on the same row! after editing the combobox and then click on another row, the value stays as it shoulds. It seems like the combobox (wich has editcontrolshowing) has a different behavior upon selecting another column instead of a new row. How to take care the selected value showing get's the actual value upon selecting a new row I checked the Cell.Va ...Show All
Visual FoxPro VFP linked server issue
We're using SQL Server for the majority of our applications, but our accounting package is still in VFP 8.0. I need to make some costing adjustements from our inventory program. I have linked the VFP database to SQL Server just fine and, using OPENQUERY, I can SELECT data without a hitch. Performing an UPDATE or INSERT, however, is a different story. I get the following error: "Server: Msg 7301, Level 16, State 2, Line 1 Could not obtain a required interface from OLE DB provider 'VFPOLEDB'." Scouring the internet wasn't very helpful on this. Can anyone offer me any suggestions ...Show All
Visual Basic VB.net
Hi I want to display as amany lines in Messagebox i.e.,Nameis:sathishAgeis:20 shouldbe as Name is:sathish Age is :20 in asingle message box , how to do this Sathish Kumar.R wrote: Hi I want to display as a many lines in Messagebox i.e.,Nameis:sathishAgeis:20 shouldbe as Name is:sathish Age is :20 in asingle message box , how to do this ...Show All
Windows Forms Draw a String Around a Circle
Does anyone know of a way to draw a string around a circle so that the base of each character is on the circle like a text path in illustrator. thanks Thanks Frank. You've saved me from hours of frustration. ...Show All
Windows Forms Runtime resize handles
> Hi ... > > In my application, the user can drag and drop objects from the toolbox to > the main working area (just like in Visual Studio). Each of these objects is > actually an image that is displayed in the work area using a picturebox. > > Now I want the use to be able to resize and move these images. How do I make > the&nb ...Show All
Windows Forms New whitepapers for building DataGridView custom cells and columns
Hi all, We just posted two new whitepapers about building custom cells and columns for the DataGridView control: Building a custom RadioButton cell and column for the DataGridView control ( Source and Sample Code ) Building a custom NumericUpDown cell and column for the DataGridView control ( Source and Sample Code ) The docs, source code and sample code are under http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=13&Cat=Controls&tabindex=5 Enjoy! -Regis Microsoft Windows Forms team This post is provided "as-is" Hi Regis, Plea ...Show All
