gkostel's Q&A profile
Visual Studio Team System Missing Object Test Bench menu items?
I have just installed Visual Studio Team System RC and I can not for the life of me find out how to display an object within the Object Test Bench. The help gives the following instructions: In the Class View , right-click the name of the class or struct whose instance you want to create. Click Create Instance to display the public constructors of the class. Select the constructor to display the Create Instance Dialog Box . In the Create Instance dialog box, provide the parameters, and then type the name of the object. The name is not provided by default; you must provide a name. Check the Object Test Bench tool window for the object shape. I have tried the above but to no avail. The Create Instance menu item doesn ...Show All
Visual Basic "Subscript Out of Range (Error 9)" Error
Hello, I'm getting information from a text file using this piece of code: Public Sub test() Dim fs As New FileSystemObject Dim stream As TextStream Dim line As String Dim rowIndex As Integer Dim tabString() As String Set stream = fs.OpenTextFile("c:\Export.txt") rowIndex = 1 While Not stream.AtEndOfStream tabString = Split(txtstream.ReadLine, ";") Sheet1.Cells(rowIndex, 1) = tabString(0) ...Show All
Visual Studio Team System Retrieving of images from picturelibrary
Hi friends, Hope everyone doing well... Here is my requirement: 1) Open a new announcement with url field 2) Think that some pictures are there in picturelibrary 3) We have to give the picture name in the description field. When we save this announcement we have to search the picture library with the given description name and store in the URL field.... we can do this one by creating a new webpart. But we can do this one by using javascript also. Please give me a good suggestion to implement this..... Hi, You should be able to find better webpart/SharePoint help in the SharePoint newsgroups. Check out the one on design and customization: http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/defa ...Show All
.NET Development Performance question about string
Hi, I wonder,.. what code has the highest performance public class Test { private static readonly string MyStr = "abcdefghijklmnop"; public void DoTest() { StringBuilder sb = new StringBuilder(); for (int i=0;i<10000;i++) sb.Append(MyStr); } } -or- public class Test { public void DoTest() { const string MyStr = "abcdefghijklmnop"; StringBuilder sb = new StringBuilder(); for (int i=0;i<10000;i++) sb.Append(MyStr); } } Stephan Smetsers stephansmetsers@hotmail.com http://www.inchl.nl Hi Stephan Rico, a Microsoft performance architect, has a great blog post on performance ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox Live Arcade Title looking for Engine/Coder..
Greetings! I have a development team working on an Xbox Live Arcade title for the Xbox 360 using XNA Game Studio Express. I have the option at this point of crafting my own custom game engine or using one that is readily available that meshes well with the XNA GSE + Xbox 360 development/testing environment we're using. We are a small team based on the Oregon Coast. I'm the lead designer, writer, and programmer. We have a storyboard artist, modeler, sound designer, and animator. To be honest, I've been dreading doing all of the code work on a new engine myself. It's been a long time since I've crafted my own game engine and I'd prefer to focus the majority of my energy elsewhere. But we would need a decent 3D base engine (physics,collisions ...Show All
Visual Basic Beginner in VB needs help ;)?! - LOOPS
ok for a project i am creating a simple calculator but it has to use loops instead of the actual operators like 3 * 3 = 9 i have to create a loop using the for ... next loop that will instead of multiplying those numbers it will add 3; 3 times to = 9. The user enters a number in N1.text and N2.text then it takes N1 * N2 = answer. I've been doing good up until i had to learn loops and i having a hard ass time grabbing the concept can anyone help me I know the terminology or "syntax" for writing the loops, but it's what is inside the loop and getting it to calculate the right numbers that i am having trouble completing. ...so confused and real frustrated right now. This is what he meant, using the syntax you may be more familiar with: ...Show All
SQL Server SQL SP1 build 2047 installation error
Hello, I am having problems installing the SP1 for SQL server 2005 on a W2K3 R2 server. It appears that the Database Services and Analysis Services are not being updated. I would appreciate any help with this if anyone has seen or had experience with this issue. Thanks, the basic log file is listed below. Redist9_Hotfix_KB913090_3.log 09/17/2006 19:15:53.408 ================================================================================ 09/17/2006 19:15:53.408 Hotfix package launched 09/17/2006 19:16:57.719 Attempting to install instance: SQL Server Native Client 09/17/2006 19:16:57.735 Attempting to install target: HOSPSQL 09/17/2006 19:16:57.735 Attempting to install file: sqlncli.msi 09/17/2006 19:16:57.782 Attempting to ...Show All
Visual Studio Express Editions Vertical Text in TabControl
With alignment of a TabControl to Right (or Left) the labels for the text dissappear, unless the Appearence property is set to "buttons". Is there a way to get the text also with Appearence=normal Check this thread for a workaround for this Windows XP theme bug. ...Show All
SQL Server Creating a Maintenance Plan via the Command Line
Hello All, I've searched high and low for documentation on this to no avail. Basically my goal is to create a maintenance plan in SQLSERVER2005 via the command line. I need to create this plan in a way that it can be seen in the list of Maintenance Plans in the Management Studio Interface. I went into the SSIS designer and created my plan. I now have a DTSX file. I tried the dtutil.exe utility, however i never saw my maintenance plan in the list of plans. I ran dtutil.exe and did /FILE to /SQL but i don't see the plan listed or in a way a user could modify it, which is of the utmost importance to my clients. How do i get my file to turn into a real running Maintenance Plan that is seen in the list of Maintenance Plans via the ...Show All
Visual Studio 2008 (Pre-release) Making window Borderless & TopMost when maximize button clicked
I am trying to make a window fullscreen and hide border when window is maximized. It seems that the size of a window is not correct (does not cover the taskbar) when I change Topmost and WindowStyle properties after WindowState has changed... ... Is there another way to do this protected override void OnStateChanged( EventArgs e) { if ( this .WindowState == WindowState .Maximized) { this .Topmost = true ; this .WindowStyle = WindowStyle .None; } else { this .Topmost = false ; this .WindowStyle = WindowStyle .SingleBorderWindow; } base .OnStateChanged(e); } I have the same problem. A window that begins its life with WindowState set ...Show All
Smart Device Development How to create a folder in storgecard during installation
Hi, I created setup package using CEAppMgr.exe in netcf 1.0.While installing my application in PPC i have to install into a folder.So i make changes in .inf file as InstallDir=%CE1%\contents\%AppName% while installing in main memory it creates a folder "contents" in program files and installs the application with application folder, into folder "contents". like \program files\contents\applicationfolder While i install this in Storage Card ,its not cearting folder "contents" in storage card.So how to create it I should not use the method of creating setup package with wceload.exe using RAPI. Thanks You can not as entire InstallDir macr ...Show All
Visual Studio 2008 (Pre-release) Using TcpClient to access a WCF endpoint
Hi, I have a created a basic WCF service with fallowing contract. [ ServiceContract ] public interface IDumpService { [ OperationContract (Action = "*" , IsOneWay = true )] void Dump( Message msg); [ OperationContract ] void DumpString( string msg); } I used NetTcpBinding or CustomBinding ( with TcpTransportBindingElement & BinaryMessageEncodingBindingElement ) Now on the client side, I'm doing following: static void SocketClient() { string soapMessage = string .Format( "<s:Envelope xmlns:s=\"{0}\" xmlns:a=\"{1}\"><s:Header>{2}</s:Header><s:Body/> </s:Envelope>" , "http://www.w3.org/2003 ...Show All
Visual C++ missing .lib files for x86 in Platform SDK where do I get them?
I have installed "Microsoft R Windows ServerR 2003 R2 Platform SDK Web Install" and Visual Studio 2005 Express Edition and my programming seemed to work fine (Visual C++) until I needed to include fstream.h witch includes iostream.h, but now I cant compile because of some missing .lib files wich I find in the \lib\AMD64\ folder and \lib\IA64\ but they dont work on an x86, then I read on the install page for the Platform SDK that x84 compiler is not included I guess that is the reason for my problem, but where do I find my .lib files for x86 then otherwise, can I work around this problem somehow, I need to read ASCII numbers data from a .txt file. Can I do this without my .h files I cant compile with ...Show All
SQL Server SP2 final this year ?
Does anyone know if the final SP2 will be out this year Really need it for a production enviroment.... I do not believe that a public statement about the RTM availability of SP2 for SQL Server 2005 has been released. However, I did find mention of the CTP2 release of SP2 located here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=760644&SiteID=1 Based on that announcement, it can be assumed that the RTM version SP2 is still under development and is not yet available for public download. Thanks, Sam Lester (MSFT) ...Show All
SQL Server copying tables from 2000 to 2005 express
I have a rather sizeable SQLServer 2000 database. To work on an issue, I would like to copy just a couple tables into SQL Server 2005 Express. How does one go about this efficiently Sure, but might have a look in the BOL about adding linked servers. In common if you don’t have the GUI to administer linked servers you can use the procedure sp_addlinkedserver and others around it, mentioned in the BOL. If you are not sure about that, do not hesitate to come back. :-) HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
