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

Software Development Network >> Mike Southerland's Q&A profile

Mike Southerland

Member List

dataMonkey
kamall_77
Andrew Maddison
Bassam72
little_girl
tjp1104
fremontca
PatRedmond
bubu
magmo
GSK_phili
Mike__P
Allen Razdow
OracleDBA
R.Tutus
timmi o tool
BCR
Toni Chaffin
davidg12
Fahd
Only Title

Mike Southerland's Q&A profile

  • Visual FoxPro Form titlebar color

    Is there a simple way to change the color of a form's titlebar Thx. Hi Aleniko There are a couple of samples in VFP9 which illustrate things you can do with the titlebar and GDIPlus: do (_samples + "solution\solution.app") Then choose New in VFP9 \ Binding to Windows Message events \ GDIPlus titlebar The gradient effect looks very odd using the silver theme in Windows XP though!.. Regards Stuart Dunkeld http://weblogs.foxite.com/stuartdunkeld ...Show All

  • Windows Forms reating BufferedGraphics resulting in "Parameter is not valid" exception

    Hi I try to use double buffered graphics. The following lines work: private BufferedGraphicsContext plotBufferedGraphicsContext = new BufferedGraphicsContext (); private BufferedGraphics plotBufferedGraphics; protected override void OnPaint( PaintEventArgs pe) {   plotBufferedGraphicsContext.MaximumBuffer = new Size (100, 100);   plotBufferedGraphics = plotBufferedGraphicsContext.Allocate( this .CreateGraphics(), graphRect); This line doesn't: plotBufferedGraphics = plotBufferedGraphicsContext.Allocate(pe.Graphics, graphRect); Some questions: 1) Why can't I use the Graphics form the paint event The content of the 2 Graphics is the same, except that the PageUnit for  thi ...Show All

  • Microsoft ISV Community Center Forums Worksheet.Copy causes execution to stop

    Hi I am experiencing an odd behaviour from my VBA code in Excel. I have some code that has worked until recently. We have gotten XP instead of win2k, which i could suspect is causing this in some strange way. My problem is that i have the code below. In the line where i say Worksheet.Copy, the execution simply stops. No errors appears, nothing. <CODE> On Error GoTo ERROR: Worksheets(SN_MonthYearAct).Copy After:=Worksheets(Worksheet.Count) .... ERROR: MsgBox(Err.Description) </CODE> The variable SN_MonthYearAct is a constant containing the string "MonthYear Act", and a sheet with this name does exist. Worksheet.Count returns currently 8, and there are 8 sheets in the workbook. I have trie ...Show All

  • Software Development for Windows Vista How return the parameter back to the host application from workflow

    I want to return the parameter back to the host application but i don't want to use WorkflowCompleted Event. Thanks Kanhaiya You can use CallExternalMethod Activity to call a method that raises event, whitch can be handled by the host app. This can be done at any point of the workflow, not only after it finishes. If you do not know how to write Local Communication Service read this . The article explains how to do it, but it is written for Beta 1. Look in MSDN for the things that are different. ...Show All

  • SQL Server Defining a "partial" foreign Key..how could I ?

    I have a table A, which has 3 fields: - code, subcode and description (code and subcode are PK) and a table B which has 2 fields: - date, code, value (date and code are PK) So far, no problem. It comes up when I try to define code in table B as foreign key pointing to code in table A, because table A has code and subcode as its PK, not only code...but, I need only code to be in table B. How could I overcome this Well this is kind of design issue... You can't do it directly.. Your table design is wrong. Try to use the following design: CodeMaster :: code, date, value , codedescription Here, Code is Primary Key SubCodeMaster :: code, subcode, subcodedescription Here, Code references CodeMaster::Code Code ...Show All

  • Visual C# Extracting data from html file.

    I have a html file, I need to retrieve from it specific value: <some html code> <tr> <td class="textCell">Internet IP Address</td> <td class="textCell"> 82.2.118.114 </td> <some html code> I need to retrieve IP address. For that I need some how to locate this portion of code (by searching for Internet IP Address), and then to extract the IP. How to do that Hi, One way is to do the following: Open the HTML for input While not EOF() Read a record if record contains the text " <td class="textCell">Internet IP Address</td>" { Skip the next record (to skip the "<td class=&q ...Show All

  • SQL Server Intermittent ExecuteReader Problems

    I have VS 2005 and SQL CE 3.0. I sometimes get the a FileNotFoundException when I first use ExecuteReader. I believe this is because a dll has not been copied across because if I restart the emulator I can get it to work again. Do I need to add a cab file/dll to my project to stop this happening Thanks Emmet ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SDK won't compile on VS2003 -> Syntax error in D3D10.h

    When I try to compile the code from Tutorial 01 that comes with the October SDK in VS2003 it gives the following errors; i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(818): error C2061: syntax error : identifier '__out' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(822): error C2061: syntax error : identifier '__in' i:\Program Files\Microsoft DirectX SDK\Include\D3D10.h(826): error C2059: syntax error : ')' What do I need to do to resolve this problem Thanks. The October SDK still contains anything you need for Direct3D 9. ...Show All

  • .NET Development minOccurs="0" and length restriction

    I would like to have an element that can be (minOccurs="0") empty or null or if it is not null to be exactly 3 characters. The schema below still validates a null element and fails. What am I doing wrong < xs:element name =" PROD_NO " minOccurs =" 0 "> < xs:simpleType > < xs:restriction base =" xs:string "> < xs:length value =" 3 "/> </ xs:element > Thank You What do you consider a "null element" In terms of the W3C XSD schema language an element is null if it has the xsi:nil attribute set to true e.g. <PROD_NO xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " ...Show All

  • Visual Studio 2008 (Pre-release) Unable to install

    I have tried to install WCF but get the following errors in the log file: === Verbose logging started: 7/3/2006 14:45:03 Calling process: c:\WINDOWS\WinFX\v3.0\Windows Communication Foundation\ServiceModelReg.exe === ServiceModelReg [14:45:05:125]: Information: The ServiceModelReg tool will take the following actions: Adding configuration section system.serviceModel to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.runtime.serialization to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.serviceModel.activation to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration entry for BuildPro ...Show All

  • SQL Server What is wrong with this connectionstring

    Dear readers, I have a .Net function witch gets data from a Cube. This function is called from a Report. when I preview my report from my computer it works fine. But when I deploy the report to the server on wich also the cube is processed I get the following error: Either the user, NL01\SRV03-GC-10$, does not have access to the Invoicing database, or the database does not exist. NL01\SRV03-GC-10$ is not a user in my system, so I'm stunned with this strange error. This is my connectionstring: string connstring = "PROVIDER=MSOLAP;DATA SOURCE=SRV03-GC-10;INITIAL CATALOG=Invoicing" ; I even replaced the servername( SRV03-GC-10 ) with localhost, but I stll get the same error. I would appriciate any reply on this. ...Show All

  • Visual C# HELP - Problems using SendKeys class

    Hi, I am developing an application that uses SendKeys to control a game. But the problem is that, till now, of all the games i hav tried, it can work only on BricksFix version 1.62. Can anyone pls tel me y it is not workin on other games. I tried a lot of games, but it is not workin, but wen i try on BricksFix its workin. Also if possible, pls give me a list of games which i can control using SendKeys. Thanx Hello, With SendKeys it is very raw data. The computer must be told where the data will go. In the case of an application (notepad for example) you would first have to tell your program that you expect all focus commands to be executed in notepad. then you have to tell it to focu ...Show All

  • SQL Server DTExec via xp_cmdshell

    In my previous post here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1044739&SiteID=1 Michael Entin provides a number of responses to my questions regarding programatic execution of remote SSIS packages. Having experienced some significant reliability problems with the Microsoft.SqlServer.Dts.Runtime components from an ASP.NET process (the page either times out, or inevitably just stops responding), I have been prototyping the DTExec command option which Michael suggests as being a better approach to remote programability. So, off I've been prototyping this all day today... I have a stored procedure that wraps a call to xp_cmdshell which takes the DTS (DTEXEC) params as a big long argument. This scenario would h ...Show All

  • Visual Studio Tools for Office Access Developer Extension

    We are mainly Access developers and VBA programmers for 12 years, we develop several rich and sophisticated applications using Access and SQL server, we bought Visual Studio Tools 2003 for Office two years ago, we use custom startup wizard and package wizard to deploy Access applications to our customers, now our license is expired, the package no longer run, we try to renew the license for VSTO 2003 but our Microsoft product reseller told us the license can not be renewed due to some (software assurance)!!! bla bla bla, and we must purchase VSTO 2005 to maintain the same jobs. After exploring Microsoft site about VSTO 2005, we find that the new VSTO contain the same functionality (Access Developer Extension), But some Access develope ...Show All

  • SQL Server SQL Server Equivalent for Oracle System Tables/Views

    We are in the process of supporting two databases (Oracle 10g, SQL Server 2005) for our application. I want to know what is the equivalent Tables/Views in SQL Server for the Oracle System tables dba_tab_comments, dba_tab_cols Thanks in advance No, its not the same concept as in Oracle. THe INFORMATION_SCHEMA Views will give you metadata information about the database. Starting in SQL 2k5 they will be secured to show only the data that the user is granted for (e.g. Tables he has minimum Select permissions on). HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network