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 Mike Lewis 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: *

  1. swetham

    A script engine for the specified language can not be created

    I have used Microsoft script control in one of the program where VBSCRIPT is the script language used. The program is working fine in all the systems but only in one system the error is coming like "A script engine for the specified language cannot be created". I have registered the...
  2. swetham

    count number of pages in a pdf file

    I tried to open the PDF files in notepad, then if the notepad text doesnt containf "Count" word, the above function is not returning the number of pages. Is there any other way to count if the PDF file does not contain "Count" word.
  3. swetham

    count number of pages in a pdf file

    I need to count the number of pages in a PDF file. I have used the below code, Public Function getNumberOfPdfPages(ByVal fileName As String) As Integer Using sr As New StreamReader(File.OpenRead(fileName)) Dim regex As New...
  4. swetham

    access user control controls

    I have a DLL, in which the user control main form is having one label and one button. when button is clicked windows from should open and when windows form is closed, user control form label should be written "Form is closed". can anyone please help me out? Thank you
  5. swetham

    Get currency exchange rates

    Can anybody help me in retrievign the exchange rates in a textbox using vb.net windows application? Thank you.
  6. swetham

    Reprot with two columns

    I am using Avery 5260 template , but i am getting only 2 *5 only. I need 2 acrooss and 6 down. THe label size is fixed by us, using that label size we should get 6 down. Is it possible?
  7. swetham

    Reprot with two columns

    We have a label size fixed. with that label size i need to print 12 labels in a A4 sheet. ie, 2*6
  8. swetham

    Reprot with two columns

    Thank you so much i am able to generate the required output but my problem is is it possible to change the number of labels per page. Ie, i require, Across Page:2 Down page:4 Is it possible to get it or is there any other option? Thank you
  9. swetham

    Reprot with two columns

    I have a database consisting of all the address details of employees. Now i need to generate a report where the employee address comes in one box (Size will be defined). there should be two columns in A4 page. can anyone tell me how to proceed?
  10. swetham

    Insert data into datagridview

    I am inserting data into datagridview using dataset ie, dim ds as new dataset dim da as new mysqldataadapter("select first_name,last_name,address from employee_Details",con) da.fill(ds) dgv.datasource=ds.tables(0) Now i want to display first two columns as "ACCEPT" & "DECLINE" button columns...
  11. swetham

    Find number of occurences in a array

    Sorry the output should be 0,2,3
  12. swetham

    Find number of occurences in a array

    I have a multi-dimensional array as follows, dim examp(4,3) as string examp(0,0)="1" examp(0,1)="2" examp(0,2)="3" examp(1,0)="6" examp(1,1)="4" examp(1,2)="8" examp(2,0)="1" examp(2,1)="2" examp(2,2)="3" examp(3,0)="5" examp(3,1)="2" examp(3,2)="3" now i need to find the row number where...
  13. swetham

    calculate months difference between two dates

    Thank you so much it is working fine now
  14. swetham

    calculate months difference between two dates

    How to calculate the months difference between two dates. For example, if from_date='2011-07-06', to_date='2012-01-01", months should come as 5 and days=days between (2011-12-06 and 2012-01-01) if from_date='2011-07-06", to_date='2012-01-06", months should come as 6. Can anyone please help me...
  15. swetham

    Copy file into a location

    I am trying to copy a file from one location to another, i am getting the error like, The process cannot access the file, being used by another process. It is working for small files but when i am trying to copy large file (2 MB), this error is coming. can anyone please help me out from this...
  16. swetham

    Select a row in datagrid

    Thank you so much. now it is working
  17. swetham

    Select a row in datagrid

    I have placed a month calendar & data grid in windows form. Datagrid is filled up with holiday dates. When a user selects a date, particular holiday date in the grid should be highlighted & seen to the user.Code is, in month_calendar_datechanged event For _i = 0 To DGV_Holidays.Rows.Count - 1...
  18. swetham

    Dispaly data from two tables

    I have a query like select e.emp_name,t.tl_name from employee_details e left join tl_details t on e.emp_id=t.emp_id A employee may have two Team leaders or may not have team leader. Report should dispaly employee name & their tl_names. Form the query i am getting the data like Emp1 TL1 Emp1...
  19. swetham

    restrict windows shutdown

    Where should i use the close reasons in coding
  20. swetham

    restrict windows shutdown

    I have a program in which if no of hours worked in a day is less than 8 hrs, the system should not shutdown. I have used the following code, In formclosing event, i have written, e.cancel=true It is not allowing the system to shutdown or log off nut it is showing the "End program" message anf...

Part and Inventory Search

Back
Top