Albert.Locke's Q&A profile
Smart Device Development Query
How can I build a insert or update query for mobile sql I have designed a device where people have to type text in some textboxes and thad info has to be inserted in a tabel from the sql mobile database... [code] Dim Connectionstring As String = "Data Source =.\MyDatabase#1.sdf" Dim ConIpi2005 As SqlCeConnection = New SqlCeConnection(Connectionstring) Dim conIp As New _MyDatabase_1DataSet ConIpi2005.Open() strSQL = "INSE ...Show All
Software Development for Windows Vista How to make a StateMachine which show the terminal user to see the status of Squence workflow
In my case, the second step is from a main table to entry a sub table, however, the main table page does not close. The system can keep this page and reentry into sub table by different option. (It means that, my workflow can go back last state). I think the we should use StateWorkflow to achieve the functionality. However, there a problem. I wish the follow a simple order processing which always from main table to entry the sub table, to show ...Show All
Visual Studio Express Editions New to MsC#2005 and Ms Server 2005, need help!!
Hi all, I moved from .php, mysql, and Apache to Ms C# 2005 and Ms Server 2005. I want to connect my program C# to a Ms database, just like .php connect to mysql. How do I go about that, what do I need. I had installed "Ms visual C# 2005 express edition" and also "Microsoft SQL Server 2005" on my computer. What else do I need thanks Jason Hi, I try to connect to my SQLEXPRESS server 2005, and got this er ...Show All
.NET Development exception in socket .ctor()
Hello, Sometimes, just sometimes, my socket code throws an exception with following message: "Socket operation on nonsocket" ...or something like that, I work on the polish language pack, so this is just a translation. Wierd thing is that this exception is thrown in the socket's constructor! A bit of code: using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, ProtocolType.Icmp)) { // the exception ...Show All
Visual Basic Upgrade visuals from 2003 to 2005?
Hi all, I recently converted a 2003 project to 2005 which was easy enough but now when I compile the project in 2005 it still displays the 2003 style form objects. In the design screen however my old forms contain the new-style form objects they just dont display when I run the program. Is there anyway to fix this without redesigning my forms Mak. Go to the Main method of your project and add the followin ...Show All
Visual Studio Team System Problem: "cannot locate license assembly" during Team Build process when using third-party components
Hi there, when using Team Build with a project that uses third-party components such as Infragistics that use the license.lix licensing mechanism I get the error "cannot locate license assembly" during the compilation phase of the build process. I do not consider installing the Infragistics controls on my build servers since they are supposed to be clean. What am I doing wrong here What would be the recommended way to ...Show All
Visual Studio Team System Migrating code analysis policies...
I do not know if this has been posted as a bug or not yet; but if you have a solution with a solution folder and a project under that folder migrating code analysis settings does nothing to the project. EG: Solution 1: \Components\ (solution folder) ComponentProject1.csproj If you right click and hit migrate code analysis settings nothing happens. The project has to be moved to being in the root of the solution, migrate ...Show All
Windows Forms Committing ToolStripComboBox
A dumb question, but how do you "commit" a ToolStripComboBox, either by clicking elsewhere on the form or pressing the Enter key ...Show All
Visual Studio Team System rsitemnotfound error
When we access the team portal, we are getting rsitemnotfound errors for the bug rates, build, quality indicators and remaining work reports. The exact error is for bug rates is : The item '/RylandCom/Bug Rates' cannot be found. (rsItemNotFound) I assume this is a SQL Reporting services issue, but am not sure how to configure this in TFS. Has anyone else run into an issue like this Thanks in advance, See if the warehouse ...Show All
.NET Development Accessing a client id from within a web service
Hi I am using Visual Studio 2005 with VB 2005 and investigating Web Services. I have a VB client application that accesses a Web Service. This works fine, but I would like to know if there is a way to obtain some kind of unique id/reference of the VB client application from within the Web Service. I would like to save this id/reference somewhere (possibly in a file or database) and then, when the Web Service responds back to the client ...Show All
Visual Studio The "ResolveAssemblyReference" task failed unexpectedly
Hello, I have the exception hereafter while building (or rebuilding) my application. How can I know which directory he's talking about I tried to remove all bin and obj directories to make a "clean" build, but it does not help. Sebastien Error 1 The "ResolveAssemblyReference" task failed unexpectedly. System.IO.IOException: The file or directory is corrupted and unreadable. at System.IO.__Error.WinIOError(Int32 e ...Show All
Visual Studio Do I need a load key do install a PCW package?
I need to develop a PCW (Project Creation Wizard) screen for our TFS. The only way I found to accomplish that was creating a VSPackage. Well, I don't need to redistribute this package, in fact, I can't. It is about integration of our TFS with internal applications. I followed the SDK samples and the development of the package was ok, it is running perfect inside the VS Experimental Hive, but I couldn't mange a way to run it with VS in normal mo ...Show All
Visual C# Configuring Time and TimeZone...
Hi everybody, What is difference between a local time and a system time, Correct if I am wrong, system time is time of the system server where your computer is connected. So, if I would change system time I need to change the tme on the server. Right How would you set(change the local time programatically Also, using DateTime.UtcNow is to get system time How to change the system time progra ...Show All
Visual C++ CWebCalc, CWorkSheet Classes Help
Please help me find some help pages on the CWebCalc and CWorkSheet classes. I would like to get to the help pages that give the class members and their desciption for these classes. I looked in a lot of places. I am surprised that these classes exist and can be included by using the Spreed sheet active x controller but there is absolutely no document on these classes and their members. Please Help!! In the ...Show All
.NET Development Connection Pooling doubt
Hi, Have a doubt about connection pooling. There are two parameters Min Pool Size and Max Pool Size, which default values are 0 and 100 respectively. So, the first time application connects to database the pool is created, and if several connections are open simultaneously then connection pool grows until Max Pool Size. But what happen if afterward application is idle or less demanding in sumultaneous connection The connection p ...Show All
