Martin Kelley's Q&A profile
Visual Studio Express Editions Need help understanding ojects and events
I am trying to learn .NET and C#. I previously worked in Delphi and never really understood Classes and Type. This is also a problem with C#. I did purchase and view AppDev C# course by Jessie Liberty and have a better understanding than I did but and still struggling with accessing oject properties through events on "code behind" pages. I have created a few really simple programs trying to understand the relationship between the ASP.NET web page and the C# code behind page. Here is code code I having problem with. Why can't I access the the WEB page oject properties from my code behind page. (See butto ...Show All
Visual Studio Team System Where is the DeleteTeamProject.exe in RC?
How can I delete a project from TFS in the RC version I thought there is a command line utility DeleteTeamProject.exe but I Can't find it in the RC version. What am I doing wrong Thanks in advance This utility is now called "TFSDeleteProject.exe" and is located in your Microsoft Visual Studio 8\Common7\IDE folder. Thanks for taking a look at the RC and let us know what you think! Cheers, Adam ...Show All
SQL Server Semantic Model
Hello, I got the following error while trying to create a report model: The semantic model is not valid. Details: The element 'Entity' in namespace 'http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling' has incomplete content. List of possible elements expected: 'IdentifyingAttributes' in namespace 'http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling'. Line 943, position 3. (rsModelingError) (Report Services SOAP Proxy Source) ------------------------------ For help, click: http://go.microsoft.com/fwlink/ LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsMo ...Show All
Visual Studio Express Editions how to add flash content
hi can anybody tell me how to add a flash content to a visualbasic form If you have installed a Shockewave plug-in or the Flash Player then you should have the Shockwave Flash ActiveX control installed on your machine. Add it to your Toolbox then add an instance to your form. Voila. ...Show All
Visual Studio Tools for Office VSTO installation
The documentation says that I must install VS.NET 2005 Beta 2 first in order to create GAC. Then I must install MS Office. My question is if I have installed first MS Office and then VS.NET 2005 can I add Office PIA's to the GAC just reinstalling .NET programmability support in Office Do I need to reinstall the whole Office just to have the PIA's added to GAC Thanks, Martin Kulov Do you have any idea of when the Culture error will be fixed! I always need to run this code before I do anything in Excel. int nID = app.LanguageSettings.get_LanguageID(Microsoft.Office.Core.MsoAppLanguageID.msoLanguageIDUI); &n ...Show All
Software Development for Windows Vista What is the best way to report workflow progress data?
Hi, I want a progress bar in my application that shows the progress of a running workflow that is sending 1000+ SMS messages. What is the best way to do this Should I create a "ExternalDataExchangeService" and call this from the workflow or should I create a "TrackingService" and use the "TrackData" method of the workflow to send data about the progress Thanks! Ole, It depends who you are sending the information to. If you are sending it to someone who monitors the integration than by all means I would use the tracking services information (and SMS is probebly a bad way to do it because ...Show All
Visual Studio Express Editions you must have a license to use this activex control
I'm very new to C# so this is probably a simple thing. I am working on a project that uses an activex control and some other third party dlls. Whenever I click on the main form window I get an error telling me I must have a license to use this activex control. Of course, I do have the license but it isn't doing it's trick. Some background.... The sample source I'm working on was created in an earlier version of visual studio. The sample was "upgraded" when I loaded it. The sample does compile and run just fine but I can't edit the main form because of the error. I'm using visual studio 2005 express for C#. ...Show All
Visual C# Service starts and then stops
Hi, I am trying to run FileWatcher.exe windows service provided as a download by microsoft in msdn code samples. I have build the serive and as directed i have run it using installlutil command. It ran ok and started giving information in the Even Logs. Then i uninstalled it and instelled it again. But this time when i start it, it gives me this error: The FileWatcher service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts services. Please tell me how can i run it. could you be more specific about the problem are tryi ...Show All
Windows Forms How do I print multiple lines using graphics.drawstring?
I tried g.drawstring("test1", ...) g.drawstring(controlchars.NewLine, ...) g.drawstring("test2", ...) it prints on the same line. How do change line Thanks and Regards! i have found that using "\n" in a string does cause a newline to be printed alternatively, as suggested above, move the location manually. you can use MeasureString.Height to get the height of&n ...Show All
Visual C# Office Integration
Application--- I am using WebBrowser control for office document integration in a C# windows application. But i am not able to integrate savefiledialog in my application for saving files.i stuck off with this. challenge--- "use of savefiledialog in C# windows application to save office documents" ...Show All
Visual Studio Express Editions Mscomm, Serial ports and bit manipulation
I have just started to investigate the replacement of some seriously old kit with a Windows XP version. I need to read and write data between either a usb/serial port on a new Windows XP machine and connect it to an old controller via an rs-232 cable. Data is passed between the two in Ascii format and can be as little as one character at a time or up to several hundred characters at a time. I will need to be able to interpret some of the data down to the bit level on receipt. Having read some of the threads here, it would appear the use of MSCOMM is a viable solution for the serial port communication as the transmissions are in a set ...Show All
SQL Server How can we deal with unknown member in cubes for data mining?
Hi, all here, I currently have a question about unknown member in cubes (as we know, there is always an additional member called unknown in an OLAP dimension)for data mining. I mean is there any way for us to deal with unknown member in cubes when mining cubes Thanks a lot in advance for any guidance and help. The unknown member maps to the missing state when you build a mining structure based on an OLAP cube and this is usually the behavior you want. Are you looking for a different behavior ...Show All
Windows Forms DataGridView
Ok, so I have six Colums that are all loaded into the DataGridView, each coloumn as info in it. How could I get the text of each selected item in the 2 column I know about the The DataGridViewRow and the DataGridViewCellCollection and all that stuff, but I dont know how to use it. NAy ideas Assuming a reference to a DataGridView control has been established in the "dgv" variable: Dim Row as DataGridViewRow Dim Col2Str as String For Each Row in dgv.SelectedRows Col2Str = Row.Cells(2).Value.ToString ... Next Row And that's the clumn whose index is 2, which is usually the third column. Hope this hel ...Show All
Visual C++ Repedative Syntax error : missing '=' and ')' and ';'
I wrote this section of code here today and everything went bad and i dont have a flipin clue why! More than likely i am simply missing a very minuet error probably from staring at the same lines of code for the past 7 hours. these are the error messages i get ONLY in the section that i just wrote: in_camera.cpp(453) : error C2143: syntax error : missing ';' before ')' in_camera.cpp(454) : error C2143: syntax error : missing ';' before '{' in_camera.cpp(454) : error C2059: syntax error : '=' in_camera.cpp(454) : error C2143: syntax error : missing ')' before ';' in_camera.cpp(454) : error C2143: syntax error : missing ...Show All
Visual Studio How to integrate ToolBox into Visual Web Develop Express
I wrote one C# .NET Program, It can integrate ToolBox into Visual Studio 2003 and Visual Studio 2005,but I want it work on Visual Web Develop Express. I want to gets the type associated with the specified program identifier(ProgID), the code are: Type type = System.Type.GetTypeFromProgID("VisualStudio.DTE.8.0"); DTE dte = (DTE)System.Activator.CreateInstance(type, true); //These are for Visual Studio 2005 I want it work on Visual Web Develop Express, I try to modify the code to (a) Type type = System.Type.GetTypeFromProgID("VWDExpress.DTE.8.0"); DTE dte = (DTE)System.Activator.CreateInstance(type, true); (b ...Show All
