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

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

ARMegos

Member List

Adam Scott
Nick N
rabidrobot
Szasz Bence
Simon Coutu
Cindy Winegarden - VFP MVP
Pachacutec
boulderbum
Fred de Lange
A C# fan
Harry Potter
mswin
Bharadwaj P.B
Jim D.
Ujoshi
Snafi
animalashton
fireGeek
YunZhou_MS
AndyLee71
Only Title

ARMegos's Q&A profile

  • .NET Development BeginSend() is not sending all messages

    I am having a problem where the first message I send a client on connect is not recieved. Anyone have any ideas why Also , I'm having some buffer issues where parts of messages are sent multiple times...I'm sure it's something stupid on my end Below is the code [code] public void OnClientConnect(IAsyncResult ar) { byte[] data = new byte[1024]; Socket listener = (Socket)ar.AsyncState; Socket client = listener.EndAccept(ar); clients.Add(client); String sending = client.RemoteEndPoint.ToString() + " Joined"; TextAdd(rtbox, sending); Send(client , "Welcome to the ...Show All

  • SQL Server Passing data between multiple Data Flows

    OK, it's the first of the month...that must mean it's time for another dumb question! I'm trying to "componentize" an SSIS package with multiple Data Flows, and I can't figure out how to get the output of the results from one Data Flow into another. So, for example, at the end of one Data Flow, I have a Recordset destination, and I'm storing that into a variable.  But I can't figure out how to access the contents of that variable in the following Data Flow.  Can this be done, or am I going about this the wrong way What is the scenario you are trying to enable, Artus The first post in this thr ...Show All

  • .NET Development Adding a row to a child table

    We have a DataSet with parent/child relations set up. We have a BindingSource and a BindingNavigator configured for each table. When we use the BindingNavigator for the child table to add a new record (click the Add button...) the foreign key value in the child table is not getting filled in. When we call EndEdit on the BindingSource we are getting an exception because this field does not allow nulls in the DataSet. The relationship between the tables is just like Order/OrderDetails where the OrderDetails table has a PK column (OrderDetailsID) and an FK column (OrderID). First of all, if we have things configured right between the tables the ...Show All

  • Visual Studio Express Editions Is there a command that I can add to my program to insure that the SQL Server is running?

    Visual Basic 2005 Express Edition: Occasionally, I get an error message when I run the application that I am developing. The problem appears to be that the SQL Server is not running. Is there a command that I can add to my program to insure that the SQL Server is running Below is the error message that I get at random times immediately upon running under Debug: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - E ...Show All

  • Visual C# Differnce between DataSourceID and DataSource..

    What's the differnce between DataSourceID and DataSource of the GridView in Web forms Thanks Julia MSDN: DataSource Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl .) DataSource: Gets or sets the object from which the data-bound control retrieves its list of data items. (Inherited from BaseDataBoundControl.) DataSourceID: Gets or sets the ID of the control from which the data-bound control retrieves its list of data items. (Inherited from DataBoundControl.) ...Show All

  • Windows Forms probelm with graphics context

    hi iam writting an application where picture box control has to draw set of points point by point some specific time. my problem if i use picturebox.creategraphics() for drawing , graphics lines are disappearing if i minimize or max. another method is picturebox.image = new bitmap(pb.height,pb,width) g = ghraphics.fromimage(picturebox.image) if i use this i could not able to see lines drawn by g. i could able to see only if i use picturebox.refresh after each point or minimize or max the window. i nedd a way to solve this without using picturebox.refresh() bcz this will take time to refresh the window. You really have two ...Show All

  • .NET Development .NET Remoting, IIS 6, and Error 405? Help!

    I'm trying to get .net remoting set up in my application with server activated objects. Here's my server web.config: < xml version ="1.0" encoding ="utf-8" > < configuration >    < system.runtime.remoting >       < application >          < service >             < wellknown                mode ="SingleCall"                ...Show All

  • SQL Server CREATE ASSEMBLY failed because method 'UpdateVersion'

    I'm working on a CLR Stored Procedure and have code that builds using Namespace: Microsoft.SqlServer.Dts.Runtime Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll) When i try to create the assembly i get this: CREATE ASSEMBLY failed because method 'UpdateVersion' on type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageVersionUpdate90' in safe assembly 'Microsoft.SqlServer.DTSRuntimeWrap' has invalid attribute 0x1003. You would need to create the Dts.Runtime assembly using Create Assembly statement (as unsafe) since its not one of the supported assemblies. If you r ...Show All

  • .NET Development Preventing RSACryptoServiceProvider from creating new Keys

    Hello all,    I wanted to know if there was a way to create an instance of R SACryptoServiceProvider without having it create a new key in my machine store.  I see hundreds of keys in my C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys directory.  It seems that even though I supply the keys, it still created one when it was initialized.  See below: RSACryptoServiceProvider __rsap = new RSACryptoServiceProvider( 384 ); // a new key was just created __rsap. FromXmlString( "<RSAKeyValue><Modulus>2A6boupR+HQw+LR7xz7mAqNh4aN/+9kDBFXtQb6f7c6ucqN5EuxenvGyU7rQK6G ...Show All

  • Visual Studio Tools for Office How to create a hyper link to insert into a .doc file ?

    Hi dear all: how to create a hyper link ( is it an object ) prorammatically to save ( insert ) into a .doc or a .rtf file ( like the one we create manually in MS Word ) even without MS Word running or installed on the machine. Thanks. You need to have Word installed to access its object model. You can also learn about the object model with the macro recording capability. Mariano ...Show All

  • Visual Basic How do I get the system time

    How do i get the system time what are the objects i will use Thanks ...Show All

  • SQL Server Database file and log

    Hi, I am just about to get familiar with SQL-Server 2005. Since I created a database and played a little with it I recognized that the database file has grown up to 150 MB as well as the log file. I used the shrink task to resize the database file. After doing so the .ldf remained as it was (150 MB). Since I would not need log information stored there, is it possible to shrink the ldf-file as well Thanks for your help! Hi, have a look here: http://www.aspfaq.com/show.asp id=2471 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms annoying bug

    i have a window forms with the following principal permision: <Security.Permissions.PrincipalPermission(Security.Permissions.SecurityAction.Demand, Authenticated:=True, role:="TestRole")> _ Public Class Form1     Inherits System.Windows.Forms.Form ..... ..... end class in my main form i have a simple button with the following event: Private Sub Button_Click(..) Try             Dim prog As&nbs ...Show All

  • SQL Server Stored procedures with return values

    Hi, I'm trying to create a stored procedure for updating and inserting some rows in several tables. My Stored Procedure should be something like this CREATE PROCEDURE UpdateTables @Num as int Output, @Cod as int, @Des as nvarchar(30), @Prc as float, @Qty as smallint, @AutoIDTbl1 as uniqueidentifier Output @AutoIDTbl2 as uniqueidentifier Output UPDATE Number SET Num = Num + 1 INSERT INTO Totls (Num, Prc, AutoID) VALUES ( , @Prc * @Qty, NewID()) INSERT INTO Detail (Num, AutoID, Cod, Des, Prc, Qty) VALUES ( , NewID(), ...... My questions are: 1st. - How can i use the Num returned from the first update in the 2 inserts and returning ...Show All

  • Windows Forms How to reference an active form in design time

    My question is: I have to change status of controls, i.e text of a textbox, on the startup form of my application. I just don't know how to make a reference to the form to do that. As you may know, the form is created automatically when application starts and creating a new instance of the form is obviously not the way. edi ...Show All

©2008 Software Development Network