Software Development Network Logo
  • SQL Server
  • Smart Device
  • Visual FoxPro
  • Architecture
  • Visual Basic
  • Microsoft ISV
  • Visual J#
  • Windows Vista
  • Visual C++
  • Game Technologies
  • Visual C#
  • VS Express Editions
  • .NET Development
  • Windows Live
  • VS Team System

Software Development Network >> Mike Attili's Q&A profile

Mike Attili

Member List

Florian Apel
tamzyn
Nirupam
Floele
BryanDOwen
Mr Spock
tower05
R.J.
George Steel
Dean.C
gorm
azouz
jwolfskin
Christopher DC
gadym
Quang N
5uck
TRodS
Scott C. Renolds
stacyb
Only Title

Mike Attili's Q&A profile

  • Smart Device Development Hi Whatz Wrong with my code here??

    Hi Evribody, Windows Mobile 5.0, Emulator is Smartphone. I was creating a sample project...User enters his usrname/password in the login screen and is authenticated and then a Welcome Form is displayed. Project has two forms 1: Messages Home 2: Login Form From MessagesHome Form """" Constructor""" i am calling the Login Form and have a DIALOG RESULT returned from the Login Form. Welcome form code public frmMessagesHome() //Constructor of the Wecome Form { frmLogin objFrmLogin1 = new frmLogin(); if (objFrmLogin1.ShowDialog() == DialogResult.OK) ...Show All

  • .NET Development XMLSerializer Bug?

    Hello all, I am attempting to use the XMLSerializer in a rather unique way, and getting some unexpected results.  I am wondering (1) why I'm encountering this, (2) if others have seen this, and (3) if there are any official fixes in work. Here's the code: -------------------------------- private int x; public int X {     get { return x 0; }     set { x = value; } } [System.Xml.Serialization.XmlIgnoreAttribute] public bool XSpecified {     get { return x.HasValue; } } -------------------------------- When I try to serialize the class that contains ...Show All

  • Visual Studio Fixed diagram layout

    When I'm using my own DSL I noticed that I spend lot's of time with layout related stuff. Putting the shapes in the right places, making sure lines don't cross, etc. etc. My opinion is that I shouldn't spend time on this. I like the approach which is used in the domain model designer of the DSL tools itself where the layout is fixed. Is it possible in some way to add this kind of behavior to my own DSL Thanks for your help, Gerben [Avanade] Gerben, You might try the following approach: using ( this .TransactionManager.BeginTransaction("Custom: Layout Diagram")) { this .AutoLay ...Show All

  • Windows Forms text changed in cell

    How can i catch an event that will fire every time that the user write another letter in a cell. i have 2 columns. 1 of them is quantity and the second one is total. i want, that whenever the user is changing the quantity, i'll be able to calculate the total. any ideas It would be a SQL Expression. Here's a code snipit that ...Show All

  • Smart Device Development Form draw

    Jumping straight in from VB5. Has drawing lines/circles/etc on form at design-time gone or should i RTFM many thanks Simplefi. Yes drawing at design time is gone. You have to use the Graphics object to draw whatever you want at runtime (usually by overriding OnPaint or in the Paint event handler). Cheers Daniel ...Show All

  • Windows Forms Why is ClipRectangle always 1px too wide and high?

    As already in the subject. If you have a Graphics objects of a control and check the ClipRectangle property it matches the size of the control, however if you try to draw a border:             Brush b = new SolidBrush(SystemColors.ControlDark);             Pen p = new Pen(b, 1);             e.Graphics.DrawRectangle(p, e.ClipRectangle);   the bottom and right lines can't be seen because they're 1px too wide. What am I missing here You ...Show All

  • Visual Studio Visual Studio Add in help

    I need to write a VS add in that will do the following: 1) add to the context menu when the user right clicks on a Referance that is added to the project 2) will need to be able to modify the project file based on menu items clicked. 3) Detect if a property is changed in the Property Explorer for one of the Referenced files. However, I don't have the slightest idea where to start with this. Any suggestions would be great. Thanks Wayne Found some Great examples and got my plugin going, but I've hit another snag and was hoping someone would be able to help out. I need to change the value of Copy local based o ...Show All

  • Visual C# windows forms getting controls

    I'm pretty new to C#,  so I'm programming some sampleapps to get some experience. Currently I'm programming a Sudoko puzzle solver. I have 81 textboxes called txt11 .. txt99 the textboxname includes information of its location within the sudoko matrix. the first 1 is specifing a row, while the second 1 specifies the column. With a double nested for loop I would like to get all the values from the textboxes and put these values in a two dimensional array. I thought I should be able to get the textboxes by constructing their names.. and doing something like an Evaluate like in Javascript. Hmm well that's not the case.. Can some ...Show All

  • Visual Studio Express Editions Resources for Beginners

    Good day fellow developers, Being a 4GL database developer for over twenty years, I've now decided to break into the Web development world and have a simple question maybe you can help with. I'm running Visual Web Devloper and SQL Express setup, and am very familier with SQL 7.0. I would like to know what resources would be the best starting point to begin to understand HTML, XML, ASP, and .NET logic. Having read the associated manual "Build a database NOW", a few things like the editor, and functionality of the objects are confusing. You can't seem to "highlight and move" objects in the editor, and trying to understand t ...Show All

  • Windows Forms BUG: Unhandled exception in system.windows.forms.dll

    I have the following code: Dim BuilderForm As frmBuilder BuilderForm = New frmBuilder(_LastChangedFile.Path) BuilderForm.Refresh() BuilderForm.ShowDialog() And get the following exception on the last line: An unhandled exception of type 'System.InvalidOperationException' occurred in system.windows.forms.dll Additional information: DragDrop registration failed. Any ideas   I have the <STAThread()> attribute on my Public Sub Main alread ...Show All

  • Windows Forms ExpandableList Paint Bug

    1) Start IssueVision 2) in the middle pane select the top item in the second "Computer" group. 3) Then click on the last item in the above group "Telecommunications." Notice you'll see the list "jump" and draw the Telecommunications group starting at the top, when the top of that section had scrolled off the screen. It is disorienting to the  ...Show All

  • Windows Forms DataGrid

    hey guys im facing a weird problem, would appreciate sme help: I have created a datagrid that displays user info stored in a Database. The user can also edit his personal info on the datarid right away by clicking on Edit link (this is a button column in the datagrid that ive created, and of course all other columns that contain the info are bound columns that retrieve the data in SQL database. Now I have created this web page in project1 but then i created another project "project2" and chose include this web page in the latter. Weirdly, in the first project everything works fine when testing the web page (i.e the user ca ...Show All

  • Visual Studio Express Editions SP2 req'd for Install?

    I don't have SP2 installed on my workstation and I don't intend on ever installing it. Without it, VC# won't install. I've been looking around for another option as I'm sure there are other people out there that aren't happy with the problems that SP2 causes that still want to instal VC# but I can't find a solution to this problem. Any suggestions ...Show All

  • Visual Studio Team System mstest with custom test type and metadata(vsmdi) file?

    I'm trying to use mstest.exe to run a test from the commandline. The test was created as a custom test type that I have created via the extensibility SDK. I've done a lot of investigation and here's the results: 1) inside VS I can run the custom test fine. 2) I can run the custom test fine using the /testcontainer: option of mstest.exe. 3) I can run a generic test using the same vsmdi file with mstest.exe. 4) trying to run the custom test type with the vsmdi fails with an "Test <foo> cannot be found" error. I ran scenarios 3 and 4 (only difference being generic test vs. my custom test) under cordbg. Here's t ...Show All

  • .NET Development Can not pass the data back from C (unmanaged) to C# (managed) using custom marshaling

    I declare a function in C# as follows: [DllImport("D:\tt.dll", EntryPoint = "ModifyPoint")] private static extern int ChangePoint( [In, Out, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeofPoint3DMarshaler))] Point3D pt,int x, int y, int z); [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class Point3D { public int x; public int y; public int z; } in main() Point3D pt = new Point3D(); pt.x = 0; pt.y = 0; pt.z = 0; // The ModifyPoint() in dll then assigns the value to pt // e.g. pt.x = 1 // pt.y = 2 // pt.z = 3 int ret = ChangePoint(pt, 1, 2, 3); // However the content of ...Show All

©2008 Software Development Network