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 bkrike 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: simran1
  • Content: Threads
  • Order by date
  1. simran1

    Run-Time Error '-2147467259 [80004005]'

    Hi, I am using VB 6 and SQL Server. Why do i get this run time error. What does it mean? Run-Time Error '-2147467259 [80004005]': [DBNMPNTW] Specified SQL server not found. I am using WIN 2000 on my server as well as my m/c. No problems. Everthing works fine. But on the client side, they use...
  2. simran1

    Explain this run-time error

    Hi, Why do i get this run time error. What does it mean? Run-Time Error '-2147467259 [80004005]': [DBNMPNTW] Specified SQL server not found. I am using WIN 2000 on my server as well as my m/c. No problems. Everthing works fine. But on the client side, they use Win NT 4.0 server and win '98...
  3. simran1

    SQL - Time Query

    Hi, I have this Query SQl = "Select * from IncidentReport Where ITime = '8:58:00 AM'" And i have a record to match the comparison. But i still get the record count to be Zero. How do i do time comparisons?
  4. simran1

    Print Reports

    Hi, I need to print reports for my project. For this i am setting Datareport1.printreport true. But when it come to this statement it shows a dialog to to confirm the printing process. I don't want the user to select "Print" to begin, i want the report to just start printing...
  5. simran1

    Why does this error come up?

    Hi, I am trying to show a datareport. After i execute the command datareport1.show, why do i get this error "The instruction atc "0x1f326bic" referenced memory at "0x00000000". The memory could not be read". Some reports are shown without any problem and some show...
  6. simran1

    Why does this eooer occur?

    Hi, I am trying to show a datareport. After i execute the command datareport1.show, why do i get this error "The instruction atc "0x1f326bic" referenced memory at "0x00000000". The memory could not be read". Some reports are shown without any problem and some show...
  7. simran1

    SQL Help

    Hi, I am trying to get this SQL. I have a table with the following fields ID, Date, day1, day2 Day3, day4, day5 The values of the fields day1, day2, day3, day4, day5 can be the following: "c", "e", "k", "o" If i have two records with values Rec 1...
  8. simran1

    MSFlexGrid?

    Hi, I am trying to use MSFlaxGrid. I am through adding data to the grid. Now i want to be able to edit a single field in the grid. How do i do it? My grid is in a read only mode. I want it be in read/write mode.
  9. simran1

    Highlight Text Box on GotFocus Event

    Hi, How do i use highlight the contents of the textbox, when on getfocus event? I tried using SelStart and SelLenght, but am unable to get the results. Thans for the time taken to help.
  10. simran1

    Hi, I have this code. At Rs.open

    Hi, I have this code. At Rs.open stmt i get the error saying "Runtime - error Invalid SQL statement; expected 'Insert', 'delete', 'pprocedure', 'select' or 'update' " Dim RS As New ADODB.Recordset Dim sql As String RS.CursorLocation = adUseClient sql = "SHAPE {SELECT * FROM...
  11. simran1

    Create and delete database

    Hi, I want to be able to create and delete a database with some tables dynamically through my VB program. I am using this code to create a database Dim DataDir As String Dim ws As Object Dim db As Object DataDir = App.Path & "\Client.mdb" Set ws = DBEngine.Workspaces(0) Set db =...
  12. simran1

    how to check state of a file?

    Hi, I have this code to open a tif file. If App Is Nothing Then Set App = CreateObject("imaging.application") End If If Img Is Nothing Then Set Img = App.createimageviewerobject(1) End If strPath = File1.Path & "\" & File1.Filename...
  13. simran1

    WHy do i get this error

    Hi, I have developed a project using VB6 and Sybase. Works fine without any problems. Now when i deploy this project on the clients server, i have a problem. It throws me an error right when i am trying to open a table. The error is like this Run-Time Error '-2147217865 (80040e37)'...
  14. simran1

    Open Tif files

    Hi, If i use the code dim ObjWord as new word.application objword.documents.open filename objword.visible = true I can open a word document. How do i open a tif file from VB, using kodakprv or anyother imaging application available.
  15. simran1

    I need to solve this run time error

    Hi, I have developed this preoject and deployed on another server. The installations works fine. But when I execute my project i get this error, right away, Run-Time error '429' ActiveX component can't create object. What should i do about this?
  16. simran1

    Boolean DataType

    Hi, I had to import my table design form MS Access to SQL Server. But Data Type "Yes/No" was imported as bit type. How do i store a boolean type data in SQL server. I already have my VB application developed, using MS Access as database. Now i want to move to SQL server, without making...
  17. simran1

    multiple pages in DataReport

    Hi, Can i group my data in the dataReport in such a way that they are shown in multiple pages. I have some memo fields in the table, so i am using the text box, with CanGrow property set to true in datareport. So the size of the report keeps changing. For example, i want first 10 fields of the...
  18. simran1

    opening DOS applications

    Hi, Dim objWord As New Word.Application objWord.Documents.Open Filename objWord.Visible = True i use this code to open a document in word from my VB application. How do i open tthis file in read only mode, so that the user cannot make any changes to the word document. Another, question would...
  19. simran1

    Hi, I have an error. When i execut

    Hi, I have an error. When i execute the following code, i get the error at the stmt, ars.Update. Run time error '-2147217864 (80040e38)' Row cannot be located for updating. Some values may have changed since it was last read. But when i am trying to debug this code, i do not get any errors...
  20. simran1

    Connect to SQL server?

    Hi, How do i connect to SQL Server from VB application? I want to open table in SQL Server.

Part and Inventory Search

Back
Top