Northern Rob's Q&A profile
Visual Studio Problems with Drillingthrogh Detail Report from DLL
Hello forum We are developing a WinForrms application that uses muti-layer technology in which the report viewer is a layer that includes a winform that belongs to a separate project within a single solution. This tier shows all the application reports using a single ReportViewer control in Local Mode. We use drilling to show detail reports through links in master reports. It works fine if we generate an exe file and it executes isolated. But when we change the project to a class library application type and runs the report layer (a generated dll) from the initial exe, this one show the first master report with no problem, but when we "drilltrhough" to any detail report an error occurs: "The definition of the <my_detai ...Show All
Visual Studio Team System Name instead of UserID in Assign To dropdown list
Add name instead of userID in Assign to – who knows a devlopment teams (10-20 people) all userid’s xx98237d. Hi Daniel, Thanks for the reply, it was a AD side issue as the display names for some users were mentioned incorrectly. Regards, Vijay ...Show All
Windows Forms 'Unable to Load DLL' that a control depends upon at design time.
Hey, I've had this problem a few times recently. I'm working with Visual C# 2005 Express Edition. I have a Windows Form Control that depends upon a legacy DLL file. At runtime the behaviour is fine as the DLL is in the output directory, but the Windows Forms Designer struggles with this control. Unable to load DLL 'scilexer.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) The odd thing is that it managed to create the control fine in the first place, but subsequent attempts to edit it fail. The dll file it depends on has been added to the project, is in the main project directory and is in the bin\Debug directory. Do I need to put it somewhere else for the designer to find it ...Show All
.NET Development Xml Woe
Ok, so I have a function to parse an xml file in my application. Now, the only problem is, I need to know what level I'm at, and I move up a level when I find a Node of type Element, and go down a level when I find ElementEnd. My problem is, when I come across an element where it looks like this: <element /> Instead of: <element> </element> It messes me up, because it's only picked up as an element, and no element end. Here's the code I'm using: langReader is System.Xml.XmlReader fParseLog is just a form with a log on it while ( langReader.Read( ) ) { // This variable stores what each line in the log window is sWindowString = ""; // Use a switch flow-control to determine the type of ...Show All
Visual C++ No events, virtual functions, etc. for derived class in properties window
Hallo! I'm trying to build a C++/CLI Windows Forms aplication. I added beside the main project a class library poject and added there a custom control class. After that I change the class code to inherit from System::Windows::Forms::Button so I can build a custom button control to be used in my main projects forms. My problem is now that I don't get any assistance from the IDE to override the Button's virtual functions or events like I was used to in MFC by clicking on the class in the class view and then selecting the needed event in the properites view. All the three tabs (events, messages and virtual functions) are all empty. Am I doing something wrong here Is this not the way you should subclass a control in .net Thanks for an ...Show All
.NET Development .NET Control embedded in Internet Explorer?
Hi, I have embedded a .Net user control in HTML with <object> to do some UI in IE. I can call the methods of the .Net control from JavaScript in this .html page. But, how can I enumerate and manipluate these HTML Elements from the .Net control Thanks :) ...Show All
Smart Device Development Update Control on Loading/Splash Screen in Separate Thread
Hi all, I am working on an CFv2 app that needs to run a few processes before displaying the main form of the app. I want to have a loading screen with a progress bar and label that are updated to reflect where we are in the process of initializing the app. The loading screen is the first one the user sees, but FormMain is loading first and opens the loading screen in a separate thread while the main form continues processing. I currently have the app loading the loading screen while the rest of the app initializes and then it unloads and displays my main form as it should. I based my code off of a webcast by Maarten Struys (Creating a Windows Mobile Line of Business Application - episode 6 of 13, User Interface) and it is working fine. The ...Show All
.NET Development computer name to ip address c# Activator.GetObject
Hello How do I get the ip address for computers in a workgroup General Context >>>>>>>> C# Programming Language Windows XP Yes Windows Workgroup .. No Domain Controller .. No Active Directory Network Connections Properties Client for Microsoft Networks .. F and P Sharing for MS Networks ... NetBUI Protocol... Internet Protocol (TCP/IP) Activator .GetObject(elided) works and remote call is successful on single computer and cross computer is successful as desired. Ping IP address is successful. And file sharing is successful between the computers. Connectivity exists. Cross Computer Activator .GetObject(elided) works ONLY with ip addresss of remote computer, not name. I walk to the other com ...Show All
Visual Studio Tools for Office Excel not refreshing http-deployed assembly
After updating http-deployed customization assembly, excel fails to get the new version of assembly via http. I have originally provisioned the document with a HTTP-based location of the customization assembly. Then I tested that it opens the document and loads assembly. Since then I modified the assembly to add some code, and: 1. Re-deployed the assembly to same http location. 2. Provisioned xls file to point to http location. However, the excel complains that it cannot load a certain type through this assembly. (a new user control I added). Could not load type '<My Assembly>.<new user control>' from assembly '<My Assembly>, Version=1.0.0.0, Culture=neutral, PublicKeyToken=hhhhhhhhhhhhhhhhhh'. ***** ...Show All
Windows Forms Setup Questions - Passwords, EULAs and more...
Hi, I've got three questions regarding the Setup Project abilities. Is it possible to password protect your applications' installer Can you add EULAs, information before/after the install occurs Can you allow the user to dictate whether the installer can or can't put a Quick Launch/Desktop shortcut and a Start Menu folder Thanks, Eragon. Here is the land of hope: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=6&SiteID=1 ...Show All
Visual Basic Two More Questions (VB, VS 05)
Firstly these two questions should be the last for a while. Q1 : I have a NotifyIcon, with Context Menu but I would like to have my application Close or Minimize to the Notification Area so that a sub-feature can do its thing. I have looked on the MSDN and elsewhere online but cant find actual examples of this is it possible Q2 : As for the sub-feature, its a timer activated process stop (every 10 minutes it stops a process that comes back on its own withing that time period) I have the timer code, and it works, but I would like to have it so that the user has to check a checkbox to start the countdown for the autoclose. No rush on this as I have to further test the rest of the project. Many Thanks Danie ...Show All
Smart Device Development Discover cradled PocketPC
Hi! I'm looking for a way to programmatically (preferably through .NET, but native code will do as well) discover a PocketPC in its cradle so that I can access its registry and retrieve some files from it. I'd be grateful for any help in this matter. I forgot to mention that I'm working in the VS.NET 2003 Dev environment. I can't find anywhere saying that class is available in the .NET 1.1 framework. I've been trying to find an answer to this for quite some time now, and I appreciate your help. ...Show All
Visual Studio How to debug a sqlserver native xml service ?
I can't debug my sqls2005 native xml service. I'm using vs2005 team edition, xp sp2 with firewall turned off, win srv2003, sqls2005 sp1 I can debug tsql code called thru ado, but I'm not able to break in tsql store proc called with sqls xml service (create endpoint ... mapped to a tsql proc) What I have to do is not clear at all. Can I debug from the debug session of my client apps Do I need a 2nd vs2005 attached to sqlserver process I tried all, but never my tsql code break in the debugger... Help ! Nicolas Nicolas, It appears this is not a supported scenario. I am looking into this some more and will get back to you when I have more information. In the mea ...Show All
Visual Studio 2008 (Pre-release) Bindings For ComboBox
Using the code behind how can I retrieve what is bound to a combo box that is specified in XAML I'm playing around with the WpfErrorProvider http://www.codeproject.com/winfx/wpfErrorProvider.asp and I'm tyring to extend it to validate a combo box. Debugging the code, it looks like it never find the binding for the combo box. I'm setting my DataContext in the code behind. My ComboBox is beind bound to a collection inside the object that is set as the DataContext. The binding for the ComboBox is being declared in the XAML. ...Show All
Visual FoxPro Organizing project files
I'm trying to clean up unused files. Over the years my.pjt has piled up about 400/800 files of all sorts (.prg, .scx, .vcx, .mnx, .bak, .ini, .xml, .vbr, .err, .dbf, .fpt., .txt, etc.): located in 10 directories ... which is just cluttering up those directories. Is there any suggestable (lazy) way to re-organize and/or clean up (discard old unused files) or copy out only the my.pjt vital files (other than excluded report files, help files, and picture files). Thanks in advance, Having used both schemes (Tamar's and David's) with minor alterations (Sunday evening) I was able to track down and *dissect-out* most unwanted project inclusions (via David) and most unwanted files (via Tamar) with little sequela. Thanks again for your help. ...Show All
