Software Development Network Logo
  • Visual Basic
  • SharePoint Products
  • Visual FoxPro
  • Windows Forms
  • Visual C#
  • Audio and Video
  • VS Team System
  • SQL Server
  • .NET Development
  • Visual C++
  • Windows Vista
  • Visual Studio
  • Game Technologies
  • Microsoft ISV
  • IE Development

Software Development Network >> nzmike's Q&A profile

nzmike

Member List

koby198
MffM
Lee Rivers
Price Brattin
DaPosh
Alan Robbins
viv3
jorisp
WinFormsUser13232
Matt Morehead
zoujing
Joel Triemstra
Camac216336
Steven McCarty
etones
Bartosz
A.Arora
MA2005
Alexpa
Hoang Le
Only Title

nzmike's Q&A profile

  • Visual Basic Upgrade Failed: Exception occurred: General error accessing file "D"

    I'm getting an exception message upgrading a VB6 EXE to VB 2005. Do you have any tips that could help me identify the problem. I've already fixed the Case Is syntax error mentioned in KB 915917. Are there other KB articles that I should review. Thanks I'd also like to add that this Crashes VS2005 and that there is no source file "d" in the vb6 project. I'd also note that you dont get the usuall send crash report dialog, it simply crashes VS2005. As a work around I tried to convert in VS 2003 and found that conversion in VS2003 is now broken. Can anyone tell me if convert utility should (a) work on machine with vs2003 and vs2005 or (b) does Vs2005 install upgrade the conversion utility. Thanks ...Show All

  • SQL Server Dimension / Dimension member security without Windows Authentication

    I have an application that allows user to create charts and reports base on a AS2005 Cube. The application has its own user authentication logic (user info/pw stored in database) and does not use Windows Authentication. I want to apply my custom authentication to secure certain dimensions and dimension members in the AS2005 cube. Is there a way to do this without using Windows Authentication Mosha Pasumansky wrote: If your application is ASP.NET app, and you open connections to AS from there - you can manage your own security by injecting into connection string either Roles or EffectiveUserName (the later does require Windows principal to exist) properties. For more info see this presentation: h ...Show All

  • Visual Studio Express Editions Where have all the files gone?

    Once I have published a project and run the 'Setup' file created where exactly have my application files been installed to. I found an *.exe in the Main Projects debug folder, but cannot find where files are installed to if an application is installed via the aforementioned 'Setup' file. Are you using clickonce to deploy the application, if so it creates a temp directory for the application (From memory, havent used it much) and each time you start the exe it re checks the setup file for the latest version and then runs from there. You will have to look at how the click once system works and go from there. ...Show All

  • Visual Basic Multithreading and Windows forms

    Hi I am Having a problem using Multithreading in vb.net i need to exectude this code in a different threat Private Sub FillSubType() 'IsLoading(True) lsvSubType.Items.Clear() Dim pServiceID As Integer = 0 For Each obj As ListViewItem In lsvServices.SelectedItems pServiceID = CInt (obj.Text) Next Dim SubTypeList As New IFF.IFF.IFO.ItosCollection( Of Server.SubType)(Service.getSubType(pServiceID)) For Each SubType As Server.SubType In SubTypeList Dim lsvLine As New ListViewItem(SubType.SubServiceID) With lsvLine.SubItems .Add(SubType.SubTypeCode) .Add(SubType.SubTypeDescription) End With lsvSubType.Items.Add(lsvLine) Next 'IsLoading(False ...Show All

  • .NET Development .Net Framework 3.0 imcompatibility...

    I have on a local dev machine on XP pro SP2 (P4 Optiplex GX280 2GB ram, digital video FPD): .Net Frameworks 1.0, 1.1, 2.0, and 3.0 installed hosting IIS SQL Server 2000 (dev) VS 2003 sp1, and VS2005 sp1 My project that uses remoting for data communications had a Critial Failure: The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: .NET Runtime version 1.1.4322.2032- Setup Error: Failed to load resources from re ...Show All

  • SQL Server Data Mirroring Vs. Log Shipping Vs. Replication

    Hi everyboby, Can anybody tell me the differences, advantages and disadvantages between these three solutions When do I may use one or another Could you recommend me any documentation Thanks a lot, Radamante71. This white paper ( http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx#EVKAG ) also has a section that compares different high availability options in SQL 2005. ...Show All

  • Visual C++ Question about const_cast

    Here's round two of my silly questions. How come this compiles: ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int &> (test1); return 0; } ---------------------------------- But this does not. ---------------------------------- int main (int argc, char * argv[]) { const int test1 = 5; const int test2 = const_cast<const int> (test1); return 0; } ---------------------------------- Error 1 error C2440: 'const_cast' : cannot convert from 'const int' to 'int' j:\test\main.cpp 4 ---------------------------------- I definitely have the latest version of VC++ Express Edition this time. Suncho wrote: ...Show All

  • .NET Development Overridden properties and Xml Serialization Question

    I've got a situation where I want an overridden property in a derived class to use a different xml element tag than the base class uses. Actually, that is my entire reason for overriding in the derived class and I'm getting the following error: Member '.ContentId' hides inherited member 'MediaInfo.ContentId', but has different custom attributes. The funny thing is that this is presented as an error, when it is actually a perfect description of the behavior I desire. Is there any way to achieve this or is this an inherant limitation of the Xml serializer Code sample below: class A{ [System.Xml.Serialization. XmlElementAttribute ( "content-id" )] public string ContentId {....} } class B : A{ [Sys ...Show All

  • Windows Live Developer Forums add layer but keep current view?

    I am trying to add layers that I only want to appear when the user is at a certain zoom level. My first hurdle seems to be that when the layer loads the map jumps to zoom level 1 with the whole earth displayed each time. I would prefer that the center, zoom, etc. remain the same as before the layer is added. Is there a way to do this Thanks, harold As for your first hurdle, I would suggest this: You can't disable the auto-map recentering that happens after adding a layer. Do, after calling the AddLayer() method, call SetCenterAndZoom(). If you want to always go back to the same location and zoom level that the user was at before loading the layer, you could save that info in variables and t ...Show All

  • Visual Studio Express Editions determine specific control

    I'd like to have the same event be used for several controls. For example, if I have 3 buttons I'd like the click event of one of the buttons be used when any of the 3 buttons are selected ... Private Sub Button3_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click, Button4.Click, Button3.Click Within this subroutine how do I use sender to determine which button was clicked End Sub This would work if you knew that only button events where hooked up but as we can now hook up different controls events to a method - I had used the ctype to control - just to get the name to demonstrate getting the control that fired the method. If you wa ...Show All

  • SQL Server Add parameter to "navigation" url

    Add parameter to "navigation" url - Hello, I'm trying to add a parameter to my JUMP TO URL but it doesn't work. basiclly i'm useing javascript there: javascript:window.open('http:www.a.com num=XXX'); i want to change the XXX with a value from the dataset. I tried - javascript:window.open('http:www.a.com num= + Fields!ME.Value '); or - javascript:window.open('http:www.a.com num= & Fields!ME.Value '); it didn't worked :( any help Thank, I manage to do it with a + . The problem was that i wrote it as a line with out inverted commas (") and with out an equel sign (=) before. silly me :) Thanks for your replay. Roy. ...Show All

  • Silverlight (formerly WPF/E) Find a bug about obj.children.add/remove with Canvas.Triggers

    When it is a Canvas.Triggers in a Canvas, and I bind a javascript function on this Canvas, if this function made this Canvas removed from it's parent object, and add into this parent object after removed ( just for the z-index effect ), the Canvas WILL BE run out of the eye Have you tried moving your Triggers property before any Children elements inside your Canvas That might do the trick. Thanks, Ed Maia WPF/E Program Manager ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Release of XNA Game Studio Express

    Could we have more information about the releashe time In witch time zone I will wait until midnight GMT -5. Should a go sleep before and wait until tomorow Jim Perry wrote: If you're really dedicated you'll stay up until you have it downloaded, installed, and made a game. If only some of us were that good at game programming. personally I put off learning DX9 for the last couple of weeks, I am just learning, for XNA and have just been reading up on theory and looking ahead in my physics class. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Several REF/Runtime/documentation bugs/suggestions

    Hi, everybody. I've been doing things with D3D10 for some time and I must say that I'm overall impressed, it's a very good piece of software. However, there are some things I'd like to see improved. The first one is improvement of documentation - I hope, that it will be done before release :) There are lots of problems here - some wrong (SampleLevel parameters) / missing (how to use SampleCmp - it never says it needs a SampleComparisonState, in fact it does not even mention such type anywhere - I found it in fxc10.exe; pitch behaviour for block-compressed textures (it is not mentioned in docs as it was in D3D9, though it was different from D3D9 in June SDK - and was changed in August SDK to D3D9 way); the deprecation of BGRA fo ...Show All

  • .NET Development Profiler adding a new type field via IMetaDataEmit::DefineField results in "_CorExeMain failed"

    m trying to add two new fields (one of type bool and one of type string) to System.String and System.Text.StringBuilder; I'm targeting .NET 1.1 and this is what' I'm doing : 1. in ICorProfilerCallback::AssemblyLoadFinished if the assembly name is mscorlib get main module 2. locate the types using IMetaDataImport::FindTypeDefByName 3. for each type call IMetaDataEmit::DefineField with the following signatures: COR_SIGNATURE sig_bool[2] = { IMAGE_CEE_CS_CALLCONV_FIELD, ELEMENT_TYPE_BOOLEAN }; COR_SIGNATURE sig_string[2]= { IMAGE_CEE_CS_CALLCONV_FIELD, ELEMENT_TYPE_STRING }; The fields seems to be added OK (there is no error) but later when the main application assembly is loaded I get the following error: "Could not ru ...Show All

©2008 Software Development Network