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

Software Development Network >> pSY cO's Q&A profile

pSY cO

Member List

Prabu.P
Damn
setuc
Richard Garand
Prince_san
Umberto Gatti
Jason_chow
kawing0510
Dako
Liberty1
AMK
Anton Staykov
crazyreportwriter
Arnshea Clayton
Jesper144
m.zirino
Grzesiek_23
Andrew DeVaughn
LiLo
Mike Gabriele
Only Title

pSY cO's Q&A profile

  • Windows Forms how to retrieve xp login id?

    how do i retrieve the current user's xp login id that was authenticated through active directory thanks! that: <strong>SystemInformation.UserName</strong> the class <strong>SystemInformation</strong> has more of these kind of information to offer. ...Show All

  • Windows Forms Drag & Drop: control vs container

    Hi, I have implemented a user control (MyControl) for which I have set AllowDrop to true and overriden OnDragOver. I have also overriden OnDragOver in my Form derived container (call it MyForm). When I drag a file from the explorer onto my form, MyForm::OnDragOver is called and when I reach the client area of my control, MyControl::OnDragOver is called, but no longer MyForm::OnDragOver. My question is: is there a way I could still have MyForm::OnDragOver called if MyControl cannot handle the data being dragged Chris. The easiest way would be to just have your form handle the DragOver event for ...Show All

  • SQL Server Populate field with NT Login

    I need to know who is entering data in my SQL database. I use Access Project as a front end and would like to know if it is possible to have an 'ID' field auto-populate with a user NT Login. For example, if user checks a check-box or enters data in field, I would like an ID field next to the checkbox or data field to populate with his user ID. Any assistance is much appreciated! Thanks. Hi, if you are using Windows Authentication, that sure possible by using either a trigger to insert the value, or putting that in your insert procedure (don’t know how you access the database with your access a ...Show All

  • Visual C++ error CS0229: Ambiguity between 'XX.Name' and 'YY.Name'

    I tried to implement the following scenario in VC++ 2005 beta2: an object implements 2 interfaces, one defining a property get and the other defining a property set. This works perfectly well when implemented in C#. However, in C++, I get the compiler error message transcripted below. Here is the C++ source code: namespace NS {  public interface class INamed  {  public:   property String^ Name   {    String^ get();   }  };  public interface class INameable  {  public:   property String^ Name   {    void set(String^);  &nbs ...Show All

  • Windows Forms How to add multiple lines to a textbox

    I've a textbox which shows logs from the program. Each log should be shown on each line eg. Line 1: "Some text ..." Line 2: "Some more text ..." The problem is that it shows the text on the same line. I've tried appending \r\n or Environment.NewLine to the text string but without any luck. And yes, the multiline property is set to t ...Show All

  • SQL Server Lookup - full caching vs partial caching vs no caching

    I needed to do lookup on tables with approx 1 million records (how else do I know if record already exists ). Full caching: SSIS caches all million records (consuming around 1 GB RAM) and cripples my lowly system with only 1GB physical RAM. This works for now, but the lookup tables will keep on growing. This means that full pre-caching may not scale for this scenario. Partial caching and No caching: I don't really know how SSIS works in these modes. I can make my guesses but it will be great if someone can explain those. The behavior that I see when I use partial cache of varying sizes or when I use no cache at ...Show All

  • Visual Studio Team System TFS BETA3 & SHAREPORINT err!

    I'v installed TFS BETA3 with workgroup config (no use AD),   on a server named "vs2k5tfs".... when I browse http://vs2k5tfs/default.aspx the returned page contains from same machine, (I'v new a team project, and browse project portal,    got similar page....) ********************************************* Error [1] Web Part Error:  This page has encountered a critical error. Contact your system administrator if this problem persists. Error [2] Web Part Error:  This page has encountered a critical error. Contact your system administrator if this problem pers ...Show All

  • Windows Forms Object

    i was wondering if there is any code on objects i would like an example of how to make one i know it is something like this but i am not sure how to work any of the intricate parts of it Public Class bob     Public Property dude()         Get         End Get         Set(ByVal Value) &nbs ...Show All

  • SQL Server Matrix Help with Columns

    sql server 2005 Hi all, I have a finacial report that I need to show all periods 1-12 (columns) regardless if there is data or not. what i am getting is account-----1-----5-----6 a#1235-----#----" "----# a#2346----" "----#-----# what i want is account--1--2--3--4--5--6--7--8--9--10--11--12 even if the accounts 1235 and 2346 only have data for a couple of periods i want all periods to show on the report. is this possible can someone help me please, tell me what to do or point me to an article Thanks in advanced, Kerrie Kerrie, Is there a reason you're not using a table instead Wit ...Show All

  • .NET Development Persistent FTP connection using FtpWebRequest

    Hi all, Is it possible to have a persistent FTP connection using FtpWebRequest So far what I have found is that every time I want to upload/download from a FTP server I open a new FtpWebRequest connection using my credentials. Instead of creating new FtpWebRequest every time is it possible to use the same connection I want to upload/download a series of files from the server one after another in this fashion. Also I didn't find any option to implement MPUT/MGET in FtpWebRequest . Any suggestion on how to implement such things is welcome. Thanks in advance. Please set the KeepAlive property ...Show All

  • Visual Basic DataAdapter fail to update

    I have a problem with this snippet. please help, thanks.   Public Sub SendAllMessages()    Dim con As New SqlConnection(Configuration.ConfigurationSettings.AppSettings("conStr"))    Dim cmd As New SqlCommand("GET_MESSAGES_TO_SEND", con)    Dim data_table As New DataTable    Dim da As SqlDataAdapter    da = New SqlDataAdapter(cmd)    da.Fill(data_table)      Dim i As Integer    Dim drMessage As DataRow    With data_table   & ...Show All

  • Visual C++ Unit testing unmanaged code

    Over the last few years we've been writing an application that has a number of modules and DLL to make up the core product - most of the code is written in unmanaged C++ dlls, which use STL - the Wn32 Interface is all C++.NET though, which calls these DLLs.  This is done to give us the ability to use the core code under other OSes (eg, MacOSX).  Unfortunately, it looks like Microsoft are doing everything possible to make non-C++.net development difficult.  Oh, how nice it would be if Unmanged DLL Unit Testing were an easy task. It seems, if I compile my unit test with /clr, and include my header files for the classes tha ...Show All

  • Windows Forms Bringing controls out from design-time

    I'm using standard DesignSurface for control design in my custom editor and I'm trying to serialize designed controls with my custom serializator that simply recursively parses the root component and emits custom serialization data for each and every component. The problem is that some components contain objects that were created by their designers. For example, the MenuStrip in its Items collection has a DesignerToolStripMenuHost object that is used for designing menu items. My serialization process cannot generically differentiate these design-time objects from real ones. The solution could be to remove the components from design-t ...Show All

  • Smart Device Development Datagrid TableStyles with ResultSet as DataSource

    Does anybody know how to set up a datagrid table styles when it has their datasource property bound to a SQLCEResultSet Thanks for your help. It's generally no different from any other data source, can be done via designers 1. Create DataGridTableStyle. 2. Add DataGridTextBoxColumn to it, MappingName should be set to column name in database. 3. Add DataGridTableStyle to the grid. 4. Set data source. Are you having difficulties with something in particular ...Show All

  • Windows Forms How to disable main window when another window pops up?

    hi, My program has a main window and many small windows that will pop up when the user click some buttons in the main window.Now the user can still continue running the main window eventhough those small windows are still left open. But i'd like to disable the main window whenever there is another window form still open. For example an about box, when user opens, if don't close it, the user cannot click, or continue the main window.  Can anyone tell me how to do this   Thank you     hi, in the button click event handler t ...Show All

©2008 Software Development Network