Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: slybitz
  • Content: Threads
  • Order by date
  1. slybitz

    datagridview check click area

    I have a datadridview and it is a set size on my form. The data rows within the datagridview do not always fill up the entire datagridview. This is fine and what I want. The problem is that I'm trying to check if the user actually clicks on a cell within the datagridview or if they clicked...
  2. slybitz

    Datagridview check selection area

    I have a datadridview and it is a set size on my form. The data rows within the datagridview do not always fill up the entire datagridview. This is fine and what I want. The problem is that I'm trying to check if the user actually clicks on a cell within the datagridview or if they clicked...
  3. slybitz

    Date modified of file

    I'm trying to get the date a file was modified. How can I do this? I know how to get the date last accessed and the creation date (below code) but what about the date modified? Thanks for your help! Dim f As New FileInfo("file.exe") Dim dte as string dte = f.CreationTime.ToString
  4. slybitz

    button double click

    ok this really seems like a simple problem but i cannot figure it out for the life of me. when i add a button to my form i want to be able to double click that button and have it perform an action. but for some reason i can not enter into the doubleclick handle when i double click on the...
  5. slybitz

    button double click

    ok this really seems like a simple problem but i cannot figure it out for the life of me. when i add a button to my form i want to be able to double click that button and have it perform an action. but for some reason i can not enter into the doubleclick handle when i double click on the...
  6. slybitz

    round to nearest quarter cent

    Is there an easy way to get the last two decimal places to round to the nearest quarter cent if I have a given number that is 4 decimal places? So for example if I have the # 40.1234 it would round to 40.1225, or if I have the # 40.1255 it would round to 40.1250, or I have the # 40.1988 it...
  7. slybitz

    Load data in all tabs on form_load

    I have a main form that has a tabcontrol with 4 tabs. How can I load data on each tab when the form loads? Right now only the first tab loads with data on form load. The other tabs load with data when I actually click on them. Thank you very much for your help.
  8. slybitz

    bind objects to form on form resize

    I have a form that has buttons and a datagrid. When a user resizes the form I want the datagrid to expand with the form and buttons to bind to the form so they move in conjunction with the form. Is this possible? Thanks!
  9. slybitz

    ATX power

    Ok this may be stupid but I just want to verify before I go out and buy a new power supply. My mobo has a 24 pin ATX connector but the power supply that I bought has a main power connector with only 20 pins. So my question is, can I still hookup the power supply to the motherboard even though...
  10. slybitz

    pull # from string

    So I have a column in a table with varchar values. The values can look like "#12345 abcd" or "abcd #1234" (without the quotes). I want to pull out just the number from those strings of characters. So in other words if the field value is "#1234 abcd" i want to return just "1234". How can I do...
  11. slybitz

    convert exponential # to dbl

    I have a calculation that is taking one number minus another number. The result (a variable I named "strCents") comes out as an exponential number rather than just a type of double. How can I convert this exponential value to a data type of double? Example: The value being calculated is...
  12. slybitz

    dataset into string

    Hello. I have a dataset that I fill with one column of data (amount of rows varies). I'm trying to figure out how to take each value in each row and append it to a string. So for example, if the dataset is full of one column of values 1111 in rwo 1, 2222 in row 2, 3333 in row 3, 4444 in row...
  13. slybitz

    convert date.today value

    Hello! I am putting date.today into a variable called dte but I want to convert the date format from, for example, 12/10/2006 to 20061210. How can I do this? I know it's probably something simple but I can't seem to find the answer. Thanks for your help!
  14. slybitz

    drop temp table column

    How can I drop a temp table column if the column that I want to drop has data in it? I can drop a temp table column if there is no data in it via something like: create table #temp ( hid int, greeting varchar(1), defaultyn int ) select * from #temp alter table #temp drop column...
  15. slybitz

    Trending dynamic data

    I have a stored procedure that takes in two date parameters (start date, and end date). In the proc I create a temp table with three columns (description, quantity, date), and I fill that temp table with data. I fill the temp table with data by looping through the date range of what is passed...
  16. slybitz

    check users role permissions

    I setup a role (called PAPAdmin) within my database and I have added users to this role. How can I tell via vb .net if a user using my application is in this role or not? I already have the username of the user in a string (let's call the string strUserName) but I just need to check that string...
  17. slybitz

    Pulling middle part of dynamic string

    So I have a string of text that I have pulled from a textbox. I want to be able to pull out the middle characters from this string and use them. The only thing is that the middle characters are going to change in length so it's not always going to be a set length. But the middle characters...
  18. slybitz

    Set permissions on button click

    I have setup a user group within Enterprise Manager. I have a program that I created that I am placing on several users machines. Some of these users are in the user group I have setup in EM and some are not. I want to grant access to those people that are in the user group within EM and deny...
  19. slybitz

    Pass stored procedure return recordset to dataset?

    How can I take my stored procedure, execute it, and put the recordset from the stored procedure into a dataset? I tried the below way but I am having no luck. I'm passing in my procedures parameters via another form (fAppResearch). I ultimately want to use this created dataset as a crystal...
  20. slybitz

    Loop through dataset

    I have created and filled a dataset with a single column of values. I want to take those values, looping through them one by one, and use those values as an input parameter in a stored procedure. I then want to execute that stored procedure using each of the dataset rows values as the...

Part and Inventory Search

Back
Top