Bai hao's Q&A profile
Visual Studio 2008 (Pre-release) X509 certificate chain building failed
Hi, I have an WCf application, consisting of a Client and a server (same machine). Everything worked well on Win2003 Server with the Jan CTP. Now, I tried to start the appplication on a WinXP SP2 plattform using Feb CTP. After eliminating several Compiler Errors, the Server and the Client started. But the client cannot connect to the Server because a SecurityNegotiationException occurs on ClientSide while executing the first ...Show All
Windows Forms Ambiguos error...
Hi all. I have very strange problem and make me crazy. I don't know what it is. This is the code: int id, n=0; this.treeView1.TopNode.Nodes.Clear(); for (int i = 0; i < ApplicationState.GroupCount; i++) { id = Convert.ToInt32(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GID"].Value); this.treeView1.TopNode.Nodes.Add(xml.xmlData[0].ChildNodes[1].ChildNodes .Attributes["GroupTitle&quo ...Show All
Visual Studio Tools for Office Saving word doc silently
From within a word doc project in VSTO, I am trying to create and save a word doc to the server without starting an instance of word. Something like this: Private Sub ThisDocument_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup Me .Range.Text = "Hello World" Me .SaveAs( "C:\Temp\WordDocTest.doc" ) End Sub Running this in my local visual studio projec ...Show All
SQL Server XML Bulk Load Error Trap
Is there a method to trap XML BulkLoad errors other than the error file - specifically, a way to insert the log into a table Thanks in advance! ...Show All
Visual C# C# and MFC
I'm just wondering if you will be able to use mfc in c#.. I'm new to C# and evaluating if it is possible to port old MFC programs to C# compiler and then program new UI under C#. 1. I heard that C# is good to do UI program, is it true 2. Is C# program portable everywhere 3. Is C# supports MFC programs Thanks // I'm just wondering if you will be able to use mfc in c#.. No. 1 - yes, WinForms is a good f ...Show All
Visual J# microsoft word documents
Hi, I'm trying to make an aplicarion that modifys a word document (plantilla.doc). I'm changing it byte to byte, but then I need cange its length. Is there an easyer method to do that It's not Word, but here is an article I have written about Excel and J# automation. I hope this will give you an idea what it's all about. The performance is extremely bad, and you can't use it on a server. The only solution to the performance issue is to use ...Show All
Visual C++ Copy contents of int to float
I'm trying to copy the contents of an int variable into a float variable... In native code I could just do a memcpy, but I'm having trouble figuring out how to do it with the new .NET code in Visual Studio 2005. So for example, I have an integer value of: 1073741824 or 0x40000000 in hex, and I want it to copy it into a float variable thus having a value of 2.0. Basically I want to preserve the bits, but have the variable be a different type. I d ...Show All
Visual Studio Team System "The process cannot access the file" during GET
I get the following error everytime I do a GET (latest or specific): C:\Q3\webroot\aspnet_client\aaa.js: The process cannot access the file because it is being used by another process. I get the same error in the output window with multiple files... Some files are placed in my workspace correctly but the ones with this error are missing. (I'm using Beta 3 refresh) Something is apparently holding the file open, and source contro ...Show All
Smart Device Development Is it OK to post an old EVB question here? How to execute of *.vb program from CMD?
I can't find the EVB forum. Is it gone I want to execute a program I wrote with EVB, but not in the normal way. I have a telnet server on the PPC 2002 and CMD. When I try to execute it I get an error that it "doesn't know how to execute" the *.vb program. Is there a way to let it know it's a VB program and to act accordingly I can execute the program from File Explorer. ...Show All
Visual Studio Can't use MSDN outside or inside VS2005(by press F1)
Dear All, I recently installed VS2005 with Document Explorer and MSDN. But when I start MSDN out of VS2005, I got error message like "Can't open Document Explorer, path ms-help://MS.MSDNQTR.v80.chs is invalid." If I press F1 in VS2005, the help updating dialog appears and after a few minutes there will be an error message from Windows XP indicate that the Document Explorer has error occured and will be closed. But the ...Show All
Visual Studio Tools for Office how to permanently delete mails-- Urgent
Hi, i'm working on outlook mail programming. My problem is i want to get the objects of email fields, e.g. in "To..." section where we type email address , i want to get the object of that text box so that i can easily access the text(or email address) in my code. Such like that in "cc...", "Subject", "Body" ,I want their objects too. Actually i'm making ...Show All
Smart Device Development Deployment project questions
I would like to do the following in a CF deployment proect: 1) Add the program to "Programs", the "Start Menu", and "Startup" -- It seems that I should add these "Special folders" to the "File System on the Target Machine", but what do I add to those folders to actually get the program reference to be poperly added 2) I'd like the "Application Folder" not to be directly in "\Program Files" so I set the property "DefaultLocation". This d ...Show All
Visual Studio Master-Detail Reports
Is there anyway to do a Master-Detail report with a separate table for the Master data and one for the Detail Crystal Reports does this, as crappy as Crystal is I'd hate to lose something. There is a sample of this report design at www.gotreportviewer.com ...Show All
Visual C++ error LNK2019, how do i fix it?
this is the code im using, when i goto build it i works fine then as its about to finish i ge tthe LNK2019 error, why #include <iostream> int main() { using namespace std; int carrot; cout << "how many carrots do you have "; cin >> carrot; cout << endl; carrot = carrot - 2; cout << "cruch crunch, i ate somse of your carrots. you now have " << carrot << " carotts" << endl; ret ...Show All
Visual C++ Python Makefile Actions failing
The following Python script: from subprocess import * Popen("notepad",stdout = PIPE) executes as expected when run from a command line. However, if I setup a makefile project action to invoke the script, I get an error when I try to build/rebuild/clean the project: Performing Makefile project actions Traceback (most recent call last): File "c:\Documents and Settings\Josh Petrie\Desktop\basic\trunk\bs\test.py&quo ...Show All
