jra2002's Q&A profile
Windows Forms ClickOnce Deployment on Clients with Framework 1.1
In deploying an application with clickonce to a client with .Net framework 1.1 the user is prompted on the install page for the prequisite to install the .Net Framework 2.0. The framework goes through the setup process and appears to install successfully but the application does not install. If the user reboots the machine and then goes back to the install page it does not prompt for the framework and then installs the application just fine. I have noticed that this only happens the very first time the 2.0 framework is installed. If I remove the 2.0 framework and go back to the install page it installs the framewok and the application ...Show All
SQL Server extended connection managers for data flow destinations?
It looks like you can only extended connection managers for data flow sources. Is there anyway to develop a custom connection manager for the SQL destination in the data flow destinations I can’t use hardcoded connection strings. I can’t use configurations because they are not encrypted. I already have managed code that will give the corrected connection string. I already have a custom connection manager that I use from the data flow sources. I just need one for data flow destinations but I can’t see a way to extend into the OLE DB The OLEDB Destination is just l ...Show All
Windows Forms Using windows control library in IE
hi, I am new to this part.I am using windows control dll in IE.My question is that Is it compulsory to have dotnet frame work installed on the client machine to be able to view the windows forms If you write it in DOTNET, you need the DOTNET framework. :( The good part is that once the framework is there, that's virtually ...Show All
Software Development for Windows Vista Workflow Editor in IE
Based on the following link http://www.syringe.net.nz/PermaLink,guid,b0170ed3-f224-490b-b746-64ee8f397e2e.aspx there is a demo that shows how to edit running workflows in IE. Although I read the comments, I cannot find the link for this cool demo. If anyone knows about this cool demo and/or tool, please reply ASAP. I would like to review the links to this demo/tool, if this comment is really true. Sincerely, John Portnov John, James Conard gave a webcast that featured this demo. The webcast shows off some prototype activities for WCF that allow you to send and receive messages using WCF directly from within ...Show All
Visual C++ a BUG in VS 2005
hello i detected a BUG in "VS 2005 Team Edition". when i create a EMPTY Win32 console application, write a simple "Hello world" program, and build it, i found it will use two MFC DLLs: MSVCR80D.DLL MSVCP80D.DLL (The "Use Of MFC" option is "Use Standard Windows Libraries") BUT, if u set the "Use Of MFC" option to "Use MFC in a Static Library", Apply, and then set the "Use Of MFC" option back to "Use Standard Windows Libraries", the program will needn't that two DLLs. BECAUSE, u will detect a new line in the .vcproj file: UseOfMFC="0" Just open a bug on http://lab.msdn.microsoft.com/productfeedback/def ...Show All
Visual Studio Express Editions VB + SQL server vs Access
I am very new to programming etc so I may be misunderstanding the situation, but my question is this: VB.Net Express is a programming language which comes with database functionality via SQL Server Express, whereas Access is a Database which is programmable via VBA. So, if one is developing a (fairly simple) database based application what are the pros and cons of using one set of software tools versus the other Thanks for any insights. Eric I never did program in VBA or VB6..... I do have a History though but History is History...... VBA, VB6, Access Data bases, Arrays, Etc. are History.... Why Persist ...Show All
Visual Studio Email on failure
Is there a way to "trap" an msbuild error so that you can send email via a task to let folks now there was a failure Doh! I completely missed the <OnError> element altogether. Thanks for the pointer. ...Show All
SQL Server Native Client connection to MSSQL 2000
For MARS support in SQL Server 2005, I'm changing our OLE DB code to use Native Client. My understanding is that Native Client should support SQL Server 2000 as well. When I point my DBPROP_INIT_DATASOURCE to a 2005 instance, everything works great. But when I point to a 2000 instance, the IDBInitialize->Initialize() call is crashing with a bounds violation. In my test case, the only change I made was in my coCreateInstance from this: ::CoCreateInstance(DBIO_CLSID_SQLOLEDB, NULL, CLSCTX_INPROC_SERVER, IID_IDBInitialize, ( void **)&m_handles.pIDBInitialize); to this: ::CoCreateInstance(CLSID_SQLNCLI, NULL, CLSCTX_I ...Show All
Visual Studio Team System Work Item Details Report
Imagine I have a report (on my Reporting Services server) that show a list of work items (e.g. enhancement requests) filtered by some condition (e.g. with state "Assigned to Analyst" ), and the main report's field, Title , is marked as EnableDrilltrough = True in the appropriate report model. So when I view the report I can click one a work item's title to see... an almost blank page with the only heading "Work Item" - I suppose the heading the the appopriate table's name in my TFS Warehouse database, and I need to see a work item's details (a sort of details report) - how can I do this How can I create such a report (sim ...Show All
Windows Forms Windows Firewall Blocks ClickOnce Deployment (via IIS)
On Windows XP SP2, I'm publishing a ClickOnce application onto my local PC that is using IIS. If I disable the Windows Firewall on my PC, I can access from another PC the http://MyMachine/MyProject/publish.htm page with no problems. If I enable the Windows Firewall on my PC, the other PC cannot access the web page. What do I need to enable in Windows Firewall to get this to work I don't want to have to turn off Windows Firewall altogether... Thanks! Wow, it was as easy as opening port 80. Thanks! (I should really have known that, but for some reason I thought port 80 was already open...) ...Show All
SQL Server Displaying the output horzontally (Related to KB Article 875518)
Hello, I'm trying to do the following in my report: I have a list in the group header of a table. Within the list there is a matrix, which is used to display the output horizontally. When I view the report in PDF there is a blank page after each page with data. The blank page is appearing because the list is growing unexpectedly. This issue was reportedly fixed in Service Pack 2 (see KB article 875518 - http://support.microsoft.com/kb/875518/ ). I have installed the service pack (and verified it), but this problem is not yet fixed in my existing report, or any new ones I create. Can someone please help with this issue Thanks. ...Show All
Visual C++ Mixing Templates and Generics
I think I've raised this questions a couple of times and the first time some three years ago - and have never got a real answer. Why does the language disallow mixing templates and generics. What's wrong with: template < typename T > value struct outer { generic < typename U > void foo(); }; or generic < typename T > ref struct outer { template < typename U > void foo(); }; And in case you wonder, yes I really wrote some code which exactly does that and I don't think it's hard to think of examples. -hg What would the IL representation ...Show All
.NET Development How to:using TCP/IP and SSL in .NET?
Hi, All I am developing some custom Point-of-sale system, that requires handling the payments by credit/debit cards. The company provider of the payment services says that to process the credit cards we need to do the following: 1. DNS lookup and locate the gateway IPs. 2. Communicate to the gateway via TCP/IP/SSL (request/response). I actually came across this issue at first time in my programming life, never had to work on such low level before :))) They are suggesting using OpenSSL, but as long as i know this library is for Unix. Is there a simple (as simple as possible) way to setup TCP/IP connection with SSL in .net Framewor ...Show All
Windows Forms How to kill application?
My windows form starts like this: [STAThread] static void Main() { My_App ma = new My_App(); Application.Run(ma); } When I get into the "ma" class, I check to see if the user is online. If he is not, I just need to kill the whole app. However, I'm having trouble killing the main form from my "ma" class, so the user just sees a blank form on the screen. Any ideas thanks for any help. To kill an application: Application.Exit(); you could also do this.Close(); which would close a form you could also raise an event in ma to a ...Show All
Windows Forms Can't anyone help me with this? - "..timeout period elapsed prior to obtaining a connection from the pool..."
I posted this problem but no one responded. I figured I'd try one last time. I'm having a wierd problem. I've been using Visual Studio.NET 2003, and writing an app that up to now has been working perfectly. All of a sudden an error comes up and have no idea what it means or how to stop it from happening. The error is: "Timeout expir ...Show All
