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

Software Development Network >> Brian Kramer's Q&A profile

Brian Kramer

Member List

JimMcCaw
MarkAx
Sab2
Chaz Clover
Toan Phan
Jitusj
Softwaremaker
David_P9
Taylor Meek
PaulKotlyar
Dr.Gigabit
.NETBloake
.NET Developer
chipjollyroger
Snickel65
SillyMS
Penicillin
GraemeWhelan
Euclidez
moorelg
Only Title

Brian Kramer's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Correct version of the XACT

    While trying to build the project with simple sound as described in XNA Help the error XACT could not load the data provided. Make sure you are using the correct version of the XACT tool appeared. I have October SDK installed and no attempt to build sound files with August SDK taken. Have seen some posts with similar problem here but no real solution. Is there any kind of restriction meaning the size or other sound properties I used standard Windows file "chord.wav" for my experiment. Glenn Wilson wrote: From what I understand the XNA Framework only works with the August version of the DX SDK... Isn't that what I said ! ...Show All

  • SQL Server Problem with Context Switching feature in SQL 2005

    Hi, One of our client application launches a execuatable on server by calling master..xp_cmdshell. We are migrating to SQL 2005 and I would like to use the Context Switching feature We have sql login “client” which is used by clinet application and has very least privelge and have only required access to requried database and tables. xp_cmdshell is disabled by default on our server and I would like to enable xp_cmdshell, launch the executable on the server and disable xp_cmdshell . I have created another SQL Login “Bob” and is member of sysadmin. The below SP is created by logging in as “Bob”. My objective is to grant execute access on this SP and grant impersonate access to sql login “client” . So that client ...Show All

  • Visual Studio How to programatically add a new resx file

    Hi there, Can someone shed any light on how to add a new "resx" file to a project or any other file for that matter. I think "ProjectItems.AddFromTemplate()" may be the right method ( ) but if so, how do you determine the name of the project template to pass. Thanks very much. Templates are stored in several directories of the VS installation. For example, "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\VisualBasic\1033\". To locate the base folder for templates you can use Solution.ProjectItemsTemplatePath(projectKind). If you want to use an existing file rather than a template, you can use the other AddFromFile / AddFromFileCopy methods. ...Show All

  • Visual Studio Team System Keying off an event

    I would like to be able to rename a folder upon a build status changed event. How can I key off this in an application You can use the eventing service of TFS, creating a webservice which will be called on the build status changed event by TFS, you can find some samples about webservices subscription to events in Visdual Studio SDK, MSDN, and blogs like this ones: http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/13/Automatic_email_notifications_when_a_work_item_is_assigned.aspx http://blogs.conchango.com/howardvanrooijen/archive/2006/04/29/3894.aspx ...Show All

  • Visual Studio How to access the property window?

    This is my first attempt at extending VS. I would like to add a link to the window directly under the property window for a datagridview that contains the links. I will be writing a plugin and need this new link to appear for datagridview controls. Can someone point me to a resource, book, or a snippet of code to access this little window. Thanks Marty U. I don't think that you can extended the property window in that way. The Property window uses internally the System.Windows.Forms.PropertyGrid control which in turn uses the services of the designer of the displayed control to know what verbs (actions) to put in that zone below the properties. What you can do is to add a context menu f ...Show All

  • Visual Basic "The request was aborted" exception in long process

    Hi, I’m having a problem calling long process with a BackgroundWorker after a while I get this error message "The request was aborted: The request was canceled" What I’m doing is login a site go to a submit page form and submit data, the tool submit articles to differents article directories, after more and less 100 articles I get the "The request was aborted: The request was canceled" message, if I run again the app I get the error message in the number 1 item like if the connection is still alive and I need to reboot my pc. So, the loop method is here: visual basic code:-------------------------------------------------------------------------------- Function SubmitAll(ByVal bw As BackgroundWorker) As Integer Dim oSubmitRobot ...Show All

  • .NET Development What is the best way to compare columns of 2 DataRow objects?

    Hi, I need to compare values of 2 DataRows. They have the same columns. When I tried to do this: drA[k] = drB[k] // k is an int holding the column number it did not work even though both columns had the same content because I did not explicitly specify the data type. When I used string.Compare, with ToString it worked fine. In my situation, the data row column could have any data type, so string.Compare and ToString may not be the correct way for all type of columns. So what is the general way of comparing 2 columns so that one covers all possible data types like float, boolean,...etc. without worries Thanks for your help in advance. Thanks for your help. It works - Even without ...Show All

  • Visual Studio Express Editions Tabbled browsing

    I am making my own internet browser but how can i add the option of tabs in my application. Such as in internet axplorer 7 and how can i delete my browsing history. Let me introduce myself first, my name is Simon North and I am the head of Simnor Computing. I have wrote many application one of which is a tabbed web browser based on Internet Explorer. I created the tab interface by simply adding a tab control on the main form and created a user control which included the menu bar, toolbar, web browser control etc. When the user clicked the 'new tab' button, a new tab would open and the user control would dock (fill) the tabpage. If you want any more information please ask. ...Show All

  • Connected Services Framework Routing Messages synchronously to services

    Hi, We are using CSF 3.0 Dev edition. We have been able to create and terminate session synchronously. However we are not clear on how to call services ( as defined manifest) synchrounously. As in case of Create Session, there is a class "CreateSessionResponse",which holds response of Create Session. Which class is used to hold response of TResponse SendSync<TResponse> (message) when we want to route manifest to services through Session Web service. We have been able to send messages to services asynchronously. Would be great if somebody could throw some light Thanks Ruchi Hi San, Thanks for the information. Adding more to it, messages can be routed asy ...Show All

  • Visual C# Static Methods And Thread Safety

    could somebody please tell me, in the following static method, is it possible for a second thread to call the same method with a different input variable modway through, thereby screwing up the result thanks public static int GetString(int i) { // do some stuff with i. e.g. i = i + 100; i = i / 2 ... etc. return i; } You are missing the point a little bit, in that race conditions are not limited to static methods, issues with threading happen because you are acting on a shared resource at the same time, static methods just expose this more easily. For example, in the code below there are no static methods, yet we still have a race condition, basically the bank account object ...Show All

  • Windows Forms DataGridView standard practice?

    OK so here is the deal. I would like to know what common practices are out there relating to my problem. First I have a class that defines a Question that has the following fields (QuestionID, CategoryID, QuestionText). I created a DataGridView and bound it to the object representation of Questions so all of the columns were generated in the designer as well. I set the bindingsource at runtime and things look fine. The grid contains all of the raw data. Now, I want to modify the grid to show the category name rather than the ID. The category name can be found in a lookup table. Note, I do NOT want to modify the Question class to contain the CategoryName and do a JOIN in the procedure to get the data. I want to keep the object ...Show All

  • Windows Forms How to display rows placeholders in the remaining client area of DataGridView ?

    I have DataGridView with 2 rows and 5 colums, but the DataGridView control has it Height property mach more greater than 2 rows in total (12 rows can fit this area). I need to display all 12 rows = 2 bounded to the table and 10 empty. It is possible to do in known way Link to any article or code sample will be wellcome. Karl Erickson wrote: You could add ten empty rows to your data source, or you could use unbound mode (that is, don't set the DataSource property), and instead set RowCount = 12 and populate the first two rows manually using the data in your data source. That is the the silution only for application not sensitive to performance. When data source has thousands or more e ...Show All

  • Visual C# Progress bar refesh

    Hello. I have dialog based app. inside i use progress bar control. it's appears, when i start parsing files. so it indicates how much files are passed. all ok, but when i click on the window, or going outside of my app, and going back to app, its seems like blank white window... i think problem is about redrawing window and the control, but inside my "for" cycle i use Refresh() method... here's my cycle code. m_bar - is name of progress bar control if (Get_In_Folder() != null ) { Files = Directory .GetFiles(Get_In_Folder()); m_bar.Maximum = Files.Length; label3.Text = m_bar.Maximum.ToString(); for ( int count_file = 0; count_file < Files.Length; count_file++) { m_bar.Va ...Show All

  • Visual Studio srssafe.ini on server

    Hi, I have installed sourceSafe on a win XP machine that I use as my sourcesafe server, then I created a database in c:\vssdb. I've shared the folder (c:\vssdb) and I wrote a c# app to access the repository from a different host, but the problem I'm having is that I need to give the user who connects from a different host the right to modify the database folder . could you tell me if this is the way it should be or may be I'm missing somthing Thanks Nobl Also see these articles for setting share permissions and locking down the scc database. http://msdn2.microsoft.com/en-us/library/ms181068(VS.80).aspx http://msdn2.microsoft.com/en-us/library/ms181061(VS.80).aspx Alin ...Show All

  • Visual Studio Express Editions Tackling an issue

    Hi all, I'll try to describe this as best I can. If it gets a little confusing, let me know and I'll try to rephrase everything I've said! For the past few weeks I've been trying to get my head around VB2005EE. After reading a few books and tutorials I feel that I'm almost ready to go ahead and build my first "real" program to distribute. The program I have in mind should be nothing complicated, but I'm a little confused on how to build the key feature. Without giving too much away, my idea is to build a large database on every ride, roller coaster and theme park in the world. Each entry will feature statistical information on the particular attraction, along with media (video/pictures), location etc. - this will mean I'll have ...Show All

©2008 Software Development Network