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 strongm 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. Buffie

    Can not Connect to SQL Express using Visual Studio

    I am trying to connect to a SQL Express database by using a connection string from a VB Windows application in Visual Studio but I get the following error. I tried getting a solution in the Microsoft SQL Server: Programming forum but was unable to. I am using the latest version of Visual Studio...
  2. Buffie

    Trying to Connect to SQL Express with Visual Studio

    I will try to follow your instructions. I certainly appreciate all you have tried to do for me. Thank you very much.
  3. Buffie

    Trying to Connect to SQL Express with Visual Studio

    They both have AutoClose set to True.....
  4. Buffie

    Trying to Connect to SQL Express with Visual Studio

    Again I trying to find a solution to my dilema but the following works with a sample data base that I used prior to my real data. It is the same connection string as mine except the data of course. Again any enlightment from anyone would be appreciated. Works: Data...
  5. Buffie

    Trying to Connect to SQL Express with Visual Studio

    This is the connection string the connection wizard is trying to use: Data Source=.\SQLEXPRESS;AttachDbFilename="C:\Program Files\CommonFiles\SecretarySystem\SecretarySystem_Data.MDF"; Integrated Security=True;Connect Timeout=30;User Instance=True I read in some other forum that maybe the...
  6. Buffie

    Trying to Connect to SQL Express with Visual Studio

    Being new to all of this, is there a way that I can check to see if it is creating a new database or a way to stop it from creating a new one. TIA.
  7. Buffie

    Trying to Connect to SQL Express with Visual Studio

    Using the connection wizard I am trying to connect to a SQL Express database and I get the following error(s): ++++ Unable to open physical file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\myfile.mdf". Operating system error 32: 32(The process cannot access the file because it...
  8. Buffie

    Format Columns in WORD

    Your Welcome.
  9. Buffie

    Format Columns in WORD

    You can also achieve bold using something like the following. Where Bold is part of the font definition. * Base Body Style oBodyStyle = oDoc.Styles.Add("Body", wdStyleTypeParagraph) WITH oBodyStyle .BaseStyle = oDoc.Styles[wdStyleNormal] WITH .Font .Name = "Times New Roman" .Size = 14...
  10. Buffie

    Format Columns in WORD

    Some of the constants I defined in the program at the top like. #define swchp "Championship Package Sponsor(s): "+ALLTRIM(grp.cswchp) #define wdPrintView 3 Others are all the constants used in msword9.h which is a header file for Microsoft Word that has all of Word's constants defined. I...
  11. Buffie

    Format Columns in WORD

    I may not have answered your question quite right. You DO NOT see the tables so no ones knows if it is a table or not. I just found that making data line up and look good is so much easier with a table.
  12. Buffie

    Format Columns in WORD

    * Put Heading Info in .Cell[1,1].Range.InsertAfter("#### Name") .Cell[1,2].Range.InsertAfter("Prf 1") .Cell[1,3].Range.InsertAfter("Prf 2") .Cell[1,4].Range.InsertAfter("Score") .Cell[1,5].Range.InsertAfter("#### Name") .Cell[1,6].Range.InsertAfter("Prf 1")...
  13. Buffie

    Format Columns in WORD

    I'm sorry I was not trying to do anything wrong. I posted quite a bit of code and I just wanted to answer and questions that might arise. I will do it on the forum.
  14. Buffie

    Format Columns in WORD

    Here is code I use that creates a table for me and I insert data into the columns. If you don't understand any of this just email me and I will explain any part. oWord = CREATEOBJECT("Word.Application") oWord.Visible = .T. oDoc = oWord.Documents.Add() * Get Document in Print View...
  15. Buffie

    Name Parsing

    I would like a copy of rgbean's program and data if possible. TIA.

Part and Inventory Search

Back
Top