JockeOlsson's Q&A profile
Software Development for Windows Vista Vistas not so Bling BlinGone
From the very start you are faced with what looks like a dos prompt, no windows logo just a 'copied black animated gif' what has Microsoft been doing, no Windows Vista 2007 logo. At least their is welcome change in the logon screen, it is improved from Xp’s. ...Show All
Visual C# How to reference GAC assemblies using VS2005- how funny is this.
I've just discovered how I add a reference to an assembly in the GAC from a C# solution using VS2005. I find it rather incredible that it is this difficult to do. And I really don't think I've missed anything here. 1. Go into Registry and disable the GAC cache viewer: HKLM\SOFTWARE\Microsoft\Fusion, DisableCacheViewer- set to non zero. You have to do this as the cache viewer prevents you from copying assemblies out from the GAC. 2. Go into the GAC folder and copy the assemblies you want to reference to somewhere else on your machine. 3. Add the reference from your solution by browsing to the copy of ...Show All
Visual C# How to import a dll made in C++ Win 32
Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Thats simple.. u have to use System.Runtime.Interopservices in your main class: do this: [Dllimport("the dll path")] public static extern void nume_of_function(string t\his_params); Remeber that you have to adapt to c++ parameters.. ...Show All
Software Development for Windows Vista Any plan to support C++ or Managed CLI/C++ for the activity coding ?
Any plan to support C++ or Managed CLI/C++ for the activity coding Thanks. It is possible to do this now as the workflow runtime supports all CLS languages. However there are no plans for designer support of C++. This just means that you have to write your C+ activities in code without drag-drop composition support. Go for it. ...Show All
SQL Server SELECT in a table takes FOREVER
SQL Server 2000, QA Database: A table called Telephone_Directory with just 4.000 records. SELECT * FROM Telephone_Directory is taking forever. If I stop the select after 1 second I see 162 rows. If I stop the select after 1 minute I see again 162 rows. Why this could be happening The same querie on Production Database is taking 6 seconds to retrieve the 4.000 records. That's a bit odd. First thing I might try is reindexing the table... perhaps there's an error of some sort in the index structures. Since it's a very small table, reindexing should be very quick. The ...Show All
Visual Studio Team System How to create a new report and include into process templates?
How to create a new report and include into process templates I just created and rdl, and upload to report server and it has the connection string inside the project, but I would like to put this report on all the projects. How can I achieve that Tks You can modify an existing process template by downloading it, making necessary changes and uploading it back to the server (right-click on the server in the team explorer, 'Team Foundation Server Settings' -> 'Process Template Manager'). This will ensure that all *new* projects, created with that methodology will have your report. However, this won't affect existing projects ...Show All
Visual Studio AssemblyInfoTask errors
Has anyone seen this AssemblyInfoTask error (this is on Team Build server). I only have one linked AssemblyInfo.cs file that I'm attempting to update (for many assemblies). Any help is appreciated...! ---------------------------------------------------------------- Target UpdateAssemblyInfoFiles: C:\Program Files\MSBuild\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.targets(90,5): error MSB4018: The "AssemblyInfo" task failed unexpectedly. C:\Program Files\MSBuild\Microsoft\AssemblyInfoTask\Microsoft.VersionNumber.targets(90,5): error MSB4018: System.ArgumentException: An item with the same key has already been add ...Show All
Software Development for Windows Vista ASP.Net & ManulScheduler Nightmares...
Well the isues go on... The details: 1. When a delay activity is arrived at in a workflow and that instance is persisted. 2. When a new instance is created, the previous instance is loaded, but doesn't go any where, and when the delay is reached the item is persisted. Why doesn't it carry on I did some digging and found out that you needed to call the RunWorkflow(Guid) method on the Manual Scheduler, so I added the following code to my WorkflowLoaded event handler: // Now get a reference to the ManualWorkflowSchedulerService ManualWorkflowSchedulerService scheduler = GetManualScheduler(); // Now run the workflow. This is n ...Show All
Visual Basic dataset.haschanges
Always returns False. My situation. I cannot use DataAdapter.fill (too long of a story, lets just say that i cannot). I have a store procedure (spA) retrun a datatable (dtA). I add the datatable(dtB = dtA.copy) to a dataset(dsA). I have a datagrid(dgA) who has its source equal to the dataset(dsA).datatable(dtB). so now i have the datatable(dtB) displayed on my grid(dgA). I want to see what changes if any the user makes to the datagrid. However. dataset(dsA).hasChanges is always FALSE. and dataset(dsA).getChanges never returns anything Thanks not sure what your issue ...Show All
Windows Forms Retrieve textbox value on one form from another
Using a Single Document Interface, I made a textbox on one form public, I opened another form, accessed that public textbox but the value is always empty even though I enter a value before opening the other form. How do I get a value from that textbox on the opening form Thanks. Without seeing you code it sounds as though you may not have a the reference to the second form. Simple example here Form1 contains button1 and label1 and Form2 contains button1 and a textbox1. Button1 on form2 has the dialogresult propert set to OK. This example brings form2 up when form1.button1 is clicked.&nb ...Show All
Visual Studio Package "Visual Studio Common IDE Package" failed to load
I just installed the VS 2005 Beta 2, including the MSDN documentation. I can look at topics via the Index and Contents just fine; however, when I tried to click on the Search icon on the toolbar, I get a message that reads... Package "Visual Studio Common IDE Package" failed to load ...and then nothing happens. The same thing happens if I click on the How Do I icon. Also, if I click on the little arrow next to the How Do I icon, MSDN--or, more specifically, Microsoft Document Explorer--crashes. Any ideas Thanks in advance, Jeff WTH: If you had beta 2 installed on this same machine, try unin ...Show All
SQL Server Printing Diagrams in SQL Server 2005 crashes every time
I'm running SQL Server 2005 v 9.00.1187.00. I created several diagrams. When I try to print a diagram by opening it and then clicking the File > Print... I get SQLWB - SQL Server Management Studio has encountered a problem and needs to close. We are sorry for the inconvenience. I clicked Send Error Report once, but it didn't do anything. Clicking Debug just gets it's own error. September CTP is still available for download (search Downloads on Microsoft.com for SQL Server 2005 September CTP) or use this direct link: http://www.microsoft.com/downloads/details.a ...Show All
Visual Studio Express Editions Visual studio express using visual database tools
I want know if we can use visual studio express to connect to other database like oracle, foxpro... than than acess and sql sever express thanks! No the system will not allow you to connect using the wizards, you have to do it in code. If you do not want to do it in code and prefer the wizards I would suggest that you look at the standard edition of Visual Studio. If you have a look at the Personal Web site starter kit it has an example of an object based system that connects to the sql express system. ...Show All
Visual Studio Express Editions Not able to create or open a project
Hello, I just installed Visual C# Express, but I'm neither able to open nor create a new project. When I try to create a new project, the VC# shows the following error in german language (because the version is running on a german winxp sp2)! 'Die Syntax fur den Dateinamen, Verzeichnisnamen oder die Datentragebezeichnung ist falsch. (Exception from HRESULT: 0x8007007B)' This means something seems to be wrong with the filename, folder or volume label. When I try to open a project, the File dialog is freezing every time I'm going to change a folder for some seconds. Any idea Thanks Stefan Stephan: Thanks ...Show All
Windows Forms howto set "display" text of dg Column headers @ design time?
hi, I have a datagrid that pulls data from the database. the fields in the db are as follows: 1) companyId 2) companyName etc This casues the headers to appear as: 1) companyId 2) companyName etc ...not very neat :-( I want the column headers in the datagrid to be: 1) Company ID 2) Name etc IOW, I want to be able to assign the text for the column headers, via the&nbs ...Show All
