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

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

Pachacutec

Member List

matu007
Access Denied
Kang Su Gatlin
Eric from Plainwrap
Daan63
Oleg_R
St Robel
Greg Rutherford
Alan Chua
guiticom1304
xuemingqiang
Santosh Tupe
Jerry Doebler
netbug
Silverblade2005
jtowler
cindy33
Doug Gerlach
never_again
Kusuma133649
Only Title

Pachacutec's Q&A profile

  • Visual C++ char array

    I am trying to create a 3-dimensional array that stores records in 38 rows, with 3 columns. This array has a mixture of letters and numbers, so I declared a char array, the problem is, the rows with more then one character get truncated (00, 10, 11 become 0, 0, 1). Is there a way I can declare this array properly in order for it to allow me to have 2 characters in certain sections Below is a sample of the array. char array[38][3] = {{'0', 'G', '1'}, //3 dimensional array; number, color, column {'00', 'G', '3'}, {'1', 'R', '1'}, {'2', 'B', '2'}, {'3', 'R', '3'}, {'4', 'B', '1'}, {'5', 'R', '2'}, {'6', 'B', '3'}, {'7', 'R', '1'}, {'8', 'B', ' ...Show All

  • Windows Forms Where is a good place to store DB Connection strings ??

    Hello- In my web applications - I can store ConnStrings in the Servers Machine.Config file in this format:     <appSettings>            <add key="ConnSomebodyPool"               value="Server=MyServer; Database=MyDB; uid=Somebody; pwd=aPWord" />     </appSettings> And then retrieve them in the Web Forms b ...Show All

  • SQL Server columns in indexes

    How are these columns stored If I am learning correctly, the added non-key columns in the index are not part of the index limit If I have a large amount of data that I cannot fit onto an index page, what's being done. Just a pointer to the data that's isolated on it's own page I guess this would be less overheard than performing an index scan with a pointer to the non-key column (I don't know, I'm asking) and no pointer would be better insert performane. I looked in the BOL and couldn't find how this stuff is stored. Can you help - does my question even make sense   Just wanted to add what I found. ...Show All

  • Visual C# checked keyword usage

    I am having some difficulty understanding the checked keyword usage as it has been described in the text I am using. My understanding is that the checked keyword checks for overflow on a given datatype and throws an appropriate exception if an overflow is encountered. That being said, I have the following code that I am testing. The enum type is declared outside the Main routine and it is assumed that the myByte value contains a valid byte value. enum orienation : byte { north = 1, south = 2, east = 3, west = 4 } orientation myDirection = checked((orientation)myByte); If I enter 1, 2, 3, or 4, I expect everything to work wel ...Show All

  • Visual Studio Team System Another 32000 error

    I'm getting this error when installing the foundation server piece Error 32000. The Commandline “c:\program files\microsoft visual studio 2005 Enterprise Server\BISIISDIR\sdk\bin\Bisregedit.exe” http://TEAMSRV01:8080/SCC/public/application/ServiceDefinition.aspx ” TEAMSRV01 BisDB’ returned non-zero value: 1. I get a choice to retry to cancel. If I click retry a few times nothing really happens, I get the same error and the installation stops at about 95%. I found out that I run the same command line from the command window, I get a 401 error stating that I don't have access to execute the web service which did not make sense because ...Show All

  • .NET Development Does anyone know how to confirm if an email was sent successfully?

    I’m using the new System.Net.Mail.MailMessage to send emails and will like to have a way to confirm if sent ok. (I have no problems sending, I just need the confirmation only)   Which function or method to use Can anyone post a snippet for this Thanks all Oh, forgot to mention I'm using VS2005 8.0.50727.42 (RTM.050727-4200) .NET Framework 2.0.50727 Thanks,  Scott<- ...Show All

  • Visual Studio Express Editions How can you use data from a textbox in a Word document ?

    Hello, I have a problem regarding the text from a textbox. I have a textbox on a form and a database and in C# code I am creating a word document and I want to put in it what I have in my textbox and some fields from a table from my database (SQL Server), which is something else everytime I run the application. Can anyone help me, please Regards, Monika hi, you said you have a problem is the problem in how to do it , or something wrong in your code , if its about how to do it , you can do it as the following you can use streamwriter class under System.IO name space it will give you all the options that you want to do tha ...Show All

  • Visual C++ Weird build output

    I am not sure why I got this. I think I accidentally pressed some sort of key combinations and my build output is like this: 1>------ Build started: Project: test, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp How to remove the prefixing '1>' This is for MP machines - it is so you can see what actions are being performed by what processor. I must admit I don't know how to remove it. ...Show All

  • Visual Studio Team System TFS Mapped Folders

    Our project is using TFS for both source code and all project requirements, design and management documents.  We have set up numerous TFS groups to control read/write access for our various project roles.  We have been having a lot of problems with novice business analyst users attempting to add documents from outside the local folder areas for which they have write access priveledges in the corresponding server folder areas.  TFS responds to these attempts with varying cryptic error messages that has led us to spend time verifying and changing our TFS group setup and folder permissions only to find out later it was "oper ...Show All

  • SQL Server Where are the SQL Management tools???

    I just finished installing SQL Server 2005 Developer Beta 2. There are no menu items for the manager or any thing else. Where are these things installed.  How do I access them Have you checked out the SQL Management studio..pls refer to the following article for more info: http://www.databasejournal.com/features/mssql/article.php/3489661 ...Show All

  • Windows Forms Dynamic Control Events

    Hi there, I would like to something. I was able to create as button dynamically without a problem - it is as easy as me.close, but my question is: Now that I have created the button I cannot use it because the button doesn't have an event handler. I have also declared the new but With Events but still I cannot get the button to handle the click event when I click on it. Some help on this would be greatly appreciated, Thanks. Morning Thanks for your help. Managed to write the event handler Rocco ...Show All

  • Visual Studio Team System Team Systems Question

    How does Microsoft Team Edition for software testers stack up against Mercury Winrunner Is there a side by side comparison of the two My company is debating on which one we should purchase Maybe it is a difficult question because the product is still in beta. Thanks Brian What do you want to test Winrunner is targeted at functional UI tests. VSTS web tests are http level tests targeted at testing server-side functionality. Do you want to also run load tests Ed. ...Show All

  • Visual Studio Team System C# Unittest project and issues with [DllImport ...] to C/C++ unmanaged DLL

    Hi I have been running a thread under the CSharp users group and still struggling so this is probably a better place. I have a test solution with : - A C# sample dll - A C/C++ dll (non MFC) - samplec.dll - A C# test project which calls the C# dll in one .cs file and the other calls the C dll (an unmanaged testc.exe to test the loading of the C DLL, works now ...) WHat i am doing is calling some unit tests in the C dll in some C# stub tests. I am using [DllImport("samplec.dll"] followed by the extern declaration ... Now i could never get this to work, up until yesterday i was getting the "The specified module cou ...Show All

  • .NET Development Missing indexing methods for SortedDictionary?

    I have a fairly standard data structure need: a sorted collection with fast insert, delete that can be accessed efficiently by key and by index. The SortedList has O(n) insertion so the closest is the SortedDictionary but it has no means of indexing. Why not This should be the difference over a standard Dictionary that you can easily perform operations like head and tail. I would expect the method RemoveAt, GetAt etc like the SortedList. The SortedDictioary.ValueCollection seems next to useless. You can foreach it but not index it. Am I missing something thanks in advance, Duncan No, you're not missing ...Show All

  • Visual C# Generics Question

    Hi there, Suppose I have the following class: public class CacheItem<T> { public T Data { get { ... } } public bool IsExpired { get { ... } } //other properties } How would I go about iterating over a collection of cache items where T could be different for each cache item In other words, how do I get this to work: foreach (CacheItem< > cacheItem in Cache.Items) { if (cacheItem.IsExpired) { ... } } As far as I can tell, this is impossible. The best I could do would be to define a non-generic ICacheItem interface and code against that. Then I could provide the generic CacheItem<T> clas ...Show All

©2008 Software Development Network