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

Software Development Network >> Robert Palmer's Q&A profile

Robert Palmer

Member List

wencey
Selectis
Grant Jenkins
omrivm
RookieBoy
gaff
Scott Boyd
Chidu
durayakar
weoili
Aman B
Brain_Dead_Mind
lcj
Sadat Saeed
Mario Almeida
Bill Foust-DAI
Milan Jovanovic
Bedasy
karephul
Haziman
Only Title

Robert Palmer's Q&A profile

  • Internet Explorer Development Is it possible to change url in DISPID_BEFORENAVIGATE2 handler?

    Is it possible to change url in DISPID_BEFORENAVIGATE2 handler I tried but can' get result till now. Thank you. You should be able to set the cancel argument in BeforeNavigate2 to TRUE and then initiate another navigation win Navigate2. Ex: check to see if URL contains the query info, and save the data. Then, set cancel to true and navigate to the URL without the info. -Reza ...Show All

  • Visual Studio Express Editions Select...Case

    I need some understanding of changing If/ElseIf statments to select case EX: If (gross <= 51) Then Return 0 I think I should use Select Case gross Case Is <= 51 Return 0 Is this correct wrote: I need some understanding of changing If/ElseIf statments to select case EX: If (gross <= 51) Then Return 0 I think I should use Select Case gross Case Is <= 51 Return 0 End Select Is this correct Regards, S_DS ...Show All

  • SQL Server SQL Server 2000 Enterprise manager "Invalid class string"

    Windows XPro SP2 MS SQL Server 2000 SP4 Problem: When I open the Enterprise Manager, and try to 'open table->return all rows' I get a messagebox helpfully informing me that "Invalid class string" and no rows are displayed I tried re-installing the client tools, then de-installing it and re-installing it, then removing SQL Server 2005 No joy. From what I've found on a search, it seems to be something to with DTS, which I'm not using. Any ideas how to make this go away Please file a defect report on http://connect.microsoft.com . I suspect one of the designer components is corrupt or missing on your machine. Can you design Views in SQL Enterprise Manager The Open Table desi ...Show All

  • Visual Basic Table Adapter Command Text VS 2005

    When adding a query to a table adapter using an existing stored procedure with the TableAdapter Query Configuration Wizard the commandtext is no longer generated correctly. This commandtext used to list all of the parameters when I would add a new query but now I get command text that looks like this.{ = CALL dbo.InsertReferral( , , , , , , , , )}. When I select the stored procedure in the config wizard it show's all of the parameter names in the parameters: list. Any help would be greatly appreciated Thanks, Brett I realized I was also having problems with the ReportViewer control sticking at the "Report Being Generated" screen on reports that previously worked. I restored my computer ...Show All

  • Windows Forms Auto generating buttons

    Hey All For a little project of mine, I need to creat buttons from either an ArrayList containing the names of what the buttons should be called or from or from a database table. Depending what was is easiest to understand/do. They all have to be in the same windows form, so that if the ArrayList contains 10 names then there should be generated 10 buttons on load, and if one of the names is removed from the ArrayList then the button should also be removed. Hope anyone will be able to help me. Thanks Anders Lykke System.Collections. IList buttonNames = new System.Collections. ArrayList ( new String [] { "one" , "two" }); private void Form1_Load ( object sender, EventArgs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Revision Control included in XNA?

    I heard XNA will include some sort of Revision Control, some kind of Perforce or SubVersion directly included in the package. Can someone confirm that Subversion is really nice source control. I especially like the fact that I don't need to manually "check out" files. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Asynchrous streaming of all resources

    Hi everybody! I would like to load a really really huge world inside my game, but since it's not something procedual it would take quite a lot of memory, so i would like to be able to stream it from my disc by chunks (i don't want popping) but i don't know how to do this. Can somebody enlight me on that subject With the current XNA Content manager, that'll be hard, because the content manager doesn't release data after it's loaded. You have to unload everything in the manager to reclaim memory. Perhaps you could chunk you data into tiles, and use one content manager per tile, although this will lead to in-memory duplication of textures, meshes and effects that are re-used between tiles. In general, streaming isn't particularly har ...Show All

  • SharePoint Products and Technologies WSS V3: howto restrict # of items that can be created in a list

    Hi. Is there a simpler way to restrict the # of items that can be created in a sharepoint list either during design time (or) programatically (other than event hooking) ie., I want to show an error dialog when he clicks on 'New' in the list item creation if the existing item count, say exceeds 5 The problem with event hooking, I guess is inability to show users the dialog...isnt it Thanks How can I show a error message in ItemAdded event Thanks ...Show All

  • .NET Development Running a Macro in a Password Protected Access Databse

    I have this problem that I can run the macro but since the database is protected it always prompts me for the the password. I cannot have the users have access to the database since this will make it possible for the data to be changed manually. The code I use is as follows Shell( "C:\Program Files\Microsoft Office\Office\Msaccess.exe DatabasePath /x JobCardPacks /pwd Password" ) I have checked the help in access and it says to use "/pwd" with the password. This still prompts for the password though. Please help Shot o lot. Works like a charm Automation is definitely better than the Shell command I used. This project was converted from VB6 though ...Show All

  • Windows Forms MenuCommandsChanged not firing for all commands

    I am adding an instance of the MenuCommandService to my DesignSurface and attaching a delegate to its MenuCommandsChanged event. I would expect that when I select two or more controls in the designer, the event should be fired for commands such as AlignLeft, AlignRight, AlignToGrid, etc. since they should then be enabled. However, I only receive events for a small fraction of these (AlignLeft, CenterHorizontally). Using the MenuCommandsChangedEventArgs. ChangeType property, I ensured that all of the above commands are being added to the MenuCommandService. They just aren't notifying the service of their change. Does anyone have any suggestions to get the event fired for all relevant commands Could I be missing a service or adding the MCS ...Show All

  • Visual Studio 2008 (Pre-release) Adding Web Reference in VS 2005 to WCF Service

    I have a WCF service that I've built that is hosted in a Windows Service. The service endpoint is setup as follows: < services > < service name = " FCSAmerica.Financial.Aggregator.ServiceClient.FilteredService " behaviorConfiguration = " MyServiceTypeBehaviors " > < endpoint contract = " FCSAmerica.Financial.Aggregator.ServiceClient.IFilteredService " binding = " wsHttpBinding " /> <!-- Note: your service must have an http base address to add this endpoint. --> < endpoint contract = " IMetadataExchange " binding = " mexHttpBinding " address = " mex " /> </ service > </ services > I can add th ...Show All

  • Visual C++ New template compilation errors in 8.0

    Hi All, This template code compiled fine in the previous version of Visual Studio, but when I tried to port this code to Visual Studio 2005 I get compilation errors.  Can someone help Class declaration in header file: // Linked list entry class template<class T> class CProListEntry {     public:         // Construction/destruction         CProListEntry();         CProListEntry( const T& data );         CProListEntry( const CProListEntry<T>& entry );         ~CProListEntry();       &nb ...Show All

  • Visual Basic Serialport Class

    I am using the Serialport Class to receive strings of text from a serial device. However, if I write to the port, the stream freezes. I am assuming that it need to stop the read and “prepare” the port for writing and I am not correctly doing so, however I cannot seem to find the “command string” to do so in the Visual Studio 2005 Documentation. Can someone please point me to the right location Thanks. Private Sub SerialPort1_DataReceived( ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived If e.EventType <> IO.Ports.SerialData.Chars Then Exit Sub Dim SerialData As String SerialData = SerialPort1.ReadExisting Be ...Show All

  • .NET Development Missing schema targetNamespace=\"\".

    I am trying to serialize an object that implements the IXmlSerializable interface and has the XmlSchemaProvider attribute but I keep getting the an exception thrown with the message "Missing schema targetNamespace=\"\"." when I try and serialize an object that contains my object. Here's the code I'm using to generate the schema: public static XmlQualifiedName CreateSchema( XmlSchemaSet xs) { XmlSchema schema = new XmlSchema (); schema.Id = "PresentationSchema" ; schema.TargetNamespace = "http://www.w3.org/2001/XMLSchema" ; XmlSchemaComplexType root = new XmlSchemaComplexType (); root.Name = "Presentation" ; XmlSchemaSequence rootSeq = new ...Show All

  • .NET Development Partial objects class

    Hi, When I call a web service from an application project I have to write more or less the next code. Dim a As New localhost.Class1 Dim b As New localhost.Service a = b.DameNombre localhost.Class1 is the partial class created automatically by VS in the proxy (in fact is a class defined in other project): <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.42"), _ System.SerializableAttribute(), _ System.Diagnostics.DebuggerStepThroughAttribute(), _ System.ComponentModel.DesignerCategoryAttribute("code"), _ System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://tempuri.org/")> _ Partial Public Class Class1 Private nombreField As String '' ...Show All

©2008 Software Development Network