Paszt's Q&A profile
Visual Studio 2008 (Pre-release) WCF Interoperability with Java
Hi all I have build a WCF service using wsHttpBinding. I am trying to make the service interoperable with Java and also building a java client for it just for testing. I want to validate my Wsdl with the know standards. I have tried XmlSpy and Jdeveloper 10g to validate the Wsdl. But both of them are giving errors(like soap12 is unrecognised, unable to parse). Also Few errors i have noticed in the auto generated wsdl, the blank namespace is generated for Faults Exception, other is the elememnt for the Location of wsdl i.e. "ServiceAddress\Service.svc wsdl=wsdl1" is this right Also, Which are tools that i can used to test WSDL va ...Show All
Visual C++ Thread safety and atomicity of byte operations
I apologize if this is not in the right forum but because of its relation to the CRT, I thought I'd start here. Using VC++ 2005 Pro in a mixed (/clr) project, I am sharing memory between processes (the other being a mixture of legacy code from various programming languages and platforms) running on Win2K Pro or WinXP Pro (same computer). I map a view to a filemap using a struct. For example, if I had a sequence of a double, an int and a byte (unsigned char), I'd have a struct like this: struct MyMap { double dVar; int iVar; byte ucVar; } and the mapping would work like this: MyMap *ptrToMyMap; ...Show All
Windows Forms VS 2003 Mouse Problem
Since moving my development environment (VS 2003) to a tablet PC (IBM ThinkPad X41), Visual Studio has developed a very annoying and frustrating problem. Whenever I select a property in the properties pane and then select a control on the designer window, the designer interprets this as a double-click and opens the code window (and creates the default event code for that control). This is incredibly frustrating, as I am spending lots of time removing unwanted event code. This double-click behavior does not occur with any other application. I have tried most things that I can think of: checked mouse settings, check ...Show All
Windows Forms Allow Key Accelerator on Tabs in TabControl
It would be nice if you could set the Text property of the TabPage to an accelerator eg tabPage.Text = "&Robby"; And then when you pressed ALT + R on the keyboard activate that tab page. This would avoid having to code this behavior all the time. I was very disappointed about that missing feature, too. ...Show All
Visual C# store collection value into a string variable
Visual C# Express 2005 I'm trying to do a search of an AD domain and return some values and assign them to string variables. The code below throws and exception and I'm not sure how to fix it, any suggestions using System; using System.Collections.Generic; using System.Text; using System.DirectoryServices; namespace ADImport { class Program { static void Main(string[] args) { //string newLine; using (DirectoryEntry de = new DirectoryEntry(" LDAP://mydomain ")) using (DirectorySearcher searcher = new DirectorySearcher()) {   ...Show All
Windows Forms cumon Buds Where r u??
i m stuck here, as the boss want me to show all the tables with relativity, to the customer, and let him select the fields that he/she wants in the report, and then display the report (crystal report), can anybody help me out, it'll be great if a sample can be supplied. i can show all the relations and table structure but this adhoc reporting ...Show All
SQL Server System::InteractiveMode is FALSE from dtexecui?
In a script task, I prompt the user for some parameters. I use the System::InteractiveMode variable to tell me if the package was launched via user interaction or from an automated process such as a file watcher. I display the prompts only if System::InteractiveMode is true. When I run from VS 2005 then I get the prompts, and when the package runs automated (dtexec) the prompts are not shown, so all is OK. However, when the package is run from dtexecui, I do not get the prompts because it seems the InteractiveMode value is false. Shouldn't the InteractiveMode value be true when the package is run from dtexecui since it is a user interface ...Show All
Visual Basic Disabled the TabControl tabpages
I have a problem on how to disabled one of my tabpages in my tabcontrol. I have 5 tabpages, and I want to disable one of it. How can I perform this action. Can u pls help me my fellows:( TabControlEX, which is available for free from my site, allows you to disable tabs as well as many other frequently requested things. http://www.dotnetrix.co.uk/controls.html You'll also find several tips on my site if you want to modify a tabcontrol for yourself: http://www.dotnetrix.co.uk/tabcontrols.html Ken, I often divert users to your code because it does one thing that none of my tips show (Double- ...Show All
Windows Forms problem with aploading files to the project
i have build a little aplication, the application have button, when i click this button files browser opened and i want that the picture file that i selected will uploaded into 'myDirectory' directory that i have created within this application' the questions is how to upload this file how doing this in generally what is the way i winform to upload files in ...Show All
Visual C# What are some things to remember when drawing in Window Forms?
Hi all, I'm a beginner developer. I'm writing an application and draw many object like as Ellipse: private void timeout(float x, float y, float k, float z) { Graphics Cerchio; Pen MyColor = new Pen(Color.Red); Cerchio = this.CreateGraphics(); Cerchio.FillEllipse(new SolidBrush(Color.Red), x, y, k, z); Cerchio.Dispose(); } And I draw a timer countdown like this: private void EggTimerForm_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { Point p = new Point(270, 400); Graphics g = e.Graphics; g.DrawString( ConvertToTime(StartTime), ClockFont, Brushes.Red, p, new StringFormat() ); ...Show All
Microsoft ISV Community Center Forums Help with: hiding main menu in Visio 2002 with VBA
I don't know a thing about VBA but see myself in need to try to make this work. My goal here is to hide the menu bar when this particular document (let's call it "test.vsd") is opened in visio. After looking at the references and help files I put this together: Sub HideMenuBar() Dim fileName As String Dim uiObj As Visio.UIObject Dim menuSets As Visio.menuSets Dim OneMenuSet As Visio.menuSet ' get all built in menus into ui object Set uiObj = Visio.Application.BuiltInMenus fileName = "test.vsd" If ThisDocument.Name = fileName Then Debug.Print "name checked" ' get all built in menus int ...Show All
Windows Forms OutOfMemory exception when loading large images
I have a problem when loading some pretty large images. The images are ~700mb uncompressed, and the two first times I load an image, everything works fine. Each time I'm done with an image, I force a Garbage Collection using GC.Collect() and I can see in the task manager that resources are actually being released. The weird thing is that when I load&nb ...Show All
Visual Studio Team System Error while installing Team Foundation server
Hi All, I got the following error while insatlling Team Foundation Server --------------------------- Microsoft Visual Studio 2005 Team Foundation Server Setup --------------------------- Error 28940.TFServerStatusValidator: Calling the Team Foundation Server ServerStatus Web service failed with 503 HTTP ServiceUnavailable status. Verify that Internet Information Services, Windows SharePoint Services, and ASP.NET are configured correctly and that ASP. NET v2.0 Web Service Extensions are allowed . For more information on troubleshooting this error, see the Microsoft Help and Support Center. --------------------------- Retry Cancel -- ...Show All
SQL Server How to make republishing ?
Can anybody help me... I can't find it at BOL. Try the following link in your BOL ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/rpldata9/html/a1485cf4-b1c4-49e9-ab06-8ccfaad998f3.htm Regards, Gary C ...Show All
Visual Studio 2008 (Pre-release) VisualBrush + BitmapEffect + Animation = Bug?
There's an weird issue I've found with using VisualBrush and BitmapEffect at once. As I try to animate an element with BitmapEffect there's no problem. But as I create reflection with VisualBrush in XAML, the animation simply jumps from start to end. Here's the code: 1 < Grid xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " 2 xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " ShowGridLines = " True " > 3 < Grid.ColumnDefinitions > &nb ...Show All
