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

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

ramyaVijay

Member List

Rob Coll
arkiboys
Prateek_cds
Mowali
Vaassu
martin_eifert
Filipe Silva
djarctic
ddoolit
bshive
lenards
Kinju
MA2005
MaggieChan
Wajdi Georges
Iram
LuckyL
A.Kahn
doubled_
Simone1
Only Title

ramyaVijay's Q&A profile

  • Visual Studio Express Editions Capture a picturebox

    I am trying to capture the contents of a picturebox. The picturebox's location property is 0, 0 Only the upper left corner of the picturebox and part of whatever is in the background, is captured. Dim b As Bitmap Private Sub CapturePictureBox1() Dim myGraphics As Graphics = PictureBox1.CreateGraphics() Dim s As Size = PictureBox1.Size b = New Bitmap(s.Width, s.Height, myGraphics) Dim capturedGraphics As Graphics = Graphics.FromImage(b) capturedGraphics.CopyFromScreen(PictureBox1.Location.X, PictureBox1.Location.Y, 0, 0, s) End Sub Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click CapturePictureBox1() End Sub ...Show All

  • .NET Development Error adding a web reference over a VPN??

    I have a VPN setup with a remote server and I can browse to it and see a web service successfully, but when I try to add a web reference inside of visual studio i get the following error: "Unable to connect to the remote server A socket operation encountered a dead network" This also occurs when I try to connect to a web service in an application. so the network connection is over a VPN, connection is perfect, yet visual studio does not connect over the vpn.... what gives ...Show All

  • Visual Basic How to get the cmd prompt to run in hidden mode when calling a .bat file?

    I'm calling .bat file from my vb.net application.Bu I dont know how to get the cmd prompt to run in hidden mode when I call .bat file.Help me please.. Recommended method. From: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=758840&SiteID=1 Dim theProcessStartInfo as new ProcessStartInfo("filename.bat") theProcessStartInfo.CreateNoWindow = true theProcessStartInfo.WindowStyle = ProcessWindowStyle.Hidden Process.Start(theProcessStartInfo) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Making editor application using XNA

    I wrote a custom content pipeline, and worked out the animation system. For the ease of artists, I plan to make a model viewer application so they can easily review their work exactly look in the game. But there is 2 major problems: On-the-fly content pipeline asset preparation In XNA, all contents are need to be preprocessed and then load by ContentManager. But the editor must accepts "dynamic content" while it runs. How can I trigger the content process by code Draw screen inside an application window Trivial, but any example or light to do this For dynamic asset compilation you may look at XCB ...Show All

  • Visual Studio Tools for Office Big Issue with Action Pane disabling textboxes

    Hi there, I have an excel workbook which on startup sets a login user control onto the task pane.  The user enters their username and password to login and then has access to some data.  This works fine normally. However, if Excel is already open with another spreadsheet (can be non-vsto) often the textboxes on the user control in the taskpane are locked/disabled.  I currently have been working on a different normal excel spreadsheet and have found if I try and run the VSTO-Enabled workbook with it open, 100% of the time the textboxes in the taskpane are locked.  Usually they are 'dim' showing disabled, but sometimes they look normal but just won't accept input.  And sometimes they even look as though they ar ...Show All

  • Visual Studio Express Editions Downloading a webpage

    Alright, I'm writing a program which will: - Download a web page - Retrieve a string from the downloaded file - Return that string Thing is, I can't figure out how to download the web page. I've tried using a webbrowser control, navigating to it and using the DocumentText method, but I have no clue how to use it. So if anybody could help, I'd be grateful :) Thanks. You can also use the WebClient class: //download data and load doc Dim client as new WebClient () Dim strm as Stream = c lient . OpenRead ( "http://www.yoursite.com" ) Dim sr as new StreamReader ( strm ) Dim text as  S tring   = sr . ReadToEnd () Charles ...Show All

  • Internet Explorer Development C# IE toolbar: how to use ShowBrowserBar to make the toolbar initially visible?

    Hi, As I'm programming in C#, I'm using the DeskBand object http://www.codeproject.com/csharp/dotnetbandobjects.asp , rather than the MSDN .net kbbar sample which is written in managed C++. I would like to make the toolbar visible after its installation. Do you know a way to do this I tried to use code like this: Object oShow = true; Object dummy = false; Object vGuid = t.GUID.ToString("B"); // or this.GetType().GUID... Explorer.ShowBrowserBar( ref vGuid, ref oShow, ref dummy); but the problem is: where do I put this code ! If I put it in the SetSite method, it is called when the toolbar is displayed, so too late! Ideally, I would have liked to make it visible in the Register method, but unfortunately, the Explorer is not ...Show All

  • Visual Basic My applcations always use about 15 MB of the memory ????!!!!

    Hello, Every time I develop an application I face a real problem that my appliction is slow to open and it uses alot of megabytes from the memory. I tried an empty application and it used about 15 MB !!! Anarchy wrote: I think 15mb is LOT for a 'HelloWorld' app!!! I've been monitoring Memusage on a sytem with a 3rd party (& leaky) API, and wasn't happy to find a app doing essentially nothing, but chewing up 20mb of memory doing that! I think that too, but I recognized that when you minimize the application and restore it again the memory it uses will decrease alot . ...Show All

  • Smart Device Development How to Insert a Menu bar to a DialogBox()?

    Hi, all, I am doing my app on smartphone devices with Visual Studio 2005, and I am using DialogBox() function to create a dialog box instead of initializing an object of DialogBox class. I am just wondering how I can insert a menu bar to a dialog box by calling the DialogBox() function Thanks in advance Hi, As per the msdn documentation http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/dialogbox.asp we do get a WM_INITDIALOG message in the dialog procedure. You shall need to use ::SHCreateMenuBar with the appropriate resoureces to created the menubar while handling this message, just as you do it in the OnInitDialog handl ...Show All

  • SQL Server table field datatype

    What datatype should I use for a field in my sql server table that should be able to hold values such as: -1.092 0 2.9875645 25436.432567 etc. Thanks First, thanks for replying, and apparently for putting some real effort into your response as well! Anyway, to answer your question "Do you use SqlCommand with Parameters or build query by string concatenation ", neither. I created the table using the database designer embedded into C# .net (express). I set the precision and scale as (18, 4). Then, because I wanted some simple test data, I chose "show table data" by right clicking on the table and started punching in data. First few fields no problem, but when I tried to ...Show All

  • Visual Studio Team System How to publish (clickonce) a solution

    Hi, I havent been able to find anything to help me to do this. I can do this manually thru the IDE, but not thru the Build Types. What do I have to place in the Build Type to get the program and its files published to our website I tried the following with no luck I just get an Entry Point error and I dont understand why. Please help. ======== < GenerateApplicationManifest AssemblyName = " AdminUtilGUI.exe " AssemblyVersion = " 1.28.1.0 " EntryPoint = " @(EntryPoint) " OutputManifest = " \\dalxpdss\DMDB_CODE\MARS Branch Project\DailyBuild2\Sources\daily build\MARS_Platform\Tools\MarsServerAdmin\SysAdminTools\obj\Release\AdminUtilGUI.exe.manifest " > < ...Show All

  • Windows Forms ToolTips on DataGridView Column/cells

    I have a DataGridView which is bind to a DataSet and the DataMember is set to a table. This all works fine. Now I want Tooltips for each cell of a column in the DataGridView. In design-mode, I've added all the necessary columns (right click DataGridView, edit columns...) and sets the property ToolTip to something. But this is only for the ColumnHeader of the column. I want a ToolTip for ach cell in a column. For example, my first column is an image to delete the row. If the user hovers the images, there must be a ToolTip saying 'Click here to delete the row' Anyone an idea to solve this I think it is solvable to add per row a datagridcellstyle, but it looks not that performant. Thx Handle the CellFormatti ...Show All

  • SQL Server Two questions around Date

    Question 1: I am passing a datetime as a parameter to a Stored Procedure. The datetime may contain time, which I want to strip out - the date is the important part and it is critical that the time is 00:00. What is the most efficient way of stripping out the time so that it is 0 Question 2: I have a Year (small integer), Month (tiny integer), and Day (tiny integer). What is the most efficient way to use these to make a datetime In both questions, please assume that a universal standard must be used, since the database in question may be running outside of North America. Many thanks, Flavelle FOR NO 2. Try this declare @year int declare @month int declare @date int ...Show All

  • .NET Development Email with a digital signature

    Hello I need to send emails with digital signature in .NET (c#). Can anyone help me I can perhaps help, but can you first clarify what you are asking Are you looking for help on creating a digital signature given an email message, or are you looking for a way to send signed emails in .NET. I can probably help with with the first one, if you can provide more details. Brian Stern [MSFT] ...Show All

  • SQL Server Debugging stored procedures

    I have complete error handling and printing the error after every insert or update statements or after calling another procedure. But somehow when executing the proc it is not printing the error. The query analyzer shows a general message 'Query batch completed with errors' All the logic seems to be working properly, but this message is bothering me. Why is this message displayed if everything is run correctly [or] is something wrong Example: [code] /************************************************************* ** Error Handling **************************************************************/ SELECT @rowcount = @@rowcount ,@error = @@error ,@short_msg = 'Error Creating MCTM. ...Show All

©2008 Software Development Network