pdxJaxon's Q&A profile
Visual Basic Adding a reference to System.ServiceModel from .NET 3.0
I am using VB .NET 2003 Standard edition SP1. I cannot add a reference to the .dll system.servicemodel. After finding the file "Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\system.servicemodel.dll" I get an error saying "A reference to system.servicemodel.dll could not be added. This is not a valid assembly or COM component. I have reinstalled .NET 3.0, I have tried it on another pc and get the same error. Could anyone tell me why I would get this error ...Show All
Visual Studio DSL Installer issues
Hello everybody I encounter some issues when trying to create an installer for my DSL. I have successfully requested a package load key for it, registered it correctly (according to the corresponding MSDN page) and configured the installer definition file. I am able to build the installer project, I can event install it on a test virtual machine (I use VMware for that) and create a model file. But when I try to open it, I get two package load failure error messages. In Constants.cs, the same values for ProductName, CompanyName etc. are provided as the one in my package load key request. Is it possible that a missing assembly that is referenced by one of the package assemblies results in the same errors Thanks for your suggestions and help ...Show All
Smart Device Development Assembly reference
I have the statement "using Microsoft.WindowsCE.Forms;" to take care of the fact that I am calling MessageWindow. I get the error message "The type or namespace name 'WindowsCE' does not exist in the namespace 'Microsoft' (are you missing an assembly reference ) ". I cannot find the assembly reference to add. What do I do now I am using .NET version 2.0. I am glad to say that I did make some progress, but am still being plagued by errors. (1) I reinstalled my VisualStudio with "Smart Device Programmability" checked, even though it appeared that it had been already so. Indeed, when it was all over I still got the same error message about not having 1.1 available. (2) I went to the web an ...Show All
Visual Studio convert c# to VB
I just inherited a project written in C# and would like to know if there is a way to convert the entire project to vb. Thanks Cathy Scott Swigart has written a nice article on a Visual Studio add-in that converts C# code to VB. Please see http://msdn.microsoft.com/msdnmag/issues/06/02/PasteAs/ and hope this helps. Anand.. ...Show All
Visual Basic Registry Keys with spaces
I am trying to retrieve the username from the registry which unless there is a better one I used HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Logon User Name the problem is I can't figure out how to deal with the spaces I tried retrieving other keys without the spaces and they are just fine. Is there a String function or something that I can put in to deal with the spaces or is there a better registry key for the user currently logged into the system Heres the code I got. Dim regKey As RegistryKey = Registry.CurrentUser regKey = regKey.OpenSubKey("Software\Microsoft\Windows\CurrentV ...Show All
Visual Studio Team System TFS Build - next version?
Hello, does anyone know when a next version of the TFS will be released and which extentions will be made to the Build Automation/Reports - Chris We'd like to see better support for calling other types of build scripts. Right now for our Java projects we have a msbuild script that simply calls our Ant script. While I'm not an expert setting this up, from what I know we needed to create a superfluous solution file to get the Team Build to even recognize we'd like to setup a new Build type. The solution file is useless to us, but seems to be a prerequisite. Mac ...Show All
Visual Studio Team System List of change sets already checked in
How can I get a list of change sets already checked into the system Sure. Open Source Control Explorer. Rightclick on $/ -> History. http://msdn2.microsoft.com/en-us/library/ms181415(VS.80).aspx ...Show All
Visual FoxPro GRID JAM ON A NETWORK WITH VFP9
We're facing this problem. We have a grid which is the detail of a header table. The two tables are linked with a relation in the data environment. We use the application on a network; two users enter the form, both insert some detail records linking a different header code (e.g. 5 lines each); one of the users is pointed in the middle of the grid and he DOESN'T SAVE the data; the other user after having inserted the header code and the detail lines saves the data; the user who doesn't save, goes through the grid with the arrows and his data are replaced "virtually" by the data the other user committed ! I created (and I can send it) a simple example with base VFP9 classes to reproduce this behaviour. This is a big problem for ...Show All
SQL Server LEFT JOIN Conundrum
I have, what I think, is a simple query to perform but I can't figure it. Maybe someone can help There are 3 simple tables: tblMain Idx FirstName LastName ReasonID tblReasons ReasonID_R Reason tblOtherReason Idx_R OtherReason tblOtherReason is only used if the user chooses "Other". Then their freeform reason is stored in tblOtherReason.OtherReason. ReasonID is an integer field. It's used simply to link to the textual Reason field in tblReasons. All I want to do is run a simple SQL command that will return all of the records in tblMain, though displaying tblReasons.Reason instead of tblMain.ReasonID and adding the extra field tblOtherReason.OtherReason Using the Design View in MS Access I generated a basic query: SELECT tblMa ...Show All
Visual Studio Express Editions error trying program on other pc
Hi I've got a program. It has 1 source file (.cpp) and 1 header file(.h). When I compile on my local machine the program works just fine, but when I try it on another pc I get the error that somethings wrong with the configuration of the program and that it can't be run. I have .net framework 1 till 2 installed and the microsoft visual C++ 2005 redistibutable on the other pc. Anyone know what I need to do to make it work (and is it normal that my compiles program is smaller then my source code (.cpp and .h file together) ) Thanks in advance. Are you trying to run a debug or release version of the program If a debug... try a release. Debug builds rely on the debug versions of some ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNADominos - Initial release
Just thought I'd post my first release of XNADominos. Its a port of a DX app I wrote a while back mainly as a learning experience. Next release will include source and an editor. Anyway, binaries and screenshots can be found here: http://andyq.no-ip.com/blog/ cat=4 Andy jsedlak wrote: Hey, nice app. I gave it a shoutout on my blog. If you are in need of an XNA GUI, I am making one and can send you what I have so far as well as some instructions on how to use it. Let me know. Why not put your project up on CodePlex if you're willing to share it ...Show All
Visual C# command object in c# ?
hai, i have two database . 1 . MSaccess in my localsystem . 2.Sqlserver2000 on my online . What i need is i want to tranfer the local data to my online sqlserver 2000 database . how to do that Hi, If you go in Access I believe that in the tools menu there is something called the upscaling wizard which will allow you to make a sql server database from the access database. If your sql server database already exists you probably need the Sql Server Migration Assistant for Access: http://www.microsoft.com/sql/solutions/migration/access/default.mspx Regards, Charles ...Show All
.NET Development web service look up
Hi, How do I access a web service method in C# to retrieve a paremeter value Thanks, Hi, As said above, u'll have to add first reference of WS in ur project by right clicking on WebReferences. You will mostly required to click on "Web Services on local machine" and select webservices which you require and click on add reference. Make sure that you have namespace included. Then simply you will have to create an instance of that webservice and using that instance you can have list of available public methods. Use method which you need and pass parameter if required and webservice should return you expected result. Hope this helps Thanks ...Show All
Visual Studio Team System DateTimeControl
I received a report that the calendar control in the work item edit form is "extremely dysfunctional and is basically unusable" and I must agree. Are there known issues with the winforms DateTimePicker in work item editing Yes, I am referring to the DateTimeControl as a calendar control. Here are the symptoms in detail: I have a DateTime field called DateNeeded. I display this field to users with the DateTimeControl. The control displays empty until a user clicks the drop down button. It then displays the current date in gray, but it does not display the calendar for the user to select a value. (This is not the source of the complaint, but does involve some unexpected focus issues.) The main complaint I receive occurs whe ...Show All
Windows Search Technologies Ifilters for indexing words in VBA code embedded in .XLS files
Has anybody heard af an ifilter that can index words in VBA code embedded in .XLS files I often make VBA "goodies" in Excel spreadsheets, but often forget in which spreadsheet a specific piece of code is stored. Normal windows search cannot find Excel spreadsheets with specific words in the VBA code. I have for this reason tried to make a habit of exporting the code to ascii files (.bas), as such files can be indexed . However it is difficult to be systematic when the *** has hit the fan, which it often do. So having Windows Desktop Search indexing words in Excel VBA code would be wonderful. Best regards Morten ...Show All
