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

Software Development Network >> Greg D Clark's Q&A profile

Greg D Clark

Member List

Sugan
Xcel
Tom K
Jason Croft
Henrik Dahl
sarika
Leon.I
irrelevant2
adorer
DRoden
tackett
Paarul
Marlin7
hazz
David Turner
Rohit_crystal
QuantumMischief
Mike Martin24365
22Pom
David Marley
Only Title

Greg D Clark's Q&A profile

  • Visual Basic How to receive output from a command line program?

    I'm working on a GUI for the Valve Half-Live Dedicated Server Software, to make it easier for me to make a server. The software contains a command-line updater, that outputs its progress as it updates. How do I start the updater running, capture the output each time a line is outputted, and provide the user with a means of cancelling the process To start the command line process and capture the output Public Function ProcessStartAndCaptureOutput(ByVal CmdFile As String, ByVal args As String) As String Dim p As Diagnostics.Process = New Diagnostics.Process p.StartInfo.FileName = CmdFile p.StartInfo.Arguments = args p.StartInfo.UseShellExecute = False p.StartInfo.RedirectStandardOutput = True p.Start() ...Show All

  • .NET Development C# 2005 Web Service question

    Hello everyone, I'm fairly new to C# and I have a question about return types. Specifically, I have a web method returning a dataset, but I need to return an error message if there is one. How is this done in C# Thanks! Robert Lewis :-) Good points. I'm not an expert on webservices so I apologise. try the whole "out" approach and see how that goes. you could create a class object which has: DataSet errorMsg   so it returns this "info" class containing the dataset and an errorMsg. If DataSet returned is null then set the errorMsg to the error message and show that to your client. This is one other way I can think of at this moment. You could set an error message in the d ...Show All

  • Visual C++ linking error - libcimtd.lib

    After conversion of a VS6 project to a VS2005 project, the linking broke down with a fatal error as some "libcimtd.lib" was not found. libcimtd.lib is no part of VC/lib (but libci, libcmtd are). Linking... LINK : fatal error LNK1104: cannot open file 'libcimtd.lib' Creating browse information file... How do I resolve this issues This can happen if you are using the older style iostream libraries (which were in libcimtd.lib) instead of the newer style. If you have any: #include <iostream.h> or #include <fstream.h> Change them to #include <iostream> and #include <fstream> With the use of the newer style standard libraries, standard headers no longe ...Show All

  • SQL Server SSE occasional hangs

    I've installed SSE2005 (with SP1 and the hotfix rollup) on a Small Business Server 2003 SP1, and 90% of the time, all is well. SSE is running two user databases; one for an ASP web-based application, and one for a desktop application. Occasionally, pretty much everything for both apps hangs for a number of seconds (variable, but probably about 10-30 seconds at a time). During the hangs, even using Management Studio Express becomes impossible, and Activity Monitor just times out, so I can't see what's happening. SSE's Errorlog and server Event Logs show nothing unusual. The hangs tend to come in batches, on-and-off for an hour or so, after which the problem clears and it's service as usual. Does anyone have any ideas what the problem might ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectInput: encountering flaws with getting MOUSE data

    Hello, I'm trying to develop a space ship simulator, but I've hit one problem that I can't solve. To be exact, I'm using Direct Input to get data from keyboard and mouse, and any other proper input devices because I've implement ACTION MAPPING. Anyway, I have got a problem with reacting to mouse movement. More-less it is fine, but from time to time when you move the mouse and then let it be I seem to get the same data from the mouse as I moving it for the last time. Therefore, my ship continues to rotate even though I've stopped moving with mouse.BTW, this happens mostly when you make a smooth same movement(moving mouse very slowly at the same speed), I think. I've tried it to solve it in different ways, last time I tried to us ...Show All

  • Visual Basic CopyMemory/RtlMoveMemory API Not Work In VB.NET

    Hello, I used CopyMemory/RtlMoveMemory API in VB6. And it's run fine. now i have same code run in VB.NET but it gives me error like "An unhandled exception of type 'System.ArgumentException' occurred in MyApp.exe". Declared API in VB6 : Declare Sub CopyMemory Lib "KERNEL32" Alias "RtlMoveMemory" ( ByVal hpvDest As Any , ByVal hpvSource As Any , ByVal cbCopy As Long ) Declared API in VB.NET : Declare Sub CopyMemory Lib "KERNEL32" Alias "RtlMoveMemory" ( ByVal hpvDest As Object , ByVal hpvSource As Object , ByVal cbCopy As Integer ) Anyboday can tell me what's a problem Thanks, Jigar Ok now i used ...Show All

  • Visual Studio Tools for Office Creating a .msg file

    i have a requirement to extract e-mails from an e-mail archive system and then add them to a document management system (yup - ugly !!!). The document management system likes emails in the outlook .Msg file format. is there any way of creating a .msg file and writitng it to disk (rather than sending it) so that i can get the document management system to read it in environment is vs2003 / .net 1.1 - but .net2 is close....(have it but not in production - and also have VSTools for Office 2005) thx m Hi Mark I think your best bet to get a good discussion going on this would be to ask in an Outlook-specific newsgroup. The "density" of people dealing with the application will be much ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. xnagse_setup.msi while install i got error message:

    There is a problem with this Windows Installer pachage. A Program run as part of ... the status of the setup is "Installing Direct X Redist" I have : - Install and register C#2005 - Restart PC - look for help in other threads - Redownload the setup msi i found the same problem here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=407146&SiteID=1 but the usefull answers dont work .. Have you checked the event log for any error messages, also have you tried installing the package using a local administrator. Could you post what OS You are using, and if the VS C# is a non english version. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Please Post First Impressions Here.

    For the working stiff's like myself, could those of you who have successfully downloaded GSE post you first impressions here. Thanks. GMS0012 wrote: can you use it with vs 2005 the setup says, that i dont have the express edition.. but i do have vs 2005. "XNA Game Studio Express (Beta) is designed to work only with Microsoft Visual C# 2005 Express Edition. However, other members of the Visual Studio 2005 line of products, for example Visual Studio 2005 Professional, can co-exist with XNA Game Studio Express (Beta) on the same computer. " That should cover your question ...Show All

  • Visual Studio Team System Ignoring system tables and procedures

    Is there a way to not import system tables and procedures into a project I believe when the source database you are importing from has the option for system tables and procedures to not be viewed they don't import. Since we are trying to import from our production environment we don't have permissions to change these settings. Also going through and selecting all the system tables and procedures to be skipped is a pain, so maybe giving an option like Ctrl click to click mutiple objects to skip, or shift click to select most of a list, or just anything so you can skip multiple objects more easily. Actually they are created by the Database Diagraming tools in SSMS and Enterprise Manager, and since these ...Show All

  • Visual Basic Please Help me

    I want to Continues Ping a Host My system has 2 Network card When i use the If My.Computer.Network.IsAvailable Then if my.computer.network.ping("your.ftp.server") then me.oicstatus.image=pic_yes.image else me.oicstatus.image=pic_no.image end if End If on a timers tick event My Application Hanges up and also it gives the Stats different from Windows Ping Command Please help me If My.Computer.Network.IsAvailable Then This method can be VERY deceptive. Depending on your configuration it can indicate if you have access to the internet. An example would be a modem or a single dsl connection with no other ports or ethernet devices. ...Show All

  • Visual Studio Express Editions Background Worker Cross Thread Help

    I hate spammers so much so that I decided to write a program that extracts all the IP addresses, actually the first 15 characters of every line in my log. Well I have used a Background worker before, to copy and move files. That worked so nicely too, but from what I read, Background Workers don't like the GUIs like textboxes. Is there away around this Here's my code for the Cross Thread Error: Friend WithEvents FetchIP As BackgroundWorker = New System.ComponentModel.BackgroundWorker() Private Sub IPSettingsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles IPSettingsToolStripMenuItem.Click Me.FetchIP.RunWorkerAsync() End Sub Private Sub FetchIP_DoWork(ByVal sender As System.Object, ByVa ...Show All

  • SQL Server SOLUTION! - VB.NET 2005 Express and SQL Server 2005 - NOT saving updates to DB - SOLUTION!

    VB.NET 2005 Express and SQL Server 2005 Express - NOT saving updates to DB - SOLUTION! ----------------------------------- The following article is bogus and confusing: How to: Manage Local Data Files - Setting 'Copy to Output Directory' to 'Do not copy' http://msdn2.microsoft.com/en-us/library/ms246989.aspx You must manually copy the database file to the output directory AFTER setting 'Copy to Output Directory' to 'Do not copy'. Do not copy The file is never copied or overwritten by the project system. Because your application creates a dynamic connection string that points to the database file in the output directory, this setting only works for local database files when you manually copy the file ...Show All

  • Software Development for Windows Vista How do I access Activity.Parent at design time?

    I would like to set the default values of a couple of properties on a custom activity, depending on what type of parent it has been dropped into at design-time (and possibly that parent's properties). What's the best way to do this I can't find a natural override in the custom designer, and it doesn't seem to make sense in a custom validator. If you look at the OnActivityChanged event, you can bind to e.Activity and from there you can get e.Activity.Parent and navigate the tree however you would like, eg: protected override void OnActivityChanged( ActivityChangedEventArgs e) { base .OnActivityChanged(e); Debug.WriteLine(e.Activity.Parent.Name); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A question regarding content not explicity included in the project

    My apologies if this has already been asked, but I seek guidance on a conceptual problem I am having. I am attempting to write an engine that would exist as a stand alone executable and then read in a script file which would direct it's actions. However the problem as I understand it is that all assets must be included in the XNA project. Is there a way to set things up so that an XNA executable can access files using a relative path I thank you for your time. minigendo wrote: My apologies if this has already been asked, but I seek guidance on a conceptual problem I am having. I am attempting to write an engine that would exist as a stand alone executable and then read in a script file which would direct it's acti ...Show All

©2008 Software Development Network