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

Software Development Network >> Paul Shmakov's Q&A profile

Paul Shmakov

Member List

Running-Man
thecaptain
Suresh
kristie
Jeff Irish
Zac Schutt
Timothy Tim
DonOrel
Charles Cooper
Michael BBB
hmemcpy
prodigy83471
ianivs
VladTheImpaler
Sven Rasmus
Matt1980
Keith Craig
Seggerman
JPedroFS
nabeelfarid
Only Title

Paul Shmakov's Q&A profile

  • Windows Forms Master/Detail Combobox in DataGridView (VS.NET 2005 Beta 2)

    I want to create 2 combobox in DataGirdView which have relate Master/Detail together. Ex : 1. I have three tables in Database : Customer, City, District. - Customer (n-1) District by DistrictID. - District (n-1) City by CityID. 2. DataGirdView have 3 column : CustomerID, CustomerName, CityID, DistrictID. 3. In this DataGirdView i have 2 combobox which display City, District and they have Master/Detail Relation. This is my code (C#) 1. I made dataset (dsCustomer) contain 3 tables Customer, City, District and was load data from Database : 2. I define 2 BingdingSource and 1 DataRelation private BindingSour ...Show All

  • Visual Studio Team System How to CREATE ENDPOINT

    I am learnig to create a endpoint in Sql Server 2005. I have create a simple SP to get a customer in Northwind. Then create a endpoint using HTTP. SP: CREATE PROCEDURE [db_accessadmin].[upGetCustomer] @CustId nchar(5) AS SELECT CustomerID,CompanyName,ContactName,ContactTitle,Address,City,PostalCode,Country,Phone,Fax  FROM Customers WHERE  customerid=@custid ORDER by CompanyName,CustomerID,Country DESC Then, create the ENDPOINT script, USE [Northwind] GO CREATE ENDPOINT customer_endpoint  STATE=STARTED AS HTTP (  PATH='/sql',  AUTHENTICATION= (INTEGRATED),  PORTS = (CLEAR),  SITE = ...Show All

  • Windows Forms Problem with value DataGridViewComboBoxCell

    In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon Use the following link: http://lab.msdn.microsoft.com/productfeedback/Default.aspx   -mark DataGridView Program Manager Microsoft This post is provided "as-is"   ...Show All

  • Visual Basic Dll registry problem

    Hi, Its really very urgent, please do the needful as early as possible. I was working in a VB project in which I was using some abc 1.1 dll. and now currently I am working in a .Net project which is interrelated with the VB project and which I have to use the same dll which I was using in VB but the .Net project needs the latest version of the dll like abc 1.2 dll. Previously I was getting the problem in .Net project like registry entry not found for the abc 1.2 dll, so one of my friend had send me the registry key for the dll abc 1.2.reg , so I double clicked it, it merged in the registry. After doing this, .Net project is som ...Show All

  • Visual C# Dynamic assignment of Data Objects

    I'm trying to make all of the assignments dynamic in my MDI application. The MDI form takes care of loading the connection string. Opening a new form child, My app reads in a text file, processes each line and writes records to a temporary table. The datagrid then connects to this temp table. How do I open a connection, insert records and then finally bind the data grid I can see how to bind the grid to an adapter/dataset but I need to insert before. Thanks, Mike Re 1) Use 2 seperate DataAdapters. Since the various commands of the DataAdapter will store the query to fetch the data. Hence if they are tw ...Show All

  • .NET Development Asp.Net codebehind files

    Can two web form have a single codebehind file. Yes, but the IDE does not like it. It would be better to create a class that derives from Page and then derive each of the web form code-behind classes from your derived class. So for example a page named Orders.aspx and a page Customers.aspx would have code-behind classes named Orders and Customers respectively. Both Orders and Customers classes would derive from your CustomBasePage class instead of Page. The CustomBasePage class would derive from Page. All of the code that the pages share could be placed in CustomBasePage and inheritance would let both pag ...Show All

  • .NET Development Suspending the main thread from an event handler, given Thread.Suspend() is deprecated

    Since Thread.Suspend() is deprecated (and that seemed like my best bet), I'm trying to find a way to solve a problem I've been having. Essentially, I've got code running in a main thread, and event handlers handling events occasionally. What I want to do is pause my main thread whenever an event handler fires so that only my event handler executes, and the main thread waits until the handler is done to continue processing. Does anyone know a good way to do this Thanks! It already works that way... Event handlers that are activated by the main thread execute on the main thread. Event handlers invok ...Show All

  • Visual Studio Will installing Team Foundation Server mess with VSS?

    Hi guys, I'm wondering if installing team foundation server (which came with vs2005 b2) will mess with my current installation of source safe. I use source safe with vb6 and I don't want to mess that up. Can anyone tell me if it'll have any affect on my SourceSafe ...Show All

  • Windows Forms Control Default Value not pushed to DataSet

    Hi, I have a control, a basic drop down list. I have set the default value of the control when the form loads ( basically the selectedindex to 5 or something). Now when I add the new row to the dataset the default value is not pushed into the dataset. If I change the selectedindex using mouse, only then does it push the value in. What&nb ...Show All

  • SQL Server visual studio running too slow

    Hi friends after working visual studio (on my report model project) few minutes it runs too slow. i mean clicking on entities ,attributes takes ages to finish. I opened task manager i see "devenv.exe" is taking more than 800,000 k !! am using sql server 2005 standard edition. have you seen similar problem. Thanks for your help. I've seen similar issues. Not quite as bad though. I have a solution that contains 6 projects, including a report services project. When ever that project is loaded, especially if I've been using the report designer, VS seems more sluggish and other parts of visual studio (specifically the winforms des ...Show All

  • Visual C# & Operator

    What exactly does the & operator do I am trying to convert the following to VB.Net: uint x = 50000; short y = 0; y = (short)(x & 0xffff); Thanks A single & is the bitwise AND operator, so ANDing 42 (101010 in binary) and 56 (111000 in binary) you would end up with 40 (101000 in binary). In VB.NET, that code would look like:         Dim x As UInt32 = Convert.ToUInt32(50000)         Dim y As Short = 0         y = Convert.ToInt16(x) & &HFFFF Just for note, the & in &HFFFF is required as ...Show All

  • .NET Development Installing Framework 2.0 has made server unstable, trashed old COM components

    We are running Server 2003 for our critical server applications.  We have been updating a number of core software pieces to VS2005 / Framework 2.0. This software is installed and pretty much working as it should. The PERPLEXING issue to me is that I have antique VB6 COM components that are failing after adding Framework 2.0 to this server. Usually when the component is done after a lengthy process, and is returning to the caller. The VB6 component seems to have completed successfully, but the exception "Object variable or With block variable not set" is being thrown to the calling script. It apparently is thrown to ...Show All

  • Visual Studio Express Editions Registration is somewhat confusing

    I think I registered successfully but I haven't received a key, only a thank-you email. Does anyone understand exactly what is supposed to happen when registering Thanks. i'm having the same problem and i need to sort the key out as using the package for my studies just received 5 thank you emails and no product keys at all can anyone from microsoft shed any light on this issue ...Show All

  • Smart Device Development Start after InitializeComponent() ?

    Hi all; I just want to know how I can start my application just after InitializeComponent(). public Form1() { InitializeComponent(); Start(); } public void Start() { if (RecupPhotos()) { if (connectGPRS()) { if (FTPLogin()) { foreach ( string Photo in ListePhotos) { SendFile(Photo); Thread.Sleep(2000); } } if (FTPLogout()) disconnect(); } } } I want my application begins alone without command it with a key. With this code, when i launch my application, the form does'nt appear. the application start and do what i wanted, but i can ...Show All

  • Software Development for Windows Vista set resolution in DirectShow

    IF(RIGHT PLACE TO POST) { DO CHECK POST } ELSE { iNFORM RIGHT PLACE } this is the code basically sets the resolution..i want to set it to 320x240 how to go about it.... public static bool ShowCapPinDialog( ICaptureGraphBuilder2 bld, IBaseFilter flt, IntPtr hwnd ) { int hr; object comObj = null; ISpecifyPropertyPages spec = null; DsCAUUID cauuid = new DsCAUUID(); try { Guid cat = PinCategory.Capture; Guid type = MediaType.Interleaved; Guid iid = typeof(IAMStreamConfig).GU ...Show All

©2008 Software Development Network