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

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

VonRath

Member List

Alan Koo
Mitch Wardrop
joshlrogers
Randy Trexler
Owend
mr4100
Roachy
myoungbl
djshades2004
CrystalDeveloper
satNaru
TaiChiMaster
PiGuy
Hawkeye7
IMBack
neo1000
Sjeekspier
meighlough
Yulia
Kyle_W
Only Title

VonRath's Q&A profile

  • .NET Development Permission error when attempting to debug an web site on a server

    Hi... I have a web application written using VS2005, .net 2.0.. it's located on a server.. From my local Win XP machine I can map to the server just fine and edit/manipulate files and folders on the server with no problem. I can execute the application just fine from my local WinXP machine thru a browser.. I can also run Visual Studio on my local machine and edit/save files in the web application on the server from my local machine with no problem. However, when I attempt to run the application on the server in debug mode from my local machine I get a bunch of build errors reading: "Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934 ...Show All

  • Windows Forms Monitoring Changes on a Tab Page

    In my WinForms app I have a tab page with a bunch of controls on it (e.g. textboxes, checkboxes, buttons, radio buttons, etc.). Is there an event, or a few events, of the tab page that I can monitor to see if any changes to any controls on the tab page have been made Robert W. http://pocketpollster.com rwerner wrote: Is there an event, or a few events, of the tab page that I can monitor to see if any changes to any controls on the tab page have been made When tabs are changed there are no validation events that occur. When tabs change you get a series of events: Deselecting, Deselected, Selecting, then Selected. Both Deselecting and Selecting can be canceled, it is in one of these two event ...Show All

  • Visual C# O/R mapper LLBLGen Pro or do you know better alternative in .NET?

    What experience do you have with O/R mapper in .NET I need to choose one for use in my company Which one is the best for you I have seen lots of positive feedback about this one: LLBLGen Pro What do you thing about this Is it good or can I find better alternative Regards cyberjoe The answer is "it depends". Here is an interesting read: Solving the Data Access problem: to O/R map or not To O/R map ...Show All

  • Visual Basic Custom CType operator not being called

    This code defines a custom CType operator that converts Integer to TestNumber. This works great when converting from Integer to TestNumber. But an InvalidCastException occurs when converting from Object of type Integer to TestNumber. The online help for CType function implies that this call should work. "If the conversion is undefined, an InvalidCastException occurs. This can happen, for example, if expression is of type Object and its run-time type has no conversion to typename ." But because of the custom CType operator, there *is* a conversion from the run-time type (Integer) to typename (TestNumber). This problem is causing big headaches in my app. It happens on both VS 2005 and VS 2005 SP1. This seems like a CType bug ...Show All

  • Visual C# cpp to c# - & operator

    Hi, I am rewriting my cpp app to c# and I am unable to convert this part: int flags = object.Flags; if ( flags & 1 ) { ... } if ( flags & 2 ) { ... } I am getting this error: 'Cannot implicitly convert type 'int' to 'bool'' Thx for help. Hi, i had the same problem, while i am migrate from c/c++ to c# for a long time... The problem is that in c# the if-"Courier New, Courier, Monospace" color=#0000ff>int flags = object.Flags; if ( ( flags & 1) != 0 ) { ... } if ( ( flags & 2 ) != 0) { ... } ...Show All

  • Visual Studio Express Editions Read Serialnumber of Harddrive

    Hi, i want to read the serialnumer of hardrive. In 6.0 the it was working with this code Declare Function GetVolumeInformation Lib "kernel32" Alias "GetVolumeInformationA" _ (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, _ ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, _ lpMaximumComponentLength As Long, lpFileSystemFlags As Long, _ ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long : Dim strRootPath As String Dim strVolName As String Dim lngVolSerialNumber As Long Dim lngMaxComp As Long Dim lngFSFlags As Long Dim strFSName As String Dim lngDummy as long strRootPath = "C:\" strVolName = S ...Show All

  • .NET Development Suppressing display of duplicate values for a given column in DataGridView.

    Hi, Some help please, There is any method that can make the display in a datagridview look like this Date Transactions Type Amount 12/23/2006 Rents $450.00 Overdue $50.00 Sales $150.00 12/24/2006 Rents $500.00 Overdue $30.00 Sales $200.00 How can i suppress the display of duplicate values for a given column in a datagridview. Maybe this thread will help. ...Show All

  • .NET Development dispose method in a correct way

    Hi, Please help me with the following questions: 1. What is the difference between the managed resources and unmanaged resources Any examples 2. When i disposing an object, Do I have to set the object to nothing as well For example: Finally cmd.Dispose() cmd = nothing End Try 3. When disposing, do I have to set every instances to nothing For example: string, integer, etc 4. When disposing an object, do I have to check if the object is nothing For example: If not IsNothing(cmd) then cmd.Dispose() End If 4. If I create a new class, Do I need to implement the Dispose method 5. What should I do to properly clean up the resources 6. Sometimes I saw some object might have two ...Show All

  • Visual Studio Express Editions Visual C# documentation

    Hello, does anyone know a good reference book on Visual C# and related topics (ADO.NET and so on) updated to :NET Framework 2.0 I was able to find only books on 1.1 version and for ADO.NET applications it is a problem, as the TableAdapter class was not present in the previous version pino69 Hi pino69, Here are some books that I started with (I don't know you level of coding so take no offence please) http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764589555.html http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764578472.html http://www.sellsbrothers.com/writing/wfbook/ and this one I'm waiting to be published, but looks good http://www.wrox.com/WileyCDA/WroxTitle/prod ...Show All

  • Visual Studio Team System Propagating Work Items across Team Projects

    Is there a way to propagate work items across different projects. For example, if a task is to be done for all team projects, must I create the same task on each team project Is there a way to export work items Is there a way to track these propagated work items without going to different projects You will have to create the work item in all projects. To make it easy, you can create it in 1 project and then create copies of it in all other projects, by right clicking on it and saying Create copy of work item. Or you can use Excel/Project to easily copy and paste the same work item into different team projects (one Excel/Project file per team project). Hope this helps! ...Show All

  • Visual Studio Express Editions File Path Error

    At compile time, the application read the source file from the correct path. But, when the application is deployed, the source file will be included in folder of the project. As a result, the "can't find file" error at the client computer. Example: at run time, the application is in this location; C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\TestProject\TestProject\termFile.txt But, when the application is deployed, the termFile.txt file will be included in the c:\TestProject\Deploy\termFile.txt instead. When the client setup and installed the application, the program still try to access the old location C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects ...Show All

  • Visual Studio Express Editions creating .exe program

    i have created a software in VB but when i publish it in my desktop to get the setup file its in application-manifest format and not exe how can i make the program a exe program ReneeC If this is the case, it is even more confusing! You test a program with the debugger, and then you certainly hope that the published program is the same or else you publish an untested version. I have newer used any other exe file than the one from the \bin\debug\ folder and this works fine - even for publishing. All this publishing stuff is really something, which need to be explained. I simply do not understand the wisdom behind. For example, how can more different solutions share the same source code (project), ...Show All

  • SQL Server reporting services and mozilla

    would someone know what i should to to make my report display in mozilla. I have added a textbox at the bottom of the reports' layout and this only helps a little because only the firts page of the report shows clearly in mozilla. The rest of the pages appear squashed to the left in the mozilla browser. This is due to a bug in Mozilla code. For your reference: https://bugzilla.mozilla.org/show_bug.cgi id=350506 We are investigating a possible workaround which may be available in SP2. Stay tuned. -Chris ...Show All

  • Windows Live Developer Forums Transparent interface?

    how do I make the <div id="info"> part of the map from the API transparent like the dashboard Agreed on the entire div (and text) being transparent. Another way around that is a second div positioned relative to the background semi-translucent div; set that div's z-index higher and it's background to nothing. The text and or inline html controls will then render clearly above the other layer. ...Show All

  • SQL Server How to pick up the last value within a time dimension member

    Hello, When creating a measure it is possible to select the Max or Min value of the input table column for a particular time dimension member. In a similar way, I need to be able to pick up the FIRST or LAST value for the particular time dimension member eg. Last value of the day, week, month etc. Does anyone know a way to do this I have experimented with Last NonEmpty but this seems to have some sum aggregate functionality which I do not want. Many thanks Adrian West What version of Analysis Services are you using. In AS2005 you have new aggregation functions like LastNonEmpty. Check this under the aggregation methods on the first tab in the cube editor(where you can ...Show All

©2008 Software Development Network