jks's Q&A profile
Smart Device Development Unable to deploy to emulator
Hi, I created an empty vb.net device application (v2.0). Add a label and a textbox. Pressed F5. After a while the emulator starts and I don't see the application in the emulator. After a while I get a message that that 'application could not be deployed'. Am I missing some steps Thanks, Ivan You can effectively change the ip of the emulator directly on pocket pc images. Visual Studio will detect the new ip when you try to connect again. As for the loopback adapter solution, there is a similar KB article for 2000 available at: http://support.microsoft.com/kb/q236869/ ...Show All
.NET Development Yes, it is possible
Hello All! I'm just learning about .Net remoting, and have build some simple apps. Another one that I want to try it to be able to have a countdown clock on the client computer and server. The client only see the countdown clock in action, the server will have control, Start and Stop. Any thoughts how this can be done, or where there may be some good tech notes on this. Thanks!!!! Rudy Hello! Is this something I will not be able to do Can I control any application I build on a client through a server Thanks! Rudy ...Show All
Architecture Architecture to access userdater of multiply sources
Hi! I've got a architecture question, wich might by very special and complex: We are developing a product for utilities, wich can be used to track issues (gas, water, elctricity). We use a three layer Architecture wich is: - Top Layer: Web Client (ASP.NET) - Business Layer (Clases with multiply access methods: web service, remoting, direct access) - Datalayer (DAO pattern) The Problem is, that we need a common way of acessing persons, wich might be employees or external contractors. We want to be able to save a reference to a persone in form of a foreign key in our issue-entity. These refences to persons are used in many other entities, t ...Show All
Visual C++ Question about /ML and /MD option
Hello, I have a Visual C++ 6.0 project with /ML option is set in project setting's C++ Tab. But for some reason, I want to replace this "/ML" option with "/MD" option. (the reason is that I want to use a library(DLL) that provide function to open files but no function to close them, so I have to close it myself in my program). Is there some problems on doing so What aspects should I think about to determine whether there is a problem Thanks. WuZhiming You have to ship the CRT runtime. But vor VC6 you can assume that there is always a MSVCRT.DLL existant on all machines. I see no problems in doing this! And the footprint of ...Show All
Visual Basic Setting ValueMember gives Invalid Cast exception
Hi, Wondering if anyone can help me resolve the Invalid Cast exception I'm getting when trying to set the ValueMember of a combo box on a Windows Form. Basically I'm writing a generic procedure to populate a combo with a list of lookup values from an Access 2003 database. I'm using a structure defined within the module to store the values from the database and using the structure as the datasource for the combo. The values are retrieved fine from the database and stored within an arraylist of structure objects, the quick watch displays the members fine but when I set the valuemember property of the combo I get this message: Cast from ...Show All
Visual Studio Team System Identifiers should have correct suffix (CA1710)
I have a class defined as: public class TBoardList : IList < TBoard >, ICloneable { ... } I am getting a CA1710 violation: Message Level Certainty Resolution 6 Error 95 Rename 'CutListLib.TBoardList' to end in 'Collection'. Rule: Identifiers should have correct suffix Category: Microsoft.Naming Check Id: CA1710 Rule Description: Types that extend certain base types have specified name suffixes. Types that extend Attribute, for example, should be suffixed in 'Attribute', as in ObsoleteAttribute. This rules checks types that extend several base types, including Attribute, Exception, EventArgs, IMembershipPermission, Stre ...Show All
Visual C++ Error converting double to unsigned __int64
I'm seeing a problem in converting a double to an unsigned __int64. If the double is greater than the maximum for a signed __int64, the conversion returns the wrong value. For example: { double d; unsigned __int64 num = 0xa000000000000000; printf("unsigned __int64 = %#I64x\n",num); d = (double)num; printf("To double = %e\n",d); num = (unsigned __int64)d; printf("From double = %#I64x\n\n",num); } Produces: unsigned __int64 = 0xa000000000000000 // Correct To double = 1.152922e+019 // Correct From double = 0x8000000000000000 // WRONG Is there a fix for th ...Show All
Visual Studio LAN booster & RPC error 06ba
Hi, we have problem with LAN booster service. Visual studio reports " Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal ". After some investigation i suppose there should be some problem with anonymous RPC on server: DebugView reports VSS RPC Service call failed, server: develop1, err: 06ba , which means that RPC is unavailable small utility SSServiceTest (Alin Constantin) reports RPC_S_ACCESS_DENIED in RPC Ping call. VSS is running on Windows2000 server SP4 with all patches applied. There is no firewall or other blocking software. Telnet can open ...Show All
Visual FoxPro number->words
anyone knows if there is somewhere available a function that transforms numbers to words example:264=>two hundreds sixty four Function Num2Word PARAMETER PNInputNumber PRIVATE JNDollarValue, ; JCDollarWord, ; JNDecimalValue, ; JCDecimalWord, ; JCReturnString, ; JNHundredBillions, ; JNBillions, ; JNHundredMill ...Show All
Windows Forms Deploy with Crystal
I am in the process of writing a small application to assist our HR department in evaluating employees that I wish to deploy to our entire company (about 80 people). The previous version of the application runs as a web application but has the normal web limitations. The primary reason that it was developed as a web application is because I didn't want to have to maintain an application on all of those workstations. Now with ClickOnce I am hoping that I can redevelop this application and deploy it to each workstation without any extra work on my part. I am aware that the .Net Framework 2.0 has to be installed on a ...Show All
Software Development for Windows Vista Explanation of UnloadOnIdle?
Can someone provide a better explanation of UnloadOnIdle (not the property, really, the mechanism) Specifically, an understanding of when a workflow is considered to be idle would be good. I've read something about a delay causing a workflow to be idle. What about waiting for an external event I would think this would cause a workflow to be considered idle, but unless I am doing something wrong, when my state machine workflow is simply waiting for an external event to transition to a new state, it isn't considered to be idle, and so doesn't get unloaded. Do I need to add a timed event to my host to check all workflow instances to see i ...Show All
Windows Forms Creating Update and Search buttons
I'm using datagrid set visible to false with textboxes bounded to each column in the database. I can't get a search of records by ID using a textbox. Also I would like the texboxes to be used to update my database but the only it has worked is to use the datagrid. ...Show All
Visual Studio Team System Source Control error = Error occurred during difference operation: Data is null
Hi We have been using VSTS beta 2 for about 2 months now - very happily! That is until early this week. One of our files doesn't seem to exist anymore (it shows in the source control explorer, but greyed out) and any attempt to get, history, view, compare with this file gives the error "Error occurred during [difference] operation: Data is null. The method or property cannot be called on Null values." Also, I can see that my local folder is mapped to the repository folder, and doing an h.exe properties on any file in the folder shows a local/server mapping EXCEPT the file I am missing! It looks like the file is still on the se ...Show All
SQL Server SSIS Recordset
Hi, Can anyone tell me how can i remove records from a recordset through an IS script Also how can i write some records to an excel file from a script as well Thanks guys.. Turns out I won't be using the recordset anymore cause IS seems very slow with what I want to do :( Thanks anyway for your help.... ...Show All
Visual Studio Express Editions Rubbish mail
hi guys! I'am a beginner in C# I creat a e-mail sender ,but,the pop3 server think the mail is rubbish :( what happen thanks! This could depend on a lot of things... One main one might be the subject or email address youare using for the email as your sever might be picking it up as spam... Another problem could be on the methods that you are using for the sending of the mail... You could be forming bad headers for the email and the pop server can not read the email.. If you have a small example of the email code post it so that we can see how you are doing it, and maybe fix the problem. ...Show All
