vln's Q&A profile
.NET Development Regasm error: Access is denied.
I have a .NET COM dll that works fine, but when I make changes and try to install the new version using regasm sometimes I get this error: RegAsm error: An error occurred while saving the exported type library: Access is denied. Any suggestions on why this happens and how to avoid it Thanks very much ! Can you give any example process file name. What is hosting process name Thanks ...Show All
Windows Forms scrolling text
Hi All, I have been tasked with adding a scrolling message at the bottom of an application. Apparently, management wants to pass information to it's associates with this 'ticker tape'. I think it's a distracting annoyance and hey, what ever happened to 'face to face' contact ! Anyway, I digress. I guess I will use GDI+, but I was wondering if anyone& ...Show All
Visual Studio Express Editions Minimize to system tray
Hi, Im looking for a solution to minimize my form in the system tray and restore it from the tray. I found alot of sites that use the 'DrawAnimatedRects' function that windows use to minimize and maximize window-forms. All this codes were in c++ or vb6. Is there anyway to use this function in vb2005 Here is an Example that i found at http://www.activevb.de/tipps/vb6tipps/tipp0182.html Option Explicit Private Declare Function SetRect Lib "User32" (lpRect _ As RECT, ByVal X1 As Long , ByVal Y1 As Long , ByVal _ X2 As Long , ByVal Y2 As Long ) As Long Private Declare Function DrawAnimatedRect ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Watch a demo of PIX!
Watch Mike Burrows as he gives an impromptu demonstration to the Channel 9 team of the Performance Investigator for DirectX (PIX) at Meltdown 2005. This tool is used with Direct3D applications, allowing you gather and fully analyze Direct3D calls on a frame-by-frame basis. http://channel9.msdn.com/Showpost.aspx postid=109396 ...Show All
Visual Studio Team System Excel workItems menu doesn't appear
Hi, I have installed VS 2005 Team Suite and finished OK. I previously installed Word, Excel and Project 2003. VS seams to work fine but I can't access the workitems menu in MS Excel. If I tried to open Excel from a WorkItems List in VS (for example from Active Bugs query results) I get an error message that says: "Old format or invalid type library. (Exception from HRESULT 0x80028018 (TYPE_E_INVDATAREAD))" The workItems menu in MS Project works fine. Is there any additional Step to make Excel works integrated to VSTS Does anyone know any workaround Thanks a lot Thanks Scott and Buck, I just changed the Regional Settings of the Client ...Show All
.NET Development XslCompiledTransform Caching
On a project i'm working, we use lots of XSLT for XML tranformation. Because XsltCompiledTransform has a very slow load, we are trying to reach the best "caching" method, in a way that all xsl files be loaded in a object we can use once the web application starts. The idea we're trying to implement is to have an outsider application(or not) which will browse all xsl files, load them using XslCompiledTransform, and save the objects in an hashtable. The problem is, that we would like to serialize the hashtable, but XslCompiledTransform is not marked as serializable. We've already tr ...Show All
Visual Studio Matrix Issues
I couldn't get an anwser to any of these in SQL Reporting Services, so I thought I would try here. I have been running into a couple of problems with my Matrix style reports: First my Matrix is a drillthrough that looks like this Year Group QuarterGroup Detail name Detail name Group1 Group2 Group3 Detail data Detail Data 1. How do I interactively sort by a detail column name, right now I'm using a switch statement in the Group1-3 sorts to allow the user to sort. The problem is this requires the report to reload and a duplicate copy be created to handle Asc verse Des ...Show All
Visual Studio Express Editions DTS into sql 2005 express edition
has anyone done this successfully documentation is limited and i am getting ready to try this - just wondering - using enterprise manager or it there a way to import data from another db hey Mike - am I able to use EM to export data to sql 2005 express edition I understand i could not import data in ya know connect to my server, and export data to the sql 2005 Express ...Show All
SQL Server Stuck between "Failed to generate user instance" and "An attempt to attach...failed"
I wrote an application using Visual Studio 2005 beta 2 which uses a SQL Express .mdf file, included in the project, for the database. After installing Visual Studio 2005 RC and the SQL Express that comes with it (I followed all of the uninstall instructions first) I can no longer add a SQL Express database to any of my projects, nor can I open the SQL Express database in my original project. When I try either of these tasks, I get the "Failed to generate user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed." I read the thread which dealt with this er ...Show All
Visual Basic Create control collection dynamically in Vb2005
Hi, does anyone know if you can create a vartiable number of controls(labels) dynamically in vb2005. Add design time the number of controls and names are unknown. If you need to convert to a Label then: Private Sub Label_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Dim lbl As Label = DirectCast (sender, Label) Messagebox.Show( Me .Controls.IndexOf(lbl).ToString) End Sub Else, just use the sender: Private Sub Label_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Messagebox.Show( Me .Control ...Show All
SQL Server error in execution time
hi all i am working in sql reporting 2000. In my report i have included field to display the execution time. That time is not changing if i am running the report again & again. Its only showing the time at which report was run first time in current Internet Explorer window. how can i get current time in report plz help me. In your text box, put this: ="Report Created On: " & Globals.ExecutionTime ...Show All
SQL Server Separate date and time datatypes - come on guys!
Oh for crying out loud, how come there aren't separate date and time datatypes in SQL 2005! I know for a fact that this feature has been requested for YEARS!!!! Thanks for giving me the YAGNI feature of renaming my menu items in SQL Management Studio. I guess that was somehow a higher priority than a time datatype. NNTP User wrote: TimeSpan supports full milliseconds. -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- I'm assuming you mean the TimeStamp type which is referenced as @@D ...Show All
.NET Development How to tell if a column in DataTable (ADO.NET) is mapping to "image" type in SQL Server?
Hi, everyone. I am using .net framework 1.1, VS studio 2003 and MSSQL Server 2000. I tried to write codes to clear all the image data in several tables which are stored in a dataset named myDataSet. As I know, the image type in MS Sql Databse is maped to Byte[] in .Net. I used function GetTypeCode() to compare the column type with the standard Byte[], but it doesn't work. Any idea thanks. Following is my code: byte[] bt = new byte[100] for(int j=0; j<myDataSet.Tables.Count;j++) { for(int k=0; k<myDataSet.Tables[j].Rows.Count ...Show All
Visual C++ Linkerproblem LKN1313
Hi, I would like to do some log-manipulations. Therefore i need math.h which i include to my project. Compiling my project throws out the (german) Linker-Error-Message: libcmt.lib(log.obj) : fatal error LNK1313: ijw/native-Modul gefunden. Es kann keine Verknupfung mit pure-Modulen hergestellt werden. How can I solve this problem thanks in advance drole If you are compiling with /CLR:pure then you can't mix native or IJW (compilerd with /CLR) with such binaries. See which binaries you are trying to link to that are either native or IJW and make sure to remove these from the linker com ...Show All
Software Development for Windows Vista Help Desk Support Sample APp does not compile
Error 1 Could not find type 'SimpleReadWriteActivities.SendData'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built. 0 0 Error 2 The variable 'sendData1' is either undeclared or was never assigned. C:\Windows Workflow Foundation\Examples\SimpleReadWriteActivities\2005-10-11\HelpDeskProcess\Workflow1.designer.cs 70 1 Error 3 Could not find type 'SimpleReadWriteActivities.ReceiveData'. Please make sure that the assembly that ...Show All
