jimcjr's Q&A profile
Windows Forms How to get Authenticode to work with ClickOnce???
We are unable to use the clickonce "Run" button unless the "Run components NOT signed with Authenticode" is set to enabled in IE. However, we have a good digital signature on setup.exe. The problem is that the "Run" link in the published html file is actually pointing to the Application Manifest file, not setup.exe. According to the MS SignTool.exe, the Application Manifest file is NOT a file type that can be signed with Authenticode. Only file types like exe, dll, etc... To add to the confusion, in the Click Once settings under Signing, our certificate is selected next to the checkbox that is labled, "Sign the ClickOnce manifests". How do we sign our ClickOnce application so that Internet Exp ...Show All
Visual Basic VB Screen Sharing
I'd like to write a program that allows me to work on my PC from other PCs in our LAN, or over the internet. (a kind of screen sharing app). I think it would be fairly easy by sending compressed images over TCP to the guest, then having the guest sending input back to my PC. So how do I: Take a screenshot Compress it to a small JPG Send it over a TcpClient connection Thanks in advance. OK i made a memorystream, and checked if an image was about to be sent like this: Dim bytes(client.ReceiveBufferSize) As Byte client.GetStream.Read(bytes, 0, CInt (client.ReceiveBufferSize)) Dim clientdata As Char () = Encoding.ASCII.GetString(bytes).Trim( "" ).ToCharArray If clientdata = "Beg ...Show All
SQL Server limited connections on the developer edition
hi all, I installed sql server developer edition on xp box. created a new ssis project and then when i right click on control flow then click new connections i see only limited connection available. how can i install the other connection option such as oledb. etc. thanks joey ...Show All
Windows Forms .net 3.0 and limiting 1.1 written code to 1.1 framework only
Hi, I have a .net 1.1 written salon software system that has been working fine for a year, I have extended this system by writing small .net 3.0 XAML .exe components and calling to them using Process.Start. Now a customer reports an error in normal use, fine normally, not while triggering but I am unsure if 3.0 XAML .exe's have been running or not. (ERROR IS: System.InvalidOperationException: Handle is not initialized.) This is new and only since I install the final release version of .net 3.0 frmwrk to get the XAML extensions working. This has obviously installed the .net 2.0 framework and it is possible that my 1.1 written assemblies are using 2.0 frmwrk which they dont seem to like. My question is, even though 1.1 frmwrk is ...Show All
Visual Studio Team System Ignore timestamp columns in data compare
I am trying to use the data compare tool in CTP7 and want to know if there is a way to tell the compare tool to ignore timestamp columns. We use timestamp columns to control data concurrency. These columns being controlled by the database engine are not part of our application data and therefore are not needed in the data compare. The data compare is unnecessarily reporting records that need to be updated just because the timestamp is different. If you are asking whether there is a general on / off for all timestamp columns, there is a setting in RTM - Tools -> Options -> Database Tools -> Data Compare -> "Include timestamp columns" that you can unselect (along with other options). I assume it was in CTP7 ...Show All
Windows Forms DataGridView -- deny user ability to resize column headers?
I'm amazed I even have to ask this question, but try as I might I can not find a way to make it so that the column headers are not resizable. Is this possible Currently the user can click and drag the lower edge of the column header and make it any size they want. I do not allow the user to resize regular rows, apparently this does not apply to the column header row though. Yeah I feel dumb. I just found it It's actually ColumnHeadersHeightSizeMode, set it to DataGridViewColumnHeadersHeightSizeMode.DisableResizing to lock their size. Thanks! ...Show All
Visual Studio Team System TFS Error 28925 during installation ?
Hi, I'm trying to install a TFS on a workgroup, so single server (Win2k3 with SP1). IIS, SQL 2005 (using Local Service) and Sharepoint are successfully installed on the server (including the .net2 hotfix and reports server hotfix given with the CD). Then, I have created two users : TFSService (member of Users on the server) and TFSReports (member of Administrators on the server). Now the last step : installation of TFS. Unfortunatelly if doesn't work. During the installation, I have this error : Error 28925. TFServerStatusValidator:Calling the Team Foundation Server ServerStatus Web service failed. When I'm checking the log file, I found this : 09/06/06 17:57:03 DDSet_Status: Commandline '"D:\Microsoft Visual Studio 2005 Team Foundation ...Show All
Visual C++ warning C4273: 'MyClass::MyMethod' : inconsistent dll linkage
Hi - I'm cleaning up some code and would like some feedback on link warning C4273. Here's the scenario... I'm referencing unmanaged code in a C# win app via a C++/CLI wrapper. The wrapper wraps an unmanaged Win32 dll. So I have 3 apps - MyCSForm.exe, ManagedWrapper.dll, unmanaged.dll (and .lib). The warning occurs in the ManagedWrapper.cpp code as follows: ManagedWrapper.hpp class __declspec(dllexport) ManagedWrapperClass{ public: bool myMethod(); } ManagedWrapper.cpp bool ManagedWrapperClass::myMethod() { /*call unmanaged code */ }; // C4273 warning here. The unmanaged.dll also has its classes declared with __declspec(dllexport). I reference the unmanaged.lib in my linker. The ManagedWrapper.dll is inclu ...Show All
Visual Studio Express Editions Beginner's Query: Compiling .cpp files.
It is my understanding that Visual C++ Express Edition comes with it's own compiler. The documentation says as much. I am a new user, having only an hour or two ago downloaded Visual C++ Express Edition. I have some familiarity with OOP, none specifically with C++. As I am just getting started with C++, I have pasted in the source code for a simple 'Hello World' program. Grappling with the interface for ten minutes or so, a 'Build' menu finally, and inexplicably, appeared in the menu bar. From there, I can choose to 'Build Solution'. This appears to compile the project, or else performs some meaningless work for no reason apparent. One thing I am now quite certain it does NOT do is compile my program. It merely compiles a report, ...Show All
Software Development for Windows Vista While loop only executes once
Hi I want to use the While activity in a workflow I'm developing, however I have the following problem. The the first time the while loop condition is evaluated it returns true so the contained activity should be executed (I have a code child activity that just writes to the console). However the code activity is not executed. The workflow is persisted and then nothing else happens. I've been looking at the WhileAndParallel sample program to see if I'm missing anything. This runs fine as supplied. However if I move the workflow into my host and execute it there, the same thing happens - the loop condition evaluates to true and then the child activity is not executed. Is there something obvious that I could be doing in my host t ...Show All
Visual Studio Team System how to enable Web Test template
I was trying to create a Test project for load and stress testing for web app. When I tried to record a web test via Test --> New test --> "web test" template was missing. Please advise me how to configure or Add "web test" template so it will available as above Thanks in advance, CNP Hi, please find below information about the product Microsoft Visual Studio 2005 Version 8.0.50727.42 Microsoft .NET Framework Version 2.0.50727 Create a project in Microsoft Visual C# 2005 --> Test --> Test Project. and the other two templates available to me in Test menu are Test --> Add New test --> Ordered test & Unit test. Thanks, CNP ...Show All
Visual Studio Team System Performing a merge using the API
Hi, I'm writing an app which needs to perform a merge operation between two branches using the API. I could not find the way to do it. How would this be done is there a code snippet demonstarting this Thank You, shay Oops. I didn't realize AlwaysAcceptMine actuallty means discard. Probably my bad english... :-) I tried again with MergeOptions.ForceMerge & MergeOptions.None and it seems to work but in the returned GetStatus I got: NoActionNeeded=false NumConflicts=20 NumFailures=3 What does that mean If there are conflicts or filaures, I do I resove them I would like to perofrm a no-brainer, forced merge from source to the target, overwrite if needed. How do I do that ...Show All
.NET Development Avoid initial request delay in web service
Hello, i have a problem with deal with web services. when the end user make the first request to the application, the application take long time to response to the request, but after the first request the application work as normal. my problem is the initial request to the web services, thanks for your help. Hi IIS 6 by default unloads the worker processes that have been inactive for 20 minutes. The way to change this setting in IIS 6 is: 1. Open the IIS manager Snap-in and expand the local computer 2. Expand Application Pools 3. Right Click DefaultAppPool and select properties 4. Select the performance tab 5. Uncheck the checkbox “Shut down the worker proce ...Show All
Visual Studio files LOST after error message in VS2005
I was using the Sourcesafe 2005 within VS2005 (plug-in). One day, an message came up saying there was an error and I needed to contact my Sourcesafe administrator. It was a plain and simple dialog box without any options expect "OK" and "Cancel" The next thing I know all my checked out files were replaced by original files before they were checked out! Basically I had lost everything I did up to that point! Fortunately, I was able to recover the files from backup. But can anybody tell me why this happened so I can prevent next time Thanks! Chirag Error messages in SourceSafe that tell you to contact the administrator appear because of database corruption. And there is an informationa ...Show All
Windows Search Technologies PDF FIlter installed but WDS not seeing it
I have the Adobe PDF Ifilter 6.0 installed. Just went to options and file types and this filter is not found I know I saw it in here when I upgraded to this filter. Perhaps install of TR update to Office 2007 broke somehting. Will try to reinstall and see what happens. This is actually due to a problem with the Adobe PDF IFilter that makes it incompatible with WDS 3.0. Adobe is working on a fixed release - I don't know exactly when it will be available though I hope soon. ...Show All
