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

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

ryuga99

Member List

patrick_pasha
pbeash
BurkeOn.NET
Darren Straight
egashira2:50
H VE
Marcus1976
June Shi
Bill Hamaker
B123456H
Sajitha Jose
harrysatya
ShayLawless
Ben Taylor UK
Juan P. Arellano
KWGA
Jan Nawara
Bill Robertson - MSFT
Jason Manfield
mike24
Only Title

ryuga99's Q&A profile

  • .NET Development Difference between Sockets and TCPlisterner-TCPClient

    Hi, I'm new to sockets and I can't understand the difeerence on creating sockets using : New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp) or using the TCPListener and TCPClient classes. Any help will be appreciated.. Thanks. Ubercoder The Socket class is not protocol specific and provides an abstraction for network communication.  This way you can write code using a single set of semantics (Bind, Connect, Send, Receive, etc) regardless of the network protocols you wish you use.  For example, you can write a Sockets-based application that uses IPv4 or IPv6&n ...Show All

  • SQL Server Conditionally adding a column to my custom component (part 2)

    A month or so ago I instigated this thread- http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=243117&SiteID=1 which talked about how to conditionally add a column to my component depending on the value of a custom property. If the custom property is TRUE then the column should appear in the output (and vice versa). Bob Bojanic said I should use the SetComponentProperty() method to do this and that is working pretty well. However, it bothers me that SetComponentProperty() could be called, the column will then be added, and then the package developer could press 'Cancel'. In this instance the value of my custom property would be inc ...Show All

  • Visual Studio Express Editions Help with KeyDown or KeyPress

    I am very new to VB but I am progressing well. However, I have tried numerous solutions to this problem and have not found the right answer yet: I want my program to do something anytime a certain key is pressed. It is not going in a textbox or form. So Basically something like this: If (The "5" Key is pressed) Then DoTheseThings() End If I need it to always be active. Any help Thanks!! If you mean a system wide solution, you need a global hook. http://www.codeproject.com/csharp/globalsystemhook.asp ...Show All

  • .NET Development Checking execution of threads

    System.Threading. Thread tcpthread = null ; for ( int i = 0; i < pt.Length; i++) { Net_Monitor. tcp temp = new Net_Monitor. tcp ("dps7","HTTP,80]); tcpthread = new System.Threading. Thread ( new ThreadStart (temp.portchecker)); tcpthread.Start(); } now i want to run rest of code when all thread are executed how to check tht all threads are executer i had checked tcpthread.isalive but it checks only last threads not all threads plz help thank you Create an IList or Collection and maintain your Thread instance references out side of this particula ...Show All

  • Visual FoxPro How to Get Serial of CPU......

    I want to get Serial of CPU. But, I don't know what to use for get it. I need your help, please! Thanks all..! One way is to use WMI. 1. Add reference to System.Management.dll 2. Use System.Management namespace 3. The function below will give you the CPU ID of the first CPU: public string GetCpuId() {   string cpuInfo =  String.Empty;   string temp=String.Empty;  ManagementClass mc = new ManagementClass("Win32_Processor");  ManagementObjectCollection moc = mc.GetInstances();   foreach (ManagementObject mo in moc)  {    if (cpuInfo==String.Empty)  & ...Show All

  • Visual Studio Web Form Designer: How to activate it to allow Menu Paste to add control at design time

    Hi all. I have a web form displayed in my IDE. I have created an 'HTML Format' clipboard item say representing a Label control. This is done via a dialog so the web form does not have focus. How do I programmatically 'click' on the web form surface (after closing my dialog) which in turn will activate the IDE Paste button, which I can then invoke to paste the control from the clipboard. I have tried SendMessage, and other api calls, to the various window objects that appear to be the right ones, but I cannot get the form to activate. Simply clicking on the form manually works. This must be solvable. Thanks for any assistance. ...Show All

  • Visual Studio Express Editions casting help

    i need help in casting some objects...in my program i have a treeview in which nodes(nodes are classes of various type...like organization(inherited from treenode)) has a context menu that could show a form...now..if i start a new project there is no problem in casting.....if i open a project when i try to show a form on a node there are casting problems...i posted some code...i hope someone will help me...i need to cast from TREENODE to ORGANIZATION..thanks all private void OrgProperties_OnClick(System. Object sender, System. EventArgs e){ Organization org; object objGeneral = treeView2.SelectedNode; <- type O ...Show All

  • Visual Studio Express Editions Stored Procedure in SQL Server 2005

    Anyone, Can we create a stored procedure in SQL Server 2005 just like we do in SQL Server 2000 I know that we can create a stored procedure in Visual Studio.Net with C# or Visual Basic.Net. They call it CLR based-class stored procedure. Just wonder whether we can write a "simple" procedure without go through C# code. Thanks, Thuyen Hi, Yes you can. Database ---Programmability ------Stored Procedures Right click the Node and select New Stored Procedure... cheers, Paul June A. Domag ...Show All

  • Windows Forms How to bind a custom business object that contains other business objects?

    Hi everyone Is it possible to bind an object to a datagrid and also have another object contained in the first one exposed as property bound at the same time. For example if I have a person object which contains an address object would it be possible to bind first name property of the person object and the city property of the address object. Than ...Show All

  • SQL Server combining 2 select with count and datediff into 1 select. need help.

    I have created two select clauses for counting weekdays. Is there a way to combine the two select together I would like 1 table with two columns: Jobs Complete Jobs completed within 5 days 10 5 ------------------------------------------------------------------------------------------------- SELECT COUNT(DATEDIFF(d, DateintoSD, SDCompleted) - DATEDIFF(ww, DateintoSD, SDCompleted) * 2) AS 'Jobs Completed within 5 days' FROM dbo.Project WHERE (SDCompleted > @SDCompleted) AND (SDCompleted < @SDCompleted2) AND (BusinessSector = 34) AND (req_type = 'DBB request ') AND (DATEDIFF(d, Datein ...Show All

  • Visual C++ Invalid (IMO) breakpoint place for "for" cycle.

    Hello, Let us consider the following fragment of the "for" cycle: int i = 1; for(;reader();++i) { // AAAA    if (i > 3) {    ... I set breakpoint at AAAA line and VS debugger skips the first iteration -- the breakpoint is really set to BBBB location:  int i = 1; 00401392  mov         dword ptr [ i ],1 0040139C  jmp         testFunction+33Dh (4013ADh) ; CCCC  for(;reader();++i) { 0040139E  mov         ecx,dword ptr [ i ] ; BBBB 004013A4  add      ...Show All

  • SQL Server Not able to connect to SQL Server 2005 Express Server

    Hi all, I met a problem on SQL Express Server 2005. After I installed it and set a database, I can not connect to the instance with the following command: sqlcmd -s hostname.china.***.com\SQLEXPRESS Following is the error msg: **************************************************************************** HResult 0x2, Level 16, State 1 Named Pipes Provider: Could not open a connection to SQL Server [2]. Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establi shing a connection to the server. When connecting to SQL Server 2005, this failu re may be caused by the fact that under the default settings SQL ...Show All

  • Visual Studio Tools for Office Launching Form in Outlook Add-in

    I have an outlook add-in that launches a form to show status messages and receive input from the user. On my development machine, the add-in installs perfectly, runs perfectly. On any of our office's workstations, however, clicking the add-in's button display's the form, but doesn't do anything after that. Even though it displays the form, it doesn't seem to hit any of the frmSync_Load code. public partial class frmSync : Form { public frmSync() { InitializeComponent(); } private void frmSync_Load(object sender, EventArgs e) { MessageBox.Show("test1"); } } ...Show All

  • SQL Server Does SQL Express support upgrade from MSDE2000 Chinese Edition?

    I've tried to download the sql express and install, but it doesn't allow me to select upgrade the default instance (which i've installed msde2000 chinese edtion), it told me due to the language problem, sql express can't upgrade the default instance and only could install sql express in new instance. I have no idea for the language edition for sql express since the download page doesn't have a language selection. So does anyone know that, 1. would sql express have multi language edtion 2. if sql express would have one language edtion, how could install it to upgrade from one existing msde2000 simplified chinese edtion ...Show All

  • SQL Server Will IP Change cause problems?

    The IT department at my company is doing work in our server room and is planning on a few changes, among them changing the IP addresses of our servers. Will this cause any problems with SQL Reporting Services or our existing reports aloha, Jdolier This depends on how the connection strings for your data sources are set up. If you reference the server by name and the names are staying the same, then there will be no problem.  If you reference the server by IP Address then you will have to change the connection string in the data sources. Hope this helps ...Show All

©2008 Software Development Network