IMBack's Q&A profile
Windows Search Technologies WDS crash under Citrix
Hello We have 2 Citrix-Servers on W3k Standard Server. The users are connecting to the servers with ThinClients over Citrix. We have now some multiple entities: 1. The WDS does not start at logon and when the User starts it, the message "WDS isn't running" is diplayed. The strange thing is, it is running... 2. The message "The WDS index isn't working properly. To fix this problem, you'll need to restart your computer, and you may need to rebuild the index. Select one of the following options..." is displayed. 3. Application Error The exception Breakpoint. A breakpoint has been reached (0x80000003) occurred in the application at location 0x7c822583 WDS version 2.6.5 with the patch Any idea how we can ...Show All
Windows Live Developer Forums re. movie locations
Your list of movie (film) locations for London is way too small. eg. “ Who could forget Michael Caine in Alfie (the good version) walking along by the side of Brixton station, summing up his love life…” (my quotation), or what about the Lavender Hill Mob or Passport to Pimlico and lots of other Ealing comedies shot in London, then you've got films like chitty chity bang bang shot in Sussex and Surrey and more recently Dance with a Stranger (ok so it's got Rupert Everett in it) again partly in Surrey. Ideally you shouldn't be able to see London for blue markers; and what about Highlander or some of the other Scottish films. Your list looks a bit feeble to me! Does anyone else have any locations to add Hi the ...Show All
Windows Forms GDI leak tool
Is there any third party tool or Visual Studio 2005 plugin which can detect GDI leaks I can find tools which can count leaked resources, but I want the stack trace i.e. where in .net code the leaked resource was allocated. Also another question: does .net use GDI or GDI+ or both Thanks in advance. Pawan I have used .NET Memory Profiler ( http://memprofiler.com/ ) with some success. It does a good job of tracking resource leaks and provides stack traces etc. The System.Drawing namespace wraps the GDI+ C API. Windows Forms however does make use of GDI indirectly when it allows controls to be rendered by the system. As an example, buttons are by default rendered in managed code using GDI+ but text boxe ...Show All
.NET Development Compression namespace|GZipStream question!!
I'm using this piece of code to compress 1.txt into test.gz, and it works just fine but I noticed that when I open the zipped file, the initial file which is 1.txt gets renamed to test with no ext! how do I keep the initial file name inside the zipped file thanks Fahd FileStream fs = new FileStream ( @"c:\1.txt" , FileMode .Open); Byte [] buffer = new byte [fs.Length]; fs.Read(buffer, 0, ( int )fs.Length); fs.Close(); fs = new FileStream ( @"c:\test.gz" , FileMode .Create); GZipStream gz = new GZipStream (fs, CompressionMode .Compress, false ); gz.Write(buffer, 0, buffer.Length); gz.Close(); You'll notice that gz.Write() takes no inf ...Show All
Visual Studio 2008 (Pre-release) What LoadOption is the default when calling LoadSequence without specifying one?
There are two prototypes for the LoadSequence method. One of which doesn't take a LoadOption. When I use that version and reload an already existing entry (based on the DataTable's primary key), both the current version and original version of the record's data is changed. As I mentioned in a previous post, I believe LoadOptions.PreserveChanges is broken since it appears to modify both the current version and original version. Since it is currently behaving the same way as the OverwriteChanges LoadOption, I can't tell which LoadOption LoadSequence is defaulting to when a LoadOption is not specified. So, is LoadSequence defaulting to OverwriteChanges or PreserveChanges by default Thanks. ...Show All
Visual Studio Data source from variables?
Hey guys, I'm new to Crystal Reports, and I am testing it out for my company before we buy it. I was wondering if there was a way to use data from, say, an array from a C# program for report variables I tried going through the report wizard, but it seems like what I can generate does not work. Any ideas ...Show All
SQL Server SQLCE 2.0 and SQLCE 3.0, both on same server
I presently run on my server SQL SERVER CE 2.0 and want to install, in addition on SQL Server 2.0, SQL Server Mobile 2005. Is there a procedure to have both installed and running on a computer Thanks! Marco ...Show All
SQL Server Port Conflict and IPv6-Adress Resolution Errors when Creating Endpoint
Hello, executing the first script listed below resulted in the error message (translation): Message 7890, Level 16, Status 1, Line 1 Error when registrating Endpoint. Potential port conflict ... use AdventureWorks ; go CREATE ENDPOINT SQLEP_AWPersons STATE = STARTED AS HTTP ( PATH = '/AWpersons' , AUTHENTICATION = ( INTEGRATED ), PORTS = ( CLEAR ), SITE = '*' ) FOR SOAP ( WEBMETHOD 'PersonInfo' ( NAME = 'AdventureWorks.dbo.uspGetPersonInfo' ), BATCHES = DISABLED , WSDL = DEFAULT , DATABASE = 'AdventureWorks' , NAMESPACE = 'http://Adventure-Works/Persons' ) I changed the port in the script to 8084: PORTS = ( 8084 ), Error Message 102: Wrong Syntac near ')'. I chang ...Show All
Visual Basic Problems accessing form from module
Can anyone help me I am trying to access a form sub from a module. I have the code below but my messagebox does not seem to be triggered. Another question I would have is: if your function is not shared in a form, how else can you access it from the module Thanks! HERE IS THE MODULE Module themod 'try to access the form Form123.staticmethod() End Sub End Module 'HERE IS THE FORM Public Class Form123 Shared Sub staticmethod() MessageBox.Show("hello") End Sub Private Sub Form123_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load End Sub End Class ...Show All
Windows Forms "Specified <entryPoint> is not valid" while reading Application manifest?
Hi all, I'm trying to deploy a .Net 1.1 application using ClickOnce. All clients have .Net 2.0 installed (on which the 1.1 application runs fine), its just that the client code *has* to be built on the 1.1 platform. Hence, I can't use VS2005 to generate the manifest and deployment files for me, because it will cause the client code to be built for .Net 2.0 before generating the manifest and deployment files. So I figured I should use the Manifest Generator tool (mage.exe / mageui.exe) to generate these files for me, since it doesn't require my code to be rebuilt first. This seemed to work pretty well: just have Mage create a .exe.manifest file that contains all assemblies used by my application, and then have it create a deployment f ...Show All
Visual C++ DWMAPI.DLL
I have read post after post about the DWMapi.dll issue with IE7, which is also the problem that I am having, however I don't see any solutions except to uninstall IE7. Is this really the only solution I can't believe I am going to have to tell our customers to uninstall IE7. Carrie For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All
Visual C++ Can you share global variables between a DLL and a calling program?
Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it. seems extern is not required for exporting a variable. extern "C" using to avoid name mangling of C++ functions and to get the exact syntax what we defined in the calling process E.g #ifdef WIN32DLL_EXPORTS #define WIN32DLL_API __declspec(dllexport) #else #define WIN32DLL_API __declspec(dllimport) #endif // This is an example of an exported variable WIN32DLL_API int nWin32DLL=0; ...Show All
Visual Studio Express Editions Font.bold=False to Font.bold=True (readonly?)
I have a Label1 with property .Font.Bold = false. I also have a Checkbox. Know, when the Checkbox.Checkstate is checked I want to change Label1.Font.Bold to 'true'. VB tells me this is 'Read only' and I can not change this programatically. Sure there is a way to do this, I hope. Ok, how about this : Private Sub CheckBox1_CheckedChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged Select Case CheckBox1.CheckState Case CheckState.Checked If Not ( Me .Label1.Font.Bold) Then Me .Label1.Font = New Font( Me .Font, FontStyle.Bold) End If Case CheckState.Unchecked If Me .Label1.Font.Bold The ...Show All
Windows Forms Save a file???
I am creating a web browser (eariler versions on www.freewebs.com/evanmulawski ) and am wondering how to create a 'save target as...' context menu strip item, so that I can save the file that the mouse is currently on. Thanks, Evan Mulawski If I am reading you correctly I think what you need to do is a 2 step process and you are only doing 1 step at the moment. In the save dialog allow the user to select where they want to save the file to, as soon as they select where to save the file to then you need to copy the location of the current file to the new location using fileIO. So I guess in General you get the location of the source (web page) and the target from the savedialog then use a simple fileIO copy file. Does ...Show All
Visual Basic Multimedia MCI Control (MMControl) and Windows Media Player
I have this VB application that uses MMControl to play MIDI files. My problem is Windows Media Player interferes with my application. What I mean is, when both my application and WMP are playing ‘.mid’ files, when I ‘Pause’ my WMP, my application also pauses and I can’t make my application to play any ‘.mid’ files anymore. The only way I can make my application run again is to ‘Resume’ WMP and wait for it to finish whatever it’s playing, or make WMP, ‘Stop’ then ‘Play’ then ‘Stop’ again. This does not happen when WMP is playing other type of files like ‘.avi’, ‘.wma’ or ‘.wmv’. Have any one of you encountered this problem before How can overcome this Can you recommend other controls or method to play ‘.mid’ files ...Show All
