To get values from records of external database into VBA
Hi,I have creating linkages from elements in the design to rows in the database. How can I to get the values from database rows in any variable in VBA.(Thank, sorry for my english)
View ArticleRe: To get values from records of external database into VBA
stefanDzurenda:How can I to get the values from database rows in any variable in VBAYour best bet is Microsoft ActiveX Data Objects (ADO). ADO is a COM library. It provides a way to handle DB...
View Articlefile selection dialog using MDL for v8i
Hi,I want the user to select file when clicked on a button.Is there any way I can achive this? regards, Pravin
View ArticleRe: file selection dialog using MDL for v8i
It you are just looking for the mdl function to call take a look at the mdlDialog_fileOpen function. There is an example of usage in the imodelvisitor or the V551New examples.HTH,
View ArticleRe: [v8i VBA] TextNode to View Independent?
The VBA documentation for the "IsViewIndepenent" property states that only Text Elements support setting view independence, not the complex text node header. If you set the component elements to be...
View ArticleRe: [v8i VBA] TextNode to View Independent?
Hi Bob,That was one of my thoughts too. I just did this with justification. Here is my test code below. I ran this on a file with one text element and one text node (two lines of text). The results...
View ArticleRe: [V8i VBA] Determining DWG Version of Active File
I noticed your original question is "Can you use VBA to determine the DWG version of an opened file?".If you want to know the ARX objects informtion, I guess mdDwgProxyObject_extract function can help...
View Article[V8i MDL]Multiline Title in Listbox
Hi All,I have a listbox with long titile(header) name and short content, so I would like have a multiline title column in my listbox. How to implement this ?I have try to write "\n" between the title...
View Article[V8 VBA] Modifying Levels
There are two methods for updating the level table of a DGN file...Levels.RewriteDesignFile.RewriteLevelsWhat difference, if any, is there between those?
View ArticleRe: Solid Working Area
'Without having a tool programmatic way to change the SWA in files I may need to look at batch process for creating new files and models from a valid seed and coping elements and application data...
View ArticleRe: Strange thing does happen in MDL programming
Kenwan:A GIS data importer program treated the attribute data associated with the text elements as the database linkage and refused to import the dataThat program is poorly written. Look in msdefs.h...
View ArticleRe: MDL did not get loaded with MicroStation Powerdraft version V8i
transoft:It gives me an error message "XXXXDLL don't have verification procedure".You can't load a DLL into a Power product without an access key. This is a business issue, not a technical one.You...
View Articlefseek, ftell Problems in C-style native code DLL
Hi to all,I am porting our MDL sources to native code and get crashes when calling fseek() and ftell(). (This source worked since more than 10 years.) I tried the dlmSystem_mdlFopen(),... and...
View ArticleRe: Raster transparency
Problem solved.RasterRenderingInfo rasterRenderingInfo; mdlRaster_renderingInfoGet(&rasterRenderingInfo, raster); rasterRenderingInfo.imageTransparency = transp;rasterRenderingInfo.transparency...
View ArticleRe: fseek, ftell Problems in C-style native code DLL
Hi Willi,Have you sent the exception.log file and the mini.dmp file up to Bentley so that we can have a look at what is going on? I have seen this type of behavior but only when the VC runtimes are...
View ArticleRe: fseek, ftell Problems in C-style native code DLL
Hi Mark,thanks for answering. I used VC2005 Standard Edition 2.0.50727 SP2 on a 64-bit Windows7 System.I've sent the exception log to the Standard Bentley adress and have attached Exception.log and...
View ArticleRe: fseek, ftell Problems in C-style native code DLL
...again with exception.log attachment...
View ArticleRe: fseek, ftell Problems in C-style native code DLL
Hi,suddenly I have 2 options for your problem. I also had a lot of problem from this.1. Put your code to C++/CLI, It solves the problem. You can find samples in msdn.2. Use std::string and put your...
View ArticleRe: fseek, ftell Problems in C-style native code DLL
Hi Peter,my problems are the ftell and fseek functions, causing the crash. Just opening a textfile, reading and putting strings into it, closing is possible on my system with the API functions...
View ArticleRe: fseek, ftell Problems in C-style native code DLL
Good Point Mark, I remember that I had difficulties too and still have to install my own (updated) vcredist version at customers. Studio is 8.0.50727.867 german at my side. I blamed it on MFC, but as...
View Article