Silvertongue's Q&A profile
Smart Device Development Can someone recomend a very good wireless service for PocketPC
Can someone recomend a very good wireless service for PocketPC. I would like to be able to browse sites like this and pos to them from a pocketpc and most of the wireless services I reviewed offer a small bandwidth. Thanks Hi! What kind of wireless service are you looking for Access to wireless hot spots or a cell phone data plan (I assume you have a Pocket PC Phone Edition) By the way, I think this post would be more at home in the "Smart Devices General" category ...Show All
.NET Development SortedList
Hi all! I have a SortedList where i want to sort by value, that is abseluteli a most. mySortedList(id, distance), for me its importend to sort by distance, becourse i am generating a route for TomTom, and i need the nearest first then the next nearest, and so on perool Hi Brandon That's what im doing now, now my problem is, i want to have the value related to key 4, how can i do that. Do you know what i mean, my english is rather poor. Perool ...Show All
.NET Development How to receive all events of control to my class ?
I want to get some method in my class object that receives all delegate calls of some control, or like OnCmdMsg() in MFC to have method that receives all controls call in a form, so I can find which control created message, and what is that message by some identifier. How to make it thanks you ...Show All
.NET Development Unsafe methods and managed code
Dear all, I am re-designing an image/video processing package that I wrote a while ago to use C# for the GUI part such that development on that end is quicker. However, I want to keep the performance by having the processing run on unmanaged code. There are of course many ways to do this but the simplest that I have found was to have my interfaces declare an "unsafe" method that processing classes will override. However, I am not certain and couldn't find any info on it either, if "unsafe" also means that the code will run unmanaged. Brief code listing: C# public interface Processor { unsafe void doStu ...Show All
SQL Server Error installing SQL Server 2005 Express Manager
Hello everyone, My name is Pete and I'm new to this forum. Today, I installed Microsoft .Net Framework 2.0 and SQL Server 2005 Express June CTP. The following error pops up when I attempt to install SQL Server 2005 Express Manager: "The installer encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2755" I've downloaded this package several times and reinstalled it with no such luck. Did anyone experience this same problem when you tried to install SQL Server Express Manager Thank you for your answers Peter Hi Dan, I was able to successfully ...Show All
Visual FoxPro Downloading data on webserver
I would have an program (.exe) connect to an external webserver and download or read a datafile (updating prices) Anyone have a idea to get this job done. I should upload a .dbf file to www.mywebsite.com/prices/price.dbf How can i read this data into my progrs database Thanks in advance. Take a look at http://www.west-wind.com/presentations/wwCodeUpdate/codeupdate.asp for a great example of downloading files over http. If you can run VFP code on that server, I'd rather use a VFP webservice though. ...Show All
Visual C# Problems with the TextBox :/
I have added a text box to the form and I am trying to trap the 'enter' key in the key_up event, it does what I want it to do as far as that but I have text in my text box and when the 'enter' key is released the text in this box is added to another text box, now that works well, but it beeps when ever I hit enter in my textbox! Can anyone explain how to prevent this. I don't want the user to hear a beep everytime he hits enter in this textbox while there is data there, only when there is no data to be sent i.e. textbox1.text = Nothing... Thank you for viewing! -will, I'm sorry ming, that block is not really ...Show All
Visual C++ Unit testing unmanaged code
Over the last few years we've been writing an application that has a number of modules and DLL to make up the core product - most of the code is written in unmanaged C++ dlls, which use STL - the Wn32 Interface is all C++.NET though, which calls these DLLs. This is done to give us the ability to use the core code under other OSes (eg, MacOSX). Unfortunately, it looks like Microsoft are doing everything possible to make non-C++.net development difficult. Oh, how nice it would be if Unmanged DLL Unit Testing were an easy task. It seems, if I compile my unit test with /clr, and include my header files for the classes tha ...Show All
Visual Studio Team System Team Project Classification
Hi, can anyone explain the classifications in Team projects from a usage perspective. I understand how to create classifications and use them in work items but I have an understanding issue especially with Project classification (ProjectModelHierarchy) and wasn't able to find information on this. But I would also appreciate a small description around both classifications iteration and project. Thanks, that clarifies the idea behind the project classification, Iteration was clear from the meaning but needed the approval you gave me in TS context. May I add two more questions to this topic: - Is there any automatism behind the class ...Show All
Visual C++ Unable to build native Win32 apps
I am using Visual Studio 2005. I get error messages when I build a native Win32 app in Visual C++ .Net 2005 The first error is d:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' This is the line: typedef void * POINTER_64 PVOID64; How can there be an error in winnt.h Anyway, I changed the line to typedef void *PVOID64; The remaining errors didn't occur anymore. Now there are no errors. But this is obvio ...Show All
Windows Forms How to get the current row record from a datagrid after sorting, using C#
How to get the current row record from a datagrid after sorting, using C#. The sample code is in VB.Net and the BindingContext in C# is a property instead of a function. Please help. Check whether you use the same form for datasource when binding the datagrid and retrieving the current row. if you use DataSource & DataMember then you need& ...Show All
Visual C# using the TabControl (Custom?) from the IDE...
Does anyone know if there is a way to use the TabControl (I'm not sure if that's even what it's called) which contain items such as the ToolBox, Solution Explorer, Class View, Properties, etc. Hi I think you need a Spliter.... it is avalible in the Windows Forms Tab page in the tool box by default ... Its work like a Framed page in HTML ...Show All
.NET Development exception unhandled
with Visual studio 2005. Code below. add the client I added a webreference as you see. If I test the webservice in my browser it works, but not from the pda. ERROR: at runtime: Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found. System.Net.WebException was unhandled Message="Web exception was unhandled. Error cannot be displayed because an optional source-assembly was not found" StackTrace: bij System.Net.HttpWebRequest.finishGetResponse() bij System. ...Show All
Visual Basic Build Complete Notification Sounds - another workaround
I just upgraded to Visual Studio 2005 from VS6.0 and I cannot find any documentation for Visual Studio sounds schemes. In VS6.0 I could have seperate sounds for "BuildComplete", "BuildError", and "BuildWarning". In Visual Studio I can only create a sound for VS_BreakpointHit Are any of the others available The three I mentioned in my post BuildComplete, BuildWarrning, and BuildError. I found I didn't need notification for every warning or error durning the build, but an all done sound was very usefull. Some sounds when doing a "Find in Files" would be nice as well. &nb ...Show All
Visual C# foreach over an array, can I specify a predicate
Can I do something like: foreach(string name (that starts with 'A') in people) { } maybe using regular expressions You can implement the IEnumerator interface, you return an enumerator that only iterates over the people that have a name starting with an 'A'. Read more about it here: Using IEnumerator and IEnumerable in the .NET Framework IEnumerable And IEnumerator interfaces But i think that is an lot of overhead. You can better just compare the iteration yourself: foreach ( Human human in people ) { if ( !human.FullName.StartsWith( "A" ) ) { // Name didn't start with an A so jus ...Show All
