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

Software Development Network >> Dave Foderick's Q&A profile

Dave Foderick

Member List

RayCan
LamptonWorm
Annihil8
foleyp
ekyu
M.A.T
SaberWeb
Joe Mierwa
MDabaan
idahogurl
gcox18
Mark_Compliance
master20
xlordt
Alexnaldo Santos
arkiboys
Cute_Celina
rmadler
Justin.V
Pavan Apuroop
Only Title

Dave Foderick's Q&A profile

  • .NET Development Windows service to check for file when F1 is pressed

    I need a program that will do the following: When the F1 key is pressed the program looks at a certain location after say 5 seconds on that PC's C: drive for a file. If the file is not there then it pops up a message box, if it is there then it does nothing. Can I do this with a windows service running in the background If so can someone point me in the right direction. If not, what would you recommend for this Thanks in advance, Kevin Hi Kevin, As fas as I know it's not possible from that moment that F1 is interfering with usual F1. You can do a service using c# or vb which looks for files all day long with File Watcher Class or something like that. But maybe there is some method f ...Show All

  • SQL Server SQL Server Agent could not access replication agent

    We just moved source server to newer, bigger box ... Windows 2003 and Active Directory ... Snapshot agent worked but distribution failed ... Same login as on older machine, login is sysadm, used DCOMCNFG to allow ability to launch process ... What are we missing Thanks Raymond. It is SQL 2000 and the process failed immediately. It's running with the owner of sa and since I deleted old replication, I can't verify if that is the same. ...Show All

  • Smart Device Development Working with SoftKey events

    Hi, Can any one tell me how to work with hardware buttons(soft keys). Can I raise any event on Soft Key1, Soft Key2,..... Thanks in Advance, Here are some articles that will get you started: How to: Use the HardwareButton Component How to: Handle HardwareButton Events (Devices) HardwareButton Class Using a hardware key to tab through controls HTH, Dan ...Show All

  • Windows Live Developer Forums How to link Web Site to Messenger

    Hello All, I want to know how to create link from my web site on Support Page, to the MSN Messenger by click on that link and go to my support team PC Thanks I am afraid you can't. WLM uses a protocol, and I don't know if you can check if a protocol is installed with js. The "best" solution I came up with, is to try to load the msnim:chat contact=.. in an hidden iframe, that does work is the protocol is installed, and I assume that gives no error if it isn't. So that prevents the user from seeing the page not found error. ...Show All

  • Silverlight (formerly WPF/E) Drawing pixel based animations

    I have read the QuickStart but I haven`t seen any option to create an bitmap in memory and display it to perform old school pixel based effects. Is this possible I think that in WPF this is done via the BitmapSource class. Is there something similar for WPF/E Thanks! Joe, thanks for the reply. I hope you include this in a future release because IMHO doing pixel based effects is very useful in a lot of scenarios and especially for web based games. ...Show All

  • SQL Server How do I call a stored procedure in vb2005

    I have a sql2005 express database I am using in a vb2005 application. I have read a bunch and can't seem to find a clear (to me) example of how to call a stored procedure. I have a procedure that runs ok in the query builder, but don't have a clue about how to call it now that it is written. SO. call the database MYdatabase call the Stored procedure MYStoredproc. Any help Dave PS: it dosen't require and values passed to it, its very simple. Maybe this snippet can help: Dim MyCmd As New OleDbCommand () Dim Cnxn As New OleDbConnection ( "ConnectionString" ) With MyCmd . Connection = Cnxn . CommandType = Data . CommandType . StoredProcedure . CommandTex ...Show All

  • Software Development for Windows Vista COM+ Service registration error

    I hope someone out there has had this error before or knows what I have done wrong. I am busy writting a Com+ service that will provide a Word Document Object to a program we are developing. I am busy writing the base of it as it were, just getting the service class without the Word handling done, and getting it registered to check if we can access it. What happens is when I register the dll (regsvcs -fc ...) it tells me that there is an unknown error and goes on about ComVisibility. I have created the class, and set various attributes, of those that you won't see in the code below is [assembly: AssemblyKeyFile("wordService.snk")] and [assembly: ApplicationActivation(ActivationOption.Server)] which are in AssemblyInfo.cs. Below i ...Show All

  • Visual Basic Set size of a variable in vb.net

    hi How can i set size of a variable in vb.net  I have this code in c++ Code: prDeviceList* pGetDevList = NULL; pGetDevList = (prDeviceList*)new prUInt8[BufferSize]; and I wish translate this to vb.net thnaks The size of variables are control by the declaration: Dim i As Integer Dim i16 As Short Dim i64 As Long Dim UI8 As UInteger Dim Ui32 As UInt32 Dim MyArray ( SizeOfArray ) As UInteger Dim b As Byte 'unsigned 8 bit pgetDevList = New Byte(BufferSize) ...Show All

  • Visual Studio Express Editions Invalid Registration Key

    I succesfully registered on the Site I got the Key, Copied, Paste it on the geistration Field, but did not work. The Program is not accepting the key as a valid one. The MSG is: The registration key you entered is not valid. please enter the registration ke exatcly as it appears on the registration website, or copy and paste it into the registration key field. Which I did but not luck Can some one Help please I'm having the same problem. I've loaded 2005 on two previous computers without any problem but now I'm running into this. I'm copying and pasting the registration key from the web page, making sure not to include any spaces at the ends. It just behaves like it's a bad registration key. ...Show All

  • Visual C++ Program crashes and list is not printed competely

    My program crahes at mid point (it crashes at olympic.cpp rank.getLane(i)->print();) and only prints 3 competitors out of 4 before crashing, another problem is that it wont write the competitors to csis.txt, any ideas Thank you. #ifndef _olympic_h_ #define _olympic_h_ #include "competitor.h" #include "ranker.h" #endif hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh // olympic.cpp #include <stdlib.h> #include <iostream> #include <fstream> #include "olympic.h" using namespace std; ofstream csis; void main() { int i; const int lanes = 4; Ranker rank(lanes); csis.open("csis.dat"); // First make a lis ...Show All

  • Windows Search Technologies Encrypting the index with EFS

    I am looking to suggest using WDS in an enterprise environment. I can not advise this unless the index is encrypted. How can I do this. We are currently using EFS. Thank you Steve, WDS 2.6.5 works just fine with EFS (though it needs to be set up appropriately). You can find more information about this in our administrator guide here: http://www.microsoft.com/technet/prodtechnol/windows/search/dtsenterprise.mspx Thanks, Paul Nystrom - MSFT ...Show All

  • Visual Basic DeviceIOControl and SCSI_PASS_THROUGH_DIRECT

    Hi, I'm trying to get data from a SCSI Inquiry command in VB. I'm using DeviceIOControl with SCSI_PASS_THROUGH_DIRECT - the call goes through OK and DeviceIOControl returns 0, but I can't seem to get the expected data back - retBytes just contains 7 bytes of seemingly (but probably not) random data: (40, 4, 20, 0 , 40, 4, 20). Changing scsi.dataIn to 0 gets me 255 bytes of data, but not the data I should be getting. Any help would be greatly appreciated. Here's what I'm doing. offset as Byte is ignored for now, and fileHandle is a valid handle to \\.\F:. Private Function getVPDPage(ByVal offset As Byte, ByVal fileHandle As Long) As Byte() Dim status As Long Dim dIn As IntPtr = Marshal.AllocHGlobal(255) Dim dOut As IntPtr = Ma ...Show All

  • Software Development for Windows Vista WF Designer: Glyph provider is not being used by my viewer

    Hi all, I have a web page that displays the workflow image for a given workflow instance id. I based this code on the WorkflowMonitor in the June CTP SDK. To avoid CAS issues, my workflowViewer saves the workflow image as a stream which is returned to the web page for rendering (as opposed to hosting a designer surface directly in a web page). This is working fine, however I am unable to hook in the glyph provider to mark Closed and Executing activities, as is done in the SDK. Here's the relevant code extract: --- IDesignerGlyphProviderService glyphService = (IDesignerGlyphProviderService)designSurface.GetService(typeof(IDesignerGlyphProviderService)); WorkflowMonitorDesignerGlyphProvider glyphProvider = new WorkflowMoni ...Show All

  • SQL Server Syntax format in guide

    Sorry if this thread is already affronted... but i'm not able to find in previous messages... The syntax of topics displayed in new book online appear on a single long line, so I have difficult to read.... Anyone have the same problem Thanks... I've installed the book on line downloaded from Sql Server Express 2005 site. The problem is the same on two different machine This is a link to an image of what I mean Thanks ...Show All

  • SQL Server Data Type in Parameter Mapping for an Execute SQL Task

    Hi, I am trying to use an integer as input parameter for my task I get suck on the parameter data type. The input parameter is define as @Control_ID variable as Int32 in SSIS. When I got into the parameter mapping of Execute SQL Task, I don't find the Int32 data type. I used to try Short, Numeric, Decimal and so on, but all of those data type didn't work. and it returns the following error message: SSIS package "DCLoading.dtsx" starting. Error: 0xC002F210 at Update Control_ID, Execute SQL Task: Executing the query "use DCAStaging update DCA_HFStaging set [dbo].[Control_ID] = P0 where [Control_ID] is null " failed with the following error: "The multi-part identifier "dbo.Control_ID" could not be bound.&qu ...Show All

©2008 Software Development Network