Software Development Network Logo
  • Visual C++
  • VS Express Editions
  • Game Technologies
  • Visual Studio
  • Visual C#
  • VS Team System
  • Architecture
  • Visual Basic
  • SQL Server
  • Windows Forms
  • Windows Live
  • .NET Development
  • Visual J#
  • Smart Device
  • Microsoft ISV

Software Development Network >> michael_fett's Q&A profile

michael_fett

Member List

AaronSchurg
Fabiods
Mumose
Cindy Winegarden - VFP MVP
Richard Polunsky
Bogdan.B
eechocheng
May0
max265
JessicaM
MarkJC
Kevin Draper
Brendan_Dev
Ricardo Costa
Marcello Consolo
Vishwas Lele
DeepakRam
Recep TARAKCIO?LU
ydla
Jayakumar A
Only Title

michael_fett's Q&A profile

  • Visual C# Error accessing win32, VC++ 2005 dll in C# 2005

    I'm trying to call a win32 library function that I have authored in VC++ 2005 from C# 2005. I get an exception from the C# program that reads "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I cannot step into the function in the dll for some unknown reason, so I have no idea which parameter is causing the problem. Here's the function declaration in VC++ PEAKDETECT_API void fnPeakDetect( double *darrInputArray, int iElements, double dThreshold, int iWidth, int iPolarity, int iInitialize, int iEndOfData, int *iNumPeaks, double *darrPeakLocations, doubl ...Show All

  • Visual C# Printer is on or not

    How to check whether a printer is on or not I recently read a nice article on CodeProject that was using WMI functions through new System.Management namespace. You can give it a shot. Here's a link to that article: http://www.codeproject.com/csharp/printeroffline.asp ...Show All

  • SQL Server Management Studio on client

    I have an instance of SQL Server 2005 running on a server. I know that Management Studio is available to me on the server through Programs. What do I need on my client computer used for development to access the instance on the server Is it as simple as a shortcut to the server Management Studio exe Do I access it through Internet Explorer Or what do I have to install on the client to be able to manager the server DB's Apparently this must be very easy because I've looked all over and can't find the answer. Thank you in advance. Use the SQL Server installation CD, and choose the "Install Client ...Show All

  • Visual Studio Team System no coverage result for website

    How can I get code coverage results against my website in my unit test projects I tried adding the website to my test solution and add it to test run config to be instrumented. But after doing that, my test case can't work fine and I'll notice the weird error message: Failed to connect to an IPC Port: The system cannot find the file specified. Anybody has any idea Hello Shu, Unfortunately, I am not sure that there is a workaround for the Beta2 problem, you are experiencing. I would recommend that you upgrade to Release candidate version. Just be sure that you fully remove the Beta2 before that (there is a t ...Show All

  • .NET Development Use .net serialization or a custon soultion?

    Hi, Basically, I need to clone objects to remote processes. Now it's not that simple... I want to decide per remote client which members are to be serialized. Some of the data must remain hidden for security reasons, and the extent of the data hiding is dynamically computed at runtime and may change per object per client over time. In some cases only a part of a  class might have changed. I'd want to serialize only the affected data to perserve bandwidth, CPU etc. Performance is an issue! and it seems to me that serializing/deserializing via string tags e.g. the "i" in info.AddValue("i", n1); might not be very efficient. ...Show All

  • .NET Development [URGENT] COMPILING AND RUNNING THE .NET APPLICATION on LINUX

    Hi: Question: I have developed an application containing 2 projects (one is of type class library and the other is a windows application (.exe) ). I want to compile and run the application on Linux. I know that there is a platform for linux called MONO, but can't find a good article on COMPILATION AND RUNNING THE .NET APPLICATION. I have found some articles but they only contain the compilation of single file e.g. HelloWorld.cs and thing like that. But i want to compile whole solution (THE SOLUTION FILE). Can any one help me and post the links of the articles that cover my problem Please also post the software requirements. ANSWER: Still wa ...Show All

  • Visual Studio Express Editions Creating a task manager application

    I'm wanting to create a sort of task manager type application where the software displays the running processes, associated program and the amount of time the program has been running for. I ahve managed to get code working that will retrieve the names of all process being run, however I am not sure how to retrieve the time for the process. The code I'm using for retrieving the process list it: ' Start with an empty ListBox. lstProcessList.Items.Clear() ' Display ProcessName property in the list area. lstProcessList.DisplayMember = "ProcessName" ' Load info on all running processes in the ListBox control. Dim p ...Show All

  • SQL Server XML DOM Document

    Hi, I created some DTS packages in sql server 2005 and this morning I am getting errors. I am able to open the packes to edit. Following are the errors: Error 1 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Unable to instantiate XML DOM document, please verify that MSXML binaries are properly installed and registered. E:\SCRIPTS\MCDMS_Scripts_System_Test\MCDMS_Load_Key_OCRepair_Extract_TST.dtsx 1 1 Error 2 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Unable to load from XML. E:\SCRIPTS\MCDMS_Scripts_System_Test\MCDMS_Load_Key_OCRepair_Extract_TST.dtsx 1 1 Error 3 Error loading MCDMS_Load_Key_OCRepair_Extract_TST. ...Show All

  • SQL Server Loop through each record and then each field within each record

    I need to essentially do 2 loops.  One loops through each record and then inside each record row, I want to perform an insert on each column. Something like this maybe using a cursor or something else: For each record in my table (I'll just use the cursor)      For each column in current record for cursor               perform some sql based on the current column value      Next Next So below, all I need to do is figure out how to loop through each column for the current record in the cursor AS DECLARE Create_Final_Table CURSOR FOR SELECT     FieldName, AcctNumb ...Show All

  • Windows Forms would you deploy a smart client that contained a non-local database connString in the appConfig

    hiya, I'm creating a winforms app that will run on a LAN. The user is keen to see constant demos of progress.Logistically, it's difficult to meet up as often as we'd like. I was potentially thinking of deploying the app to a webserver as a smartClient. However, the app contains a connection string to my dev database on my dev webserver. I am obviously concerned that the user might be able to get access to the connString that resides in the app.config file of the smartClient app.. Any comments appreciated. many thanks, yogi       ...Show All

  • SQL Server Random access in a result set

    I use an SQL task to produce a result set which I store in a package variable. It works fine to access the result set in a script task by first casting it to a ADODB.Recordset, and then enumerating it and accessing the rows in the given order. But is there a simple and clean way to randomly access the result set  In other words to repeatedly select a random row from it One thought I had was to convert the result set to some sort of array which can be randomly indexed. But I didn't find out how... I'm not interested in creating an array by looping through the whole result set and inserting the row ...Show All

  • Visual Studio Charts are not rendered in CR for VS2005 Beta2 Version

    After much newsgroup searching, I was able to make CR work on my web server. However the charts (images) inside the reports do not show up. The src attribute for these images look like this: src="//CrystalImageHandler.aspx dynamicimage=cr_tmp_image_5f03e8ad-37b4-4b16-923e-264e3b3a0314.png" And obviously is not finding anything. Hence 2 questions: 1. How can I specify the domain name for the URLs or tell it to use relative path 2. Where can I find CrystalImageHandler.aspx I searched my entire HD and could not find it. Thank you. Well nice said, but for me my client is still. coz on the dev platform all ok. wh ...Show All

  • .NET Development .NET Framework 2.0 question

    I appologize in advance if some of my  questions to the forum is a little out of place. I am not a programmer or developer, just a gamer, system builder, and network administrator of a home network. After installing .NET Framework 2.0, Direct X9.0c's Diagnostic shows that one of the two system.dll files is missing. The one that is listed belongs to 1.1, so logic dictates that it is the one for 2.0 that is missing. However it is in the .NET 2.0 folder! Some other symptoms are that logging into .NET sites must be done manually (being signed in with MSN Messenger does no good), and Auto-Scroll function for IntelliPoint 5.2 does no ...Show All

  • .NET Development Drawing Font Vertically

    I'm trying to draw font vertically, using the System.Drawing.Graphics object: StringFormat format = new StringFormat();             format.Alignment = StringAlignment.Center;     format.FormatFlags |= StringFormatFlags.DirectionVertical;   The problem is, it draws the wrong way!  It draws the text so that you have to tilt your head to the right to read it, but I want it so that you have to tilt your head to the left to read it.  Does anyone know how to fix this   I tried adding in the DirectionRightToLeft flag but that doesn't d ...Show All

  • SQL Server SQL CE & @@IDENTITY

    If I perform an insert from my Vb.NET and then user select @@IDENTITY to return the identity, the query returns DBNull, even though the row has been inserted and an indentity created. If I perform the same insert from CE Query Analyser followed by the @@IDENTITY then it returns the correct identity value. If I perform the insert from my Vb.Net app, and then go to query analyser and select @@INDENTITY then it returns DBNull. Can anybody explain why I don't get the idendtity when the insert is performed from vb.net The code for insert looks like... Dim Command As String = "INSERT INTO " & TableName & Fields & Val ...Show All

©2008 Software Development Network