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

Software Development Network >> Alex Barry's Q&A profile

Alex Barry

Member List

yuvald
fmccown
paladun
DJ_Whatever
kO2n
C!77LVR
Craig Reder
Jan Sotola
SngThk
Andrew Siffert
Karl Kaiser
Vitaliy Voloshchuk
Carbonat
jenifer_
FrankCAD
Pgn
MaFrederiksen
PeterVerster
Amit Reddy
alungwyther
Only Title

Alex Barry's Q&A profile

  • Windows Forms OLE calling and STAThread

    I have an custom control, defined in class library that dynamicly constructs context menu, and makes "Paste" item visible only if there is any text at Clipboard (..GetDataPresent(..)). Main function is attributted as STAThread, but when void of Menu forming is calling it cause following exception: "You must set STA threading model for making OLE calls, check tha ...Show All

  • Visual C# Intermediate programer

    I was wondering if anyone knows of a site to help transition beginer programers into the more intermediate programing level Although there are some good comments in this thread and some great books mentioned, it's difficult to answer without a solid understanding of your skills. In my experience, the best way to advance your software development skills is to find a good mentor who can talk with you, look at your work, and help you focus on key areas of improvement and your mentor may recommend some references to improve your work. I'm biased from leading large projects but I don't see too many people get better in a vacuum - code revi ...Show All

  • Visual Basic Setting the Version for a Web Site

    In VS2003 you added an 'AssemblyInfo.vb' file and set the Version there. ' Assembly Version <Assembly: AssemblyVersion("4.8.3.1")> In VS2005 for Class and/or Windows Projects you can set it via the property page: My Project/Application / Assembly Information... How do you set the Version for a Web Site in VS2005 Thanks, Kurt ...Show All

  • Software Development for Windows Vista Change system suspend mode S1/S3

    Hi, I need to programmatically change the system suspend mode from S1 to S3 and vise-versa. It will be OK if the new configuration will take place after next restart. I have Microsoft DDK which I guess will take part of the code need to be written. Can you send me a code sample or point me to the main functions to use Thanks, Assaf ...Show All

  • Windows Forms files location

    This is for a windows.forms application that supports multiple users. Here each user's personal preferences are to be stored within their own "user folder" ( C:\Documents and Settings\%user%\somewhere ) is what i had in mind. I noticed that most big software companies use a certain "application data" folder within each user's section. Preferrably this software should follow the practice - but so far I haven't seen any "special folder" available for application settings. Therefore the only option left would be to hard code the string "application data" Here's wondering if it would be wise to ...Show All

  • SQL Server Parameterised Query Performance Problem

    Hi all, need ur input for the following short script:  SELECT SUM(Amt_Payable)  FROM ipadmin.Rx rx  INNER JOIN ipadmin.rx_txn rxt   ON rx.rx_id = rxt.belongs_to_rx AND rx.rx_status = rxt.txn_status  INNER JOIN ipadmin.rx_link rxl   ON rxt.rx_txn_id = rxl.belongs_to_rxt  INNER JOIN ipadmin.rx_detail rxd   ON rxl.belongs_to_rxd = rxd.rx_detail_id  WHERE rxt.receipt_no = 'AH0114856'  --@Receipt_No  AND rxt.defunct = 'N'  AND rxd.defunct = 'N'  AND rx.rx_status in ('DSP', 'RPR') Fast, result generated less than 1 sec. Script 2: same script, but replace receipt_no to ...Show All

  • Windows Forms Wish To Clear an ErrorProvider

    If a user submits a form and there are a number of errors on it then it is great to use ErrorProviders to indicate the error.  However it would be nice if the ErrorProvider would be cleared off on the next submittal of the form in order to display only the current errors. In a case I have currently there is a number of fields r ...Show All

  • .NET Development IP Address of Win Client

    Is there a way to determine what ip address will be used by a TcpClient In the old .Net to get the IP address some people would use: 1.  IPHostEntry hostInfo = Dns .GetHostByName( Dns .GetHostName());     Which is really bad because it's the DNS info not the real machine info or the IP being used. or 2.  from WMI (if installed)          SelectQuery NAQuery = new SelectQuery ("select * from Win32_NetworkAdapter");         ManagementObjectSearcher NASearcher = new ManagementObjectSearcher (NAQuery); Must guess which one will be used if yo ...Show All

  • Visual Studio 2008 (Pre-release) how to end process

    hi is it possible to open windows media player by using c# programatically Means when i click on a button i would like to open windows media player how can do this Thanx-Nagu So how can i end that process is there any method like Process.End() Thanx ...Show All

  • Visual Basic Scrolling Text

    Hi There, Unfortunately another vb beginner for you guys here. I am building a windows application and I was wondering if it it possible to display text in a scrolling fashion i.e. with a label scrolling text through it. Like in some news websites where the main headlines would be scrolling along Hope this isn't a silly question Thanks very much Colin Yes, you can. You need to create a control to do this derive it from the label control and have it store the string internally, as well as a position index. then set a timer and set the text on the control as a substring of the internal string, using the ...Show All

  • Windows Forms Wierd MDI behavior

    I have a project where the Parent, and the children have a "transparency" issue.  I can see through the Caption of the parent form, all the way to the desktop. In other words, I see all the way through Visual Studio, to what ever is open behind it on the desktop.  I have the same problem with child forms. The text boxes, and ca ...Show All

  • Windows Forms Save File Dialog

    My question is di I have to place menu on the Child Form for saving from RichTextBox or it can work by placing the code on the MDI Form and here what I am tying to use but it did save the file but it was empty. private void saveAsToolStripMenuItem_Click( object sender, EventArgs e) { saveFileDialog1.Title = "Specify Destination Filename" ; saveFileDialog1.Filter = "Text Files|*.txt" ; saveFileDialog1.FilterIndex = 1; saveFileDialog1.OverwritePrompt = true ; if (saveFileDialog1.ShowDialog() != DialogResult .Cancel) { childForm childForm = new childForm (); // Save the con ...Show All

  • SQL Server How to Store System Variables in DB?

    Hi, I want to store the System::StartTime in my Integration Table Log. Please guide how can I use this in my Execute SQL Task Block. I write this SQL Statement: INSERT INTO CMN_tblIntegration VALUES ('HRM_tblParty', ) Which the is for the parameter. I go to parameter mapping tab and map the System::SatrTime to parameter0, but the package fails to run. I also changed the to @IntDate and also changed the parameter name but the error was the same. Please help how to write this System Variable value in to that table. Regards, Samy In this situation I recommend using expressions rather than parameter ...Show All

  • Visual Studio 2008 (Pre-release) Skin Progress Bars?

    Is it possible to skin the ProgressBar control That is, modify the default green dots to display another image, modify the number of intermediate dots it displays, modify the border to a different image, etc. Hi Derek By changing the ControlTemplate for the progress bar you can achieve any customization you wish. You probably don't want to create a whole new template from scratch though, so you can extract the current default template for that control and then customize that. I tried to document the process of extracting the control template here: http://learnwpf.com/Posts/Post.aspx postId=a3e4319b-b790-40b ...Show All

  • Windows Forms Can't navigate using bindingcontext ... position

    Hi, this should be easy but can't get it to work. I'm trying to move to the next record with: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .Tbl_tabelTableAdapter.Fill( Me .Database1DataSet.tbl_tabel) End Sub So far it works, the first record is shown (detail view, no datagridview), but then: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me .BindingContext( Me .Database1DataSet.tbl_tabel ).Position += 1 MsgBox( Me .Database1DataSet.tbl_tabel). Position.ToString) ...Show All

©2008 Software Development Network