Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Recent content by nightghos

  1. nightghos

    Exporting access file to excel file with VBA

    The best way to do it is to write a VBA on excel, to accesss your Access file via ODBC, and append the data at the end of you actual records, i don't have time to give a code but i have this bookmark that can be usefull for you...
  2. nightghos

    how to run autocad using exe file?

    What you need to do is create a VB application that a reference to the AutoCAD API, i don't have installed AutoCAD in this computer but go reference on VB and look for the AutoCAD API Object.
  3. nightghos

    MsgBox in VB6

    The alert sound is not a vb option, is a windows option that is on the control panel and sounds and multimedia, could be the question sound "chord.wav" that logically is on the registry There's a key on the registry where you can find out about the sounds...
  4. nightghos

    VB6 Running Another Program

    If you are running in XP you can use a simple scheduled task, or an AT command at the command prompt, you can also do a vc++ program that can handle precedence of your program via Win API to check wherever precedent task finish or not, and the same for the power and so on.
  5. nightghos

    VB layer question

    A little code to explain it better: Dim swApp As Object Dim pDrawing As Object Dim pLayerMgr As Object Dim pLayer As Object Sub main() Set swApp = Application.SldWorks Set pDrawing = swApp.ActiveDoc Set pLayerMgr = pDrawing.GetLayerManager Set pLayer = pLayerMgr.GetLayer("YOURLAYER") if...
  6. nightghos

    VB layer question

    Yes the Solidworks API have an Layer Manager object wich is parent of the object Layer. The object layer have the following properties: Layer.Color Layer.Description Layer.Name Layer.Style Layer.Visible Layer.Width and one Method Layer.GetID. Turn Layer.Visible On and Off to make it happen...
  7. nightghos

    Sending email to a Phone (SMS)

    I setup a test to send a SMS to the Cell Phone in case that something crash or fail and when i'm trying to send an email to cell phone it doesn't work; the email address is something like this: 999999999@vtext.com Because, i tried with regular alphanumeric address i think that LabView have...
  8. nightghos

    Visual Basic with Autocad

    I made some programming for AutoCAD and used the AutoCAD Help. The AutoCAD API is pretty well organized and easy to use.
  9. nightghos

    IÆm almost embarrassed to ask (SW API and VB6)

    Sorry i didn't read the error message: You are passing 11 arguments to that functions and the prototype of the function needs only 10 arguments. retval = DrawingDoc.NewSheet3 ( name, paperSize, templateIn, scale1, scale2, firstAngle, templateName, width, height, propertyViewName ) Input...
  10. nightghos

    IÆm almost embarrassed to ask (SW API and VB6)

    Did you reference the Solidworks API (TLB)? or please write down the error so we can help
  11. nightghos

    Computer crashes while working on assemblies

    Right now probably you need make a major OS repairment but it seems like one of your memory ram cards is bad, i have this problem in a couple of computers and the problems goes away, if you only repair your OS most likelly en problem is going to come back. But at this point probably you need to...

Part and Inventory Search