Frank Cassata's Q&A profile
Visual J# COM object that has been separated from its underlying RCW cannot be used exception within threads
Hi, We are having code in which we start a new thread and set it as STA. This new thread initializes IHTMLWindow2 object and then starts another thread. But, in that second thread if we try to access the IHTMLWindow2 which is initialized in the first thread we are getting this exception "COM object that has been separated from its underlying RCW cannot be used". If we do not set the first thread to STA, we coudn't access the windows ...Show All
Visual Basic VB.Net help - Various Issues
In our point of sale system, we can export various reports as a csv file. The problem is that when we open them in Excel, some of the fields (which contain a number 20 digits long) show incorrectly as Excel can only recognize 15 unique digits and changes the last 5 to zero's. I have written a VB program that will allow the user to open teh csv file in a datagrid, adn the numbers show up correct. Now I am having a problem figuring ...Show All
Windows Forms what control should i use?
hi I need to create a simple list of items and i need to be able to group these items.. i need something that looks exactly like visual studio's Properties window (categorized) > a list of items that are divided into groups and those groups can either collapse or expand another example would be the Toolbox window, thats exactly what i would need to do and yet another example > icq instant messanger contactlist where you can group ...Show All
Visual Studio Custom ReportRenderer?
Is it possible to extend the framework to create a custom ReportRenderer This would be nice for supporting reporting formats not supported out of the box. Yep its possible to extend SSRS to support other rendering formats http://msdn.microsoft.com/msdnmag/issues/05/02/CustomRenderers/ The MSDN Mag. article details how to create a customer report renderer -Viv ...Show All
Windows Forms Moving a form without using titlebar
Hello Everyone, I am new here. Site looks good. In VB, I want to be able to drag my program's Splash Form from within the form. So far, I only got form_click to move it, not as pretty as dragging. Can anyone show me a code&nbs ...Show All
SQL Server Self Modifying Packages in SSIS...
Someone asked about this on another forum and I've seen similar questions here as well. http://sqljunkies.com/WebLog/knight_reign/archive/2005/12/31/17731.aspx Universe.Earth.Software.Microsoft.SQLServer.IS.KirkHaselden ...Show All
Windows Forms Thumbnail an html page directly from IE programmatically?
I would like to grab an HTML page from a WebBrowser control and thumbnail it to a picturebox control. Anyone out there know how to do this The only way I can see to do this is to use shareware or a commercial product to& ...Show All
Windows Forms Can't run ClickOnce
I can't seem to run ClickOnce applications (or at least the ones I've created). It seems AppLaunch keeps crashing when I try to run the ClickOnce app. When I go to the directory that all the files are saved, and run the main app, it runs just fine. Haven't tested any other ClickOnce apps, or had other people test mine yet, not sure the problem. APPLICATION CRASHES OR MANIFEST IS IMPROPERLY FOR ...Show All
Visual Basic New to VB6
I have just been given an unused copy of VB6 Stuido 6.0 Enterprise to use at work. I am to try an learn how to use this software. So far I have been able to develop a few forms and things. Now I want to see if I can create a menu and see if I can run my forms from here. Can anybody explain or show me where I can get some information on the Menu Editor. When I try to load and show a form - ControlView I use load frmcontro ...Show All
SQL Server Report Service failed to start
New install of the June SQL 05 Standard CTP bits, the Report Service fails to start with the following errors. Service cannot be started. Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException: The user or group name 'LocalSystem' is not recognized. at Microsoft.ReportingServices.Library.Native.NameToSid(String name) at Microsoft.ReportingServices.Library.ServiceAppDomainController.StartRPCServe ...Show All
SQL Server setup.exe /qb REMOVE=ALL instancename=test
Hello , I am using MSFT SQL Server 2005 (v 9.00) and have 3 databases listed under Database when I launch SQL Mgmt Studio These are: Deva, Devb, Test I have to UNINSTALL and REMOVE only the TEST instance. I did following: setup.exe /qb REMOVE=ALL instancename=test I launch the above from C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap> but it does NOT UNINSTALL that TEST instance... can anyone please help me on ...Show All
SQL Server full-text search of related tables
We have a need for full-text search over related tables. I'll refer to these tables as A, B & C. Table A is the base table and is optionally related to table B through an outer join. Table C optionally has keywords that describe table A and are coalesced in a view with table A using a function. We are using SQL Server 2005 and would like to have a single full-text query search over A, B & C. I thought using an indexed view might be the ...Show All
SQL Server SSIS is closed suddenly
hi everyone, From time to time I experience some issues when I redefining the lenght of a group or sequence container boxes from Control Flow space and I obtain this error (devenv.exe is raised in orde to debug...) Unhandled exception at 0x54f15834 in devenv.exe: 0xC0000005: Access violation reading location 0x000008b7. Does anyone know whether is a problem beyond of SSIS or on the contrary is some stuff already reported to MS. TIA. ...Show All
Visual Studio 2008 (Pre-release) Interoperability
I am evaluating the viability of WCF for my company's next software package. One of my requirements is to provide interop with Java. From everything I have been reading, WCF can interop with Java. What I would like to know is... Where can I find tutorials and examples on how to interop with Java Things of interest would be on using some of the various features of WCF such as as wsHttpBinding. Thanks, Dave ...Show All
Visual Studio Express Editions ???????Stuck???????
I went to this site: http://msdn2.microsoft.com/system.windows.forms.webbrowser.aspx It had a code to make a web browser this, but I don't get which bits go where erc. Please Help hi, right click on any empty area in your form and select code view, it will open to you the code view scroll down you will find end class put the code b4 this line 'your code end class hope this helps ...Show All
