Oscar Marquez's Q&A profile
.NET Development about collection and template variable
Hi: I am using Visual Basic.Net 2005 and Framework 2.0. Now I design a class as following: public class para(of T) dim ab as integer dim content as T end class and also I have another class public class equipment dim id as integer dim name as string public paracol as New System.Collection.Generic.list(of Para) end class Here, I have a problem. Because my class para includes a template type T, when i create a collection, I can't do that Anybody knows how to do that Thank you very much! Well, either you know what type you are going to use as the type parameter in ...Show All
Visual Studio Permissions problem?
Hi, my company is using VSS with Visual Studio 2005. VSS is installed on the local Domain Controller (yeah, I know, not recommended). There were 5 developers working on a project, and they could access the database just fine. When 2 others arrived and accounts were created for them, they couldn't access the source trees anymore. I mean they're able to log in, and they see the project names, but when they click "get latest version" an error pops up saying "Error...access denied." Now I've tried setting the permission to full to just about everyone on the VSS server share, and this error keeps popping up. Can anyone help me ...Show All
Visual Studio Team System Default instance not SQL Server 2005
We're still using SqlServer 2000 in most of our products and a switch to 2005 is currently not possible. I want to ask if there is way we can install TFS without everyone changing their configuration files to use a named instance of SQL Server 2000. Team Foundation does require that SQL 2005 be the default instance. We have some specific checking for this in V1.0. And, at the moment we don't have a direct way to support named instances via Setup. (note: we are looking into this for the future). So, you might be able to find a way to get your other users to use named instances but TFS is going to demand t ...Show All
Visual Studio Express Editions Application goes blanc
Hi when I'm using the graphics system to draw out points on my form in a loop ( finite) , the application sometimes goes blanc. It also doesn't update some labels even when these are in a different function. Anyone had the same problem I use this sub as a delay Sub Delay() Lvoltooid.Text = CStr ((i / 100000) * 100) & "% is voltooid" PgbVoltooid.Value = PgbVoltooid.Value + 1 System.Threading.Thread.Sleep(TBTijd.Value) End Sub But the Lvoltooid.Text just doesn't update I had this same type of problem where I was trying to update a label's text value. I ini ...Show All
Windows Search Technologies Forum for Vista Windows Search APIs?
Hi Which forum or newsgroup is best for asking development questions about the 'Windows Search' APIs in Windows Vista So far looking at the posts in this forum they seem to be specifically about WDS on XP/2k3. One possible forum I came across was the "Search, Organize and Visualize in Windows Vista", but I don't see much activity in the forum and not really many developer related queries and hardly any responses from MS developers. Thanks Hi Sean, You've come to the right place. Please feel free to ask your Windows Vista Search questions here. I'll do the best I can to help find the ...Show All
Visual Basic VB.NET Datagrid - Easy way to change selected row based on user key press?
Does the datagrid provide functionality similar to a listbox wherein if the user hits the letter x on the keyboard, the datagrid will scroll to the first occurance of this letter in a particular column Thanks... ...Show All
.NET Development AutoResetEvent.Set and WaitOne, WaitAny
Hello, I have some problems with AutoResetEvent: 1. when I look at the result of calling the method Set() the result is sometimes false - it is nowhere documented what to do when such a result occurs. 2. The functions WaitOne and WaitAny sometimes don't wait although the event is not set. Also calling Reset before the Wait-function doesn't work. 3. Sometimes a set event doesn't free the waiting WaitAny-function (although this is the only waiting thread and I logged the Set()-function). When using breakpoints I get almost the same results like when using logfiles - except I have problems with my modem communication because of timeo ...Show All
Windows Forms UITypeEditor for complex type
Hello. I'm tring to create custom editor for Brush object. I've done the UITypeEditor, attached the property and everything. private Brush _brush = Brushes .Yellow; [ BrowsableAttribute ( true )] [ EditorAttribute ( typeof ( CustomBrushEditor ), typeof (System.Drawing.Design. UITypeEditor ))] public Brush Brush { get { return _brush; } set { _brush = value ; } } My problem is that the value selected on the editor doesn't updated in the Initializes components method, for simple properties such as ints, string or even Color, it works, but for Brush, it doesn't. (the new value is painted on ...Show All
SQL Server Connecting SQL2000 problem
Hi All, I have a sqlserver 2000 & 2005 both installed on same server with the instance name as servername\sql2000 and servername\sql2005. When i try to connect the sql2000 database from dotnet2002 or 2003, It comes up with an error as sql server doesnot exist or access denied but when i tried with dotnet2005, i am able to connect it. I guess it has to do with an dotnet framework 1.0 & 1.1 but i am not sure where to look for it. Can someone please point me to right direction Thanks Shaik Nagul on the client, check that the TCP protocols are enabled using the Client Network Utility (cliconf ...Show All
.NET Development Objects based on Control and MarshalByRef
Hi all, Hopefully you guys might have some good news for me. Currently in .NET 1.0 & 1.1 when trying to remote any object based upon System.Windows.Forms.Control across app domains fails due to, I believe, the ControlCollection not being serializable. The reason why the Control object itself would be marked MarshalByRefObject and then the contents couldn't be serialized is beyond me. It caused me my fair share of headaches. I am creating and application with a Plugin framework in which we wanted to load plugin assemblies into their own AppDomain so that we could isolate, maintain, and secure the ...Show All
SQL Server Is it possible to run SQL 2000 and SQL 2005 Express on same server
Hi all, I currently have SQL 2000 enterprise running as the back end for my companies Windows Sharepoint Services site. It is pretty big and working fine. Running on Server 2003 Standard. I want to start testing/learning with Visual Web Designer 2005 Express and SQL 2005 express. When I installed the above on a test server the SQL 2005 express failed to install. Everything else seemed to install and work fine. I am assuming this is because SQL 2000 was already installed. Is it possible to run both side by site. I really want to keep the SQL 2000 dedicated to just the WSS site and do some testing devoloping with the VWD2005 and SLQ 200 ...Show All
SQL Server RS Security Best Practices
Dear Anyone, Does anyone know where I can find some papers regarding best practices on how to implement security in reporting services Thanks, Joseph Books Online should be a good start for overview. There is a whitepaper on how to develop a custom security extensions, but that might be beyone what you're looking for. If you have specific questions, please ask. -Lukasz --- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Visual C++ express error when trying to compile DirectX9 SDK tutorial.
I get the error, "c:\program files\microsoft directx sdk (april 2006)\include\d3d9.h(40) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory" when trying to compile the DirectX9 SDK's tutorials. For some reason the compiler can't open objbase.h in the d3d9.h... Can anyone help me figure this out have you installed the platform SDK, you need this for the express products and directx. http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx ...Show All
Visual Basic Calling API with "void *"
I declare a function in VB6 thusly: Private Declare Sub CopyPtrFromStruct Lib "kernel32" Alias "RtlMoveMemory" ( ByVal ptr As Integer , ByRef Struct As Any, ByVal cb As Integer ) and call it: CopyPtrFromStruct(mxcd.paDetails, Struct, Len(Struct)) What should I change the "Any" to in order for this to work I tried Integer, but then got the compiler error "Struct cannot be converted to Integer." Thanx! ---Mike Here's how your declaration should look like: .cf { font-family: Courier New; font-size: 10pt; color: #575757; backgro ...Show All
Visual Studio Express Editions I got an error
I'm getting this message when adding an GIS OCX library to my VB Express project. "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I have the tested the memory and it's ok. The "Factory" says it works well with VB2005 PRO. Is there a difference between VBexpress and VB2005 PRO Regards, jalegom No difference between Express and VB2005 as far as the compiler is concerned. The compiler ships with the .NET framework and not with the different products. So all versions use the same .NET 2.0 framework compiler, So I would ...Show All
