Edwin Jongsma's Q&A profile
Windows Forms OnValidating event not firing
I've a PersonalEditingControl inherited from MaskedTextBox , IDataGridViewEditingControl to use with a PersonalCell inherited from DataGridViewTextBoxCell and a PersonalColumn i nherithed from a DataGridViewColumn and a PersonalDataGridView inherited from a DataGridView. In the PersonalEditingControl, I've captured the event OnValidating to check if the value is correct ( in the following example the cell can't contain the va ...Show All
Visual Studio Team System web test does not work on localhost
I tried to test a web app on the local machine, but it does not get the correct responses back when replay the test. (I tried set up tests with different url, http://localhost.., http://127.0.0.1.., http://my_machine_name...,) But when I try the test on the same web app on a different machine from the machine running visual studio, it works. ...Show All
Smart Device Development Problem with Smartphone WM5 connecting to the Internet on Standalone Device Emulator
To anyone out that can help, I cannot get the Smartphone WM5 connecting to the Internet but I can with the Pocket PC WM5 emulator! What do I need to configure on the Smartphone WM5 to get network connectivity On both emulators, in the Config the option "Enable NE2000..." is checked - so I'm not sure what I need to do. Any help would be greatly appreciated... ps. I do not have VS 2005 installed. Chris ...Show All
Visual Studio Express Editions password
hi i am using vbexpress as front end on a msaccess database. I have created a user name and password screen in vb which will authanticate users to my msacess data base via vbexpress. Can anyone please help me in what will be the easily way to achieve this and where should I keep my user name and password to compare. Some codes are also appreciated. Write a query which takes password and user name and verifies it in the database and r ...Show All
.NET Development UML Modeling Tool for .NET Languages
Visual Paradigm Smart Development Environment 3.0 for Microsoft Visual Studio.Net (SDE-VS) is a full-featured UML modeling extension for Microsoft Visual Studio.Net. SDE-VS provides a wide range of UML related activities within the .NET environment. By providing the facilities of textual analysis, use case modeling, modeling and analyzing the system can be easily achieved. SDE-VS supports the latest and full UML 2.0 diagrams and notations. ...Show All
Visual Studio Team System TF30177 - Error creating new Team Project!
I keep getting this error. I looked through all the similar errors on the site and none of it fixed it. This is a clean installation with the TFS - RC. Error TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking. Explanation Plugin error text: “System.Web.Services.Protocols.SoapException: TF51613: [BIS.ReadIdentities] Could not read the follow ...Show All
Windows Forms Ambiguos error...
Hi all. I have very strange problem and make me crazy. I don't know what it is. This is the code: int id, n=0; this.treeView1.TopNode.Nodes.Clear(); for (int i = 0; i < ApplicationState.GroupCount; i++) { id = Convert.ToInt32(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GID"].Value); this.treeView1.TopNode.Nodes.Add(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GroupTitle&quo ...Show All
Visual C++ Calling Member Functions of unmanaged Class in a DLL
Hi all, I have a DLL with an unmanaged class with several member functions. I have compiled the DLL with /clr turned on. I have a managed app that makes a pointer to the class and all is fine (this is inside of a public ref class). I can also call exported functions from the dll (if you just make a win32 dll and turn on export, I can call those functions). However, when I try to call a member function, it won't link: UnitTest1.obj : ...Show All
SQL Server Is it possible to convert the sample C# program AmoAdventureWorks in "C"??
Is it possible to convert the sample C# program AmoAdventureWorks to "C" Program If so please someone give me pointers. Even a subset of AmoAdventureWorks would be fine (i.e with just one dimension, one measure etc.) Please hepl me urgently!!! Thanks Hi Can anyone give me a sample code in "C" for the C# Code sample for AMO Adventureworks I dont need whole code, please give a sample code in "C" with just 1 dimension and 1 measuregrou ...Show All
.NET Development Troubles declaring variables and using variables in modules
Hi, i'm using vb.net 2003, and i seem to have difficulty decaring and using variables in a module outside a function, or property. I want to declare a StreamReader in the module, and a String object eg. line. and then I want to use the "line" to read the first line of a file. as the program runs, the first form that pops up is a OpenFileDialog, which will be used to browse to the database in use, that value, or filename will b ...Show All
Visual Basic Update database with Null from databound textbox
Hello, I think the answer to this is simple, but I just cannot seem to figure it out. I have some databound textboxes on a form connecting to the Northwind mdf database. One of the textboxes is bound to a field with an "int" datatype and Allow Nulls is set checked. When I run the app, I want to delete the value in this textbox and have the database updated with null. But, when I just delete the data in the textbo ...Show All
Smart Device Development Establishing a Direct Database Connection
Can I establish a direct database connection with .NET CF Is this possible with Pocket PC/.NET CF For example is there a System.Data.OracleClient that supports .NET CF Thanks again, Jeff. Thanks so much for your advice. I was kind of thinking that was the answer. I will install VS 2005 since I still have the subscription to get it. There are 3rd party apps out there to connect to the device and SQL CE 2.0. Some of them are very goo ...Show All
Visual C++ required libraries for 64 bit applications
Hi, We have been developing 64 bit apps (straight C++/MFC, no .NET) for some time and now need to distribute executables to non-developers who do not have VS2005 installed. What libraries need to be installed on client machines and how do they get installed Thanks John Avis John, could you let us know how you created the set up project. Also what are the architectures for your development/host machine and your ...Show All
Visual C# Serial Port problem
Hello, I am reading bytes (which are part of a packet) from the serial port. The begining of the packet is 255(or 11111111 in binary). If the last bit doesn't arrive in time, I will be reading 244 (which is not good caus I dont know when the packet starts) . Is there a way to get around this Appreciate any help, Bruce The protocol does not support checksum byte . I don’t know what kind of machine are yo ...Show All
.NET Development Sending Message after AddIPAddress
Hi there, My machine have 2 Network Adapters (NIC). I try to assign different IP to 1 adapter using IPHelper's AddIPaddress API. Then I used Socket to bind that IP and send to another machine IP address. I was unable to send sucessfully. I can send only another NIC IP in my machine. How do i set socketoptions or gateway setting whenever after i add new ip address Here is code example // returnCode = AddIPAddress(staticIP, staticMask, ad ...Show All
