Open & Edit Dwg File Without Autocad?
Jul 1, 2011
I am trying to open a dwg file in vb.net forms without opening a autocad application But tere occur a problem : The specified module could not be found. (Exception from HRESULT: 0x8007007E).Also i want to edit the image in dwg file i.e most probably a factory layout & store information about object used in layout to figure out the best possible way to reach from source to destination.This factory layout map is input for a robot which will move according the path avaiable.
View 1 Replies
ADVERTISEMENT
Jul 1, 2011
problem statement is to open the image file on form & edit the image in same form & to set the properites of the object in that image when clcik on the image & then provide the edited image to controller which will run a robo on it Input image is autocad factory map
I also wanted to know how can i get the object of autocad files as they have table block structure inside their file format i wnat to store these image so what should i use??
View 4 Replies
Jun 24, 2010
I am new to programming, I have used vb6 a few times but am now trying to learn vb. net using micrsoft visual studio 2008. I am trying to open a dbf file and then then allow the user to edit the field headings and type of field. I am trying to start off with the basic of just open the dbf file and populate a listbox with some properties of the table such as field heading and the type of field, (ie string, or double) and then later look at how to edit and save the new table.
View 1 Replies
Apr 29, 2011
I have been using Visual Basic for about 2 weeks now so I know I am getting in over my head at this point, but times a factor. I have created a user form with around 100 User entered text boxes and pull down menus, tabbed pages etc. I can create a distributable file with no problem. However I cannot find any kind of example, tutorial, etc that will show me how to allow an end user to save the form as "enterfilenamehere.DCP" (for example) and then reopen any .dcp file created in my form application. The only examples and tutorials I can find are how to type text and save it as a txt. format. Could someone lend a complete novice some advice or point me in a good direction on where to learn about saving and opening custom file types?To clarify The user can use my form, But at this point has no way of saving and recalling what they entered in my form. It's a one time use only...not really what I want.
View 7 Replies
Apr 25, 2011
I have a need to do some extensive editing on some SGML files. SGML is, of course, just tagged ASCII files. But, I need to convert that SGML to nice, neat MS Word files, with paragraph styles. I need to do extensive searching and replacing. VBA does not have the necesary regular expression support, so, I need to use VB.Net. But, I'm at a loss to do the most basic thing. I just need to know how I can open a Word file in VB.Net.
View 5 Replies
Apr 12, 2009
I am doing a project using Visual Basic 2008 (Windows Application). I need to show the results of my calculations in a Word (2007) document. I have a template (report) that contains the header/paragraphs/Tables.. What I need is to fill the blanks in this document using Visual Basic and insert pictures in that document.
View 1 Replies
Sep 23, 2009
How do I open, edit, read excel columns in vb.net? Like, for example, I want to know the values of column B up to the cell that it contains values.
View 1 Replies
May 23, 2009
i want to open dds files using vb.net i know file format of dds..can some give me tutorial or a link to tutorial on how to declare file formats and then open and save them edit any format.
View 8 Replies
Jun 2, 2011
I would like to know if its possible to open a word doc from a path and write something and save it?
View 3 Replies
Feb 24, 2011
I want to be able to monitor a folder, and anytime a file is placed in it (in this case, a .jdf file) I want to edit a string within the file (it's just a text file), then save the file onto a network path and remove it from the hotfolder into a "done" folder.
View 1 Replies
Feb 18, 2012
I am developing web application in which I used repeater to create a grid and I bind a link for edit page when user clicks on that link then ID of that specific record passed to that page and all relevant information extracted from database for that ID and displayed in text boxes. Now i have to use Popup for edit form what should i do now? i used Ajaxtoolkit model popup but unfortunately I did not get id of that link on which user clicks so that i can load data against that ID?
View 1 Replies
Aug 17, 2009
have some sample code for customization of AutoCAD using VB.NET for drawing some complicated steel structure?
View 2 Replies
Sep 22, 2009
Im a newb so if I word this a little funny im sorry. I am using VB.net 2005 developer edition and Im trying to import a layout of a conveyor belt system onto a screen. We will be using the screen to show status on motor overloads and devices attached to the conveyor. For example here is a jpeg of one of the screens I would like to make:
We will have to change the color of the symbols when the are active or non active. Also, we want to have the ability to scroll over the symbols and have a message box pop up and tell the status. I am just trying to figure out the most logical way of doing this. I can change the file format of the drawing to Jpeg or bitmap or even PDF.
View 7 Replies
Sep 13, 2010
I've been going in circles trying to read autocad's dxf files. I've downloaded the dwf tool kit, however nothing seems to work.
View 1 Replies
May 28, 2012
I am using AutoCAD 2012 and the .NET API. Can someone help me how can i loop through the document objects of all the open documents? i am trying to do something like the code below..I have this question on Autodesk Forum too.[code]...
View 2 Replies
Aug 30, 2010
I'm currently developing an AutoCAD 2008 Addin in Visual Basic (.Net 3.0, VisualStudio 2010).I'm able to define my own command and I want the user to be able to cancel my command by hitting the ESC key.In AutoCAD 2010 or higher there exists the
HostApplicationServices.Current.UserBreak
method. But not in ACAD 2008. how the user may be able to cancel my command?
View 1 Replies
Feb 27, 2012
I am trying to load files into a Datagridview:
If FolderBrowserDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
Dim myFileDir As New System.IO.DirectoryInfo(FolderBrowserDialog1.SelectedPath)
For Each myFiles As System.IO.FileInfo In myFileDir.GetFiles("*.*")
DataGridView1.Rows.Add(myFiles.Name)
Next
I am able to get the files.I have 2 columns "filename" & "readonly"
a) how can I filter just .dwg
b) how can I get readonly a tag that says "yes" into datagridview, so I can see which files are set to readonly.
c) I will be launching the list of files through autocad (I know the process.start method to launch, is there any way I can launch then via desktop shortcut, the reason I ask is there is a script file attached to the shortcut, which amends the drawing when autocad is launched:
"C:Program FilesAutodeskAutoCAD 2012 - Englishacad.exe" /b "A:SCRIPTSmyscript.scr"
View 3 Replies
May 17, 2011
I have made a userform in AutoCAD, I made some buttons where I want to start software from.The programm I want to run is started by an VBScript from the manufacturer.When I double click the VBScript the program starts, but trying to execute if from a button_click on my AutoCAD userform it returns that I am missing MSVCR70.dll files.The missing file is in the folder of the program I want to run, aswel in my System32 folder.I tried to execute it the next ways:
Process.Start("C:WINDOWSsystem32cscript.exe", """C:Program Files (x86)ProgramRun.vbs") and
Process.Start("C:Program Files (x86)ProgramRun.vbs") What is going wrong ?
View 3 Replies
Feb 20, 2012
I have a VB.NET project in which it would be extremely helpful to the users if they would be able to print multiple .DWG files at the same time without manually opening each one and clicking on the print button.
Is this possible to do in VB.NET using the Autocad API's?
View 1 Replies
Jul 7, 2010
I am trying to create an autocad drawing in visual studio with the code :
Dim strTemplatePath As String = "C:\acad.dwt"
Dim acDocMgr As DocumentCollection = Application.DocumentManager
Dim acDoc As Document = acDocMgr.Add(strTemplatePath)
acDocMgr.MdiActiveDocument = acDoc
However, when I try to run the program I get an filenotfoundexception and the program asks me to verify if the file exists in the specified location. The file does exist in the specified location.
View 1 Replies
Jun 19, 2012
I'm trying to write a program. This should be a simple task for most of you, but I have taken one class of programming back in High School so I'm kinda lost.
The program needs to do the following:
-Open AutoCAD File
-File=>Export=>PDF=>Save
-Close AutoCAD
If possible to select a whole folder full of these AutoCAD drawings and have the program run a loop until all the files in the folder have been exported into a pdf file.
View 19 Replies
Dec 17, 2008
What i am trying to do now is to show the content of the dnsredir.ini file on the forms and able to edit it.
The dnsredir.ini file file looks like this
;Configuration INI file for DNS Redirector v6.4.7
Logging=Normal
ListenOnIP=172.23.128.33
[Code]......
View 1 Replies
Nov 26, 2010
I have been using Visual Basic for Applications (VBA) in MS Office packages and in Auto CAD. The Visual Basic for Applications (VBA) engine is no longer provided with AutoCAD OEM installation media, but it supports VB.net.I am bit confused of Visual Basic 2010 and VB.net Which version shall I go for to learn VB.net.
View 2 Replies
Jan 15, 2012
How I can change Autocad information inside block Attributes(I think on width, rotate, text style, layer, height..etc ) in visual basic? For example, We have some block with 2 attributes and I want replace width factor.
View 2 Replies
Oct 29, 2009
Property Grid - Open a dialog box to edit a property?
View 1 Replies
Jun 11, 2012
i want to write a code that user can drag and drop an icon to layout which this layout become consist of coordinate (x,y) and when icon was dropped to layout by right click appear a menu.
View 4 Replies
Mar 6, 2012
Why would a .sln solution file open and appear empty in Microsoft Visual Basic 2010 Express - i.e. no windows showing projects and code files etc.When I inspect the file in a text editor, it contains references to vbproj files (which are present) which indicate that it should not appear as empty.No error messages are reported when the file is opened.
View 2 Replies
Feb 11, 2009
I would like to open the excel file after create the excel file. The creating file function is done, but the system unable to open the excel file. My coding as below:
Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim misValue As Object = System.Reflection.Missing.Value
[code]....
View 1 Replies
Nov 18, 2009
how to use open file dialogs to open a file to a text box?
View 6 Replies
Aug 7, 2011
I've noticed that when you click on a web page in Windows Explorer, or open a file in general, and the default application to open it is internet explorer, ie opens and opens the file. However, when I tried this on my Web Browser it opened, but ignored the file and went on its usual routine. How can I get my Web Browser to open and open the file that was clicked on in explorer?
View 1 Replies