User Profile

Collapse

Profile Sidebar

Collapse
Beany
Beany
Last Activity: May 4 '12, 01:31 PM
Joined: Nov 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • anyone? Need help with this...
    See more | Go to post

    Leave a comment:


  • Change datagridview combobox cell style on form load?

    Morning,

    at the moment i can change the datagridview combobox cell style using the cellvaluechange d event handler using the following code:

    Code:
    Private Sub DataGridView1_CellValueChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellValueChanged
    
            If e.RowIndex <> -1 AndAlso e.ColumnIndex = Column1.Index Then
                Dim
    ...
    See more | Go to post

  • How do i get the selected value of a datagridview combobox column?

    Morning,

    i would like to know how i get the selected value of a datagridview combobox column?

    googling but no joy

    ta
    See more | Go to post

  • Beany
    started a topic How to add Combobox Item to Textbox?

    How to add Combobox Item to Textbox?

    Afternoon,

    i'm new to VB and would like to know how this is possible, im using the following code but the combobox item doesnt add to the textbox.

    code im using is:

    Code:
    TextBox1.Text = ComboBox1.SelectedValue.ToString
    Whats wrong with this code?

    Your help is needed

    Many thanks
    See more | Go to post

  • Searching Datagridview by typing in TextBox

    Afternoon,

    i have a datagridview called 'gvStudents' that shows typical student info. I'm fairly new to VB.net and would like some clarity on how to search a datagridview by typing in a textbox.

    As the user types in the textbox the results are shown in the datagridview to the closest match.

    My gvStudents extracts info from my SQL 2005 database using a stored procedure. Ive connected to the database with...
    See more | Go to post

  • Beany
    started a topic How do i run a vbs script only once?

    How do i run a vbs script only once?

    Hi All,

    i'm using a login script for all clients on a network to install a folder of documents. What can i include in the code that will make sure the script runs only once? making sure it checks if folder already exists and does nothing..

    thanks
    See more | Go to post

  • Beany
    started a topic Hide CMD window when startup login script runs

    Hide CMD window when startup login script runs

    Hi All,

    im running the following login script (vbs) when users log in:

    Code:
    ' ****************************************************************************
    
    ' Copy Fonts From Network Share To C:\WINDOWS\FONTS Folder Of Workstation
    
    ' ****************************************************************************
    
    
    
    Set WshShell = CreateObject("wScript.Shell")
    ...
    See more | Go to post

  • Beany
    started a topic Login Script: VBS

    Login Script: VBS

    Hi,

    not sure if this is the right section to post in but i'm using the following vbs script to add files to network machines through a group policy:


    Code:
    Set WshShell = CreateObject("WScript.Shell")
    
    WshShell.Run "xcopy.exe ""\\FileLocationGOESHERE"" ""C:\LOCATION"" /C /I /S /E /H /Y /Q", 1,True
    I need to make sure that if the...
    See more | Go to post

  • Beany
    replied to copying file script
    it's a public network with over 80 machines. I have access to all workstations but a script would have been much easier for me.
    See more | Go to post

    Leave a comment:


  • Beany
    replied to copying file script
    sorry, didnt know where to post exactly.

    It's just a plain copy. from server to PCs (harddrive)
    See more | Go to post

    Leave a comment:


  • Beany
    started a topic copying file script

    copying file script

    Hi All,

    i would like to copy a folder from one of my servers to all users machines on the network, preferably C drive. I need a VBScript, can someone please help me?


    thanks
    See more | Go to post

  • Beany
    replied to Learning Perl and its Future?
    in Perl
    coolio, thank you Jeff
    See more | Go to post

    Leave a comment:


  • Beany
    started a topic Learning Perl and its Future?
    in Perl

    Learning Perl and its Future?

    Hi All,

    I keep asking myself the question whether i'm doing the right thing learning Perl?

    I'm new to Perl (as you can see from my posts) and want to become a programmer in the near future.. what future does Perl have? Is it worth me learning Perl? How's the job market like?

    Also, probably a silly question but how long does it take for an average learner at an average self studying speed to become an...
    See more | Go to post

  • Beany
    replied to Integer Repetition
    in Perl
    Thanks for all the replies so far, very beneficial.

    Kevin, why do you use 'my'?

    your above code prints out a 7x7 square which is cool, but if you wanted to print a hollow square? just the asterisks on the outline of the square?

    sorry its probably my fault for not making it very clear..

    regards...
    See more | Go to post

    Leave a comment:


  • Beany
    replied to Integer Repetition
    in Perl
    thanks for the advice,

    I'm self studying to learn Perl so have decided to do a chapter a week.

    Also, can you please give me a hint or any tips as to where to look (or what function to use) if i wanted to create a similar code but instead the inputted integer prints a square of asterisks..

    for eg, if a user inputs an integer of '7' the output would show a square of asterisks (7X7)..

    reg...
    See more | Go to post

    Leave a comment:


  • Beany
    replied to Integer Repetition
    in Perl
    Can you please provide me some explaination for the above code?

    thanks...
    See more | Go to post

    Leave a comment:


  • Beany
    replied to Integer Repetition
    in Perl
    KevinADC,

    sorry mate for the late reply, well busy.

    ok i think ive cracked it with 5digits:

    Code:
    print "please insert a 5-digit integer: \n";
    
    $string = <STDIN>;
    
    $var = substr($string,0,1) x 1;
    $var2 = substr($string,1,1) x 2;
    $var3 = substr($string,2,1) x 3;
    $var4 = substr($string,3,1) x 4;
    $var5 = substr($string,4,1) x 5;
    ...
    See more | Go to post

    Leave a comment:


  • Beany
    started a topic Deitel: How to Program
    in Perl

    Deitel: How to Program

    Hi,

    ive recently purchased a copy of this book.......im at the beginning stages and working on the last exercises of Chapter 2. But ive noticed that these exercises are quite difficult and Chap2 doesnt provide enough info for me to answer them.

    I searched the Deitel site but couldnt find any answers or tips to any of the last questions in chapter 2.

    Has someone noticed this? do you know where i can find...
    See more | Go to post

  • Beany
    started a topic Integer Repetition
    in Perl

    Integer Repetition

    Hi All,

    i need help with the following:

    i need to write a simple program that asks the user to input a number (minimum of 3 digits), which i seperate into individual digits and print the 1st digit 1 time, 2nd digit 2 times, 3rd digit 3 times and so forth...

    I cannot get the last bit working, what bit of code can i use for the repetition part?

    many thanks
    See more | Go to post

  • Beany
    replied to Integer size
    in Perl
    thanks for this,

    im not at the level at the moment to understand the example you have provided...

    can you please explain this bit ($var =~ /^\d{5}$/)...

    thanks
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...