RE: [CONNECT C#] "Type or Assembly not found" compile error only on new...
Hi, please update your VS project to .NET 4.5.2, this is a requirement for Update 4. Best regards, Artur
View ArticleRE: [CONNECT C#] "Type or Assembly not found" compile error only on new...
This is the Bentley project template, which comes already with a huge number of references and even missed some. Because when i created the project and fixed all the references, it still asked to add...
View ArticleRE: [CONNECT C#] "Type or Assembly not found" compile error only on new...
4.5.2?Thanks Artur for the hint.It seems i'll have to update my Visual Studio with a new .NET Targeting Pack then, as i only have 4.5.1 as the highest available .NETHowever, it's strange that the...
View ArticleRE: [CONNECT C#] "Type or Assembly not found" compile error only on new...
[quote user="PatB"]However, it's strange that the ustation.dll is compiled against .NET 4.0 as the target.[/quote]Yes, but not other assemblies:Regards, Jan
View Article[CONNECT C#] "Type or Assembly not found" compile error only on new Update4...
I've created some simple test programs in a Virtual Machine with an old Connect 10.00.00.25.They compiled fine and worked.Now i copied the VM, uninstalled the old Connect and installed the newer Update...
View ArticleRE: [CONNECT C++] Modal Dialogs and ComboBoxRsc
[quote user="Bruce Reeves SRNS"]the only messages received are DITEM_MESSAGE_BUTTON and DITEM_MESSAGE_STATECHANGING[/quote]Try implementing the DITEM_MESSAGE_QUEUECOMMAND event.Also, try adding...
View Article[CONNECT C++] Modal Dialogs and ComboBoxRsc
I'm porting some V8i code to CONNECT and i have "discovered" an issue with modal dialogs and ComboBox. In the .r file, my dialog box is defined with DIALOGATTR_MODAL, and in my code I call...
View ArticleRE: [CONNECT C#] Yet another create cell question
Thanks for your input! I'll try another approach. Since mdlElmdscr_addByModelRef() returns a file position, is there a way to read an element from filepos in C#? /Krister
View Article[CONNECT C++] Set Annotation Scale for Model
In V8i, I used to do:// apply the new scale SheetDef *pSheetDefNew = NULL; pSheetDefNew = mdlSheetDef_new (); //create a new blank to populate mdlSheetDef_setScaleFactor...
View Article[CONNECT] Delivering an Application
My application defines various resource data (toolbox, text styles, Item Types schema) in DGNLibs and in a configuration file.When installing an application to an existing installation of MicroStation...
View ArticleRE: [CONNECT C#] "Type or Assembly not found" compile error only on new...
Thanks again Artur Installed the 4.5.2 Targeting Pack and changed projects to 4.5.2. Now the projects compile again. Thanks Jan for your help as well.
View Article[CONNECT C++] mdlRaster_clipBoundarySet
Hello,Is mdlRaster_clipBoundarySet obsolete in CONNECT ?I use Windows 7. That function works well in V8i, but the clip boundary is sometimes ignored in CONNECT.Best regards.Patrice
View ArticleRE: [CONNECT C++] Set Annotation Scale for Model
ModelInfo::SetAnnotationScaleFactor is probably the replacement you are looking for. -B
View ArticleRE: C# MDL LOAD AppName,,unique from directory
[quote user="HDR_Coder"]I would prefer to load my apps from a directory[/quote]MS_MDLAPPS already points at a directory: \MicroStation\mdlapps. Can we assume that you mean you want to place your apps....
View ArticleC# MDL LOAD AppName,,unique from directory
I've discovered that in order to load/unload C# applications I must MDL LOAD app_name,,unique clr unLOAD domain uniqueThis is great, but I end up adding quite a few dlls into mdlapps. I would prefer...
View ArticleRE: C# MDL LOAD AppName,,unique from directory
HI,[quote user="HDR_Coder"]I've discovered that in order to load/unload C# applications I must[/quote]Not sure if I remember older discussions about loading addins to own domain well, but I guess it's...
View ArticleRE: tag definition or tagset
good morningI apologize I thought I had understoodbut maybe notSetTagValue2 the macro assigns a tagI want to assign 8 tags to elementPrivate Sub SetTagvalue2(el As Element, tagName As String, tagValue...
View ArticleRE: tag definition or tagset
Hi Massimo,a bit in a hurry, so just quick comment:[quote user="blumax57"]I apologize I thought I had understood but maybe not SetTagValue2 the macro assigns a tag[/quote]No, "set" is not"append", my...
View ArticleRE: tag definition or tagset
sorryI can not explainI did not mean assigns tagsbut modifies existing tag (8 edit existing tag)I will not steal your timegrazie
View ArticleRE: tag definition or tagset
Ok, it makes the situation clearer.In my opinion the approach is not correct, because a function (responsibility) of SetTagValue2 method is to modify a value of specified tag and if such tag does not...
View Article