Sergey Jmacov's Q&A profile
Visual Studio Load Report Failed
Hi, We are experiencing intermittent problems with our embedded crystal reports not loading consistently. The reports run for a period of time and then for no apparent reason will not load . The web application is hosted on a Windows 2000 Server and we utilized a MSI deployment package to install application on the server. The error that is thrown is " Load report failed. --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()" Our fix has been to reset IIS or reboot the server, afterwhich the reports work. We are using the Developers Edition of CR Xi SR2 in Visual Studio 2005. Any help would be greatly appreciated. ...Show All
.NET Development Sending SMS
how do i send SMS using asp.net, if there is any way to write an application on sending SMS to mobile using ASP.NET code. if any one know pls. send me concept atleast. i have to submit it as project in my coolege. thank u Regards manoj you need to subscribe to some web service which will be an sms gateway. There maybe free ones but usually there is a charge on sending sms messages/subscription to their services. Once this has been achieved, you then simply read their API documents on how to use it, as its their webservice. ...Show All
Software Development for Windows Vista Unable to set default folder to custom namespace using clsid as parameter to open file dialog
Hi, I'm using VC6/MFC. The following code CFileDialog dlg(TRUE) ; dlg.m_ofn.lpstrInitialDir = "::{<clsid>}" ; dlg.DoModal() ; where <clsid> is the id of a shell namespace (e.g. Recycle Bin is {645FF040-5081-101B-9F08-00AA002F954E}) allows an app to set the initial dir for a file dialog to a special folder or a custom namespace extension (though I can't find this documented anywhere). This works fine on Win2k, 2003, and XP (and, indeed, 9x) On Vista RC2, no matter which namespace clsid is given, the dialog always opens at Documents. I haven't been able to test on the RTM version of Vista. I need to make it use my namespace extension as the default dir. So, my questions are: 1) Is this still broken on the released versi ...Show All
Visual Studio Express Editions datagrid
how can I clear a DataGrid without clearing Columns Dear breceivemail, By the info you have provided, have you placed a datagrid item onto your form and have populated it with data from one dataset or table and you now wish to use the same datagrid for another dataset or table. Am I right or just barking up the wrong tree. Scott ...Show All
Visual C# c# method, event wizard
Hi, am starting to work my way through a tutorial book, trying to learn C#. It tells me to run the C# Method Wizard, by right-clicking an existing Class in Class View and selecting Add > Add Method. There is no Add option in Visual Studio 2005 (which I am using). I have looked around for about an hour trying to locate the Method Wizard, but the help does not tell me anything more than it is there. Has this been rtemoved from Studio 2005 If not, how do I access it Not being able to find it is making following the tutorial very difficult. Thanks in advance ityu Anson, Well then you could have also had all references removed from the documentation!!! I just spent an hour trying to get that wizard to p ...Show All
Visual Studio Express Editions newbie qn - VB vs VBA processing speed
Hi guys, please excuse me if this is a dumb question. I've written a programme in VBA in Excel, a Sudoku solver. The program runs entirely within a user form, doesn't use any worksheetfunctions and only uses the excel interface for the button to press to launch the userform - the calculations are all done in an array variable, and the results copied to a microsoft office owc11 spreadsheet control embedded in the userform. I've now written the same programme using virtually the same code, in VB Express. With a bit of tweaking, the programme is now running as a stand-alone application and works properly. However the VB version is more than 7 times slower than the VBA version (the programme has a timer in it, so I can tell). How c ...Show All
Windows Forms How do I make a form read only (vb.net)
Hi, I'm aiming to create a form to display non editable information. I am aware that I can set the enabled property to false, however this greys out the information and I dont want this. Is there any way I can make the form (or the controls on it) read only Thanks Sorry, I should have been clearer in explaining what I am trying to do:- I have a form which I want to be able to open in 2 scenarios 1. For data input, 2. for Viewing Only, therefore I do not want to set the properties at design time, I want to set them when the form is opened for viewing only. Is this possible Thanks Again! ...Show All
SQL Server Recovery from windows failure
Hi all, We've got a problem with our server in that Windows has totally died - a routine upgrade appears to have gone wrong and the repair function of the Windows installer keeps getting stuck in a loop so I've given up on that front. What I was wondering is: 1. If I install a fresh copy of Windows 2003 R2 over the top of the existing install will that kill MSSQL Sever 2005 and/or Windows Sharepoint Services 2. If so, is there a simple way to get them back 3. If I install another copy of Windows on the D: drive is there a recommended way to move the MSSQL databases & Sharepoint to the newer install or a way of pointing the new install at the old databases I'm not an admin person (i'm a developer normally) so I haven't got a lot of bac ...Show All
Visual Studio EnvDTE80.TextDocumentKeyPressEvents.BeforeKeyPress randomly not working?
Hi, I have hooked up the EnvDTE80.TextDocumentKeyPressEvents.BeforeKeyPress in an addin I wrote to check out from Perforce when a read-only file is modified. It works fine most of the time. But after a while, I just stop getting the event. It doesn't seem related to switching solutions or anything like that. The only way to get the functionality back is to restart the IDE. I register the event handler in Connect.OnConnection, and the addin is constantly loaded. Anyone have any ideas I can circumvent it by re-registering the event, but that's a hack. Could this be a problem to do with the Connect class being destroyed after some time Cheers, Rory Yes, that TextEvents. FWIW, I have updated ...Show All
SQL Server sproc to determine if query will produce Invalid SqlNotificationEventArgs event
I'm using an SqlDependency so I'll get an alert when the data under a query changes. When the query does not meet the criteria spelled out here http://msdn2.microsoft.com/en-us/library/aewzkxxh.aspx then I immediately get a SqlNotificationEventArgs event with the "Invalid" note. This is good. I would like to know that a query is invalid before I try it with my ASP.NET application. Is there a sproc I can give to my SQL developers so they can test that they haven't used any stuff that would invalidate SqlDependency What I'm hoping is that there's already a system sproc which could be called... exec sp_QueryInvalidForNotification "exec myTestSproc 99" Does such a sproc exist Or does anyone know how to write one ...Show All
Windows Live Developer Forums DEP blockin Live Messenger 8.1
Why does DEP keep block my Live Messenger how do i overcome this problem I'm having the same problem with all versions of msn. I upgraded to Flash 9,0,28,0 - no change. I tried the 'run as administrator' workaround mentioned above and the box is grayed out, so I cannot use this solution. I tried going into system>advanced>performance>settings>DEP and manually adding the msn executable to the allow list but vista tells me that this program must be run with DEP enabled. Running vista home premium. I'm sorry, but this is just funny. Why would microsoft release vista when its own programs don't work on it. This is a clean install too - straight out of the box. ...Show All
Windows Forms Remove background from GIF Image
Hello, Can i remove white background from GIF format image using .NET .I tried by using Bitmap class's - M akeTransparent method, It won't remove the background. If possible another way, Please let me know the procedure. Thanks lot. Thanks, Vivekanandan Thanks.How to draw the gif file onto with the transparancy stuff set .Please give your guideline for this issue. Thanks, Vivekanandan ...Show All
.NET Development One-Way IM
Hey I was wondering how I would go about making a program that would send text or numbers to my computer from another computer. This is basically like an IM program, but one way. Any help well, it would be even easier to copy the file to a shared folder on the destination pc simply use System.IO.File.Copy(source, destination) ...Show All
Visual Basic Arabic Printing - urgently need solution ?
I have developed application in Visual basic 6.0 which supports English and Arabic languages. In textbox , Arabic font display properly.While creating report in Arabic language, when I am sending Arabic text from vb application to word application, in word document it shows junk characters. I used the word document object for creating report (i.e. sending text form vb application to word application) While my machine (xp Os) supporting Multilanguage futures , i can write in word document using Arabic font directly. kindly help , i need solution at earliest..... i think u should set the text format before sending the text to word. try to debug your application and see if in the watch menu u can see the characters as junk or a ...Show All
Visual Basic Debug Class Library from Windows Application
Hi, I have a Class Library developed in Visual Studio 2005. I want to test it using Windows Application.. I wrote Windows App also.. If I want to Debug Methods in Class Library from Windows App, How can I do it right now I added Two Projects under same solution and selected Windows App as Start Project.. But debugger is not going to Class Library.. Suggest me. Thanks Hi Seshu, A few questions that might help diagnose your problem... 1) Do you have a reference from the windows app to the class library Is it a reference to the class library PROJECT or to the class library ASSEMBLY (or if you aren't sure, which tab of the dialog did you use to add the reference ) 2) How/where is the windows app calling into t ...Show All
