Miles Cohen's Q&A profile
Visual C++ how can convert string to integer ?
Dear all one question for string to int for example string str = "10"; and then how can i convert str to int You could look at atoi functions if you are not using .NET where you have the Convert class ...Show All
Smart Device Development Remove CeRunAppAtEvent registrations
I'm having an awful time trying to get event triggered registrations to remove. It just plain isn't working. At this point I have a device with 2 or 3 registrations for the same event and same program. here is the line of code I'm using for the (attempted) unregistration: CeRunAppAtEvent(path, NOTIFICATION_EVENT_NONE) Here is all of the code, taken from the web: Option Explicit On Module RunAppOnActiveSync Const NOTIFICATION_EVENT_NONE = 0 Const NOTIFICATION_EVENT_TIME_CHANGE = 1 Const NOTIFICATION_EVENT_SYNC_END = 2 Const NOTIFICATION_EVENT_DEVICE_CHANGE = 7 Const NOTIFICATION_EVENT_RS232_DETECTED = 9 Const NOTIFICATION_EVENT_RE ...Show All
Visual Studio Team System visual studio 2005 team project
hey guys - i've know that it is possible to create a project that enables us to comunicate between all of the people that work on the projet . example : we build a software and the project was a lot of people involved in it - developers, project leader, qa guys, the development team leader and so on... vs2005 enables us to have an interface relevante only for the project and in it the developers or qa people can view only the relevant infomation for them and have a list of tasks and such, and the project leader can update those tasks and check the status of each task and that kind of ...Show All
Visual C++ IP Helper
Hi all, does anyone know if IP Helper can be used to disable DHCP and enter dns details etc thanks Martin MLR wrote: Hi all, does anyone know if IP Helper can be used to disable DHCP and enter dns details etc thanks Martin See this article by David Crow http://www.codeproject.com/internet/IPHelper.asp It's pretty comprehensive and details the various capabilities of the IP Helper API. ...Show All
Visual Studio 2008 (Pre-release) http://schemas.microsoft.com/winfx/xaml/2005' is not a recognized namespace
When I try to run QuickStart_1 from the new SDK I can't because it says: Error 1 'http://schemas.microsoft.com/winfx/xaml/2005' is not a recognized namespace. Line 3, position 24. D:\Storage\Downloads\mce\QuickStart1\CSHARP\MyApp.xaml 3 24 QuickStart_1 and Error 2 Unrecognized tag 'Page' in namespace 'http://schemas.microsoft.com/winfx/avalon/2005'. Note that tag names are case sensitive. Line 1 Position 7. D:\Storage\Downloads\mce\QuickStart1\CSHARP\Page1.xaml 1 7 QuickStart_1 Why would it say that Do I need to do something, or is the schema not available on MS's site i'm having the same problem, how can i fix it thank y ...Show All
Windows Forms ListBox items should be gray when not in focus - why arent they?
Hi I just wondered... I have a listbox on my windows forms, and different from all other windows controls (e.g. listView and treeView), the items in the listBox remain SystemColor.ActiveCaption as background color when the ListBox leaves focus. ListView, Treeview makes the selection grayed out - making it very easy to see that the control is out of focus. Is there any way to "force" the listBox to behave in the same manner I find it confusing when working with keyboard shortcuts that it "seems like" the listbox is active - but really isn't. I hope it's just me that have mi ...Show All
Visual Studio Express Editions how to limite data displayed in a listbox?
I have a listbox "listboxServices" and an ACCESS db table "services", when i set the listboxServices' databinding to the default dataset, the listbox will show all the data in the services table. Instead, I want to list all services that have a null value in "DatejobDone" column in table "services" (i.e. all pending services). please help. btw, I created a new query for table "services" ---- "FillByPendingServices(), GetDataByPendingServices()", the sqlquery is something like : "SELECT ............ FROM .......... WHERE DatejobDone IS NULL " but no idea if it's what ...Show All
.NET Development Simultaneous calls to services results in The request was aborted: The request was canceled
Hi Everyone I am making simultaneous calls to seperate web services on the same server. The services have WSE 3 enabled using certificate based security. After a minute or so of running one them returns with the error "The request was aborted: The request was canceled", I am completley stumped, if I just make one of the calls then everything is ok. Here is the stack trace from the exception: at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.IO.StreamW ...Show All
Visual Studio Team System TF84041 error when opening an Excel sheet with Work Items
When opening the "Project Checklist" from Team Explorer I get the message TF84041 : Microsoft Office does not have the language pack installed that supports your current locale settings. To correct this problem, install a Microsoft Office Multilingual User Interface Pack. I have installed Office 2003 Professional and the Office Proofing Tools (Dutch Language). Does anyone know if I really have to use the Office Multilingual User Interface Pack to get this working Unfortunately, you do have to install the MUI pack in order to get this working in Beta 3. It's caused by an unfortunate Excel bug to do with some ...Show All
Smart Device Development i m new...from where to start!
hello friends i m begineer who has not begin yet. please tell me how to start in mobile development. difference between smartphone,pocket pc, windows mobile 2005 thanx in advance what are you using to develop Visual Studio 2003 or 2005 as there are 2 version of the compact framework v1.0 and v2.0 v1.0 http://samples.gotdotnet.com/quickstart/CompactFramework/ v2.0 http://netcf2.blogspot.com/ ...Show All
Visual Studio 2008 (Pre-release) Practical questions
Hello all, For as far as I can see, LINQ offers key features that belong to the data access layer. (Not like the current features from System.Data in .NET 2.0.) LINQ is all about replacing existing data access layer code with LINQ code, I think. So is the true advantage that we don't have to write SQL code anymore If so, would the LINQ code be placed on the database server (stored procedures) or on the application side Would data access layers still exist And in what form Where would they reside On a (for example) SQL Server, or on the application side I could not find any 'best practices' yet on this subject. Hope you understand my issues ...Show All
SQL Server SUM is summing like values
The problem with my SUM below is that I don't want it to sum up like amounts. For example, there may be multiple rmstranamt showing but if in the list there are 2 that are alike, just sum up one of them along with the others. In other words, I need to somehow do a grouping of the rmstranamt so that I'm not summing up one unique number twice in my SUM. Example output. Lets say my query finds 3 rmstranamt records for a particular account. Right now it's taking 3265.12 + 3265.12 + 3000.50 which is not right. I need just 3265.12 + 3000.50 and to ignore the other duplicate 3265.12: 10 3265.12 10 3265.12 10 &n ...Show All
Visual Studio Team System Information on BVT
Hi, Where in the TFSWarehouse I can get information on BVT (build varification test), i.e., how many test failed for a particuler build Thanks in Advance, Syed Raihan. The information for test results is in the "Result" table in the relational database, and is surfaced in the cube through the measures "Result Count" and "Cumulative Result Count". In Beta 3, only "Cumulative Result Count" exists. Here is the distinction between these two measures: Result Count - Shows the number of results according to the selection criteria. Cumulative Result Count - Shows the "latest" result for each test in t ...Show All
Visual Studio Express Editions How do I uninstall MS VB 2005 Express Edition - ENU?
I tried the Add/Remove Programs option, but couldn't get that to uninstall the program. I didn't/don't have any beta versions of VB2005EE, etc. I get an error stating "Setup is unable to determine a valid ordering for the installation. See error log for futher information." I have WinXP w/SP 2 (with all updates). Now what do I do Thanks. If you have the setup file try to rerun the setup again and then select to uninstall if you still have the errors try the option Repair/Reinstall instead. If you don't have the setup files, try to download the application and then reinstall it. Once you have VBE ...Show All
Visual Basic vb 6 and mouse drivers
This may not be the place for this and no dought it's off topic.... Starting with vb2005 express...so I had to reinstall vb6 to play with. Then I bought a new mouse and put the 5.3 drivers on .. now the code window in vb6 quit scrolling.. yes I've tried the mousefix add-in and it's doesn't help I could go back to the "I think" 2.3 drivers I had but then I lose the side scroll of the new mouse.. funny thing is the side scroll works in the code windows.. weird stuf.... Any body seen this and have a fix.. most likely won't need vb6 to much longer but it's a PITA all the same.. stubs i have a similar issue w ...Show All
