clauden's Q&A profile
Smart Device Development How to call APIs in ossvcs.dll
Hi everyone, I need to call GetWirelessDevices() to get Wireless device in the Mobile 5 . I get information as follow from MSDN GetWirelessDevices() ..... Requirements OS Versions: Windows CE .NET 4.2 and later. Header: Wrlspwr.h. Link Library: ossvcs.dll I use follow code to get pointer for GetWirelessDevices(), it return NULL for the API. I think I use the incorrect method to call the GetWirelessDevices(). But I don't ...Show All
Windows Forms Getting Units of Measure in use
I am facing problems with the PageSetupDialog and will have to do my own. How do I determine whether the user is in a metric locale or inches locale CurrentUICultureInfo doesn't seem to have this property. Besides millimeters and inches, are there any other types used Thanks in advance. Hello, anybody home I don't believe I am the only person in the world with this requirement. Thanks. ...Show All
Visual Basic System.Net.Mailmessage Namespace
My question is that I cannot access namespace for System.Net.Mailmessage. When I type in the Imports command for the name space it gets to "System.Net." and does not show the Mailmessage part. Does anyone know why it does not I have the Framework 2.0 installed. Is there something else that needs to be installed through Windows or something Any help would be greatly appreciated. Thank you. spotty wrote: I'd check the re ...Show All
SQL Server report events
Are there report events that can trigger code. example: trigger some code to run after a dataset has been refreshed. ...Show All
.NET Development Event (OnChange) of (SqlDependency) object occur like the timers , not only on the change appear in the database
Hi I have Use this Code snippet to apply the concept of notification in SQL Server 2005 Developer Edition April CTP and Also I use VS.NET 2005 Beta2 But the problem the Event (OnChange) of (SqlDependency) object occur like the timers hundreds time not only on the change appear in the database … Why and How can stop this event to occur only when the change in the database using System; using ...Show All
Visual Studio Project.Build (string[] targetNames, IDictionary hashtable)
This code isn't working as I expected. Actually it doesn't write anything. This test is simple form of full test. In full test I used my own task that had [Output] attribute on property used for output. It didn't change anything. Engine engine; Project project; IDictionary hashtable = new Hashtable (); string documentString = @" <Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> ...Show All
Visual Basic SQL Query into Array
I have a stored SQL query that in the query builder returns a table with all of the distinct years in my database. Is there any way to put this information into an array I have been trouble using the data since the "schema" that the query returns is different than my database. Thanks! ...Show All
Visual FoxPro report export to excel differs from print preview and print
When using Visual Foxpro 8, I notice that my subtotals based on 2 report variables that calculate sums per group in the 4th data grouping are continuing to accumulate instead of resetting after each group when I export to excel but appear fine when I do a print or print preview. I tried deleting and re-adding the grouping only to get the same result. Strangely, I also notice some of my text labels have also shifted over to the r ...Show All
Visual Studio Team System How do I... (A sharing question, yeah I know... I know)
My (Sharing) needs do not include Source. We have a good sized tree and there are probably 20+ 3rd party vendors whose libs we use. We have many versions of our product that we must support. I currently have a 3rd party libs directory in the main tree of all of our products. I then share the libraries into that directory structure as follows: \prodcuct 3rdPartyLibs VendorA Protected Include Lib Public Win32 ...Show All
Visual C++ debug question with an executable file
Hello, I have made a dll project and tried to debug it with an executable file called CANoe32.exe which I have specified in the preperty settings. Whenever I start the debug a window popup with the error information "CANoe32.exe doesn't contain debug information(no symbols loaded) ". If I choose "cancel" the output window gives the following information " load CANoe32.exe no symbol loaded" "loa ...Show All
Visual Studio CreateProperty
Is it possible to use the CreateProperty task to create a property to change the evaluation of items with a condition Attached is an example. As you'll see when running it, the condition is evaluated when the file is loaded, and not incrementally. Running this script always outputs "test1.cs;test2.cs;test3.cs;test4.cs;always.cs" I tried the <Choose> construct, but that didn't make any difference. ...Show All
SQL Server (Report Model Deployment Error) The value of parameter 'DataSources' is not valid
I've got a report model I am trying to move from a development server to a production server. I published it to my development RS, exported the SMDL file, then uploaded it to the production server. At that point, I tried assigning the data source to the model and got the error: The value of parameter 'DataSources' is not valid in the browser. Looking in the logs, the following trace is there: w3wp!library!7!12/12/2005-13:23:00:: e ...Show All
.NET Development Discard changes made to datatable columns of a Dataset?
Hello, I have a windows form with several text boxes. OnLoad, I use a DataAdapter which calls a SQL sproc to retrieve it's info. The sproc returns has 3 select statements so when all is said and done, the dataset ends up with 3 tables. (table, table1 and table2) Next I use databindings.add for each of the textboxes and bind them to the appropriate column in the appropriate tables. The textboxes are readonly by default and I have an Edit ...Show All
Windows Forms error when client using clickonce install
When a client try to install an application by clickonce it receive this error:"Unable to install or Run Application. The Application Requires that assembly stdole Version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first. Please contact your system administrator" Can I do thank's a lot! I am having the same problem. VERY FRUSTRATING! Unable to install or run the application. The application requ ...Show All
Visual C# DataGrid loading password protected Access DB
Hello, I am trying to load a password protected Access 2003 database into a C# app and whenever I execute the application, it displays this exception: System.Data.OleDb.OleDbException: Not a valid password. In the developer (C# 2005 express edition) it is able to pull the column names and such. Everything works fine for a non-password protected DB. Where can I set the password to the DB in the app Thanks a lot! -freeskier89 ...Show All
