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

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

Spanglishone

Member List

Ram Pradeep
SatishM
Mamush
Pure Krome
Gloria123
Dotnet Fellow
DigitalNoise
MagedSalah
AlexCr
stiflersmom100
aero1
Mahyar154572
clint 2
Damien Liddane
Keren S
vtortola
R.Tutus
Juan Pane
Bryce Beagley
Jaime Stuardo
Only Title

Spanglishone's Q&A profile

  • SQL Server Cannot access Stored Procedure

    Hi I'm using SQL 2005 with Management Studio. I started having trouble accessing one particular scalar function today. I am able to run alter, drop and even exec commands against it but when I try to generate a script for it (or Modify it using Management Studio) I get the following exception: Syntax error in TextHeader of UserDefinedFunction 'sp_name'. (Microsoft.SqlServer.Smo) at Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase.CheckTextCorectness(String ddlText, Boolean enforceCreate, Boolean checkName, String[] expectedObjectTypes, DdlTextParserHeaderInfo& headerInfo) at Microsoft.SqlServer.Management.Smo.ScriptNameObjectBase.CheckAndManipulateText(String ddlText, String[] expectedObjectTypes, ScriptingOptions so, Boolea ...Show All

  • Windows Forms UserControl with ComboBox

    My aplication needs a usercontrol consisting a combobox. So I have to provide the commonly used propertiesfor the comboBox for this usercontrol as well. I build this UserControl DLL and using in some other Windows Forms, but then some problems arises. I have few problems in that: 1. There is a property called "FormatString", I have attached the editor "FormatStringEditor" also with this while declaring this property. But when I try to use this property in the "property-pane" I am getting an error Object Reference not set to an instance of an object" 2. I have also exposed the property for "Text" and "Items" and attached these properties to the ComboBox corresponding prop ...Show All

  • Visual C++ warning C4273: 'MyClass::MyMethod' : inconsistent dll linkage

    Hi -   I'm cleaning up some code and would like some feedback on link warning C4273. Here's the scenario... I'm referencing unmanaged code in a C# win app via a C++/CLI wrapper. The wrapper wraps an unmanaged Win32 dll. So I have 3 apps - MyCSForm.exe, ManagedWrapper.dll, unmanaged.dll (and .lib). The warning occurs in the ManagedWrapper.cpp code as follows: ManagedWrapper.hpp class __declspec(dllexport) ManagedWrapperClass{ public:   bool myMethod(); } ManagedWrapper.cpp bool ManagedWrapperClass::myMethod() { /*call unmanaged code */ };  // C4273 warning here. The unmanaged.dll also has its classes declared with __declspec(dllexport). I reference the unmanaged.lib in my linker. The ManagedWrapper.dll is inclu ...Show All

  • Visual Studio Express Editions How I can check with vb6 is some dll in windows registry ?

    How can I check in VB, is some dll registered. Please note that this forume is NOT for VB6 questions or answers (but for Visual Basic Express). Please refer to the MS Newsgroups for community support for VB6 questions. You could start by looking here for VB6 support: http://msdn.microsoft.com/vbrun/ Off Topic Post [OTP] ...Show All

  • Windows Forms DataGridView and BindingNavigators

    Hello, When I click the Add button on a BindingNavigator (bound to a BindingSource) I cannot get the DefaultValuesNeeded event of a DataGridView to populate a cell with a default value. Has anyone else encountered this issue before Is there a work-around Cheers, sfx1 The defaultvaluesneeded event fires when the datagridview is bound. When you click on the add new button is the new row added VB 2005 Private Sub dataGridView1_DefaultValuesNeeded(ByVal sender As Object, _ ByVal e As System.Windows.Forms.DataGridViewRowEventArgs) _ Handles dataGridView1.DefaultValuesNeeded With e.Row .Cells("Region").Value = "WA" .Cells("City").Value = "Redmond" ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GraphicsDeviceManager without a Game object?

    Hullo all, I bumped this thread: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1028285&SiteID=1 As I had a problem creating my own ContentManager, but I've since worked out the reasno I was having this issue, but not a solution. the problem seems to be ( GraphicsDevice component not found.exception) that the ContentManager wants a GraphicsDeviceManager registered as a service, and not a GraphicsDevice afterall, despite what the exception says. However, since GraphicsDeviceManager accepts a Game in its constructor only, and I haven't got one (I'm trying to get XNA running in WinForms) I'm not sure how, if at all, it is possible to get the ContentManager to work with a GraphicsDevice object that hasn't been created by a Grap ...Show All

  • .NET Development Detecting remove lock event on file

    I have the following problem: We have to write an application that acts on changes on files. For example editing a word - file. We achieve this using the FileSystemWatcher from .NET 2.0.  When the word-file is saved the events correctly trigger, but the files are locked, which causes our action to fail, but this is not the problem. But when the user closes the word-application. The application release the lock,but  we can't seem to catch this event so we could run our actions then.   Does anybody has as solution Thx, gert Windows doesn't provide any way to either detect a lock or be notified that a lock may have been released. To avoid a lot of threads, use just one t ...Show All

  • Windows Forms Custom control for time editing

    Hello. I need to implement a custom edit control for entering a time in the format: Hours:Minutes:Seconds where Hours can be 0-65535, Minutes and Seconds 0-59. I need a spin control (up down arrows) like in the standard DateTime control as well. I want using msctls_updown32 spin control, 2 static controls for displaying collons and 3 edit controls with custom key down handlers. I believe it is like the Windows has its own control implemented. My problem is that i failed to find how i can create a window/control by the class name. Please advise how i can do it. Thank you. For an example of how to base your control from the system msctls_updown32 window class see http://www.koders.com/csharp/fid57D547023DAEB0714B251638D43ACF9E15EFA9AD. ...Show All

  • Visual Studio 2008 (Pre-release) WCF Client Behind ISA: HTTP Error 407

    I am moving this thread to WCF from .NET Networking and Communication Situation: We have to connect to a 3rd party XML Web Service outside our LAN by adding a WCF Service Reference to a simple console application Problem: When attempting to invoke any of the generated client class methods, we recieve the following error: "The remote server returned an unexpected response: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )." In old style ASMX Web Reference: TheServiceWse client = new TheServiceWse(); client. Proxy = new System . Net . WebProxy( "ISA Server Name" , 800 ); client . Proxy ...Show All

  • .NET Development TreeView in Web Form

    Hey, I am trying to read a XML file and show its data in a treeview on a webform. Problem is I am not getting to create the treenode and other objects I need. Are there any special imports I should use to access this treeview/treenode I am using VS.NET 2003. ...Show All

  • Software Development for Windows Vista Where to download regdump.exe and regdiff.exe?

    Hi all, I am looking for these 2 tools mentioned in the "Certified for Windows Vista Test Cases," regdump.exe and regdiff.exe. They are part of "Vista Logo Test Tools" but I can't google them. Does anyone know where I can download them Regards, David both files avilable with the Windows NT Workstation Resource Kits: http://www.microsoft.com/technet/archive/ntwrkstn/reskit/03tools.mspx mfr=true By the way I found it using Live Search ...Show All

  • Visual Studio 2008 (Pre-release) XamlReader? Codebehind classes don't work?

    I've asked this before but I'll ask again in hopes of getting someone from MS or otherwise to tell me that I cannot read a serialized codebehind+xaml object. XamlWriter produces "bad" xaml that can't be parsed by the reader. Here is my orginal post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=783027&SiteID=1 So if this cannot be done is there a way to customize the Xaml produced Rob had an example where he created a brand new XamlWriter but that seems a little overkill, couldn't I override the default Xaml created by MarkupObject Is there anyone out there that has some info on this topic Is xaml not suited for doing what I want Should I just serialize to binary / xml using normal ...Show All

  • SQL Server Cube from denormalized table: Several dimensions vs. one dimension with several attributes

    Hi, I want to build a cube in AS2005 from a denormalized table. The table consists of facts from the last three years, with all interesting attributes (about 12) in a seperate column of this table. Actulally this attributes would form three dimensions (semantically). I thought of two different approaches to structure the cube: 1. Building a separate dimension for each attribute or 2. Building three dimensions (or to be more radical : one dimension) that contains all attributes In my understanding, with the new concept of attribute based hierarchies, both variants should have the same effect on aggregations, performance and so on. Only difference would the structure shown to the user . Is this right Does a ...Show All

  • Visual Studio Team System Issues with VB version of Creating a Customer Data Generator Walkthrough

    I went through the walkthrough on "Creating a Customer Data Generator Walkthrough" follwoing the VB code this afternoon and had a couple issues. The first issue was with step 7 in the "To Create a custom generator" section where we are instructed to "Add the Generator attribute to the class declaration, as shown below: " <Generator()> Public Class TestGenerator After I added the "<Generator()>" attribute to my code, I receive the following error when trying to build the project: "Error 1 Argument not specified for parameter 'designerType' of 'Public Sub New(designerType As System.Type)'." My second issue is with step 2 of the "To override the GenerateNextValues met ...Show All

  • Visual Basic Execute Code on Application Exit

    I need to find out how to add a confirmation dialog box if the application is going to exit, ie i call application.exit() or the last form is being closed. I need my app to confirm the exit with the user and also perform some maintenance type tasks before it exists as well. is that all i only have to put that in all 50 forms, well thats a whole lot easier than finding out what line or few lines of code it will take to abort the shutdown in the code i already have. Not too mention your method is too redundant, which beyond making the application larger makes it harder to update the shutdown process for future versions. ...Show All

©2008 Software Development Network