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

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

sGurpreet

Member List

Baldwintm
AlistairSKing
Aleksandr Tokarev
enric vives
David Ing
wireaudio
thedo
Yustme
Rashar
IDAutomation.com Developer
ajcanable
jdrawmer
U m a n g
Vlastimil
AlexBB
Alle
jchau
SQL Server Management Studio
Kai123
NiklasECG2
Only Title

sGurpreet's Q&A profile

  • SQL Server SQL 2005 Express and CPU/Memory limitations.

    SQL Express Ed is limited to one CPU, what happens if the CPU is a dual core CPU Does SQL Express care Does it see a dual core as a single CPU As for memory, stupid question, SQL Express is limited to 1 GB RAM, if I run it on a server with say 4GB of ram packed into it, will it affect SQL Express' performance Will SQL Express even run if there is more than 1GB available Or will SQL Express simply ignore the extra RAM with no negative consequences Thanks, Andy On the former it should use both cores, one socket, I have not tested but thats the theory. On memory it will help perf a little as the OS will have plenty of memory of OS work, if you install SQl Express on a machine with 1gb then SSE and the OS will compete. ...Show All

  • Visual Studio 2008 (Pre-release) How to get StoryBoard name in its Completed event?

    Hi I am need to know the name of the StoryBoard which has completed out the ten storyboard that i have.I am not able to get the name because i have only one event handler for all the storyboards. Following what i am doing: //A common Event Handler for all story boards SlideStory.Completed +=new EventHandler(StoryBoard_Completed); OpacityStory.Completed += new EventHandler(StoryBoard_Completed); TopToBottomStory.Completed += new EventHandler(StoryBoard_Completed); BottomToTopStory.Completed += new EventHandler(StoryBoard_Completed); WidthStory.Completed += new EventHandler(StoryBoard_Completed); HeightStory.Completed += new EventHandler(StoryBoard_Completed); //Event Handler private void StoryBoard_Com ...Show All

  • Windows Forms WebBrowser control - Context menu bug ?

    I had a WebBrowser control embedded on a form. I disabled the ContextMenu which is coming up default. Later, i added my context menu and trapped the opening event of it. But when i had issues with that function and exception thrown over there, enables the default Context menu provided by IE. I am developing .NET Framework 2.0 development on Visual Studio 2005 to develop a Form based application. Is this a bug and Does it need to be updated to the future releases of the control Thanks Muthu http://www.muthuka.com/ ...Show All

  • Visual Studio Express Editions "New" Object Instance for DataGridView

    I have a form that contains data that when a button is clicked, will take that data and insert it into a specific cell in a datagridview on another form. However, when I click on the button, I get a NullReferenceException error for the highlighted line of code. It says that I may have to create a "new" object instance. Here is the code I have. Note that I have created a "new" instance of the form. I guess I also have to create a "new" instance of the datagridview as well. Dim Catalog As New Catalog_Form Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each ctrl As Control In Me .Controls If TypeOf (ctrl) Is CheckBox Then If ...Show All

  • Software Development for Windows Vista Questions and comments about the DirectShow BaseClasses

    Hello everyone, I have 3 comments about possible bugs in the DirectShow BaseClasses. It is entirely possible that these are not bugs, and in that case, I would be grateful if anyone would correct my misunderstanding. The first bug: when a source stream derived from CSourceStream fails in OnThreadCreate, it is not called on any subsequent attempts to play the graph. This occurs because the thread handle remains open. Proposed solution: in CSourceStream::Active() replace the error check following the call to Init() with: if (FAILED(hr)) { Close(); return hr; } The second bug: when deriving from CBaseReferenceClock, you are expected to override GetPrivateTime() to return the current actual time. This function needs to keep track ...Show All

  • SQL Server Dimension and Hierachy

    Hi, I am new in AS2005 I builded a Dimension "ShipToState" with Hierarchy "ShipToState", "ShipToCity", "ShipToZip"... When I browse my cube from Excel I see "ShipToState", "ShipToCity", "ShipToZip"... as 3 different dimensions and a new dimension named "Hierachy".....I think I am doing some mistakes..... Someone can help Thx Mcrisf Thx for the answer.... but i would like to show to the user just only a dimension "ShipToState" and when the drill down to see the "ShipToCity" and "shipTozip"....the user is confused to see all these dimensions and also a hierachy dimension....with ...Show All

  • SQL Server Severity Levels of SQLAgent Event Log entries

    Hi Experts, We are using SQL2000 SP3 on W2K3 server, Standard Edition. I would like to have SQLAgent jobs to write to event log when job fails. Configuring so through "Job Properties, Notification" page, I get errors logged, but as "Warnings" in the event log. I need this to be logged as "Error". How to get SQL Agent write "Error" entries in the event log Thanks, Rukmani ...Show All

  • Visual C# using 2005 dlls in 2003

    I have a 2005 dll which i need to use it in my application in 2003. Is there any way to use it or i need to have 2003 dll. Thanks lili ...Show All

  • Visual C# keep in memory

    Hi, I need to keep in memory a value that the user would have enterred. i don't even know if it is possible Can you help me First of all keep in mind, When applicaiton is closed all memory it used is gone. So you cannot keep a reference of that (Atleast not in the modern Languages). The best thing you can do is ofcourse would be the use of Client Settings of .Net. Simply create a new key put a value in it and go... You can also add your own Custom types in Client Setting. To do it, Double Click Settings.setting under Properties in Solution Explorer I hope you will get what to do next. When a Key is created simply from your code you can access that in read/write mode using: glob ...Show All

  • Visual Studio Team System Project Alerts Feature Request - Limiting Scope

    It would be great if I could limit the scope of directories that generate alerts. That is, I don't care about what Joe Blow is doing on their private developer branch but I do care about what gets checked/merged into the Trunk. Any chance we will see this kind of flexibility in project alerts in v.Next Keith, I'm 90% sure someone (Pete ) has a blog entry on how to do this but I can't find it. Like Mario said, having proper tools for editing alert filters will improve this feature immensely. ...Show All

  • Visual Basic send binary string through tcp, sockets

    I am working on a project with a literal "black box" piece of equipment (transponder) that listens for binary strings on port 4172. The transponder has a known IP address, 192.168.4.17. I have written the following code from various textbooks, but I need to do a "one-sided" connection (or initiate from the computer) since I have no ability to set up a listener on the transponder. Does anyone have some advice or a snippet for such a situation 'create class through which transponder can listen for requests on port 4172 Dim server As New TcpListener(bb_ipaddress, 4712) 'begin listening for connection requests server.Start() 'return socket object upon connection Dim connection As Socket = server.AcceptSocket() 'creat ...Show All

  • Visual Basic differene between Dim and private

    what s the difference between declaring a varible with Dim myVar as .... and private myVar as ... Thank you from my testing, I found there is no difference. When you do public myVar as.... it will make the variable public meaning other classes can access it as if you do private myVar...or Dim myVar... then its private meaning only the class can access it and no one else.   Dim myVar... can be declared globally for the entire class to see or can be declared in a method/function for use within its scope meaning no one else can access it because its private to the function/method which is declared and used in  private and public declerations must be declared globally at the top of the class or rather just after the cla ...Show All

  • Visual Studio 2008 (Pre-release) Dock Panel System

    I've a question for you. How to approach the design of a docking panel system in WPF I've you have any ideeas just fill in here. You mean the dockable window layout system used in visual studio and sharpdevelop, I've had some thought to create it myself, but I think it's something which involves a lot of effort, and I am also glad to hear how other people approach this:) Sheva ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Book ( In Progress )

    For reasons I cannot exactly put into words, I’ve decide to write a (free) book about how to use XNA.   It is defiantly a work in progress and thus far only includes two chapters and associated source code. I truly hope that my work is advantageous to some people out there. I am in part doing this as a practice towards writing technical documentation.   I am not accomplished in writing instructions for other people that may not have the same level of technical skill sets as myself.   I hope that with this book I learn a whole lot and more in that regard. Granted, if you are a diehard game programmer, what I have written is probably not for you, at least, not yet! Yet I would value your input.   If you feel like c ...Show All

  • Visual Basic Keyboard Advice. Doing it all in code. :-)

    Do sth when i click Left arrow <-- or, Right Arrow -->, how can i do that For example let it bring a msgbox Thx anyway   Private Sub Form1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase .KeyDown Select Case e.KeyCode 'Left arrow key was pressed!! Case Keys.Left TextBox1.Text = "Left arrow key was pressed!!" '____________________________________________ 'Right arrow key was pressed!! Case Keys.Right TextBox1.Text = "Right arrow key was pressed!!" End Select End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load ...Show All

©2008 Software Development Network