Neilgd's Q&A profile
Visual Studio Express Editions Using the compier and linker functions...help please
Hi, i am relatively new to C++ programming,and as i am currently using Visual C++ verion 6 at TAFE, would like to use a similar program at home. As such,i have downloaded the new Beta Express pack,and installed it,but am having trouble using the Compiler and Link functions as i am not used to using a command line compiler. I find them too confusing for a beginner,and find using a GUI based one that is similar to the visual studio one much easier to learn. My question is, how can i configure the beta express pack to compile in the IDE rather than the command line,as both the compile and link options are faded out and i cannot use them If a ...Show All
Visual Studio Team System "Edited by God" history message.
We observed "Edited by God" message in history of work item. Is it joke of TFS developers http://photofile.ru/photo/toly/1294760/large/26995834.jpg Sorry to say, but this forum engine doesn`t have an option to upload the file. Although I don't have the link handy, I read a post sometime earlier this week (or late last week) that showed how to do exactly what you're seeing. Basically, it showed how to copy rich text into the history section to mimic an actual history entry. Maybe someone here has the link --- Jeff http://devmatter.blogspot.com/ ...Show All
Visual C# Calling a detail data form from a DataGrid row
Hey all, This is probably a very simple thing to do, but I have searched far and wide and cannot find out how to do it :p, I am quite new to VS and C#, but have done some C++ programming in the past. My question is this. I have a nice little form with a a DataGridView, and I want to know how to make it so the user clicks on a row of the grid, and it opens another form in Detail data view. I don't know if this is a master / detail situation since it is the same table, just with a different form. Any help would be appreciated!!! Thank you very much! Thank you! I have tried it, and have built the constructor, ...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
Visual Studio Package didn't get reload when openning an existing project.
I have a package that privdes my own project type and some commands. I need to query the status and enable my commands accordingly when the package gets loaded. I did it by following VS documentation to create OleMenuCommandService in Initialize function. It works when I create a new project. But when I open an existing one, the package doesn't get loaded until you do something, then my commands didn't get enabled when it should be. I don't want to autoload the package, which will make my commands available all the time. Is there a way to do this Thanks Jillaint I am not clear what you are asking. If y ...Show All
Windows Forms Cross-thread control manipulation
A year after i dealt with WinForms development, I encountered a rather rude shock when I attempted to do a simple test app: <i>"Illegal cross-thread operation: Control '****' accessed from a thread other than the thread it was created on."</i> Apparently winforms.net 1.x has been allowing this "wrongful" operation to happen easily. <a href="http://msdn2.microsof ...Show All
Windows Forms Loading report failed
Hi, I try 2 run a report with the crystelreport viewer nothing fancy just 1 label. After hitting F5 i keep getting the error Load report failed. Beschrijving: Er is een onverwerkte uitzondering opgetreden tijdens het uitvoeren van de huidige webaanvraag. Raadpleeg de stacktracering voor meer informatie over deze fout en de oorsprong ervan in de code. Details van uitzon ...Show All
Visual Studio 2008 (Pre-release) Data templates and interfaces
I'm trying to data bind a list to a collection of type ObservableCollection<IMyInterface>. The data binding works well, but the catch seems to be that I have to create a data template with the type set to the concrete type of the objects in the collection rather than the interface type. This is a problem since some of the items in the list are supplied by plug-ins to the base application and I don't necessarily know the concrete type. Everything I need to populate the data template is in the interface. My question comes down to Is there a way to specify the template based on the collection type rather than the concrete object type or s ...Show All
Visual C# How do I test a button when running an event?
I have a start button which runs a section of code continuously - how do I test the stop button while this code is running Colin, it is usually not a good idea to have an event executing for a long time, as while you are serving an event, the other events get blocked. This amounts to freeze the user interface. If you plan to have a lengthy task running in response to a button click, you should probably use a Thread, or the ThreadPool. It's fairly easy to use, and it's well worth the little time it takes to set them up, as the code becomes cleaner and easier to manage. Anyway, there is another option, ...Show All
Visual Studio Express Editions Mdi bug?
Situation: Mdiparent with menustrip. The Mdiparent has children. THE BUG The first load of the child , the child will be partly hidden by the menustrip . When I minimize my parent en reactivate the program from the taskbar, the child is fullly visibile. My Code: Code for loading the children into parent: Static frmProductWijzigen As New frmProductWijzigen If frmProductWijzigen.IsDisposed Then frmProductWijzigen = New frmProductWijzigen End If frmProductWijzigen.MdiParent = Me frmProductWijzigen.Show() frmProductWijzigen.Activate() I tested your code and I don't see this particu ...Show All
SQL Server AMO Connection
I'm sorry for this newbie question, but I can't find any other help and I can't figure out how to solve this problem. Hope someone can help me: I want to connect to a SSAS Server in order to detect the databases. However, I don't know how to connect to the server in SSAS. Whenever I connect with server.Connect(string), I get this error message: You forgot to initialize the server variable. I think you want to do server = connMgr.AcquireConnection(Nothing) HTH, Ovidiu ...Show All
.NET Development System.Windows.Forms events before and after resizing
Hi, I'm using a third party ActiveX control on a form. I need to do some serious workaround to make the control work accurately and I have solved most of the problems. It seems that I need to call a function (from the ActiveX control) right before and right after every resize operation. My problem is that I don't know what events are available for minimizing and maximizing a form. I would need to have someting like beforeResize and afterResize. I have found a solution to one of my problems using the windows notify messages (WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE) but I don't seem to find the right messages for window resizing using the M ...Show All
Visual FoxPro Main Window Default Size/Location
I would like to know what determines where the compiled EXE application window opens and what size it is. I would like to have the window: - remember if it was maximized or - remember last size and position Right now it is always starting in the top/left corner and I'm not sure what I did to get it that way. Thanks I would like to have the window: - remember if it was maximized or - remember last size and position You will have to write some code to remember the settings of _Screen when your application shuts down (perhaps in an ini file or in a dbf). Then, in your main startup program, you read the ...Show All
Visual C# COM Interop Question
I have a VC6 ATL COM Object that accepts a BSTR as an input parameter in one of it's methods. The COM Object expects an ascii buffer to be embedded in the body of this BSTR and uses a call to SysStringByteLen to dynamically create an appropriately sized single byte char array for holding the extracted contents based on the results obtained from interrogating the size prefix of the BSTR. The COM interop wrapper generated from this dll defines this parameter as a System.String that gets marshalled as UnmanagedType.BStr. I am trying to use this method from managed code (C#) but am having difficulty creating an ascii encoded string parameter fro ...Show All
Windows Forms FileNotFoud Exception???
Hello everyone! I'm working on a new creature (first real one) and when I introduce it to my local terrarium it gets destroyed. The error that is being dumped to Trace is a bit odd (see below): **** An exception occurred in a 'shrieker': System.IO.FileNotFoundException: The system cannot find the file specified. at Kyle.Heon.Terrarium.Carnivores.Shrieker.IdleEvent(Object sender,&nbs ...Show All
