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

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

bhav27

Member List

RogerWS
Cyrus1985
George_egroeG
DONALD49
implemental.com
Robin Message
suslikovich
StillRockin
kavithasiva
Ian Mellors
kolegiumkk
double americano
Boris Vidolov MSFT
Nagesh_techie
Numb3rs
Gad Rosenthal
RyuoJH
pongopiprakash
ruju
marioc
Only Title

bhav27's Q&A profile

  • Visual Studio Class designer causes keyboard input to be ignored

    In Beta 2 if the class designer is open and I try to edit the code file, all keyboard control keys input is ignored in the editor.  For example the Tab, Delete, Space keys. Is this by design Brad Raulston It is very disconcerting to hear that keyboard input is ignored after using Class Diagram.  Unfortunately we have not encountered this issue.  Any information you may have with regard to what you were doing while this occured will be helpful - for example, language you are using, the profile (development) settings, any operations you performed in the class designer etc.  We will tr ...Show All

  • Windows Forms Serialization of Imagelist objects

    I've done serialization of data dictionaries and the approach I've used does not work with saving programatically inserted images in imagelists. Does anyone have any quick serialization examples I got it..... :( Public Class Form1 Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim ps As New sIO() Dim i As Integer Const fname As String = "c:\Images.txt"    For i = 0 To ImageList1.Images.Count - 1       ps.MasterDb.Add(i, ImageList1.Images(i))    Next    ps.Serial ...Show All

  • Visual Basic Convert Exponential to Decimal Format in VB6

    How do I Convert from Exponential to Decimal Format in VB6 Thnx! These forums are for VB.NET and not VB 6. You may want to check out some more specific VB6 sights but if its specifically a format to decimal for output you can check out the format$, format method in VB6 which allows you to specific a specific format to display in. ...Show All

  • Visual Studio 2008 (Pre-release) WCF vs Pipelines and Filters

    I need to develop a system which uses ideas similar to Martin Fowlers' Pipelines and Filters pattern in his Enterprise Integration book, where a filter enriches messages from other sources. Is this pattern still feasible with WCF Does a pipeline represent a WCF channel I'm not sure how the main building blocks of WCF map to that pattern Where to the Endpoints fit Where do Bindings fit Channels, etc. How would I implement multiple pipelines to create a process with filters in between I could see how it all fits together with remoting, just gap doesn't seem to be as well defined with WCF, it's like it's already 2/3s done, I just don't ...Show All

  • .NET Development Strange Behavior On File:/// link in Web Page - New Issue

    I have written an HTML page that is emailed to end-users. The HTML page has a table in it with a row that conains a hyperlink. The hyperlink is pointed at a file on their server. The HTML file worked for me on my machine until recently. We have been debugging this and it appears that Windows XP, Outlook or IE (Long version: 6.029.2180.xpsp_sp2_gdr.050301-1519) is conspiring to do the following: - If you save the HTML file from the email to your local drive, it CHANGES the File://C :... to File:///C :.... Note the extra forward slash. In my script that generates this page, it is ONLY including two forward slashes. - If I manually edit the HT ...Show All

  • Smart Device Development Help with Capture/disable the Back Key

    Hi, I'm trying to disable the back  key.  I did the following  but it doesnt work: //in my form constructor added key handler public Constructor() { this.KeyPress += new KeyPressEventHandler(OnKeyPress); }     .     . //function defined private void OnKeyPress(object sender, KeyPressEventArgs ke)         {             // Determine if ESC key value is pressed.             if (ke.KeyChar == (Char)Keys.Escape)             {    ...Show All

  • Visual Studio Team System Shipping Beta 2

    There's been a rash of speculation  as of late that Beta 2 has "slipped" to April [ Microsoft Visual Studio 2005 beta 2 delayed ]. As you can read in this post from the Developer Division Release Team [ In the Home Stretch... ], we still plan to ship Beta 2 by the end of March. That has been the plan-of-record for months. Because it takes time to move from shipped bits to downloadable bits , Beta 2 will probably be available for download during the first week or so of April. The Beta Experience is a campaign being run by the local Microsoft subsidiaries in EMEA. Expect to see Beta 2 released on MSDN and available for o ...Show All

  • Visual C++ Got class info from file. Error???

    I wanted to save class info, but I got an error when class contained vector variable. I got class info from file, but when the program runned end, I got an error. Error: Debug Assertion Failed! File: dbgheap.c Expression: _CrtIsValidHeapPointer(pUserData) //code list #include <iostream> #include <vector> class cls { public: vector<int> v; }; void main() { cls s,rs; //if not exist this code,the error does not exist. s.v.push_back(3); ofstream fo; fo.open("test.txt",ios_base::binary); fo.write((char*)&s,sizeof(s)); fo.close(); ifstream fi; fi.open("test.txt",ios_base: ...Show All

  • SQL Server SSIS will not start after SQL Server 2005 SP1 upgrade

    Hi guys, I have experienced a problem with a SQL Server 2005 SP1 upgrade, where hotfix.exe reported an error during the SSIS component upgrade, and then the SSIS service would not start back up. I have since attempted an additional SP1 upgrade on the server, which completed successfully, however the SSIS service still will not start. The server is running Windows Server 2003 Standard Edition SP1 with SQL Server 2005 Standard Edition (x86), which had been a clean RTM install prior to the SP1 upgrade attempt. The following information was located in the C:\Windows\Hotfix\DTS9\Logs\DTS9_Hotfix_KB913090_0.log file (the servers name has bee ...Show All

  • Visual Basic Setting form time out to exit if idle for xx minutes?

    Hi, Does someone have a code snippet or reference page that illustrates the use of a form timer or variable to be set that allows one to set a limit on an open form to close after a period of time if no activity has been done.  I want to close/exit a form if the user has not entered or clicked a field for, lets say 15 minutes.  If there has not been any activity then close the form and return back to the main form.   Thank you from a newbie. R. There's three steps to that process.  First you would need to define a form-level variable to maintain the last time activity occurre ...Show All

  • Visual Studio 2008 (Pre-release) code breaks on feb ctp

    Hi I wrote some code to do remoting stuff that was based on an article from MSDN magazine http://msdn.microsoft.com/msdnmag/issues/06/02/WindowsCommunicationFoundation/ The code worked great with Jan CTP, but some things break when using Feb CTP. In particular, I couldn't figure out how the client connects to a duplex channel. This code below works with Jan CTP and fails with Feb CTP. ChannelFactory ctors have been changed, and CreateDuplexChannel does not exist anymore... how can I fix my code ServiceEndpoint tcpEndpoint = new ServiceEndpoint ( ContractDescription .GetContract( typeof ( IRecord )), new NetTcpBinding ...Show All

  • Visual Basic Cannot find file

    Dim options As String = ( "/quiet /norestart /overwriteoem /nobackup" ) Dim updates As String = ( "F:\Updates\" ) Dim di As New IO.DirectoryInfo( "F:\updates" ) Dim diar1 As IO.FileInfo() = di.GetFiles Dim diar2 As IO.DirectoryInfo() = di.GetDirectories() Dim dra As IO.FileInfo 'list the names of all files in the specified directory For Each dra In diar1 Dim myProcess As Process = System.Diagnostics.Process.Start(updates.ToString & dra.ToString & " " & options.ToString) myProcess.WaitForExit() Keep getting error..cannot find file I think its cause im trying to pass parameters ...Show All

  • Windows Forms Multi lingual data in Datagrid

    I have access database that contains messages in multiple langgages. When I open Access database table it shows foregin language letters correctly. But when I display it in datagrid..all I can see is garbage charcters. How to fix this issue. .Net supports UTF16 . Dose datagrid supports unicode I have had this same problem and it seemed like there was no easy answer.  I solved it by adjusting the regional settings on my machine. Control Panel - Regional and Language Options - Languages Tab check the boxes to install files for complex script and east asian languages Now my application correc ...Show All

  • Windows Forms Preventing User from entering Text into a TextBox Control

    Hi all, I have a problem where I have a Form that has several TextBox Controls where the user needs to naviagte through them using the keyword. This is cool, and it works great, but what i don't want is the user to be able to edit the Text within these TextBox Controls (hitting enter on the TextBox Control will open up a new Form where data is entered, and when this Form is closed, the Text goes into the TextBox). Now, if I was to make the TextBox Control ReadOnly, then it gives the TextBox Control an ugly Grey BackColor, which is definately not what I want. I can't make the TextBox Control disabled as then my users will not be able to navia ...Show All

  • .NET Development Best Way to Copy Data From Server A Table A1 to Server B Table B1 w/ C# and ADO.NET

    Hello ... new guy here ... thank you for your patience.  I've seen lots of ADO.NET examples (including the 101 C# examples), but I have not found one "exactly" like this...and I'm looking for the best practice... Here's my environment: SQL Server A has a database that contains table A1 SQL Server B has a database that contains table B1 Table A1 and B1 have an identical structure (columns, datatypes, etc.) Rows periodically flow into table A1 from various SQL Server sources. I would like to create a C# application (VS 2005) using ADO.NET that simply copies the rows in A1 (the source) and appends them into Table B1 (the target) on SQL Ser ...Show All

©2008 Software Development Network