Answer Questions
Rascal123 Using Adobe ActiveX control
I have placed an ActiveX PDF control (the Adobe Reader OCX) on a .Net Windows form and set the .src property to the location of a PDF file on the internet. The control displays this file just fine when the application is run. However, when I add a button to change the src file (to be displayed) with a single line of code in the button click event as shown below: AxPdf1.src = "http://www.somewebsite.com/somefile.pdf" ....I get the following error: AccessViolationException was unhandled: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Does anyone have any idea what the problem is here Also, I want to be able to print the PDF file programatically without any user intervention ...Show All
Kartit Load test with Unit Test
Facing the error when trying to run the load test. Error Description :Error LoadTest1 TestProject1 (Computer Name) Could not access the load test results repository: The number of rows inserted or updated by an operation on the results repository (1) did not match the expected number (-1) . Tried setting up the store repository using SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql as I am using the Sql Express. Provided the correct connection string using the "Administer test Controller" yet not able to run the Load test. Help on this highly appreciated. Thanks, Mazzie In the Administer Test Controllers dialog, what does your connect string look like, and does ...Show All
Pedro DM Null Reference Error
This is still being a problem for me. Public Shared Sub loadcw( ByVal vary As String , ByVal num As Integer ) Dim tmp As CheckBox Dim tmp2 As CheckBox Dim tmp3 As TextBox If vary = "C" Then tmp.Name = "C" & num tmp.Checked = True ElseIf vary = "W" Then tm ...Show All
Jordanspringer BUG: Certain extended properties won't add
These were all from one table and were added to ScriptsIgnoredOnImport.sql EXEC sp_addextendedproperty N'MS_Description', N'Instructor Created Homework Assignments', 'SCHEMA', N'dbo', 'TABLE', N'homework', NULL, NULL GO EXEC sp_addextendedproperty N'MS_Description', N'user_id of creator', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'creator' GO EXEC sp_addextendedproperty N'MS_Description', N'0 - type A 2 - type B 3 - type C 4 - External', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'homeworkformat' GO EXEC sp_addextendedproperty N'MS_Description', N'0 - type A 1 - type B 3 - type C 4 - type D 5 - Unknown', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'exerciseformat' Nothing about them stands out that I can see a ...Show All
Steven Cardinal Custom shaped buttons
I've made a form that has a custom shape and now I'm wondering if I wanted say a round button, do I have to do the same thing or is there a proper vb way You can simply draw your custom shape on the designer surface of a User Control and have the UC inherit from the button...one way to go about it DMan1 wrote: You can simply draw your custom shape on the designer surface of a User Control and have the UC inherit from the button...one way to go about it Whats the designer surface of a user control hey thnx for the info but i really didnt understand what should i do i use VWD express edition to make a web application with VB i did what was req. in t ...Show All
detzX Build fails with: The binary form of an ACE object is invalid
I can't seem to get team builds to work at all. They fail with "The binary form of an ACE object is invalid" but, there's no indication of which ACL has an invalid ACE. Any ideas The complete log is: Build started 7/22/2006 8:51:35 PM. __________________________________________________ Project "E:\Checkin\JAMS\Checkin\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='Checkin_20060722.3' DropLocation='\\MVP\Cmn\Kits\Checkin\Checkin_20060722.3' C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(165,5): error : The binary form of an ACE object is invalid. C:\Program Files\M ...Show All
Arska Error including file
hello, i’m trying to use Java Native Interface(JNI), and i trying to compile a file .c in the console using " cl -LD HolaNativo.c -Fe libHola.dll ", but when i press enter, this error is show: HolaNativo.c(1) : fatal error C1083: Cannot open include file: 'jni.h': No such file or directory but i have include the path of jni.h in visual c++ 2005 and i don’t know what it’s happend. can someone tell me what can i do no it doesn’t , but i have set it now, but another problem: C:\fuentes\codigo>cl -LD HolaNativo.c -Fe libHola.dll Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. cl : ...Show All
graab Import change history into TFS
For the migration to TFS we have exported all defects from our current defect tracking system and want to import this in TFS. This export also contains all change history for each defect (date changed, changed by, field change values). Is is possible to import all this information into to TFS, so we could still query for the change history of fields of these imported items Thanks. Not happy to hear this. Is there any other way to get this data in TFS Direct access to the dbase, maybe Thanks. I do not completely understand what exactly you mean with "have a relaxed rules in xml". Maybe an example may clarify things. Below is a (shortene ...Show All
ps1terry Performance Problem #2
We've got a project with 3200 objects. The project contains about 10 errors. When we attempt to double-click on one of the errors to bring up the file, Visual Studio will hang for anywhere between 3 and 10 minutes. The Task Manager shows 'devenv.exe' consuming about 90% of CPU resources for this entire time. We're using the RTM version of DBPro. Amos. Amos, If I thought we had an alternative, any alternative at all, then we would have changed over 3 weeks ago. Unfortunately we have altered our work processes in order to work better with DBPro, and changing them again would be disastrous for our current product release schedule. However, the way things are going, and the way the schema is growing, I ...Show All
wencey Each build does an entire get latest
This will add a bunch of time to my builds since I have a ton of build projects. Is there any way to specify that I would only like the selected sln's to be retrieved With these mappings, you should end up with the contents of $/TeamProject/Binaries, $/TeamProject/Binaries/ThirdParties, and $/TeamProject/Source/Common all in your $(SolutionRoot) directory (which will be something like <BuildDirectory>\<TeamProject>\<BuildType>\Sources). Perhaps you are looking for the contents of the binaries directory in $(SolutionRoot)\Binaries If this is the directory structure you are looking for, you would want to just map $/TeamProject and then cloak whatever you don't want mapped. Something lik ...Show All
wheatforreal Cutting off the branch one is sitting on - is it really possible?
Hi. One of our project administrators removed the "Inherit security settings" on a folder in Source Control, and clicked the "OK" button before adding any groups or users in the "Users and groups" section. No warnings or errors was displayed. Now he's not able to see this folder in the Source Control Explorer - fair enough, as he has no access to that folder. I'm able to view the folder, as I'm a server administrator, so I opened the Security tab and added the "Project Administrators" to "Users and groups" in order to give him the possibility of correcting the error. But trying to do this I get an error stating that I need "ProjectAdminRights" for that folder. Same mes ...Show All
cwest How to tell is Capslock is on
Hello Ive noticed that in word, it shows in the statusbar if capslock is off or on. How do i go about doing this also any ideas on scroll lock and num lock Thanks v. much, James so cant vb actually detect if capslock is on I just want to know if caps is on or off, when i press a button by it displaying a relevant message box like button1.click if (capslock.ison=true) then msgbox ("caslock is on") else msgbox ("capslock is off") end if thanks While we're on the subject how would i get a messagebox saying 'capslock on' or 'capslock off' to appear when i press a button: so it actually detects if capslock is on or off Thanks again yes its in C# you can ...Show All
Dallastower "This project is out of date" on Debug Immediately After Successful Build
When I try to run my application with the debugger, I get a pop up which says: Visual C__ 2005 Express Edition This project is out of date: ProgName - Debug Win32 Would you like to build it [Yes[ [No] [Cancel] [ ] Do not show this dialog again I find this somewhat bothersome, because the very last thing that I did just before that was build the application. And the build did complete successfully (immediately before I clicked on Start Debugging -- F5.) Nevertheless, I've debugged the application and it works OK. But is there a solution to this annoying pop-up Dan There seems to be a problem in VS 2005 where it always thinks that any makefile based project is out of date. Selecting "do ...Show All
Vibhu Bansal How can I create a stand-alone exe in Visual C++ Express?
Hi, I am new to using Visual C++ and am trying to find a way to create stand-alone applications with it. What I mean by "stand-alone" is that the client machine would not need to have the .Net framework installed in order to run it. I'd like the program to be able to run from a pen drive. Is this possible to do with VC Express Any help would be greatly appreciated! Sorry for double post i got an error the first time :( I need help on this matter too. I just want to make a simple program that i can take to school on a usb to show friends. I though c++ could make standalone .exe files easily Any help would be great. You shou ...Show All
JRab Use Rename Refactor to change the schema/owner of an object
We have recently upgraded our SQL Server databases from SQL2000 to SQL2005 and would like to take advantage of the schema functionality in SQL2005 by reorganizing our database objects (tables, views, functions, stored procs) into various schemas. My understanding is that what in SQL2000 was considered the owner is now the schema of an object. Therefore all of our objects were previously associated with dbo as the owner and in SQL2005 now appear with dbo as the schema. Is it possible to use the rename/refactor functionality in VSTE for Data Pros to change the schema of an object from dbo to something else and then preview/execute changes to all locations that are referrring to the object I just had ...Show All
