User Profile

Collapse

Profile Sidebar

Collapse
chris52672
chris52672
Last Activity: May 24 '09, 06:29 PM
Joined: Mar 16 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ListBox - Copy File from list box to Outlook E-mail

    I have a list box and I want to drag the file froma list box to an e-mail. I am not sure how to do this.

    Any Ideas
    See more | Go to post

  • chris52672
    replied to ListBox Actions
    Ok,

    Thanks for the reply.

    I am pretty much a novice. Could you explain more or give an example? Or could you point me to an example as I am very much visuale?
    See more | Go to post

    Leave a comment:


  • Drag File from ListView to Explorer or Mail Window

    I have a list view box that shows the files in a directory. I want to drag from the list box to an e-mail window or an explorer window (file folder) and have the file copied to there. Here are the problems I am facing:

    1.) When I release the mouse button on a drag event, the dragdrop interrupt only fires when the release is in the ListView box itself (not useful.) I am guessing that I would do an event on the mouse being releaded?...
    See more | Go to post

  • chris52672
    started a topic ListBox Actions

    ListBox Actions

    I have a List box that pops up when a tool button is pressed. I want to detect if the user clicks outside of the List box and make it go away (enable = visable = false.)

    Any Ideas?
    See more | Go to post

  • chris52672
    started a topic listview box insanity

    listview box insanity

    Ok I am stuck. What I want is to have the file in the listview
    box with an icon. I can not seem to get the icon to show.
    what am I doing wrong?
    Code:
    //Set to the front tab for now
    			tabControl1.SelectedTab = tabPage2;
    
    
    			//Focus on tab page 1 for now
    			
    			//this.tabControl1.TabPages[1].Select();
    			string[] CipherFiles = System.IO.Directory.GetFiles(@"C:\Cipher\CipherResult");
    ...
    See more | Go to post

  • chris52672
    replied to File type
    Ok I like that sugestion, but what about the picture of the file that I see in list boxes? How do I get that. There seems to be a little picture infront of the name of a file or folder. That is also something I would like to do.
    See more | Go to post

    Leave a comment:


  • chris52672
    started a topic File type

    File type

    In a ListView box I want to list the file type.

    Example if in the list box the Name is foo.txt the Type would be Text Document.

    I thought using the FileInfo class would help but I am a bit lost.

    I tried
    string[] CipherFiles = System.IO.Direc tory.GetFiles(@ "C:\Cipher\Ciph erResult");

    //File Info for file we looked at
    System.IO.FileI nfo fi = new System.IO.FileI nfo(CipherFiles[0]);...
    See more | Go to post

  • chris52672
    started a topic ListView Control

    ListView Control

    Ok what I want to do is be able to search out files of type extension and populate the ListView Control.

    I know that there is a way to get directory info.

    string[] DirInfo = System.IO.Direc tory.GetLogical Drives();

    Is there something I can do with files along the same lines.

    Also I am having trouble populating the list box.

    listViewFileOut .Items.Add("hjr ",1); This...
    See more | Go to post

  • chris52672
    replied to tabcontrol hair pull
    That did not work exactly

    That did not work as the

    tabControl.Sele ctTab(int index);

    SelectTab option did not seem to exist

    However it got me on the right track.


    tabControl1.Sel ectedTab = tabPage2; This did work

    tabControl1.Sel ectedTab = nameOfTheTab;
    See more | Go to post

    Leave a comment:


  • chris52672
    started a topic tabcontrol hair pull

    tabcontrol hair pull

    I am pulling my hair out as this should be simple and is not.

    In the main form I have a Tabcontrol I have 3 tabs and when I start the program I want to have the middle tab up. This never seems to happen.

    this.tabControl 1.TabPages[1].Select();

    I have also tried

    this.tabControl 1.TabPages[1].Show();

    this.tabControl 1.TabPages[1].Focus();

    I would try
    this.tabControl 1.TabPages[1].Blowup(yeahh1! !!);...
    See more | Go to post

  • I still am confused is there something that is dumbed down a little more for the complete novice?
    See more | Go to post

    Leave a comment:


  • chris52672
    started a topic How to get a pass code from form2 to form1

    How to get a pass code from form2 to form1

    I am launching (form2.show()) from form1

    In form2 the user has to enter a pass word. I need to pass this password off to form1 how do I do that?
    See more | Go to post

  • chris52672
    replied to Active Control
    Perfect

    Yes! That is what I want! Thanks!
    See more | Go to post

    Leave a comment:


  • chris52672
    started a topic Active Control

    Active Control

    If I have Form1 and I am showing Form2 how do I make sure that I can not activate another Form2 from Form1.
    See more | Go to post

  • Trying to make text box 1 active after text box 2 has enter key pressed

    If I have text box 1 (Password Enter) and I have text box 2 (Password Reneter).

    After text has been entered in text box 1 and the enter key is pressed to make text box 2 active (the curser will jump from text box 1 to text box 2.

    Any ideas
    See more | Go to post

  • chris52672
    started a topic Drag and Drop

    Drag and Drop

    I am trying to get information on a file draged into a drag and drop area.

    I have used an FileOpenDialog box and am able to get things such as size, name, ext. How do I do this with a drag a drop item.
    Code:
    		private void FileDragedIn(object sender, System.Windows.Forms.DragEventArgs e)
    		{
    			//string h = e.Data.ToString();
    			//e.Data.GetData(
    			//System.IO.File.Open(e.Data.ToString(),System.IO.FileMode.Open);
    ...
    See more | Go to post
    Last edited by tlhintoq; Mar 21 '09, 08:04 PM. Reason: code tags added

  • chris52672
    replied to icon help
    I know sounds dumb but what do you mean import and how do I get it to be associated with my ap?
    See more | Go to post

    Leave a comment:


  • chris52672
    started a topic icon help

    icon help

    Ok I get the program working and I want to make cool ICON. But the color is stuck on 16 colors why. Is there a simple how to to create an icon and attach it. Is there a way to edit the properties?

    I have Visual Studios .net pro 2003
    See more | Go to post

  • chris52672
    replied to Trying to use a Rich Text Box
    Code

    ErrorReport.Tex t.Insert(0,"Hel lo");

    Or

    ErrorReport.Tex t = "Hello";

    The first one does not work and the second one does erases everything but the Hello.

    Instead what I have been doing is modifying a string

    String Page;

    If I want to add anything

    Page += NewText


    Then ErrorReport.Tex t...
    See more | Go to post

    Leave a comment:


  • chris52672
    started a topic Trying to use a Rich Text Box

    Trying to use a Rich Text Box

    I am trying to use a rich text box to document what I am doing. I want as I add text to it that will keep the previouse text. However every time I enter new text the old text disapears. The reason I want to use the Rich Text box was to use different colors for different conditions sent.


    Any ideas?

    I though of creating a string buffer an having that keep track of what is going on. Is that the correct way....
    See more | Go to post
No activity results to display
Show More
Working...