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

Software Development Network >> Fire3.san's Q&A profile

Fire3.san

Member List

MattHoneycutt
yanyee
JGttttt
davemord
Ryan G
Mark Gilbert
MojoWire
Tom Regan
PhilippCH
Igor Grozman
cplusplus1
lushdog
BlackStallion
willfried
Hallio
Dr.Virusi
Blue-Fire
Arkcann
Dean Johnson - MSFT
IamHuM
Only Title

Fire3.san's Q&A profile

  • SQL Server error 1498

    i have a error 1498 when i start mimorring please what is the problem thanks I have got SQL 2005 Developer Edition with Sp2 and I also tried it with trace flag 1400 but still I am facing the same problem. Any quick help will be much appreciated. ...Show All

  • Visual C# How can you get a reference to a property by name?

    I need to get a reference to an objects property by name. I know how to use the PropertyDescriptor's GetValue and SetValue methods to get and set the value of an objects property. But my issue is I need to get a reference to the property itself. For example I need to do this: public Person PopulatePerson(Person p) { GetReference(p, "FirstName") = "Chris"; return p; } The above example is over simplified compared to what I need to do, but the end result is the same. I wont know what the property is I need to set until runtime. Please keep sample to either C# or VB.NET. Thanks   Instead of using a PropertyDescriptor, you can use  a PropertyInfo (which also has GetValue and SetValue) returned ...Show All

  • Visual Studio Feature request: Referencing Code Samples

    I often add example-code to the code comments showing how to use a certain function. The problem is that if I refactor the code, the example will be incorrect and there is no way of checking the example code with the compiler. Usually what I do is creating a bunch of methods that uses the functionalities and copy/paste that over into the summaries. This is a pretty stupid way of doing it though (because of the human factor involved). So this is what I propose: 1. Create a code sample file that compiles, and has parts of the code marked by regions: public void Example1() { #region Example1 myObject = new myObject (); myObject.Invoke(); #endregion } 2. Reference the region in the code summary: /// <example>Create a ...Show All

  • Visual Studio 2008 (Pre-release) Unable to install

    I have tried to install WCF but get the following errors in the log file: === Verbose logging started: 7/3/2006 14:45:03 Calling process: c:\WINDOWS\WinFX\v3.0\Windows Communication Foundation\ServiceModelReg.exe === ServiceModelReg [14:45:05:125]: Information: The ServiceModelReg tool will take the following actions: Adding configuration section system.serviceModel to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.runtime.serialization to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.serviceModel.activation to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration entry for BuildPro ...Show All

  • Smart Device Development How to modify the symbols/characters

    Hi Forum! May I ask your help please. I want to change the character/symol order on my WM2003SE based device. (samsung SGH-I750) When I press for ex.: button 2 the order is: a, b, c, 2, a, a, a, a, a, a, c, and i would like to change it to : a, a, b, c, 2. the other symbols are unuseful for me. I tried to change the sym.txt in Windows folder but nothing happened. I read somewhere that the symbols are storen in T9ime.dll, or T9aw.dll but I can't edit these files. thanks for help Hi Forum! May I ask your help please. I want to change the character/symbol order on my WM2003SE based device (samsung SGH-I750). When I press for ex.: button 2 the order is: a, b, c, 2, a, a, a, a, a, a, c, and i would ...Show All

  • Windows Forms c# 2.0 dataGridView

    Hey guys, I have searched and there are loads of suggestions but I cant seem to apply any of them to my situation so here goes: I download an XML file from the web(server list), and go through each node and then add a row to the dataGridView, I want to show every rows backcolor red for each server that is down: Heres some code to help: System.Net.WebRequest myRequest = System.Net.WebRequest.Create(rssURL); System.Net.WebResponse myResponse = myRequest.GetResponse(); System.IO.Stream rssStream = myResponse.GetResponseStream(); System.Xml.XmlDocument rssDoc = new System.Xml.XmlDocument(); rssDoc.Load(rssStream); System.Xml.XmlNodeList rssItems = rssDoc.SelectNodes("sessionlist/server"); string servername = ""; string serverip = ""; string st ...Show All

  • Windows Forms Why does ATL contorl receive WM_DESTROY mesage when it's loaded from a form in MDI App?

    I have an ATL activeX control, and I want to put that control into a child form in my C# MDI App. When I click "show child" menu, my child form should show up correctly. But my ATL control receives WM_DESTROY when it's loaded, and this is only happend in C# MDI enviroment. I trid to load it from MFC MDI app, it's fine. In my WM_DESTROY message handling, I want to do some final clean up,and I don't want it to be done when it is just loaded. Thanks for any help! Here is my code: ATL: created from "Visual C++ Projects--> ATL --> ATL Project" and the control typ is just a "Standard control". LRESULT CMyAtlControl::OnDestroy(UINT /*uMsg*/ , WPARAM /*wParam*/ , LPARAM /*lParam*/ , BOOL&a ...Show All

  • Commerce Server Delete variants from Catalog while importing via BizTalk adpaters

    How can I delete variants from Catalog while importing via BizTalk adpaters As far as as I can see the "IsDiscontinued" property is set at the Product level - not at the variant level. Hey Here is a sample message to delete a variant using the Adapter or Catalog Manager import. <MSCommerceCatalogCollection2 version="3.0"> <Catalog name="Adventure Works Catalog" variantUID="VariantCode" productUID="ProductCode" startDate="2001-02-22T00:00:00" endDate="2001-05-22T00:00:00" currency="USD" weight_measuring_unit="lbs" DefaultLanguage="en-US" ReportingLanguage="en-US" languages="de-DE,en-US,fr-FR,ja-J ...Show All

  • Visual Basic Where can I look up error numbers

    This is exasperating, trying to wade your way through all the reams of 'help'. All I am trying to do is find out what the error numbers are for errors that might occur in my program. For example I need to know what error message is given when a user cancels a download in progress before it is completed. Why in the heck is it so hard to find out the number for each error I mean, I can find tons of information on how to deal with certain errors. I am using VB and VS2005 Standard Edition if that makes a difference. Can someone direct me toward where I can find this information for now and for future reference Thanks for any help Bill Langston OK Bill, Depending upon you method that your calling there is a section la ...Show All

  • SharePoint Products and Technologies Where can one find any WebServiceInputActivity Samples?

    Hi, I'm trying to add a WebServiceInputActivity to a WSS Stat Machine SharePoint Workflow project. But I cant find any samples or walkthru's or anything. What I'm trying to do is to have the WebServiceInput as the first event in a given state. If anyone knows of such a thing or has any documentation or anything please can you add to this post. Thanks Yeah, bit of a lack of documentation on this one. I followed through an MSDN webcast doing this last year - around may - but I can't remember it's name, I'm afraid. Not sure that you can really have a 'first' event in a given state. You merely have a number of events in a state which may (or may not) cause a state transition. I'd expect to have WebSer ...Show All

  • Visual Studio Express Editions weird exception

    THe below codes create an Access violation exception which I could not fix ptmp = a; sortedlist=a; //process of joining both lists, into a single list begining at a while (ptmp->next!=NULL) { ptmp=ptmp->next; } ptmp->next=b; Would you please help me Thanks Thanks for your intereset , sir but I can not publish my codes to the public since this is an hw assignment and someone from my university catch my code so that I have in trouble. So would you please give your mail to help me Thanks ...Show All

  • Windows Forms Calender control businness logic

    Hello All, I have a need , where in my webform I have two Calender Controls,when a user click on the Calender Control the From date should show date today or later.And the To date should show after the From date NOT before From date. As per my requirement it should be done at WebForm itself., where the two calender controls are exisiting respectively.I am thinking to write businness logic at codebehind. Thanks :) You should check that in the postback. Means when the user says OK, this form is filled out, he/she clicks a button - in that button you should check that. Check the from date and the to date and check if the from date is lower than the to date. public void button1_Click(object sender, Eve ...Show All

  • .NET Development NULL Properties in DirectoryServices.SearchResult

    In a WebService i'm trying to get a list of user details from active directory. I get a list of search results: Dim deSearch As DirectorySearcher = New DirectorySearcher() deSearch.Filter = "(sn=sm*)" deSearch.PropertiesToLoad.Add( "cn" ) deSearch.PropertiesToLoad.Add( "co" ) deSearch.PropertiesToLoad.Add( "mail" ) deSearch.PropertiesToLoad.Add( "mobile" ) deSearch.PropertiesToLoad.Add( "streetAddress" ) deSearch.PropertiesToLoad.Add( "telephoneNumber" ) Dim results As SearchResultCollection = deSearch.FindAll() Dim seres As System.DirectoryServices.SearchResult For Each seres In results Then I want to use each prop ...Show All

  • Windows Forms Draw rounded rectangle?

    Is there a way to draw a rounded rectangle for the form with the back transparent and the rectangle semi-transparent. Sort of like a Vista Gadget Thanks in advance, Hi Evan: This should get you started: http://www.codeproject.com/cs/miscctrl/cballoon.asp HTH ...Show All

  • Visual C# Allocating Memory for huge array

    I have an array of struct which I can create up to a certain size. The max is 250M, but I have 4G of ram on my WIndows XP Pro machine. How can I allocate more I read straight into memory from file using 'unsafe' code. I need to load in about 1G. Can you help me Moon Yes. I could do that and it's a good suggestion. However, first, I am trying to get away with a major code rewrite which that would entail. It appears to me the VirtualAlloc does what I want, I am just having problems then mapping the memory allocated to the my array. I want to be able to do something like data = new Peter[]; Peter* P = VirtualAlloc(BigSize); UnknownMethod.MapArrayToPointer(data,P); And then be a ...Show All

©2008 Software Development Network