Jan Limpens's Q&A profile
Visual Studio 2008 (Pre-release) Not able to generate proxy with typed dataset using svcutil.exe and WCF Feb CTP (with Jan Ctp was working fine)
Hi, I wrote an WCF service using Jan CTP which transfer the typed dataset to and from between client and service. It is working with Jan CTP and I am able to generate the proxy using the SVCUtil.exe. Recently I have updated my system to work with Feb CTP and provide the necessary chnages in the App.config file. when I tried to generate the new Proxy with SvcUtil.exe( WinSDK FEB version) I got the below error: Error: Unable to obtain Metadata from net.tcp://localhost:8085/MyService WS-MetadataExchange Error Uri: net.tcp://c65:8084/BritNetService Metadata contains a reference that cannot be resolved: 'net net.tcp://localhost:80 ...Show All
Visual J# ResourceBundle.getBundle("resources.resources"); throws an exception
When I call: ResourceBundle .getBundle( "resources.resources" ); to get my resources (which are in the dll), I get an ArgumentOutOfRangeException - + $exception {"Length cannot be less than zero.\r\nParameter name: length"} System.Exception {System.ArgumentOutOfRangeException} What do I need to do thanks - dave Hi David, It should work for your scenario. Basically it will pick up the resources for the CurrentCulture of the thread. If the thread current culture's is jpn (LCID is 1041), it will pick up the resources for jpn. If resources for JPN are not there then it will fall back to the default one. I have tried t ...Show All
Visual Studio Express Editions Using Passport in C# Form
Hi guys, Is it possible to add Microsoft passport into my C# application . I have a username and password textbox on my form and I would like it to authenticate and log user in, then once logged in it will open another form. Is there an SDK that I need regards Sten There is an SDK (sadly what links I find end up turning bad) however I would direct you to the Microsoft Service Manager site as well as this brief page on Passport for developers . I would also caution you that when last I checked Passport is not a free service for developers and for you to use it with your application you woul ...Show All
Visual Studio New Editor or Not?
I want to add a new argument to a recipe that will basically present a drop-down panel to a user allowing them to select one or more values from the drop-down panel. These values would then be used as input in the creation of a new project item. How would I go about doing this Would I create a new editor and attach it to the wizard field Or, is this done through creating a new Value Provider I'd do the following: 1 - Provide a custom TypeConverter that is capable of converting a coma-separated list of strings into an arraylist of table names (possibly validating against the DB ...Show All
Windows Forms .net ListView FullRowSelect and Drag listviewitem
I have a listview control on my windows form which has FullRowSelect set to true. I am supporting drag from this listview. The issue is that if you click on the text within each listviewitem, you get a drag icon and looks like you are dragging, but you click in the white space within each listviewitem, you do not get a drag icon and does not look like you are dragging. Probably the listview ItemDrag event does not fire. Any suggestions as to how to make it work so that even if you drag by clicking in the white space, the drag drop functionality still works. Thanks ...Show All
Visual Basic Many-to-many table relationship with WinForms
I have a many-to-many relation depicted with three tables: Lines of Business Table (LOBs) Employers Table (Employers) LOB/Employer cross-reference table (LOBEmployerXRef) The LOBEmployerXRef table contains the primary key fields from the other two tables, LOBID and EmployeeID. I would like to place two combo boxes on the form. The first would allow the user to specify a LOB. This selection should then filter what is displayed in the second, Employer, combo box, so that the user can only select an Employer related to the selected LOB. I can get the two combo boxes set up to allow the selection of a value from each table using my dataset with ...Show All
Visual C# How to change
Hello Everybody, I want to change the screen resolution programatically using C#. Because, i am deploying a project developed using C#. On my system it is working perfectly. But, on other system or when i accesed through remote connection the buttons beneath the form are not able to view. So, could any boby give the suggestion how can i solve this problem. Thanks in advance. ----------V.K.Shaji Kumar You asked how you can change the screen resolution, i think it is very, very nasty to change the screen resolution. But now you ask for changing the font and icon size that is even nastier! If you want to change the font siz ...Show All
Visual Studio Tools for Office Help with Word Interop PLEASE!!! - more readable version
Hi Gang, I have posted this issue everywhere I can think of, and have yet to receive a single response. I am hoping that some kind and much-smarter-than-I soul here at MS will shed some light on this blasted problem. I have a Windows Service that I wrote with VB.NET that fetches a Word doc via FTPS and prints it locally. The service was not working due to an error that I could not trap (or didn't understand), so I decided to just write a plain old Win Forms app to do the same job until I could figure out the service issue. I wrote the Win Forms app, and whenever I get to the call to create a new Word.Application instance, my code ...Show All
Visual Studio Express Editions Menubars on a panel with scrollbars
Hi, I have a form with a panel on it, with a menubar set to dock fill in vertical overflow mode on it. The menu is being generated automatically (in this case I am using it for a list of contacts). When it becomes to long for the windows form, i lose any new items. I need a scroll bar (like in outlook, on the list of current emails). Any ideas out there Try setting the menustrip.canoverflow = true ...Show All
Windows Forms DateTimePicker column
Does anyone know if Microsoft will be including a DateTimePicker column in the DataGridView (for underlying date values) The current article says "TextBox, Image, CheckBox, ComboBox, Link, and Button column and cell types" will be included. I'm hoping for a DateTimePicker one as well... From: http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=13&Cat=Runtime&tabindex=5 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SurfaceLoader
I was using SurfaceLoader.Save(filename, ImageFileFormat.Png, surface); to save screenshots in my old MDX project, now I'm switching to MDX2 and I know that it is beta and "shouldn't be used" but I haven't had much trouble at all converting. However, this stumbles me. Is SurfaceLoader renamed / moved or just simply removed And is it possible to save the backbuffer to a file in MDX2, or do I have to wait for the february sdk beta questions in beta newgroup, where I beleive your 1st question has already been answered http://msdn.microsoft.com/directx/beta/default.aspx ...Show All
Software Development for Windows Vista SqlStatePersistenceService troubles
Hi, Adding a SqlPersistanceService to my workflow host causes the workfow to abort when it tries to persist. Unfortunatly the WorkflowAbort events arguments don't realy tell me anything usefull. The database is SQl Server 2000 sp3a and the persistance setup scripts have been executed creating the required tables and sp's. Initialising the SqlPersistanceService instance with a valid connections string causes no errors (indicating the the connection is fine) . Remove the persistance service and everything works as expected. Any ideas as to how I might resolve this problem would be appreciated. Thanks in ad ...Show All
Visual Studio CrystalDecisions.CrystalReports.Engine.ReportDocument
Hi friends, i have deploy a VB.net application which have crystal report in it. the application is running well but when i open the form with Crystal report its giving me error. Please help See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.TypeInitializationException: The type ...Show All
Visual Basic Loading and gathering information from a text document
I am currently producing a program for myself and i need to know how to gather and put loaded text information into a table and allow searching ect, i will clarify with pictures. Please be patient with me because i am a novice. given the following text [item 1] name=Welcome Note description=Welcome to the world of Darkness. class=12 reqlevel=1 quality=1 bonding=4 classes=0000 //All Classes model=5567 level=1 races=0000 //All Races stackable=1 maxcount=1 material=-1 pagetext=1 language=1 buyprice=300 sellprice=100 From a text file, i want to load it and sort it into a table like the following http://i50.photobucke ...Show All
.NET Development My programs won't start up on Win98 or Win2000
I've been struggling hard with this for about a month. I have a program written in C# .Net 1.1, that has about 170,000 lines of code and is in daily use by thousands of users. Any version that I released after about 9/1/05 simply fails to start up at all on Win98 or Win2000. "An unhandled exception has occurred", followed by thread id, but absolutely none of the usual details. Keep in mind that it continues to work flawlessly on WinXP, and it always worked flawlessley on Win98/2k until one month ago. The problem does not affect previously compiled versions, only those which I compiled after that ...Show All
