Thierry Nenin's Q&A profile
Smart Device Development HTTPS Problem
Hi, My application needs to connect to an https site in an intranet. I had tried almost all the solutions available on net, but nothing works for me. I am using the proxy authentication also. My application is successfully connecting to an http site and is getting response, but when i connect to an https site it is giving error stating that "Could not establish a Secure channel SSL/TSL". Secure channel failure. When i connect to some external site on internet like http://adwords.google.com it is able to connect to it and get the response. I am able to browse that site page with the help of PPC 2003 IE. Please some body help m ...Show All
.NET Development Developing web pages
Hi, I have Microsoft Home Edition installed in my PC and I have Visual Basic.NET 2003 but I would like to develop an web application project, so I cannot because of my operating system. There is a way to install IIS or I have to migrate my operating system Thanks a lot for your help, Joanna. There's no legal way to add IIS to winodws XP home edition although there's no technical reason to prevent adding it, both the professional and home edition have the same core. Some developers have added IIS to home edition and published the way you can do so, but I don't think this is legal. ...Show All
SQL Server Help with new server registration
I am trying for the first time to learn what to do and how to use SQLServer. I am following instructions in Books on Line to make a New Server Registration. The instructions read as follows: Connecting to Servers The toolbar of the Registered Servers component has buttons for the Database Engine, Analysis Services, Reporting Services, SQL Server Mobile, and Integration Services. You can register any of these server types for convenient management. Try this exercise to register the AdventureWorks database. To register the AdventureWorks database On the Registered Servers toolbar, click Database Engine if ...Show All
Visual Studio MSBuild managed(CS) and unmanaged(C++) code
We are mostly unmanaged C++ but next release we are developing a managed component. This project has been added to our automated build running MSBuild and I get erradic behavior. Sometimes it won't build a CS component and I have to load the solution in the IDE and build it there for it to build properly. Nothing will be changed I just need to build it in the IDE Any clues on this When the project does not build in the automated build process does the build log say anything For example the skipping of some tasks. The other question is, when the process works, does the log have some information that goes missing when the ...Show All
SQL Server IN Parameter
Hi, I'm trying to do this in a stored procedure: select * from planning where userid in (71,97) I want to make the userid's dynamic. I've tried this: DECLARE @userid varchar(40) set @userid = '71,97' select * from planning where userid in (@userid) But then I get the message: Syntax error converting the varchar value '71,97' to a column of data type int. How can I do this Thanks Well, you should read http://www.sommarskog.se/arrays-in-sql.html ...Show All
.NET Development fuslogvw not working?
I seem to be having trouble getting fuslogvw to show any binding information. I've got a problem with a Satellite resource which in .net 1.1 I'd normally use fuslogvw to help me, but in 2.0 its always blank. I've set it to log failed binds to disk and changed the custom location to the root of C: but still nothing. Any ideas Did you check out the .Net framework 2.0 documentation for fuslogvw http://msdn2.microsoft.com/library/e74a18c4(en-US,VS.80).aspx Junfeng Zhang http://blogs.msdn.com/junfeng ...Show All
Visual C++ Moving CDialog with the parent window
Hi, I've searched thru the forum archives, didn't find anything related to my problem. I have this following scenario: I have three dialogs designed in the resource editor. Two of them have to be placed on the top parent dialog based on a button click. If button A is clicked, dialog1 should show up in the center of the main parent dialog window, if Button B is clicked then dialog2 should show up in the center. I have corresponding classes for these dialogs. From the parent dialog class, i'm instantiating the two child dialogs and creating them using Create(IDD_DIALOG_PAGE1,this); I'm using ShowWindow(SW_SHOW) to show the dialog. When I ...Show All
Visual C++ MFC extension DLL project with /clr option causes link error on _DllMain
I get link errors mfcs80ud.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in DllMain.obj mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in DllMain.obj The project options are MFC extension DLL /clr option (except the source file with my DllMain implementation) UNICODE character set I am using VS 2005 Std Ed. and after building a couple of times started getting the following error: Error 2 error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) mfcs80ud.lib Which seems related to earlier in this thread as a bug in ...Show All
SQL Server Setting properties in SQL Job that executes a package
I'm trying to pass the SQL JobID into my package, and I'm not having any luck. I'm unsure of the syntax, and haven't been able to find much in the way of examples. In my SQL Job step definition, on the Set values tab, I've got Property Path set to \MyPackage.JobID and the Value set to $(JOBID). In my package definition, I've got a variable defined named JobID whose scope is MyPackage, and type = String. This package has a VB Script Task. I have JobID entered in the ReadOnlyVariables property. Within my VB Script, I'm trying to access the JobID as follows: Dim jobID as String jobID = CStr (Dts.Variables( "JobID" ...Show All
Smart Device Development Search file in all folders
Hi, How to search a particular file (for example .doc) in all the folders in ppc using compact framework. Thank in advance. Hi, That's Correct. In the Desktop Application We can specify C: or D: in Specific. How would we give the input for the Directory.(not the folder name). Regards, Bala. ...Show All
Visual Basic Web Browser - VB.NET 2005
Hi, I am trying to put together a web browser in vb.net 2005 - but having problems upgrading a vb6 app. I cannot bring up the print dialog to print the html, nor can I bring up other dialogs when I was previously using ExecWB. I used this for Internet Options, Find etc....all the functionality has simply fallen away in the upgrade. From what I read, these are obselete (inc the upgrade failure msgs in the IDE). Can someone point me to an example of a complete/near-complete Browser written in .vb.net 2005 or give me an of what I can try Thanks J Mark, brilliant stuff - its definately ...Show All
Visual C# tEMPLATE CALSS LIBRARIES IN c#
Sir, I am facing an certain problem , i am trying to convert a piece of code in VisaualC# .hope some body will helpme out about this how can it be done. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// class grip: public wait<grip> { public: int make[5]; int rate; grip(int x, int y, int s, int d, int t, int v) { make [0]=x; make [1]=y; make [2]=s; make [3]=d; make [4]=t; rate=v; new=NULL; } }; // Class used to store detect ...Show All
Visual C++ Renaming a form
Hello I create a new project using Visual C++ 2005 Beta 2 (CLR : Windows Forms Application) I obtain a form named "form1" I want to rename it "main". The problem is that I obtain this message "the project is out of date" How can I resolve this problem Thanks I must be doing somthing wrong. Whenever I rename form1 I have to go through all of the source files and replace the "form1" string with whatever I renamed it to. There has to be an easier way. ...Show All
.NET Development Delay on first call to web service
As a learning experience, I've written a Windows Forms app which accesses the xmethods StockQuote web service: http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl (I'm using .NET 2.0 and Visual Studio 2005.) The (synchronous) calls to the getQuote method of the service take place in the DoWork handler of a BackgroundWorker. It takes 10 seconds or more for the first call to getQuote to complete; all subsequent calls complete much more quickly. The delay is not affected by the presence or absence of the MyApp.XmlSerializers.dll generated by the compiler. I know from accessing the same web servic ...Show All
Software Development for Windows Vista Configuring ASP.NET-hosted workflow to run under domain service account identity
Our web applications are configured to use a domain service account as the process identity for accessing databases and other network resources. We currently do this via the identity element in web.config: <identity impersonate="true" userName="MYDOMAIN\AppSvcAcct" password="password"/> I am having trouble getting workflows hosted in ASP.NET to run under the AppSvcAcct identity. The problem is that the Windows identity during workflow execution reverts back to ASPNET. This is the code I use to check the Windows identity: string userNameNET, userNameWin; userNameNET = System.Threading.Thread.CurrentPrincipal.Identity.Name; userNameWin = ...Show All
