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

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

Mike Greenway

Member List

MoP73
ackermsb
ehsan707
smalamas
Vineet Kaushik
bhavu
cookieCutter
Ben-TSK
NeilL
highNNdry
Vladimir Frizen
Joannes Vermorel - MSP
RockyMountainer
Bartosz
jack-n-jill
ThePatrickP
aamato
Asklepios
Scott Guthery
Matti-Koopa
Only Title

Mike Greenway's Q&A profile

  • Visual Studio Express Editions Make a simple keylogger....

    Hi, i want to make a simple keylogger. Just a console window where i can see all pressed keys. I searched the forums but i only find topics about how to register hotkeys and such :/ (btw: dont think ive got something illegal in mind -_-" its just my mother who uses my computer so often D: ) Hi, You shuld use a winAPI function called "GetKeyboardState". The GetKeyboardState function copies the status of the 256 virtual keys to the specified buffer. You can create a timer and compare every 1/10 of second current state of keyboard with previous state of keyboard. ...Show All

  • Visual Basic Remote Database in Client Machine?

    Hi all, We are developing client-based application in Visual Basic 2005 with backend SQL Server 2005 Express. We would like to know dsn-less connection string for this and also tell me what are all the support files is needed to install SQL Server 2005 Express database in our client machine (bascially this is useful to deploy this application in our client machine) Thanks Gops Sofist India Its really simple (I'll give a very brief run through) Include you database in the project and ensure that the file property in source explorer is set to copy if newer. Then in you My project - > Publish -> Prerequisites -> ensure SQL Server 2005 Express Edition is check along with the .NET 2.0 framework The publ ...Show All

  • Visual FoxPro Interface in Polish

    Hi everyone: I'm developing an multilanguage application. Till now, we were working with: English, German, French, Italian, Spanish, Portuguese (both, also Brasilian Portuguese) and Romanian. Everything runs well, but I can't manage with some Polish characters. The captions are stored in tables DBF, which were populated from Excel files. As soon as information is imported from Excel to VFP DBF file, the Polish character (something between e and c) is substituted by e. What should I do Do you have any advice for me Thank you !! -- Regards, Ana Madrid, Spain www.amby.net Ana, Which characters specifically are you having troubles with (you can use the asc() function to let us know the ...Show All

  • Microsoft ISV Community Center Forums using dll file

    I have created a dll file using VB.net. And I want to use the function of the dll file in VBA. How can I do it Thank you Derek Smyth wrote: Hi, Think I know whats going on. When you registered the DLL you should have created a type library file, think it's a tlb file although I cannot remember. This file describes to VBA the types, in this case HelloWorld, thats availiable in your managed DLL. The other computers must need this file. If this file wasn't there then VBA on the other computer doesn't know about the types stored in the DLL and it would through an error, especially when you created an instance of that type. Think you need to register the DLL on every machine also. Try it and s ...Show All

  • .NET Development Save Dataset to Access/Sql

    Hi, Is there a way to save a dataset to an Access/Sql db like you save it to XML (ds.WriteXml) I want to bypass the sql INSERT INTO / sql UPDATE SET It seems to be a long and painfull method to save data to 150 columns in my dataset (some in diffrent tables in my dataset) and then run the INSERT INTO nonQuery to save that same changes to the external database. The commandbuilder is dodgy. And to build a fat sql command mannually like that is not cool Any other ideas will be appreciated Thanks in advance -RG For SQL Server the SQLBulkCopy class was added in VS 2005. Unfortunately there is no direct equivalent for a Microsoft Access database. ...Show All

  • .NET Development data multiple bursts?

    Hi. This is a question I've been meaning to ask but then sometimes able to resolve it by adding a small delay before sending the next message. I have a server/client app client connects and sends data via the network stream.   .. this .theNetworkStream.Write(bytesOfData, 0, bytesOfData); this .theNetworkStream.Flush(); Thread.Sleep(140); //small delay     this works fine when sending 1 piece of data at a time, but when sending it in a loop, sometimes the data is sent properly whilst other times the data for some reason is recieved at the server end in 1 big string, instead of chunks of data, even with the delay from the client.   When recieving  data on the server, I am doing ...Show All

  • SQL Server Database mail does not work from Sql Server Agent Job after upgrade to SP1

    Upgraded SQL Server 2005 x64 to Service Pack 1 expressly for the purpose of enabling Database Mail from SQL Job, which was a known bug that was listed as fixed in this Service Pack. It still does not work; in fact after installing SP1 on an x86 SQL Server Standard, Database Mail does not work from there now either, although it did prior to the upgrade! I am using Integrated Security. Error message received: The job succeeded.  The Job was invoked by User <name>.  The last step to run was step 1 (Select).  NOTE: Failed to notify 'Mike Schelstrate' via email. Message in Error Log: [264] An attempt was made to send an email when no email session has been established. Send test Email does work on both Servers ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why is my effect not working ??!

    Hello!, I'm asking your help because i'm having trouble when trying to use custom effect in my app. I've made a simpler one with just an untextured and red colored sphere from a fbx file and i still fail when applying even a simple color outputing shader (the one used in the xna custome effect section). I did set the WorldViewProjection parameter to the shader but nothing except my cleared screen appears. But when i use the BasicEffect class my sphere appears. here's the code (Sorry about the line spacing but i don't know why it's so high...please tell me how to correct this to if you know how :p): uniform extern float4x4 WorldViewProj : WORLDVIEWPROJECTION; struct VS_OUTPUT { float4 position : POSITION; float4 color : C ...Show All

  • Visual Basic Programmatically retrieved event log EventID does not correspond to Windows EventID

    Hi, I am developing an application that reads the event log in windows. I have managed to retrieve everything correctly except the Event ID. Most EventIS's are similar but for e.g. " Broadcom NetXtreme 57xx Gigabit Controller" Windows Event-ID is 15 and when I retrieve it programatically it is 327695. Another Event ID also for this controller is 6 and 327686. The difference between both are 9. Can anyone explain this Can it be fixed Best /M Can you try .Net 2 There is a source in C on codeproject that monitors event log activity and displays a balloon tip when an entry is written, if you do not have C it would not take much to convert it and run it to see what it is getting. ...Show All

  • SQL Server "Aggregate" of a calculated measure

    Hi all, I've got a calculated measure called [Measures].[Coverage]. I need a "report" with the following columns: MAT = Moving Annual Total Account Group, Coverage MAT, coverage for last MAT, and Variance. The query should look something like this: WITH MEMBER [Measures].[Coverage MAT] AS 'AGGREGATE(LastPeriods(12, [Date].[Calendar Month Year].[Jun 2006]), [Measures].[Coverage])', FORMAT_STRING = 'Percent' MEMBER [Measures].[Coverage LMAT] AS 'AGGREGATE(LastPeriods(12, [Date].[Calendar Month Year].[Jun 2005]), [Measures].[Coverage])', //Note the 2005 year instead of 2006 FORMAT_STRING = 'Percent' M ...Show All

  • Smart Device Development Application terminated unexpectedly, and no any message

    Hello I'm creating an application on Windows Mobile 5 using c#. This application uses the WebBrowser control to show a specific website. The problem that i am having occurs when the app runs on the device. (Motorola Q). For some strange reason the application shuts down as soon as it gets to the line : this.webBrowser1 = new System.Windows.Forms.WebBrowser(); which is in the InitializeComponent() method. It does this without an exception. When i connect the device and debug from VS.net 2005. The app shut off and i get a cannot connect to this device message. I've couple questions: 1. Is your application or NETCF or any other component you're using installed on to storage card ot internal storage ...Show All

  • Gadgets Security overlooked when downloading

    Okay so there is a security check when downloading gadgets, but as nobody ever botheres to get their approved~what's the point ! Please Microsoft, you have this great oS (Vista) that *has* security, gone to the trouble of developing a sidebar for gadgets and community for it and all because you wnt people to post you don't enforce the security certificates. I think that is wrong, there's quite a bit of dross in the gallery (no offence) and I am sure it would benefit everybody if the majority were certificatted. ...otherwise people will just revert back to pre-Vista thinking and just assume things are safe, not caring about security checks. What with RSS being the new medium for viruses and gadgets....... I didn't know ther ...Show All

  • Windows Live Developer Forums Combining Virtual Earth and Google Earth?

    Hi, I am wondering if it is somehow possible to combine the Virtual Earth maps with the Google Earth satelite images. In my country (Chile) there is no map coverage from Google Maps but Virtual Earth offers pretty fair details for certain regions. However, the satelite images from Google Earth are way better than those of Virtual Earth. Now, my idea is to realtime import the map info from Virtual Earth to Google Earth and visualize it in a ground overlay. But of course there is the problem that I would need the map info from Virtual Earth in a data file format suitable for the import to Google Earth, that means some kind of graphics or vector data - right Has anyone an idea if it is posible to realize my idea considering that Virtual Earth ...Show All

  • SQL Server linked server: Error 17: SQL Server does not exist or access denied.

    I have two sql server 2000 with mixed mode authetication. I stand at one server and setup a linked server to the other using the same user id and password. However when I click to the Tables icon of linked server in Enterprise manager, there is an error message: Error 17 SQL Server does not exist or access denied. And It does not show any table. I register remote sql server in Enterprise manager fine. Could any one help me Thanks. Both server run windows server 2003 enterprise edition. In each server, we have a named instance of Sql server 2000. ...Show All

  • SQL Server Date question

    I currently get a date in the default format in my stored procedure. Up until now converting the date to type 101 was acceptable. Now they want the date to read something like Wednesday, November 8, 2006 or November 8, 2006. How do I do this convert in a single select statement I found the types that add the time but I have to make sure that the time isn't included for merge reasons. Help Jeff Mookey: Are you looking for something like this: declare @myDate datetime set @myDate = getdate() select dateName (dw, @myDate) + ', ' + dateName (month, @myDate) + ' ' + convert (varchar (2), datepart (dd, @myDate)) + ', ' + convert (varchar (4), year(@myDate)) as [D ...Show All

©2008 Software Development Network