linhardt's Q&A profile
Visual Studio Express Editions ObjectARX and DLL Project
I am trying to build some AutoCAD ARX extension suing VS 2005 Express but when following most of the tutorials I find I am told to make a DLL project. This option is missing from VS 2005 Expreess. Is this because of the Express "Streamlined User Experience" or is it something to do with the jump from VS 2003 to 2005. Does anybody know how It is best to go about building ARX projects Hi, Are you trying to use Managed Extensions for ObjectARX If so, just create a ClassLibrary and add the needed dlls for reference. But if your planning to use the Native ObjectARX, sorry to say but its not supporte ...Show All
Game Technologies: DirectX, XNA, XACT, etc. David Weller, can you help with a message in forum?
David, I post a recent message in the forum, and it is not more here! (Subject: MDX 2.0 Funcitons http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=172745&SiteID=1 ) Would I like to know if it was deleted because of something improper or wrong If I made something wrong, was not intentional. And sorry I’m not good to write in English. Tks for attention! I can confirm it has been deleted, although I can't find any reference as to why. It's possible it would have been better placed in one of the beta newsgrou ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
SQL Server Dynamic SQL in SSIS
Hi All, I am new to SSIS. I want to be able to write a dynamic SQL statement for a Data Flow task. It would go something like this. I want to schedule an SSIS package to run everynight and extract data from an ODBC source and collect the previous day's sales info based on a date parameter, so the date parameter of the query would have to get a value based on the previous day's date EX: SELECT * FROM Sales WHERE Invoice_Date = <previous day's date> So far I am looking at a Script Component to do this and populate the Data Source, but I just wanted to check and make sure there isn't a better or more efficient way. ...Show All
SQL Server Complex join
I have a C# application for tracking training. When I need to get the employee's missed training (exception report) it works fine on a one-by-one basis. Our HR folks can't sit and spin through 100s of screens, so I want to provide a comprehensive report for all employees. Here is the first hack which places everything into a temporary table. Problem is I can't get a while loop to work with it as is. All three "sub queries" build the exception (missing) topics into the temp table. I can loop in my application, but it makes the user click the print button for each report. I'm trying to get one report for all employees and all e ...Show All
Visual C# Abstract classes and static methods
Hello there! I was wondering why is not possible to define a static method into an abstract class, well... I was wondering that because I'm trying to force an user who inherits from this class to implement a static class and I just didn't find a way to do that... is there a way to do this Because there's a layer calling static methods and I don't want to change these methods to regular methods just because I'm not being able to solve this problem... Thanks Static methods can be defined in an abstract class. However, you cannot force a derived class to implement a static method. If you think about it, such a method would be ...Show All
Smart Device Development CreateFile() only supports 256 characters ???!!!
It seems like WM5 only supports 256 characters creating a file with CreateFile(). However the docs tell otherwise: MAX_PATH, which is supposed to be 260. This works fine under PPC 2003, but with WM5 it doesn't. Is that intended behavior, a bug, or just bad documentation -Stefan Hi, I am a QA in MS. I tried to repro the same as mentioned above by you, and following are the results: For PPC/SP 2003 - Support is there till 258 characters. For PPC/SP 5.0 - Support is there till 255 charaters. Although MAX_PATH is 260, still I am not getting the results. I will report this problem to co ...Show All
Visual C++ Converting Entered TEXT into integer
My only apology is that I am a long time C programmer and I want to manipulate things directly. Now that said, someone please direct me in the correct way to analyze a TEXT string in visual C++. Basically I want to read a string from a user enterable text window convert it into an integer and check it for proper range and send it to an embedded system in raw 16 bit form. My difficulty appears to be that there is no way to go direct from System::String^ (Textbox format) to an integer. I would think that this is a common thing to do but my investigation leads me to some weird convoluted solutions. This is how easy ...Show All
Visual C# Basic IO stuff
Hi I have a small pointless program to write nothing fancy and most of it is done. The part where I am stuck is that the program write out to the console the results of a hand from a card game, the result are displayed on the console (this works) but I also need to write the results to an external text file. I am able to all ready write strings to the file but Console.WriteLine(); is not a string. Someone please help, it probably so easy to answer..... Doh! Regards Paul Hi Thanks it has worked but not given me the results I wanted, this is part d ...Show All
Visual Studio Team System Monitoring traffic generated by Web Test
I am attempting to monitor and capture the network traffic generated by a web test using Fiddler. However it never captures anything, I am curious to know if VS2005 (RC) uses a unique port number to conduct Web Tests And if so can it be set, as can be done with unit tests ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=59396&SiteID=1 ) Thanks, Terrell Thanks Ed! That works great. Just as a side note the site does not use https, Creating a simple webtest that justs hit http://www.microsoft.com does not show up in fiddler either, but no worries because that logging captures everyth ...Show All
Visual Studio 2008 (Pre-release) Is Popup.IsOpen asynchronous?
I implemented a non rectangular splashscreen with the Popup class. Unfortunately if i call "popup.IsOpen = true" the splashscreen does not come up synchronous. It pops up later at an undefineable timepoint . Is there a way to force initial popup or is anything wrong in my code when are you calling isOpen = true it's possible that if you're calling it very early in the program, other things are happening at startup time that slow it down. can you post a code sample what i would suggest is that when the program starts, all you do is open the popup. then add a Loaded handler for the popup and ...Show All
Visual Studio Express Editions Problem with reading (*.doc, *.rtf and *.txt) Files
Hello, I have a problem with reading files the problem is : I`m using IO history to read *.txt files in textbox but it cannot read some languages like Arabic I`m using this code to read StreamReader files = new StreamReader (openFileDialog1.FileName); tmpbox.Text = files.ReadToEnd(); files.Close(); it reads all files correctly but not Arabic files ================================= Second part with RichTextBox: I`m reading files with this code RTBox1.LoadFile(openFileDialog1.FileName); this will read only the files that I`m creating by RTBox1.SaveFile(openFileDialog1.FileName); or that *.doc files ...Show All
Visual Studio Express Editions About VB.NET VB Express Edn.
Hello, I recenty came thru abt Visual Studio Express Edition. I have a question that is it the Visual Studio.NET or It is Updated version of Old Visual Studio 6 Another Question : If I build an app. in VB.NET 2001 Proff. Edn. Then is it compatible for Visual Studio Express Edition Thanks in Advance. The Visual Basic Express Edition is the base edition of Visual Basic 2005 (aka VB 8.0). Applications created in Visual Studio .NET 2002 or 2003 are compatible with the Express Edition provided they don't rely on features that the Express Edition doesn't support, for example, connecting to a remote database. H ...Show All
Windows Forms Resizing/Moving a Borderless form using C++ .net
hi guys.. my first post on this forum.. just joined today.. i have a borderless form in my application.. now i want to move/resize the form.. written the code for moving by getting the diff b/w new and old mouse coordinates on mousedown on a label(which works as my titlebar).. the code is working fine... is there any better way or this is fine to move.. also i want to have code for resizing/autohiding the form... autohide like toolbox panel in VB... thanks in advance... ...Show All
.NET Development getting the username
im trying to get the username from the system... i have read somewhere that the way u get this i s as follows... Environment.UserName(); but this does not want to work.... does anybody have any ideas. thanks flipmode When you say "this does not want to work", what do you exactly mean Are you getting errors, or no results, or something that is not expected The following works for me on my XP machine: import System; var username = System.Environment.UserName; print(username); For example: F:\>whoami MYPC\administrator F:\>a.exe Administrator Hope it helps. ...Show All
