A.Akin's Q&A profile
Windows Forms Form Inheritance and the Anchor Property
I've read a couple posts about anchored controls on a base form behaving badly on the derrived form. The answers given where 'It works fine for me'. Well, it seems to not. Both in design and run time, the base class's controls seem to a ...Show All
Windows Forms Datagrid left over under GridColumnStyles
Hi All, I implement a GridColumnStyles customization in a datagrid with VB.NET. Different sets of data will be reloaded into the customized datagrid through the control of a couple of RedioButtons. The problem is: The highlighted cells are left over in the background to the subsequent datagrid display of new datasets. I have tried the datagrid's TableStyles.Clear(), refresh(), hide(), and other methods before reload the d ...Show All
Windows Forms I am new, can anyone help me?
Hi, I am new to terrarium. Is there anyone who can help me with the following problems: - Where can I find tha "farm" - My terrarium never make a connection with the internet, the server is set to "http://www.terrar ...Show All
Visual Studio Express Editions need to create a wait() function
I need to create a wait function that allows other processes to continue during the wait period. This one puts the processor in 100 usage for the period of the wait - so not much help! Sub wait( ByVal seconds As Integer ) Dim timestart As DateTime Dim gap As Integer timestart = Now() Do gap = DateDiff(DateInterval.Second, timestart, Now()) If gap > seconds Then Exit Do End If Loop End Sub can anyone ...Show All
Windows Forms Freaky me.close( ) doesn't work
Hi everyone, please help me anyone!! scenario. I have 3 windows forms, Login, Registration and Game. Login is the owner of the other two forms. And when the other two forms closes, it will call for the owner which is Login to show in&nbs ...Show All
Visual Studio 2008 (Pre-release) New Release Problem
alslamo alikom... congreatulations on producing the new beta version of WinFX Components(May 2006) i will get direct in the problem... i have developed an application with the old release of the WinFX which was realesed on (feb 2006) and when i upgraded my machine to the newest version.. and build my application i encountered alot of compiling errors indecating that iam using a higher version of some files and those files are not found on my mac ...Show All
Smart Device Development Activesync service provider in C#
Hi, I must create an activesync service provider in C# How Can I make it Where can i find documentation or example I use VS2005 professional. Chech the RAPI and the especialy the communication library . ...Show All
SQL Server OLEDB error while trying to import MDB data into SQL 2005
Hello, I am getting an error while trying to import data into SQL 2005 from an existing Access MDB database. When I try this on another workstation there are no problems and the data is imported successfully. Could someone tell me what to look for or what setting I have incorrect. On the workstation with the problem I had removed SQL 2000 Personal Edition and installed SQL 2005 Standard Edition. Also, I have both Visual 2003 and 2005 i ...Show All
Visual C# xml
Can we convert an access data base to an xml file if we can please chow me how. Thank you for your help It’s by using XMLSchema ...Show All
Visual Studio Team System Create a custom web based bug tracking tool for VSTS.
Hi all and happy new year ! Hope 2006 will be a great year for VSTS. Before the holidays, I've been asked to look(most probably create) for a web based bug tracking tool for VSTS. I've googled a bit and found teamplain ( http://www.devbiz.com/teamplain/ ) but this seems to be more of a web interface of the entire VSTS. I'm just interested in allowing our customers to enter bugs using a simple web form. Now, I'm aware that I can creat ...Show All
Windows Forms Redirecting Console Output
Hello, I have the following problem, i hope someone can help me: I want to write an mini-IDE in C# (like SharpDevelop e.g.) and want to provide the possibility to compile and run C#-Projects. To compile and create an assembly i use the namespac ...Show All
Visual Studio Express Editions Custom controls
Is it possible to write custom controls in VB Express Edition Also, if it is, how do I add the custom control to the Express Edition IDE Thanks, Are you wanting to design a user control and use it in your application In which case, you can simply add a user control. Or perhaps create a library of controls (in a DLL, for example) You can create a Class Library and add some user controls to that. You can then compile it as ...Show All
Visual Studio Express Editions Can not use a Sub using graphics
This is my code. Sub Proces( ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me .Paint Dim i, j As Integer For i = 0 To 200 For j = 0 To 200 If rd < alpha Then If grid(i, j) = 0 Then grid(i, j) = 1 aantal = aantal + 1 e.Graphics.DrawRectangle(Pens.Beige, i + 10, j + TextBox1.Height, 1, 1) End If End If Next Next rd = randomgen.NextDouble() Label1.Text = CStr (rd) E nd Sub I can n ...Show All
Visual C++ What is the equivalent in Visual C++?
I wanted to convert a code from Visual Basic to Visual C++. I am seeing a code like this. Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx" Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX" What is the equivalent Using "MSCOMCTL.OCX" Any clue/Help Thanks, I believe that the following will work: #import <comdlg32.ocx> #import <mscomctl.ocx> You should lookup #import on MSDN to see h ...Show All
Visual C# How to cast Null object.
Hi all, I am wondering if I can do casting for null object. Lets see the following code: int i; object o; o = null ; i = ( int )o; I am getting error that "Object reference not set to an instance of an object." Is this possible by any other way Thank you Hello, Null casting is invalid in .NET Because null objects doesn't has a memory area. No start point. No length. It is i ...Show All
