Raven25's Q&A profile
Visual Studio 2008 (Pre-release) Odd problem when passing an array using a callback
Is there any problem is attempting to have a callback method that has an array as argument public interface class ISomeCallback { [OperationContract(IsOneWay = true)] void OnSomeEvent(array<int>^ pNumbers); } I find that this works fine as long as the array is under 550 in length, but if the array is bigger, then the call never completes, it just hangs. Both server and client hang! Anything I am doing wrong ...Show All
Microsoft ISV Community Center Forums What version of Team System do EmpowerISV members get?
Current MSDN Universal subscribers get a free upgrade to their choice of one of the Team editions of Visual Studio 2005 when its released. What about current EmpowerISV members And what will future members get I'm planning on joining the program, but I want to be sure I know what my team will be getting long-term, especially as it relates to Visual Studio Team System. added my commens t ...Show All
.NET Development Reading XML-Document to console
Hello, I am reading in VB.NET 2005 a xml document with following code: Dim document As XmlDocument = New XmlDocument() document.Load( "Customers.xml" ) Now I want to display the whole data from the xml document in my console. Can you offe me some code Thank you! Or better document.Save(Console.Out); this is better because XML here is being written node by node while do ...Show All
.NET Development The best way to connect to a access database
Hi. I am using vb.net 2005 prof. When i connect to a database (access) with a datasource (the build in way), and the program are running, it seems like it takes forever to load the database. Is VB really loading the intire database to memmory That would be a problem if it's at realy big database. I have changed the code, so i connect programmaticly and it is much faster, but why does vb load the entire database I was realy exited when i st ...Show All
Smart Device Development Convertion issue on embedded vc++ 4.0
I have an application in evc++, i need to read text file and return what i have read. The problem it’s that in the debug mode i see the text in the file under &strSN and i need to return CString (strSN it’s TCHAR). I don’t know how to convert it. Please HELP!. Thanks in advance. Guillermo. HANDLE hInFile; TCHAR strSN[65]; DWORD dwBytesRead; GENERIC_READ,FILE_SHARE_READ, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0); hInFile = Cr ...Show All
SQL Server I TRIED THE PACKAGE AND IT FAILS ALL THE TIME
I think I am missing something, and this something I could achieve with Enterprise Manager. How do I copy one object, lke a table, including primary keys, indexed and triggers, plus data, from one SQL Server to another, or a set of tables I am at a loss. Of I choose "Copy Data", that is not the same because the table data is copied, but nothing else, not even the primary key gets transferred. So the arriving table is --quite frankly-- usele ...Show All
SQL Server Row Count - Variable Name is Case sensitive
I defined a variable called "NoOfRecords" for a Data Flow Task and within the Data Flow Task I am outputting records from Flat File to RowCount before doing anything else. I typed Variable name as "NoofRecords" in Advanced Editor for Row Count and it didnt like it. It gave the following error. Error at Load Customers[Row Count [138]]: The variable "NoofRecords" specified by VariableName property is not a valid variable. Need a valid variabl ...Show All
Visual C++ Help, No Symbols Loaded
'MP.exe': Loaded 'C:\Documents and Settings\Giancarlo\My Documents\Visual Studio 2005\Projects\MP\debug\MP.exe', Binary was not built with debug information. 'MP.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'MP.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. The program '[2928] MP.exe: Native' has exited with code 1 (0x1). this comes out every time i debug my program, can anyone help me ...Show All
Visual Studio QueryStatus() isn't called until running a command for the first time
Hi, I am writing an addin to VS 2005. I added 2 commands to the project context menu. I have a code in QueryStatus that controls the status of these commands. the problem is that QueryStatus isn't called until the first time I run one of my commands. after the first time QueryStatus is called whenever the menu opens, which is the correct behavior for me. I put a System.Diagnostics.Debugger.Break() in QueryStatus to verify when it is cal ...Show All
Visual Studio setting login when using xml file as database?
I have existing xml files that I'm loading into my report. I am NOT using any datasets. I still get login prompt on client installed program. How do I set this or get around it for anyone wondering the solution is to set the authentication mode in the project properties>application tab to "Application-defined" rather than "Windows". Not sure if this will impact anything negatively or not though. I do use a w ...Show All
Visual C# What is a Hashtable?
Hi, Can anyoane explain to me what is a hashtable Thank you, Hashtable is a member of System.Collections which is a collection of key/value pairs that are organized based on the hash code of the key. Read more about it on MSDN: http://msdn2.microsoft.com/en-us/library/system.collections.hashtable(VS.80).aspx ...Show All
.NET Development monitor
Hi, I would like to write a little program which monitors a specified Service, and if it isn't running, starts it how is this possible please Thanks Hi You can use the ServiceController object to query the status of a service and start it if it is stopped. The following example checks the status of the Messenger service and if it is stopped will start it. This requires a reference be made to the System ...Show All
Microsoft ISV Community Center Forums Access 2003 VB code does not execute in form
In my very simple Access 2003 db, none of the VB code will execute, whether automatically generated or written by me. No errors are displayed, it is just that nothing happens. The problem kind of comes and goes - if I wipe out all code and rebuild the form, it will work for a little while. Has anyone seen this Thanks, Mike These forums are for VB.NET questions. It sounds as though you are tryi ...Show All
Smart Device Development Debuging EVC4 with microsoft device emulator 8....???
i am using EVC4 (EVC4.00.1610.0) to generate app. how can i instruct EVC to use "Microsoft Device Emulator 8.0.50215.35" for debuging insted of the emulator that came with PocketPC2003 SDK Easy! Launch the Device Emulator, then use the Device Emulator Manager app to cradle the emulator instance. Then configure eVC to debug/deploy over ActiveSync. Barry ...Show All
SQL Server Hexidecimal error updating report
Attempted to browse out to an updated .rdl file to update an existing report and received the error: "Hexidecimal value 0x13, is an invalid character...." This report has been successfully deployed in a test environment. What would cause this and how do we correct it thanks! Martha ...Show All
