TKwin's Q&A profile
Visual Studio default 'new macro' directory
In VS 2003, when I go to the Macro Explorer, right-click on the top-level 'Macros' and select 'New Macro Project...', the default directory is "...\VSMacros71." If I change it to my preferred location, the change persists for the duration of that VS session (when creating a new macro project), but when VS is restarted the 'VSMacros71' returns as the default location for new macro projects. I have searched everywhere for this setting--the registry, the VS install directory, text files, binary files...everywhere I can think of to no avail. I found the question asked several times over the last couple of years on the newsgroups but it has never received a response. I'm hoping for a better result! Any suggestions much appreciated. Mi ...Show All
Visual Studio visual studio 2005 trial download error
When I downloaded the visual studio 2005 profession trial version , It is openinig as an image file with .img extention. Not able to install it. Any immediate help is required. please read this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=778624&SiteID=1 and go to the "Some Files are not copied during installation" section, the 3rd bullet point explains what to do once the "ISO image has been created". Actually I may edit that to include what to do your situation basically you either burn it to DVD using nero or use ISOBuster to extract the image file or use a 3rd party virtual CD tool to mount the img file in order to run setup ...Show All
.NET Development Connection Pooling not working
I have a form that has a number of database calls. It does these sequentially. In some cases it's not possible (due to archetecture more than anything) to make these calls all on the same connection. However it does open then close the connection. (all connections created are in using statements) What I'm seeing is that we're getting a timeout when the 100 connection limit is hit. Looking at Activity Monitor I can see these connections growing and growing over time in the activity monitor the more windows you open and close even though these connections are closed. (and they all use exactly the same connection string) data source=(Local);initial catalog=Evolution;password=dyknalna;user id=EvolutionUser;Connection Timeout=20; I read ...Show All
Visual Studio Express Editions Visual Web Developer 2005 Express Edition' - Package Load Failure dialog box appearing.
In addition to installing 'Visual Web Developer 2005 Express Edition', I have installed the Add-In Package 'Microsoft Report Designer'. But when I load 'Visual Web Developer 2005 Express Edition' I get a Package Load Failure dialog box appear. It says 'Package "Microsoft Report Designer" has failed to load properly (GUID = {F3A96850-E2AE-4E00-9278-8FE23F225A0D}), Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'VWDExpress/resetskippkgs' to re-enable package loading.' How can I correct this And how do you use VWDExpress/resetskippkgs command to re-enable package loading ...Show All
Software Development for Windows Vista Icons libraries problem
Hi, everyone. I've just found strange issue in Windows Vista RC1: I am trying to load any *.icl file and this is not possible. There is always strange behaviours. Everything depends on calling application type: graphic applications gives error with "corrupted file" message when I try to load *.icl file other applications gives empty display for icons loaded from library (e.g. try to make shortcut with Your icon hidden in ICL) or just shows information that ICL file does not contain any icon icon editors see no icons in *icl file (even if this file has been created just few seconds ago in the same application). There is nothing wrong with taking icons from *exe files. There is nothing wrong with tested ICL ...Show All
Visual Studio VS 2005 Access to PVCS on a Shared Volume
When one of my client's devs attempts to access PVCS on a network share via Visual Studio 2005, he experiences an error like "SEC provider running on a network share is considered a security risk" and the action is halted. Is there a registry hack or similar workaround to allow the VS 2005 IDE to proceed - Regmo Are you referring to the VS dev team that worked on PVCS integration I would need a contact alias, so any one you can point me to would be appreciated. If you are referring to PVCS (now owned by Serena), I don't believe their product is in error in this issue. The exact error message is: "Your source control provider Merant Version Manager is using rela ...Show All
SQL Server Cannot find the queue 'SqlQueryNotificationService-{guid}'
I am trying to get my application running on a customer site. They are being very picky about security on the database. What are the correct permissions to setup to allow my sql user to use the Service Broker. Currently I am receiving the following error: Cannot fin the user 'owner', because it does not exist or you do not have permission. Cannot find the queue 'SqlQueryNotificationService-<guid>', because it does not exist or you do not have permission. If I make my user db_owner it seems to work on other installs. Thanks so much, ~ Steve Based on the service name, this seems to be a SqlDependency case, isn't it Can you explain which command do you run when you're getting t ...Show All
Windows Forms How to minimize a child form and display a new child form
i have an mdi appln when user opens a new child form2, it should minimize the existing child form1 and display the new child form2 pls help me its very urgent Hi, It should be something like this: private void newToolStripMenuItem_Click( object sender, EventArgs e) { foreach (Form child in this .MdiChildren) { child.WindowState = FormWindowState.Minimized; } MDIChildForm mdiChildForm = new MDIChildForm(); mdiChildForm.MdiParent = this ; mdiChildForm.Text = "MDI Child Form " + (++formCount).ToString(); mdiChildForm.Show(); mdiChildForm.WindowState = FormWindowState.Maximized; } Hope this helps. ...Show All
Microsoft ISV Community Center Forums Help with comma separated values in report
Hi! A bit of a stuck-up. It’s no problem in creating a coma separated fields in .txt kind of file. But I have another problem which is probably simple to manage (not for me though - my brains work 24hrs/day and don’t come up with nothing). I want to show several different values from one field (in query) on the report - now check this - They have to be separated by a comma in one line. If anybody is familiar with the solution just show me the direction and I’ll try to solve it by myself. Thanks in advance Nice try - wanna..... But maybe a step closer to the solution. I'm not receiving that error but instead another : Too few parameters. Expected 1 ...Show All
Visual Studio Express Editions how to create dll for using by java
I have w.cpp file and also w.dll can be created when it is compiled. So, I have written a program in C++ and can use w.dll in my program........ the problem is this......... I want to write a program in java platform and have to use dll file I can't use w.dll file because that is created for C++ program that is not jni...... is there any easy way.......... how do I have to make changing about w.cpp which before is written........ w.cpp HRESULT CWRAPIApp::OpenNdisDevice(WCHAR *pwDeviceName) { WCHAR wNdisDeviceName[DEVICE_LENGTH] = {0}; int wNameLength, i = 0; if (!pwDeviceName) { m_hRes = E_POINTER; } else { wNameLength = 0; for ( i = 0; i < DEVICE_LENGTH-1; i++ ) { wNdisDeviceName = pwDeviceName ; w ...Show All
Visual Studio Team System Team Build over HTTP?
Coders, I have set up my instance of TFS to be available over HTTP and this pretty much works okay. I was wondering if I could set-up an Team Build server and invoke Team Builds on this machine over HTTP from the main TFS server (as in HTTP across the internet as the two machines are on seperate networks). I'm not sure if this is possible. I'm guessing there may be issues with the credentials specified to execute the build. Can someone clarify Cheers, Callum The background to the issue is as follows: I work for a consultancy and we do varied work for clients, almost always on site. Sometimes we get shackled with infrastructure which isn't really up to scratch. To overcome this proble ...Show All
Visual Studio Team System Plans for sharing project amongst team
Hello, I just tried importing my work database schema of tens of thousands of objects which went through within minutes, so well done on making the import a lot faster! I was curious as to whether a question I asked a while back has been reviewed. Basically I would really like our team to use data dude for our development, however we all have Team Developer licences (bar a couple of us who have Team Suite licences) and upgrading everyone to Team Suite or switching everyone to DBPro is not an option. All developers develop their own stored procedures, we have no 'Database Professional'. Therefore in order for us to use data dude projects, we would like to know if the scenario below is possible: 1) We have one designated 'Database Prof ...Show All
SQL Server execute SSIS package in SQL Express environment
Dear all, I have an SSIS package and want to execute it on a computer that only has SQL Express installed on it. Since SQL Express didn't brought dtexec or dtui so what should I do Sorry for my bad English... Thanks for advance, Sorry, I am a little bit confused. I am using SQL Server Developer Edition, which I believe is the same as SQL Server Express. Yesterday I was trying to find out how to do DTS in 2005 and found out on msdn that it had been renamed S QL S erver I ntegration S ervices, and whilst I could not seem to start the SQL Server Import and Export Wizard via SQL Express as outlined in the knowledge base article, I could start it from the command line by running DTSWizard.exe manually as outlined in the ar ...Show All
Visual Basic How to access the clicked item?
Hello, with wich variable can i access the clicked item in a MenuStrip I’ve tested it with MenuStrip1.ClickedItem but that doesn’t works. Please help me. Thanks. i could use your code, but i've written that i make MDI, so i have open and delete windows and so i (don't) need so much Items in my MenuBar. What could i do, in VB6 the code works, it looks like this: Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button) Dim btn As Button Dim frm As Form ' Find this window. For Each frm In Forms If frm.Caption = Button.ToolTipText Then frm.WindowState = 2 Next frm If Not (frm Is Nothing) Then frm.WindowState = vbNormal frm.Show ...Show All
Windows Live Developer Forums Required / Optional Fields for AdCenter API
I'm a bit new to using MSDN documentation, but looking through the " AdCenter API Programming Reference ", I do not see where it defines which fields are required and which are optional. For example, is AdCenterOrderItem.SubstParam2 required for a new OrderItem What about AdCenterOrderItem.BroadMatchAmt Is this documented anywhere, or do I just need to use trial and error to see which service calls are rejected (I hope not.) Also, If I do not set AdCenterCampaign.CampaignDesc on addCampaigns() I get an error code: "-600029: The campaign description is invalid or missing," but in the MSDN documentation for this property is one of the few cases where it says: "This field does not need to be set." AdCenterOrder.Status is documented as "a rea ...Show All
