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

Software Development Network >> Paul Steele's Q&A profile

Paul Steele

Member List

Ptaveras
AlexBB
barchard
JDCAMP
Charles Cox - MSFT
Reza Bemanian
Dima S
Zero_
Dracoman
Philli
Sanjukta
Mutola
smigger666
Judoshiai
ILV
William Pedersen
briendjf
NewbieDude
PC2NETS
Stephan Smetsers
Only Title

Paul Steele's Q&A profile

  • Windows Forms Drag and Drop between my application and windows explorer

    Hello Gurus, I have an application developed in C# ,drag and drop option implemented within the appication. In fact, I am able to drag the files from external windows explorer and drop em on my application. Now I want to drag the files from my application and drop em on external windows explorer or desktop and my application should be able to copy them. Could you please give me some suggestions or sample code that does similar thing BTW, I am using Visual Studio.NET 2003 version. Thanks, Sathish Kumar Yes, it is just a string. Here's a sample app: using System; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { Initialize ...Show All

  • SQL Server Events keep bubbling up, even with Propagate=False

    I've been pulling my hair out for the last couple of weeks trying to make my SSIS package more robust. I'm running SQL 05 SP1 on Windows XP SP2. Right now when there's a failure, the error propagates all the way up and my package stops running. Clearly not very robust. I have a heartbeat portion that makes a connection to the database every couple of minutes. Sometimes it loses the connection in the middle of the night, probably due to some maintenance going on. I have created an event handler to log the error, sleep a couple of minutes and set Propagate=False. This works great. When the connection is down, the error is logged, once the connection comes back, the package just keeps going. I also have an FTP component that receives a file a ...Show All

  • Visual Basic listview to richtext drag / drop problem

    I have a vb.net app coded up with drag drop from a listview to a richtext box. Here is the relevant code: using listitem "hp41exec", e.Data.GetData(DataFormats.Text).ToString = "hp41exec", as one would expect. It's difficult to use breakpoints, since it tends to drop text into my source code :( Stepping thru it though, ListViewItemDrag fires twice and ListViewDragDrop fires only once. I suspect what is going on is the richtext object is doing its own DragDrop. Does that make sense If you want to look at the project, I can email it to you. ...Show All

  • Visual FoxPro Browsers Insert html in my code

    I'm useing foxpro to create content for my webpages, I insert html code into a memo field. then a web page will grab the data. I like to use ascii characters to keep my code tidy so I can read it when its a web page. My problem is that the browser reads the ascii text and inserts <BR> messing up my javascript. What can I do i.e. Javascript = "function AlertMe() { "; +chr(13)+chr(10)+" Alert(' Alert! ');"; +chr(13)+chr(10)+" } " after browsers: function AlertMe(){<BR> Alert(' Alert! ');<BR> }<BR> RESOLVED! chr(13) will place a <br> in the script. chr(10) is suffecient enough to move the code to the next line and help readability ...Show All

  • Visual C# Rendering Streaming Video from a video server

    I am doing an application which will render video from a capture card or from a video server on the network. I have some code to get the capture card to work. I have an activex control to get one video server to work. I am looking for help rendering Windows Media Encoder stream. Any information about where to post this question or any relevant responses would be appreciated. Thank you. ...Show All

  • SQL Server Package fails when I schedule it.

    Two scenarios, 1 worked, 1 didn't: First package I execute SQL (select top 10 * from MyTable) in my SQLServer2005 database. I scheduled it and it ran sucessfully. I changed the execute SQL to run against an external Oracle database. (Select * from SomeOracleTable where rownum <= 10). I preview to make sure the query works and it does return a result set. I execute the package in the Visual Studios IDE and it works. I save with encryptAllWithPassword to the SQL server. I go into the scheduler and select the package from SQL Server (as opposed to the file system). I set the step to execute the package off the server. I enter the security key by clicking on the configuration tab. I assume it saves the password to the package. I cl ...Show All

  • Visual Studio Express Editions Use MFC in express

    Hi, Is there a way to acces MFC from Visual Studio Express Where can I get the .h and .lib necessary to link I can't believe they remove the possibility to create MFC applications Express version is not for me but could help our customers to develop third party specific software to interact with our software for free, but actually the plug-in toolkit is MFC based, and does not compile under Express version ... :/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MS - CreateBuffer - Init Limitations

    It seems that D3D10 unnecessarily limits your options for initializing buffers. You can't partially init a buffer, as there is no size for the init data. It must assume that you're filling the entire buffer. Also, placing multiple resources into one buffer is hindered by the fact that there is only a single data source. For example, if I load 5 meshes, odds are I have 5 pointers to data. If I want this in an immutable buffer I either have to make 5 seperate buffers, or string together the buffers first, then pass that off to CreateBuffer. It's trivial to append the data myself before CreateBuffer, but it just seems unnecessarily wasteful to do an alloc and set of copies, just for D3D to copy it yet again. How are other people appr ...Show All

  • Windows Forms How to show the caps lock is on balloon warning like Windows

    Does anyone know how I can show that balloon that windows shows when you are trying to logon and your caps lock key is on There are some VB examples out there of how to show balloons, but I need to show one using C# not VB as a warning to users when their caps lock key is on and they are trying to logon to an internal system. Anyone have any links to how to do this in C# or some C# code that will do this I would appreciate it. Thanks, Nathan Ok, I have re-written the vb code into a c# class that will create the balloon tooltip, but I'm having a problem with one piece of it. The class shows and works fine except for when my Timer_Elapsed event occurs. For some reason the Destroy method isn't doi ...Show All

  • Visual Studio Express Editions copy dataset

    hey everyone, this is not very new question, sorry about that, but i dont know how to manage to do this. i want to a copy dataset with the tables and stuff, and here's the example code they give: Private Sub CopyDataSet(ByVal myDataSet As DataSet ) ' Create an object variable for the copy. Dim copyDataSet As DataSet copyDataSet = myDataSet.Copy() ' Insert code to work with the copy. End Sub what else should i do with the code to get this work, because that dataset.copy() does'nt add new dataset itself, right the row "insert code to work with the copy" is the problem i guess. what short of code will i need then could'nt find any samples, and dont know how to do it myself. any help for this is appreciated. thanks ...Show All

  • .NET Development Domain and static variables

    Hello All I have an application that deals with several AppDomains and I also use static variables. What I have seen is that the static variables are different in each AppDomain. I have found the attributes ContextStaticAttribute and ThreadStaticAttribute but nothing related to the domains. Is this possible to have a static variable holding the same value in all appDomains Thanks, Pierre-Emmanuel Dautreppe Chris Brumme has stated in his blog post http://blogs.msdn.com/cbrumme/archive/2003/04/15/51317.aspx that you cannot pass static data across AppDomains. It might still be possible the the current CLR implementation has some leaks such as the ThreadPool which is shared across AppDomains. It could be possible t ...Show All

  • Software Development for Windows Vista Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

    Does anyone know how to get around the MDAC check in the Service Pack 5 setup of Visual Studio 6.0 For some reason it doesn't detect MDAC 2.5 or higher which it requires (even though Vista obviously has a later version - 6.0) and the setup will not continue from that point. I've tried every registry key I could think of to trick it into thinking MDAC is installed. Thanks Ted. Ted, Did you get any more info about this I am running into the same issue. I am digging now but if you got a workaround from another source it would be appriciated. Glen ...Show All

  • Software Development for Windows Vista Why I can not find 1394 camera?

    I can use DirectShow to connect with USB camera, but the same program can not find 1394 camera. I used two interface, ICreateDevEnum and IEnumMoniker, as follows: ICreateDevEnum * pCreateDevEnum = NULL; IEnumMoniker * pEnumMoniker = NULL; // Create Device Enumerator, it is success hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, reinterpret_cast<PVOID *>(&pCreateDevEnum)); // Create the enumerator of the monikers for the specified Device Class & reset them, it is failed hr = pCreateDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, &pEnumMoniker, 0); It said pEnumMoniker was not initialized. How can I do I found tha ...Show All

  • SQL Server How do you get the last modified date column in SQL Management Studio

    In 2000, the last modified date was show as a column when viewing the various database objects. So, after a long off-line session with a copy of a database, you could sort the query list, by last date modified, and script the recently changed queries to a file. It was very easy to see exactly what was changed recently. How do you do this in 2005 thanks SELECT * FROM sys.all_objects modify_date datetime Date the object was last modified by using an ALTER statement. If the object is a table or a view, modify_date also changes when a clustered index on the table or view is created or modified. ...Show All

  • Visual Studio Express Editions Try This

    Hi there :) I have been tring to convert this bit of C# code into VB.NET but I have been having some difficulties i've also asked a friend for some help but his work around is extremely long compared to the C# way I hope someone can have a look at this and point me on how to get this working for vb.net: C# Code: string str1 = "<html>" ; string str2 = "<head>" ; string str3 = "<title>Your Document Title</title>" ; string str4 = "</head>" ; string str5 = "<body>" ; string str6 = "<!-- Your conten goes in here --//" ; string str7 = "</body>" ; string str8 = "</html>" ; string [] array = { str1, str2, str3, str4, str5, str6, str7, str8 }; t ...Show All

©2008 Software Development Network