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

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

GrindCrusher

Member List

jsedlak
Vjy
KitWest
Shouvik
sagan69
Jehan Badshah
JenniferBMiller
a_martinez
Mamatha
Roy mm
Kevin Hoffman
Jon-12345
enric vives
ashk1860
Klaus Hoeltgen
AlfonsAberg
WillieSea
samaya78
alya
Dragan Jankovic
Only Title

GrindCrusher's Q&A profile

  • SQL Server Saving a query in SQL Server MSE

    I have created and run a query in Management Studio Express. How do I save it so that I can run it again later In fact, does MSE have this capability Many thnaks Hi Andrew, Saving to a file in MSE will save the script as an independent file that you can open later in MSE. A View is a specific object that is saved inside a database. Either can be used again, but their context is different. Regards, Mike Wachal ...Show All

  • Windows Forms "toolbar" applications

    I am interested in creating a "toolbar" interface for a windows application. By this I mean an interface that is loaded onto the taskbar from the toolbars context menu, as is windows media player in mini mode, the language bar, virtual desktop powertoy, etc. I'm not ever sure what the proper terminology for this is and have been unsuccessfully so far in my efforts to google it. Is there a forum here that deals with this sort of thing If not, can anybody recommend any resources that might help Hi, I think the only way this can be acheived without paying for a tool which does this for you is to do this: Make a new form and set the topmost property to true. Then position it over where you wan ...Show All

  • Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow

    Has anyone else noticed that typing in Visual Studio 2005 is extremely slow   Whey I type it seems that the screen is always 2 words behind where my hands are.  It makes it extremely frustrating to get anything done. I'm mainly referring to C# code.  It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this   Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast.     Sub ToggleCSharpNavigationBar()        ...Show All

  • Smart Device Development ActiveSync 4.1 for multiple users on same PC

    Hi, I have ActiveSync 4.1 installed on my PC. It is working fine with my Windows Mobile 5.0 PocketPC Emulator as expected. When another user is logged in to the same machine, ActiveSync is not showing up. I can't even open the ActiveSync applicaiton. Is it a limitation I am building a demo in a VPC, in which multiple characters will connect to the same machine using Remote Desktop and ActiveSync is one of the important piece to be shown. Thanks for your help. Praveen My guess would be active sync is not installed for all users Any way you can always post active sync related questions to active sync specific news group ponted out in the anouncements http://forums.microsoft.com/MSDN/ShowP ...Show All

  • .NET Development Repeating name in namespace + classname, because I named dataset+db+namespace the same

    That topic title is a bit vague, let me explain: I am setting up a solution, it's for a system, let's call it 'CoolThing'. The solution is called CoolThing, it contains a Class Library called CoolThing.DAL and another one called CoolThing.BLL. The default namespace for those projects is the same as their name. Now I have created a database in SQL Server, called 'CoolThing'. So I add a DataSet to the DAL project, and I'd like to call it 'CoolThing', since that seems logical. Here's the full classname for a DataTable: CoolThing.DAL.CoolThing.DataTable That's where the problem is, not only does it look weird and confusing, acoording Abrams in FrameWork Design Guidelines one should design non-repetive namespaces, and I kind of agree (althoug ...Show All

  • Windows Live Developer Forums Best way to store precise 3D views...

    Hello all, new member here. I'm working on a website that maintains a database of mountains for skiing/hiking. For each I'd like to also maintain data on the best way to display the mountain in 3D to really showcase it. Right now I have this working by storing (per mountian) lat/long, pitch, altitude, and heading. It works but it takes 4 function calls to get there which seems inefficient and takes a bit of time. Is there a better way Perhaps a single function call to tell the camera exactly where to put itself I looked in the SDK reference but couldn't find anything like this... Oh, no, sorry for not being more explicit. I'm looking for something that, given latitude/longitude, heading, pitch, zoo ...Show All

  • Visual Studio Team System How to add TFS programatically?

    Hi, I want to provide the functionality of adding Team Foundation server (team explorer -> add existing team project - > servers... ->add) programmatically. i.e. when user enters the name of a machine and port (8080 by default), i want to verify if TFS is installed on that machine. If not, I want to show an error. Is there any API for doing this Or any other work around Manasi Do you mean you wish to programmatically connect to a TFS instance or programmatically add a TFS instance to the list that shows up in Visual Studio. If the former then something of the style of: TeamFoundationServerFactory.GetServer(myTFS); or TeamFoundationServer(myTFS new UICredentialsProvider()); ...Show All

  • Visual C# best way to pass value to another open form

    In vb.net it is so simple all you do is add a button on the form and when both form1 and form2 is open all you had to do is this. form2.textbox1.text = "Cat" where in c# it is not that simple. I am curious to see how others do what I have mentioned above in c#. So basically the scenerio is I have both form1 and form2 open. Form2 has a textbox and form1 has a button on it that I want to pass a certain word to the textbox on form2 In the form1: ================================= private Form2 form2; public Form1() { InitializeComponent(); form2 = new Form2(); form2.Show(); } private void button_Click(object sender, EventArgs e) { form2.TextBox1.Text = & ...Show All

  • Visual Studio 2008 (Pre-release) TransactionIsolationLevel and multiple service contracts

    I have a service which implements several contracts, which works fine, e.g. class MyService : IMyContract1, IMyContract2 { // Implement both interfaces in here } This works fine, but in my case IMyContract2 has an operation where I want to flow a transaction, so I use an attribute to set this on the operation: [OperationBehavior(TransactionAutoComplete=true, TransactionScopeRequired=true)] I want to set the isolation level for this, so I add this attribute to the Service: [ServiceBehavior(TransactionIsolationLevel=IsolationLevel.ReadCommitted)] The problem is, when I try to host this service, I get the following exception: Unhandled Exception: System.InvalidOperationException: The service 'MyService' is configured wi ...Show All

  • Windows Forms Creating new forms using threads, and keeping then open after thread exit

    Hi there! I currently have a program that creates and displays a new form based upon a message sent by another application. The hierarchy of the threads are as follows: Main Application -> CommThread -> FormCreationThread The problem is that while the CommThread is a continuous thread, the FormCreationThread is temporary; once it creates the new forms, it ends. Because of that, once the FormCreationThread ends, it takes my new form with it. If I set the FormCreationThread to sleep or suspend after it creates the form, it also blocks the form from being used. What I'd like to do is have a way to create a new form from the FormCreationThread, and have it still alive after the thread itself ends. Any ideas on what I can do H ...Show All

  • Visual C# how to save something in my application...

    this application help me to save time opening alot of other application . by add applications I want to open in a list and open it all by one click .. the problem is how can I add application and save it , so when next time open the applicatin it still in the list ...   e.g. app=app1&app2&app3 i want to add app4 to the list... so app become app=app1&app2&app3&app4   next time when run app >> the four another apps is still there in the list     this is my code up to now   using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace ...Show All

  • SQL Server Specifying Dimensions

    If I have a fact table with dimensions that don't have any attributes other than the dimension values themselves, does it make sense to build dimension tables with only one field (or one field and an ID), or just build the cube using the exsiting fields in the fact table as 'dimensions' Thanks, Kayda This is one of more general questions in datawarehousing. Each of the approaches has it's advantages and disadvantages and you can get quite a bit information about each once you search for it. The short question from analysis services perspective it is better break out dimensions into their own tables. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Audio and Video Development Problem in Monitor Control API's in Vista

    I have ATI card on my VISTA system, I want to control the monitor parameters using Monitor configuration functions. As a result in my appilcation I have loaded the dll, like LoadLibrary ("dxva2.dll") I also get the proc address of following functions GetNumberOfPhysicalMonitorsFromHMONITOR = (tGetNumberOfPhysicalMonitorsFromHMONITOR) GetProcAddress (hModule, "GetNumberOfPhysicalMonitorsFromHMONITOR"); GetPhysicalMonitorsFromHMONITOR = (tGetPhysicalMonitorsFromHMONITOR) GetProcAddress(hModule, "GetPhysicalMonitorsFromHMONITOR"); GetCapabilitiesStringLength = (tGetCapabilitiesStringLength) GetProcAddress(hModule, "GetCapabilitiesStringLength"); When I try to use these function, follo ...Show All

  • SQL Server i'm sorry man no was my intention

    i’m sorry my bad english i have a dts in sql server 2005 for example in sql server 2000 i can do that : over DTS right-clik choose option "Scheduled pachage" and this create a scheduled what i mean is that this produces a "JOB" what i mean is that i need to know how can to create a scheduled to DTS’s in sql 2005 Please anyone of you provide some solution for this. I fixed this by adding the owner of the package to the owned schema's in the agent roles in msdb. take a look at this link: http://www.microsoft.com/technet/prodtechnol/sql/2005/newsqlagent.mspx ...Show All

  • Windows Forms Mutex sharing problem

    Hi, I'm creating a named Mutex to allow 2 separate apps to access a database for reading and writing without corrupting it. I do this using: try { m = Mutex::OpenExisting("MyDatabaseSharingMutex"); } catch (WaitHandleCannotBeOpenedException^) { m = gcnew Mutex(true, "MyDatabaseSharingMutex"); } catch (Exception^ ex) { MessageBox::Show(ex->Message); } in the load of each form. I've been testing this just by making one app write whilst the other one tries to read from the database, and have encountered some problems. I'm using m->WaitOne() to get the Mutex, and m->ReleaseMutex() to release it, and even though these are always present in a pair, I still get one program hanging during the read/write process. This is the code used f ...Show All

©2008 Software Development Network