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

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

vatsug

Member List

Jwborc39963
BattleCattle
jcz
kerber
zebob
Aj - Malta
Scooter!
Bob Baird
Mirza Danish Baig
Lionel18330
soni_ravi362000
amitPrigozin
jcnewbie
Flavio
Nehal Sheth
Pela06
Petchey
JT Snake
Marc Laroche
ksona
Only Title

vatsug's Q&A profile

  • .NET Development Multithreading on database server side

    Hi, should I take a care of threading synchronization when accessing the database I mean, what happens if one thread executes SELECT and the other one DROP at the same time What about transactions If I have transaction, some DROP and DELETEs within it, isn't it possible that both fails if executed parallely Thanks. The database is designed to handle all this for you. Think about it. There is no difference in having a single application with 2 threads and 2 applications with one thread as far as this goes. Databases are designed to handle concurrent requests from 1000s of clients. The database handles th ...Show All

  • Windows Forms TabControl bug or my misunderstanding

    I have a tabcontrol with 5 tabs added in order. I add the event handler for selectedindexchanged. For some reason the order inside the tabcontrol gets shuffled. Is this suppose to happen source code below. To induce the bug. Click on tabpage 5 first then click on tabpage 3. Clicking on tabpage 5 diplays expected results both using index and enumeration. Upon clicking on tabpage 3. Both index and enumeration changes order. #pragma once namespace testform {     using namespace System;     using namespace System::ComponentModel;     using namespace System::Collections;   & ...Show All

  • Visual C# Mathematics Functions

    I have just downloaded Visual C# Express. I find that it has no mathematics functions and many others missing such as sleep(). Can someone tell me how I get these. Many thanks. System.Math ( At MSDN library ). ...Show All

  • .NET Development Strings

    Hi folks, I'm just wondering if .NET impliments the + operator for its String class As well, does it have any (for example) ToInt(), ToFloat(), FromInt(), FromFloat() members -Zero For converting you have the convert class http://msdn2.microsoft.com/en-us/system.convert.aspx You also have Parse/TryParse methods on most numerics, if not all. The + operator will concatenate strings in VB.NET and C# compilers. I am not sure if the C++ compiler does it. ...Show All

  • Visual Studio I want to add additional documentation to VS help system.

    I have VS 2005 installed and it comes with a set of documentation which you can filter via drop down box, which is great. But I am doing some sharepoint development and I really don’t want to switch between the two systems or more if I have other SDK docs I need to look at, can I add the sharepoint SDK or any .chm file to the VS help system which should be automaticly searched via dynamic help also. I think I am asking for the impossible. Cheers, David Hello David, you're only asking the 'sort of' impossible. :) Actually there are some options for integrating content from other Microsoft ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA & MDX = ?

    Which role will Managed DirectX play in the XNA Unfortunately, anybody who knows the answer to that question isn't allowed to answer it in public. The XDK is separate from the DirectX SDK, though obviously they both have DirectX 9 included and several of the tools and APIs (PIX, XACT, XInput) are now becoming common. However for Managed DirectX to be a part of the XDK it would indeed require the .Net framework to be ported to a different hardware platform which IMO sounds like a lot of work. ...Show All

  • Visual Studio Express Editions WebBrowser as File Browser (Explorer)

    This is working but how will i change the view (Thumbnail, Details, List, etc.) Is it posible Private Sub Navigate(ByVal address As String) If String.IsNullOrEmpty(address) Then Return If address.Equals("about:blank") Then Return If Not address.StartsWith("file:///") Then address = "file:///" & address End If Try WebBrowser1.Navigate(New Uri(address)) Catch ex As System.UriFormatException Return End Try End Sub I don't think you will. The webBrowser is an HTML based control and is not a treeview or list view contr ...Show All

  • Visual Basic SetPixel() - URGENT!

    Hi, I am loading an 8-bpp (bit per pixel) bitmap from a file and trying to set various pixels using the SetPixel method, but no matter what I do (I also tried locking the bits), i get an InvalidOperationException - "SetPixel is not supported for images with indexed pixel formats." After some research i understand that it's not possible to use the SetPixel method in the normal way or possibly not at all for *indexed* bitmaps. If someone could please tell me how to get around this, either somehow using LockBits, or if it really need be, how to convert the bitmap to a non-indexed format in order to use SetPixel(). Thanks in advan ...Show All

  • Visual Studio Team System Problems with Branching

    We are running Beta 3 Refresh and are having problems branching (which worked ok in Beta 2). I created a new folder and then clicked on my main folder (with multiple sub-folders underneath) and clicked Branch. I then choose to put the branch in my new directory I created. It then states: "Preparing to Branch..." and sits there for over 1/2 and never does anything. I then clicked "Cancel" and it sits there for another 30-45 minutes saying "Canceling..." and then I receive an error that states: "Visual Studio Team System Command Canceled". You can only click ok, which then brings up: "Error Command Canceled" I was able to successfully branch a ...Show All

  • Visual Studio Express Editions How do I detect when the right mouse button is down?

    Visual Basic 2005 Express Edition: I would like to perform an operation when the right mouse button is down. How do I detect when the right mouse button is down Private Sub Form1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me .MouseDown If e.Button = Windows.Forms.MouseButtons.Right Then 'Do something... End If End Sub ...Show All

  • Visual Studio Express Editions Export Data into an existing Excel File

    Hello The following code adds the string "Test" into the A1 field. In this Case, it opens a new Excel File / Workbook. However, i don't want to use a new Workbook, i want to insert the data into the Field A6 of an Excel File which already exists. The Excel File in which the Data should be inserted is named User55 How can i do that Imports Microsoft.Office.Interop Public Class Form1 'Keep the application object and the workbook object global, so you can 'retrieve the data in Button2_Click that was set in Button1_Click. Dim objApp As Excel.Application Dim objBook As Excel._Workbook Private S ...Show All

  • SQL Server Analysis Services 2005 Tutorial Error

    Hello, I am new to SQL Server 2005 and SQL server in general.  Recently I installed the September CTP of Server 2005.  I am currently going through the Analysis Services Tutorial with the AdventureWorksDW database.  In Lesson 2 of the tutorial after I deploy the cube, when I enter the cube browser and try to drag and drop the "Sales Amount" measure into the data pane, I get the error: The query could not be processed: o Memory error: While attempting to store a string, a string was found that was larger than the page size selected.  The operation cannot be completed. I get this error no matter what measure I try to dro ...Show All

  • Windows Forms Creating a Bindable Control

    I've been searching and can't find anything on the subject.  I'd like to make a control that has a DataSource, ValueMember & DisplayMember just like all the regular WindowsForms Controls.  Is there a standard way of doing this   Any links to anything would really be great.  Seems like everything I find that might be useful is for ASP.NET  ...Show All

  • Visual Studio 2008 (Pre-release) proxyAuthenticationScheme="Basic"

    Hi, My config looks like this: < httpTransport manualAddressing = " false " maxBufferPoolSize = " 524288 " maxMessageSize = " 65536 " allowCookies = " false " authenticationScheme = " Anonymous " bypassProxyOnLocal = " true " hostNameComparisonMode = " StrongWildcard " mapAddressingHeadersToHttpHeaders = " true " proxyAuthenticationScheme = " Basic " realm = "" transferMode = " Buffered " unsafeConnectionNtlmAuthentication = " false " useDefaultWebProxy = " true " /> I have an automatic config script setup in the browser and I'd like to use that setting also.  Is my httpTrans ...Show All

  • Smart Device Development Smart Devices, future development

    Does anyone have any ideas what the next generation of smart devices will be like Is there going to be more memory Can we develop applications bigger than 32mb Will we have more than 32 program slots Will there be a hard disk Will smartphones have a touch-screen What extra will WindowsMobile 6.0 give us We're developing for PocketPC 2003/WindowsMobile 5.0, and having to restrict functionality to fit hardware restrictions. Obviously we have half an eye on future enhancements, and are coding flexibly. If anyone knows what the future will be bringing, I'd love to hear about it! thanks This is probably not the ...Show All

©2008 Software Development Network