Software Development Network Logo
  • Visual C#
  • Microsoft ISV
  • Windows Forms
  • Game Technologies
  • Visual Basic
  • VS Team System
  • .NET Development
  • Visual C++
  • IE Development
  • Visual Studio
  • SharePoint Products
  • Smart Devicet
  • Visual FoxPro
  • Windows Vista
  • Audio and Video

Software Development Network >> Xancholy's Q&A profile

Xancholy

Member List

susanasusana
SalilD
Robin Debreuil
Sweed
Carsten Kanstrup
ctalbert
Jack Spade
girishsprabhu
Object01
Bahman223
MichaelLee
RasmusChristensen
Nebula33
newguyintown
Developaine
R1ZWAN
BrunoAMSilva
mmoo9154
search and deploy
PsychUK
Only Title

Xancholy's Q&A profile

  • Visual Studio Visual Studio 2005 Debugger cannot watch static class variables when /clr switch is on

    Has anyone had this issue We are evaluating the possibility of migrating our unmanaged app to managed code to take advantage of the managed extensions. We thought we would start by enabled the managed extensions so we could begin to use the extensions inside our existing classes. If I create the following class: foo.h: class foo { foo(); public: static int i; }; foo.cpp: int foo::i = 1234; foo::foo() { int j; j++; <--------Set breakpoint here and try to watch the static class varaible i } Then, if I compile this code with /clr flag turned on, I cannot watch i unless I put a #pragma unmanged at the top of foo.cpp. Is this by design Why can't I view static variables in a mixed mode dll ...Show All

  • .NET Development writing EventLog entries - how to specify User field?

    So I'm porting an application from C++ to C#, and right now I'm working on the module that writes entries to the Event Log. So far, everything is going very smoothly, but I'm stuck on one problem. In the C++ version, I use the ReportEvent API, one of the parameters to which is a PSID (which I initialize to the currently logged in user). In Event Viewer, the "Name" field is properly set to the user.. In C#, the two relevant System.Diagnostic methods are WriteEntry and WriteEvent. Problem is, the former has no provision at all to supply any user info, and the latter takes an EventInstance object, in which there are also no user-related properties. I have test code using WriteEntry and confirmed that the Name field is not set. I hav ...Show All

  • SQL Server SQL Server 2007 installation hangs on removing temporary files step

    I have a virtual machine that previously had SQL Server 2005 installed. Since I changed the computer name, I have to reinstall SQL. I removed all the SQL components and am trying to reinstall the database and reporting components. The installation is failing on the "Removing temporary files" step. According to the setup progress screen, the following components have been installed: OWC11 SQL Server Bakcward-Compatibility Files SQL Server Database Services Reporting Services Visual Studio Integrated Development SQL Server Books Online SQLXML4 Workstation Components, Books Online - this step is still in "configuring components" status. The virtual machine is running Windows 2003 Server SP1 with all current ...Show All

  • SQL Server Data Conversion Numeric to date

    I have some data which I am trying to put into a DM where I can use it as part of a cube (my first!!) I have hit a small problem with dates, I get it from the ERP system as a numeric field, and I need to convert it to a date format. The intension is to use this converted data with Named Calculations to derive Year, month Day ect. However I cannot seem to be able to convert and store (in SQL) this column can anyone advise Thanks Jamie Thomson wrote: Blackuke wrote: So much for this beeing easy, you make it sound so!! I put the following in the derived column expression feild but it remain s red saying the function subtring requires 3 parameters n ...Show All

  • Windows Forms SerializationException "Cannot get the member 'Child_PropertyChanged'." when de-serializing generic collection

    I have created a custom generic collection class with a signature like so: [ Serializable ] public class blGenericCollection <T> : BindingList <T>, ITypedList , IListSource , IXmlSerializable where T : blObjectBase , new () {blah blah blah} The child items that derive from my blObjectBase publicly implement INotifyPropertyChanged , as does blObjectBase itself. I'm getting SerializationException errrors when de-serializing the collection class (stack trace below) using BinaryFormatter . However, the child item classes serialize and de-serialize just fine, as does my blGenericCollection class when it is empty. But when blGenericCollection contains items - I blow up. (Side note: Xml serialization fo ...Show All

  • Visual C# Static Class Overhead

    Hi, We were doing some refactoring here and had a discussion concerning static classes. Basically we have a set of classes with a bunch of methods in them that refer to strings. Now I have recommended that all strings should be defined as constants at the top of each class so that if a string needs to change we only change it in one place and not have to go through every method finding every instance of it. So basic good practice. Now with C# 2 came static classes. So the debate is to whether we should drop the constant strings out into a seperate static class and then refer to them in the method like a property of the static: i.e string myVariable = MyStaticClass.MYSTRING; as opposed to string myVariable = MYSTRING; W ...Show All

  • .NET Development MSXML

    i assume this is not the correct place for msxml questions... where can i post questinos to the sperts regarding msxml You might try the microsoft.public.xml newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.xml ...Show All

  • Visual Studio Tools for Office Downloading XML Data in Access

    I have an access application that needs to download a set of XML files on a weekly basis. I then load this data into my application. The developers of the site i'm downloading the files from have provided a URL to which you post an ilogin and ipassword variable. You are then supposed to get a reply of OK or failed. After authentication, session should be created with Session Key ("XMLSessID") passed as a cookie... I would then need to go and Load and Save each of the XML pages, using this authenticated session. Without embedding an IE browser into the MS Access application, how could i do this Thanks! -Ben I don't believe the question is specific to access, however. I guess I could have just ...Show All

  • Windows Forms Label with invisible background.

    I have a form with a label in it. I want to show the label, covering the whole form, with a number in it. The app is a multii screen image viewer, I'm trying to show which monitor is which. I've set the style to allow transparent background ( I'm interested to know what genius came up with that idea ), I've set the deprecated 'DrawTransparent' property, I've set the background color to Color.Transparent, but no matter what I do, including downloading several controls on the web for transparent labels, I cannot get a label that doesn't erase it's own background to the color of a general dialog box. Does anyone have any suggestions Thanks Historically, "Transparent" in Windows has meant that a control uses the same backg ...Show All

  • Visual Studio Tools for Office Hyperlink in Excel Not Displaying Properly

    I am using VB..Net 2005 and Excel 2007. When adding a hyperlink to an Excel spreadsheet, everything works properly, except that the text in the cell is supposed to say "My Link". Instead, it says "Sheet1!B4". The link works properly, but the text that is displayed is wrong. Does anyone have any ideas Here is the line of code that I'm using. Thanks. Globals.ThisAddIn.Application.ActiveSheet.hyperlinks.add(anchor:=myAnchor, Address:= "" , subAddress:=subAddress, textToDisplay:= "My Link" ) Hi, See if the following is workable for You: Sub Add_HyperLink() Dim wsSheet As Excel.Worksheet = Globals.ThisAddIn.Application.ActiveSheet Dim rnTar ...Show All

  • Visual Studio Team System Team build CTP6 datadude project

    I'm trying to team build a solution with a ctp6 Datadude project but the build fails stating the next line in the buid.log file Target SqlBuildScriptName: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets(26,5): error MSB4044: The "SqlBuildScriptNameTask" task was not given a value for the required parameter "TargetDatabase". Done building target "SqlBuildScriptName" in project "SenterNovem.Ras.Database.dbproj" -- FAILED. Can someone give me a hint where to look to solve the problem. Paul, Thanks for the reply, the database creation is now successfull by copying the information into the ...Show All

  • Visual Studio 2008 (Pre-release) select in IEnumerable<>

    Hi, is there a way to do similar: var userStates = from u in db.Users where u.UserID in (1,2,3) select new UserState {u.UserID, u.FlStateID }; the list (1,2,3) is an IEnumerable, IList or more general a "not in db"-collection. there are ways to join for sure but the performance is unusable. The join actually is not calculated in the db. thx, Jorg Blaumeiser The current bits do not allow that syntax. As you stated, you could do it as a join on the client side, but I understand the performance implications. The issue has been brought up and the team stated that they would take a look at it. You may wish to check the archives for more information. ...Show All

  • Visual C++ what is supported by GDI

    I want to write a project that has some function likes WordArt of Microsoft Words. it can fit the text to any pattern I want to use GDI to deverlop my project. so, could you tell me, what is supported by GUI (not use GUI plush) . thanks & regards!!! i'm very unpleasure with your answers. I think you don't know what is WordArt. So, can you tell me where in this forums i can asks about GDI (Graphic Device Interface). thanks ...Show All

  • Visual C++ window pointer for a new window

    Hi, I have created a new window using the following method AfxGetMainWnd()->PostMessage(WM_COMMAND, ID_FILE_NEW); How can I get a pointer to this new window What is the difference between a window handle and a window pointer Pritha Pritha, as I noted in this thread, this question is off-topic. Please use the MFC newsgroups as I specified in that thread. This question is for C++ language issues, not MFC or UI issues. Thanks, Brian ...Show All

  • Community Chat Microsoft Firefox2007 Professional?

    What tha hell is that Video: http://soapbox.msn.com/video.aspx vid=4066f44b-6bb8-47eb-96d7-20a9499e060e Webpage: http://www.msfirefox.com/microsoft-firefox/index.html It is clearly a Firefox fanboy site that is trying to make fun of Microsoft. These things happens. It is just one of billions of MS bashing attampts. ...Show All

©2008 Software Development Network