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

Software Development Network >> Saurabh G's Q&A profile

Saurabh G

Member List

Eqbal Sajadi
zaabdullah
DI33266
nunhuck
Imperabe
NithyaS
prageeth
Waynest
Cendirect
Nedra
Jessie968
hle63704
Carlos Valenzuela
metz-
Pratibha V
Comedian2005
virtually
vaio pcgk33
KMLee
EWoodruff
Only Title

Saurabh G's Q&A profile

  • Visual C# ping ip

    can anyone give me code or tell me how to ping a ip address. This should be in c# Thank you Cisco The Ping class is in the System.Net.NetworkInformation namespace in 2.0. Here's a sample of the code.  There are several overloads that you might be interested in.  In addition, you can send the ping asynchronously using the SendAsync method. using ( Ping p = new Ping ()) {      p .Send ( "127.0.0.1" ); } ...Show All

  • .NET Development UDP socket communication between a linux (server) and a window (client) machine in C#

    Dear all, Are there any thing to watch out for between UDP socket communication between a linux (server) and a window (client) machine Can I just treat the linux mahine as a "black box" that I just send and receive byte arrays I am not able to receive data from the hardware which is linked to the linux machine. As far as I know, it seems my program is correct when I test my c# client program and a C# server program which just receives data from client and echo back to the client.. this running in the same machine. this is my udp client code for connecting to a udp socket.. But when i actually use to connect to a remote machine to ...Show All

  • .NET Development Making a Client Wait for Server Response

    I'm trying to write a "Basic" echo like program, the Client sends a String to the server, the server does some stuff, and sends a string back to the client. I'm Having trouble figuring out how to have the Client "Wait" untill a response is sent before reading the lines in. so far I've been able to make some nice infinite loops, and other cases it just sits at "ReadLine" from the buffer reader. Here is some snips, i've tried to remove un-neccissary code... public partial class Main : Form { public static string _host = "127.0.0.1" ; //host (ip) public static string ...Show All

  • Visual FoxPro VFP9: Customize toolbar margin, background picture, border, titlebar?

    I'm wondering if its possible to customize any of the following toolbar properties under VFP 9 Note that while none of these properties are exposed in the VFP 9 toolbar object, there may be alternative ways to acheive these goals via different techniques or through the use of Windows API calls in conjunction with a toolbars hWnd property. 1. margin (area between toolbar borders and child controls) 2. background picture (similar to the .Picture of a form object); I would like to add a gradient background to a toolbar 3. border and titlebar (I would like a borderless toolbar) The margin and background picture questions are related to my de ...Show All

  • Visual Basic to set help id for each menu item in menustrip

    hi, i have created a sample project in vb.net.i have added menu strip control to the form and created some menus.also i have added helpprovider control in the form.i am able to get help related properties in menustrip control such as helpkeyword,helpstring..but i am not able to get those properties for each menu item in menu strip.is there a way to set a help id for each menu item Thanks, Ganesh ...Show All

  • Software Development for Windows Vista State Machine and EventSinks in VB

    Does anybody have any sample VB.NET code that implements a state machine using EventSinks I have tried a number of times to create an example (firstly by translating the C# Ordering State Machine example and then by creating a number of simplified models) but I can not get events to fire from a VB service implementation.   I have ensured that the DataExchangeService attribute is set on the implemented Interface for the service and that the raised events send a single parameter of type WorkflowMessageEventArgs containing an instance id that corresponds to a running workflow.   All other aspects of the workflow are wo ...Show All

  • Visual C# How to put null value in Date Time Picker

    hi How can i put the null value for the date time picker Thanks Niroshan hi Miha Yes you are correct this is not possible . The only way is to have the checkbox feature Thanks Niroshan ...Show All

  • Visual Studio Express Editions Will install trash VS .NET 2002 ?

    Like the subject says, will installing this trash my VS .NET 2002 installation I have a lot of work invested in that version and would hate to see it go up in smoke. Joe There should be no interaction between VS2002 and VS2005 (including Express), so you ought to be able to install wsithout any poroblems in your VS2002.  That said, if you are particularly worried about this, you may want to install Express on another machine or on a VPC. Thanks, Luke Hoban Visual C# IDE Program Manager ...Show All

  • Visual Studio Express Editions Global variables (ish) in C#

    in Visual C#, how do you declare a variable so that is visible to any form in my project I used the following code to make an object called myRegistry that can be used to save settings in the correct place: Microsoft.Win32.RegistryKey myRegistry = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("software").CreateSubKey("RockGem"); What would I have to do so that i declare this once and then am able to use it in any form i add to my project Is this even possible Thanks, -Javawag ok, so how would I declare that, and where Thanks, -Javawag ...Show All

  • Visual Studio Re installing - Cd Key Disappear

    Problem!!!!! We downloaded VS 2005 professional version from MSDN last week then installed by two developer, the first developer had to reinstall again because his computer had one beta previously installed, now I am also had to reinstall it because my computer crash but he visual studio is asking the the product or Cd key that previously was greyed out. Alberto Acosta I found the solution to the problem, basically after you uninstall vs 2005 final release, there some folders and files inside visual studio 8 and that is blocking the new installation  to install using the same CD key. Alberto ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D tutorial using C#

    Hi   Any one can send the appropriate url for a 3D tutorial using C#   With Regards Sinu.M and if those are not enough http://www.thezbuffer.com/categories/tutorials.aspx ...Show All

  • Smart Device Development change ringtone

    Does anyone know of a good SDK for windows mobile phones   I've looked at OpenNETCF and they have a couple phone classes, but they're not very in-depth. Specifically, I'm looking for access to phone-specific info, such as getting/setting the current ringtone, getting voicemail info, etc.  I'm not sure if it matters, but this is for the samsung i730. I haven't looked at it yet, because the i730 doesn't have a WM 5 update yet.  supposedly it's supposed to come out in Q1 next year, but that's unofficial.  I'm just doing this for personal use, because I've been unsatisfied with the programs ...Show All

  • Windows Forms Windowsforms programming question

    Hi, I have application with two datagrid's (master/detail) placed on mainform. I also have data components (dataset, bindingsource, tableadapter) set up ok, and relatation between master/detail is working fine. I have done data setup with draggin&droppping and not in code. I have to move mastergrid into usercontrol which is placed on mainform. Now mastergrid cannot see those datacomponents anymore because it is on usercontrol. So my question is: what i need to do to get my master / detail thing working again Cheer's Erno . If the grid was moved into a usercontrol, I would ...Show All

  • Visual Basic Cint method problem

    hi, note even and odd number get different result . Cint(2.5) = 2 Cint(3.5) = 4 Cint(4.5) = 4 Cint(5.5) = 6 ........ why this happen CInt is documented as using Bankers Rounding : Fractional Parts. When you convert a nonintegral value to an integral type, the integer conversion functions ( CByte , CInt , CLng , CSByte , CShort , CUInt , CULng , and CUShort ) remove the fractional part and round the value to the closest integer. If the fractional part is exactly 0.5, the integer conversion functions round it to the nearest even integer. For example, 0.5 rounds to 0, and 1.5 and 2.5 both round to 2. This is ...Show All

  • SQL Server process cube

    I am using analysis server 2000. I have a cube on one of the databases which i am trying to process through the Business Intelligence Development studio. i have specified the Server and the database name in the 'connection managers' through 'New Analysis Services Connection' I added the 'Analysis Services Processing Task' to the Control flow but get the following error when i double click on it: "A connection cannot be made. Ensure that the server is running' Does anyone know what am i doing wrong Any help is appreciated. Unfortunately you will not be able to use AS 2005 tools agains ...Show All

©2008 Software Development Network