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...
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.
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...
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
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?
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
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?
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.