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

Software Development Network >> myearlynovember's Q&A profile

myearlynovember

Member List

Hersalis
stsong
UncleSam89
asawaf
Don Dean
Ashirwad
bwells
gayan007
micca46899
gregorylambert
Ayush
Erick_T
sumana
Dennis de Jong
van Kooten
Tee40
John Durrant
Mattbance
CarbonFuel
DAVIDZGZ
Only Title

myearlynovember's Q&A profile

  • Windows Forms Problem with Databound DataGrid on a MDI Child form

    Hello all, I have this problem with a databound datagrid in a MDI child form. When bounding an empty datatable ( filled by a query which doesn't contain any results) to the datagrid, I actually see 2 rows in the MDI child form. 1 of these rows is an empty row and 1 is a new row.  (see code below) But the datagrid should only display 1 row (the new row), because the datatable doesn't contain any rows (results). Before bounding the datable to the datagrid, it still contains zero rows. while a run-time check (with a button) the datatable contains 1 row.This problem does only occur when the form is functioning as a MDI child form(where th ...Show All

  • Visual Studio Team System Project creation failing with error "The identity [Project Name]\Project Administrators is not a recognized identity. "

    Error The identity [Test]\Project Administrators is not a recognized identity. Explanation The identity [Test]\Project Administrators is not a recognized identity. User Action Warning TF30144: The New Team Project Wizard attempted to roll back all of the steps taken to this point but was unsuccessful. Contact your Team Foundation Server administrator for further instructions. Here is what Team Project Creation log file says.... 10/20/2005 1:56:17 PM | Module: ELeadServiceMediator | Team Foundation Server proxy retrieved | Completion time: 0 seconds 10/20/2005 1:56:17 PM | Module: Wizard | Retrieved IAuthorizationSer ...Show All

  • Visual Basic setting <flag>Enum

    I have a data element used to store some combination of days in the week. The element's type is defined as an Enumeration with the System.Flag attribute. <System.Flags()> _ P ublic Enum Weekdays As Byte None = 0 Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64 End Enum Dim _weekdays As Weekdays The resulting _weekday byte is stored in an SQL database defined as binary(1). If the user selects Tuesday, Wednesday, Friday the flag would be "0011010" or hex "1a" or decimal "26". When I read the value from the database using sqlDataRe ...Show All

  • Visual C++ Create an dll from existing c++ project

    Hello... I have a c++ project and want to use this in a c# program. So, I thought I could make a dll from this c++ code. But I didn't find the right solution at this moment. Maybe you can help me The c++ program consists of about 15 files (.cpp and .h). I think I have to remove the main method, but then ... In my c# programm, I want to call some functions of the c++ code... Regards, Jacquipre. Well, if the c++ code is completely native then there are two ways of doing this. But the very first thing you need to do is to create a native DLL and export all the functions you wish to export. Und ...Show All

  • Visual Studio Team System FxCop 1.35 Naming Rules Seemingly Not Being Checked

    In running FxCop 1.35 with out-of-the-box rulese settings, I appear to not have the pascal -vs- camel casing rules being checked. I seem to have all rules selected in FxCop, so was expected the following code to give violations. Thoughts on what might be the issue I created a c# file with the code as follows: namespace FxCopTest { public class Class1 { private int TestMe = 3; private int testMe2 = 3; private int ewrddd = 4; private int m_TestMe = 3; private int ID = 4; private int IdOfMe = 3; public int TestMethod() { return TestMe + testMe2 + ewrddd + m_TestMe + ID + IdOfMe; } } } (With this code, I only g ...Show All

  • Windows Forms How to make the installer leave the app.config file after uninstallation.?

    Anyone know that I'm using VS2005 setup project. Because the app.exe and app.exe.config are in the same unit in the installation. If i do that it won't remove app.exe too when uninstalling. I want ONLY app.exe.config left. Does anyone have other solutions Thank you ...Show All

  • Windows Forms Working with KeyAscii in VB.NET

    Hi All, In our existing vb application, we make all the characters entered in a textbox to UCASE by the following Code in the KeyPress event of the FORM If KeyAscii > 96 And KeyAscii < 123 Then KeyAscii = KeyAscii - 32 End If and for a particular control if the user starts typing and the characters he has not entered is "/", then we will put // and then the entries he is keying in I am not able to do this .NET as KeyAscii is read only. Anyhelp regarind this will be of great help to me  So, how do you read the typed KeyAscii, in order to move to another textbox when the "tab" or the "ent ...Show All

  • Windows Forms Changing a property of a dynamically added control

    Hi, I hope you can help me with this. I don't seem to be able to change the ".image" property of a dynamically added PictureBox. How do I refer to the "myPicture" PictureBox within a Module Private Sub MainForm_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim  myPicture As New PictureBox() myPicture.Image = My .Resources.Picture myPicture.Size = New Size(10, 10) myPicture.Location= New Point(30, 30) Me .Controls.Add(myPicture) End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click    C ...Show All

  • .NET Development Capture Mouse

    !Hello! I have a Windows Service and i would like to know how can i capture mouse movements in the screen, without a form or process launched. I readed that Framework not allow to capture this... i tried with windowshoooks and dont get nothing How can i solve this problem Thks Pavleras I believe you cannot do this but hear me out... Windows Service has nothing to do with the visual effects of the environment, a Windows Service is a process in the background that runs to do "technical" stuff that users should really not know about, such as logging events to the event log, or doing some other pr ...Show All

  • Visual Studio CR XI vs CR for VS.Net

    Hello,    Because of its features, we will use CR in our software (we are web applications editor), but we are desperately looking for details about compatibility between VS.Net 2005 Crystal AddOn and Crystal Reports XI. Is there a VS.Net 2005 Crystal AddOn that support Crystal XI When Regards, FXB There will be an update to Crystal Reports XI that will provide compatibility with Visual Studio 2005. ...Show All

  • Visual Studio Express Editions link error for template

    I have big problem when using vc++ 2005 expression, it seems a bug of the IDE. here is the error result: Service.obj : error LNK2019: unresolved external symbol "public: __thiscall pool<class DBConnection>::~pool<class DBConnection>(void)" ( 1 $pool@VDBConnection@@@@QAE@XZ) referenced in function __unwindfunclet$ 0ResourceManager@@AAE@XZ$0 Service.obj : error LNK2019: unresolved external symbol "public: __thiscall thread_pool<struct worker_thread>::~thread_pool<struct worker_thread>(void)" ( 1 $thread_pool@Uworker_thread@@@@QAE@XZ) referenced in function __unwindfunclet$ 0ResourceManager@@AAE@XZ$0 ...Show All

  • SQL Server Putting reusable code into SSIS components....

    If I have standard code for logging, event handling, error handling, etc...How to do you get the standard SSIS components to include this code... I would hate to have to add this standard code, each time I add a component to my package...especialy if I have to build hundreds of them... Thx in advance... RC   Perry_Rapp wrote: What I've done is put source code for event handlers into a source control system, and then copy & paste them into every event handler box on every component. I admit, this is a TERRIBLE solution, but I've not had time to develop a XSLT solution -- the only decent solutio ...Show All

  • Visual Basic How can I, if at all possoble, create an FTP Server

    I'm a beginning developer and i need to create an FTP server imbedded in an application. This is the last thing i need to do to finish the program. I need to make it so the server is only available when the application is running. Are you shure you need a server and not a client Anways this is what I found after a quick search on the internet: http://www.mabry.com/mabry.net.ftpserver/ ...Show All

  • Windows Forms "files of type"

    I have an open file dialog box, where I want the user to select an image file, so I've set the filter something like this for example: open.Filter = "CompuServe GIF (*.gif)|*.gif|JPEG Image(*.jpg)|*.jpg The problem is that this adds the GIF statement on one line in the "files of type" dropdownlist, and the JPEG statement on another one. How do I set it up so that it will look for all of these file types simultaneously, and they will all appear on the same line in the "files of type" ddl smtraber open.Filter = "GIF or JPEG|*.gif;*.jpg|CompuServe GIF (*.gif)|*.gif|JPEG Image(*.jpg)|*.jpg";   Simply seperate the file filt ...Show All

  • Windows Forms Whidbey Designer

    Anyone work with the whidbey designer classes yet  I seen one sample of a design time dialog on this site. Anyone seen any other examples. Specifically interested in a forms designer. ...Show All

©2008 Software Development Network