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

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

crnriman

Member List

John Koerner
Evil Booger
Vladimir Sapronov
Kursplat
Gn0MiCK
Ver Argulla Jr.
psy_ill
Sean Patzer
jmurray_mi
elmtree95
micster
Arik Peltz
Brian Norman
TAG
M9K
Ben Wyrosdick
ajjupatna
Martin Montgomery
brehmli
liljester
Only Title

crnriman's Q&A profile

  • SQL Server SQL CPU Loads?

    What kind of actions does consume most of the CPU joins,triggers,inserts...etc where can I find a matrix that shows such as this action consumes this much of CPU All this depends on your database implementation (indexing strategy, type of queries, table size, table design, etc.). There is no fixed cost for these things. WesleyB Visit my SQL Server weblog @ http://dis4ea.blogspot.com ...Show All

  • Visual C++ generic SortedList

    Hi everyone. I'm using a generic SortedList class, and need to access my data by value to find the index. However, there appears to be no method IndexByValue with a generic SortedList (unlike the standard SortedList) There is however a ContainsValue method. This seems inconsistent to me. How can I implement a method that works like IndexByValue Perhaps I’m not following your question, but the error message is pretty clear. IndexByValue is not a member of the SortedList type. Try IndexOfValue instead. Here’s an example. Collections::Generic::SortedList<int, int> list; // ... int index = list.IndexOfV ...Show All

  • Visual Basic date of birth

    hello i am very new to visual basic but have tried to work this out myself the whole day and got no where. i am attempting to design a form where by the person fills in their date of birth and it has to be checked to make sure they are old enough, between 21 and 62 does anybody have any idea at all please, as i have totally given up Something like the following Dim d As String d = Textbox1.Text Dim age As Integer = DateDiff(DateInterval.Year, CType (d, Date ), Now) If age >= 18 And age <= 62 Then msgbox("OK") else msgbox("Outside Ran ...Show All

  • Smart Device Development DataTable in Pocket PC

    Hi all, I just curious if DataTable.Copy method was disable in PocketPC project I look through all the method / event for DataTable in my VB pocket pc project, the copy method was missing. Am I missing any namespace Or it was purposely disable in pocket Pc project only hi, if you are using CF 1.1, there is no .copy method, you have clone method, but it only copy the table structure... the copy method is implemented in CF 2.0.... salute! ...Show All

  • .NET Development Generico - failed to extend website

    i have download a sample application from microsoft website which is Generico. i try to install the Generico (Employee Portal) to my server but the installation until 99% complete then pop out the message "Failed to extend Website" then the installation is not complete. anyone know how to slove the "failed to extend website" this problem onot hope someone can give me some idea to slove this. thanks!!! ...Show All

  • .NET Development How to find framework version no?

    Hi I have .NET 2002 and .NET 2003. I'd like to know whether my framework version is older than .NET v1.0.3705 for .NET 2002, becaue some identifiers didn't recognized by compiler. Thanks, reneesol If you have .NET 2002 and and .NET 2003, this means you have framework 1.0.3705 and 1.1.4322 But when I hear "some identifiers didn't recognized by compiler" it sound like you try to compile some code written for framwork 2.0.XXXX under .NET 2002 or .NET 2003. Dor which identifier do u have some errors ...Show All

  • Visual Studio Team System CMMI Verssion

    Hi What verssion of CMMI are you using in MSF for CMMI Improvement ...Show All

  • Visual C++ ofstream problem, I think!

    Hello All, Just wondering if anybody can help me with this problem. I think it's a fairly trivial problem but at this stage I'm probably seeing pass it. I have a big integer array(307200) which consists of 1's and 0's. My plan is to print each pixel out to a txt file with the number of pixels on each row = 640. So that would leave me with 480 rows with each row containing 640 pixels. As you have probably already gathered this array is something to do with an image. Below is the code I'm using to print it to the txt file. int product1; ofstream file_op1; file_op1.open("c:\\test.txt"); for (int a = 0; a < 480; a++) { pro ...Show All

  • Windows Forms How to get files with multiple conditions

    Suppose i want to GetFiles from a folder where FileName starts with 'A' and ends with 'A'. How do i do this Is this possible to do using Directory.GetFiles() ~nhd Yes, with a good constructed wildcard, you can. Here's an example of using GetFiles method to search d:\ and all files that starts with "A" and ends with "A", with any file extension: string [] files = Directory.GetFiles("d:\\", "a*a.*"); foreach ( string file in files) { MessageBox.Show( file ); } For more information about wildcards, see this page: http://kb.iu.edu/data/ahsf.html Regards, -c ...Show All

  • Visual Studio Team System Sampling/Instrumention does not work if I logged on as a restricted user.

    I'm now evaluating Visual Studio 2005 Team Suite RC and have problem with performance sampling feature. When I logged on as a restricted user, launching sampling failed due to the following error: Performance automation returned the following error: : Error VSP1398 : The monitor was unable to start the kernel mode driver (VSPerfDrv.sys).  拒否 。  Profiling cannot continue. PRF0010: Launch Aborted - Unable to start vsperfmon.exe Performance automation returned the following error: : Error VSP1341 : Could not start logging engine.  Shutting down. Profiler exited Error VSP1712 : Unknown file type. PRF0025: No data was collected ...Show All

  • Visual C# Detecting if a program is running on Terminal Services

    I am writing an application which will be run on Terminal Services. Is it possible to get the name of the remote system running the application via TS So far the only luck I've had is getting the name of the TS server. Hello PInvoke WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE , WTS_CURRENT_SESSION , szWTSClientName, pszBuffer, pwdBytesRet) Happy remoting ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to get multi devices through directinput, Thank you!!

    As the titile If I have two joysticks or two keyboards in the computer How to get the press event of the two devices... Thank you!! Which language are you accessing DInput via (C#, VB6, VB.Net, C, C++...). I'll assume you're dealing with DirectInput8 as that's been the current version for years now In my experience it should be as simple as creating multiple IDirectInputDevice8 objects - one for each device you wish to work with. The relevant SDK samples show how to enumerate what devices are attached to the system. Just bare in mind that, for joysticks, XInput complicates things a little wh ...Show All

  • SQL Server What is necessary to create SDF-Files on desktop legally?

    I want to write a PC application that prepares a SQL Server Mobile Files (.SDF) and sends it to a PocketPC. I get this error message: "SQL Mobile usage is restricted on this platform. To use SQL Mobile, you must install SQL Server 2005, Visual Studio 2005, or the Tablet PC SKU" If I install "SQL Server 2005 Express" the error message disappears and everything works fine. Question: Is it allowed to create SDF-Files if "SQL Server 2005 Express" is installed or is it necessary that my customers buy "SQL Server 2005" With out having SQL Server 2005, or Visual Studio 2005 installed on a desktop using SQL Mobi ...Show All

  • Visual Basic How to get the installation folder

    Hello guys, I created a VB.net applcation with a setup package. I need to copy some files into the application folder after everything is installed. I know I can set the default installation folder, but the user may choose another folder to install the application during the installation process. My question is how can I get the changed installation folder name and path Any comment appreciated. Cheers. The code structure looks like this, Public Overrides Sub Install( ByVal stateSaver As System.Collections.IDictionary) MyBase .Install(stateSaver) ' needs to copy files to the application folder here ' but, how ...Show All

  • .NET Development CodeSnippets in CodeDOM

    The msdn says that CodeSnippets are literal code fragments that will be directly included into the source code without modification. Does that mean I can insert IL statements into CodeDOM Because I read somewhere that internally CodeDOM compiles to source (C#) and then to IL but IL statements are not valid in C# . Yes, that wouldn't compile. CodeDOM is about a programming language, not IL. System.Reflection.Emit.ILGenerator does IL. ...Show All

©2008 Software Development Network