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

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

DhawalMehta

Member List

ayman
teeka
VishnuC
henryjl
JimReid
xiangli
LightDark2
DonRon1972
shinyhappy
serimc
Potts
RonMoreno
Sukirman_J
bink142430
PeterdeLeng
Tim Parker
DianaChia
nagajim
Jeff Coe
ewok66
Only Title

DhawalMehta's Q&A profile

  • .NET Development Convert VB to C# for saving/reading an image from Access DB

    Hi, I am trying to save and read an image from MS Access DB based on the following article: http://www.vbdotnetheaven.com/Code/Sept2003/2175.asp Right now, I saved images without any errors. After reading the ole object from db, I saved it to C: as imageFromDb.BMP and displayed on the web. But it can not be displayed. After I manually sent the file to wordpad, it shows System.Byte [ ] Now I suspect my saving an image might be wrong. The tab ...Show All

  • Visual Studio Express Editions System.Windows.Forms.TextBox,%20 is being added before each substitution

    Hello, I am trying to "make" a web address from some textboxes from my form... I need to get this: http://api.local.yahoo.com/MapsService/V1/mapImage appid=SSVRT_KN1123&city=redmond&state=washington&lvl=10 but I am getting this: http://api.local.yahoo.com/MapsService/V1/mapImage appid=SSVRT_KN1123&city=System.Windows.Forms.TextBox,%20Text:%20redmond&state=System.Windows.Forms.TextBox,%20Text:%20washington&lvl=10 This is ...Show All

  • Windows Forms Reload Form

    I need to reload a form.  Reset everything to it's default values as if the form was just opened.  It's the only form in the project. How can this be done Thanks, Zath   One way of doing this would be to use code similar to: Dim test As New Form1 test.Show() Me .Close()     This code being run (obviously   from Form1 itself).    I did ...Show All

  • Visual Studio 2008 (Pre-release) Why are the ClientBase<TChannel> ctors protected?

    With the service contract in a separate assembly it is really nice to be able to share the same assembly between the client and service. Then you can create a generic proxy client without the need for svcutil. (The same way you should share an interface for .net remoting). Unfortunately this requires writing a generic helper class that derives from ClientBase<TChannel> because all it's ctors and InnerProxy property are protected! Why oh ...Show All

  • .NET Development Help finding Cluster IP Address Via WMI

    Does anyone know of a way to identify the Cluster IP address for a Windows 2000 failover cluster programmatically, preferably using WMI   I've been searching for the relevant class with WMI object browser for a couple of days now and keep running up against a brick wall.  Any help would be greatly appreciated... Here's some code that might help: Set objReg = GetObject("winmgmts:{impersonationLeve ...Show All

  • Visual C# It is possible to read with Visual Studio 2003 / 2005 files located on anywhere on any hosts ?

    Hello, It is possible to read with Visual Studio 2003 / 2005 files located on anywhere on any hosts I wrote the following line code with both Visual 2003 and 2005 : File.Open ("http://www.wwv-it.de/Statistic1.txt", FileMode.Open, FileAccess.Read,FileShare.Read); I got the following error: Exception Details: System.ArgumentException: URI formats are not supported. Thank you in advance fo ...Show All

  • Smart Device Development application does not appear in 'Remove Programs'

    with VS 2003 I used to build the CAB files manually. Now I'm using VS 2005 and I'm trying to build a CAB file with it's built in process. I've managed to build one and installed my application. But I'm not entirely sure what i need to do in order to create a shortcut to it in under 'Programs' and dont know how to make it appear in 'Remove Programs'. Thanks. It will appear in "Remove programs" o ...Show All

  • Windows Forms Modifying TargetDIR via Command Line Property

    I am creating a Visual Studio Installation project that we will use to build the MSI for our application (we were using Wise Installer). Based on a property being passed in via the command line, we install one of two versions of our application. Based on this property, we need to install the application to one of two folders (e.g. c:\program files\app -- or -- c:\program files\app\test). What is the easiest way for me to accomplish this C ...Show All

  • Visual C++ __onexitbegin invalid during static initialization

    I've got another tricky static initialization problem.  I'm porting a large MFC app from Visual Studio 2002 to VS 2005 RC1. The app is crashing at runtime when we attempt to statically construct an STL container object.  The crash happens when the runtime asserts on __CrtIsValidHeapPointer. Stepping through the assembly, I see that the object is constructed OK (constructor just sets an implementation pointer to NULL), and the runtime ...Show All

  • Visual Studio Team System VS2005 RC1 loses Source Control settings (using TFS Beta 3)

    Since this problems seems to be with Visual Studio 2005 RC1 client, I am posting it here instead of at TFS forums. I open up VisualStudio after a fresh install, go to Tools->Options->Source Control and set the plug in to Team Server. Then I go to Tools->Connect to team server and add our TFS Beta 3 server. At this point, Team Explorer is blank and there is no way to tell that window to refresh its contents. Then I go to File->Source ...Show All

  • Visual C++ Books on WinAPI C++

    I been looking around today at Barnes and Noble for a book on Windows API for C++ but I could not find any. And I only can find one tutorial on google for it and its just basic. Does anyone know of any books on WinAPI for C++ Thanks. Hello. I suspect you mean C and not C++. It is called Programming Windows (any edition is great) and is written by Charles Petzold. I think this is the newest: http://www.charlespetzold.com/pw5/index.html ...Show All

  • Visual Studio Team System FxCop, TFS & VS2005

    Hi, we use in our environment the following components: FxCop, TFS, VS2005 ( Some projects and a Web Site, File System based ) After spending hours of testing how do use FxCop on Website i got the tip from David ( thanks again ) how do I configure it. The problem is now that I still don't know how do I share the same Web Site rules with all Team Members, then the "Migrate Code Analysis Policy Settings to Solution" doesn't m ...Show All

  • .NET Development Conneting to SQl Server in VB express 2005

    Hi I have just downloaded MS Visual Basic Express Version and Also SQL server Express version I want to make a connection to Sql server I am using a BindingSource componeent . My problem is it asking me for *.mdf files . Instead I want to connect to SQl server . I dont see any option where I can select Server . As per help for connecting to database , they mention that in AddConnection dialog box after you select Data Source as ...Show All

  • SQL Server Online Data Transform

    Dear All, I am new to SSIS, and just watched some of the webcasts and take a look at SSIS Hands on Lab on the MSDN site. I want to handle an online data transformation scenario which has some data mappings between. I want the SSIS to add each new record in source table, insert in the destination tables online. If this is possible, please let me know where can I find a sample package and configurations. Happy new year, Sassan ...Show All

  • Visual C# Cross-thread operation not valid

    public void listenerThread() { TcpListener tcpListener = new TcpListener ( IPAddress .Any,1234); tcpListener.Start(); while ( true ) { Socket handlerSocket = tcpListener.AcceptSocket(); if (handlerSocket.Connected) { lbConnections.Items.Add(handlerSocket.RemoteEndPoint.ToString() + " connected." ); lock ( this ) { alSockets.Add(handlerSocket); } ThreadStart thdstHandler = new ...Show All

©2008 Software Development Network

powered by phorum