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

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

pompom

Member List

bengin
Bellingham Coder
ramesh_1031
Davids Learning
NozFx
Mark Flamer
redhot2006
CSharpShooter
Leon Tayson
John Simpson MAI
Darrell Davis
RookieDBA
Dashwood
wadnerk
PolkaDance
Q. Mac
samssb
Doug 123
Albert_Khor
JaredJ
Only Title

pompom's Q&A profile

  • SQL Server Merge Replication not replicating updates

    I have an issue that is only occurring in a production environment. The architecture is filtered merge replication between two SQL Server 2000 SP4 databases. The publisher is standard edition and the subscriber is personal edition. The issue is that is I update certain rows on the subscriber the data is not replicated to the publisher. Inserts and deletes seem to replicate correctly. The issue is specific to certain rows in some tables. If I update other rows the updates replicate correctly. The subscription has been re-initialized once and it did not fix the issue. The replication process indicates that there was not data to merge and the subscriber updates remain and are at that point different form the publisher row values af ...Show All

  • SQL Server Replication Error

    I found a problem in replication which we have 3 tables, namely tab A, tab B and tab C replication will apply on tab A and tab B and there is a trigger on tab A and tab B, whenever insert/update on tab A it fires trigger to update tab b whenever insert/update on tab B it fires trigger to update tab C And I found the replication error from tab A on updating tab C. If I manually insert the row, it works fine..... Any advise Thanks in advance! No, actually, the column 'amount_id' is defined as 'not null'. While inserting the row into tab A, it fires the trigger and check the conditions in tab b, and then insert the row into tab c. However, I found the 'amount_id' is defined in the trigger and shouldn't be ...Show All

  • .NET Development How to retreave Name of Element When reader returns a type of Text?

    I am using XmlNodeReader to read from an Xml file, but every now and then it returns an node type of Text. The text contains the value so that is no problem but I need the name in order to know where to put the value. This is the reader code: You can remember name of the element when the reader passes it. If you have XML loaded to XmlDocument you don't need to restrict yourself with the XmlReader -- you can analyze XML directly in XmlDocument. In you sample I don't see ant text nodes so I puzzled why you troubled with them. ...Show All

  • Visual C++ error C2440: '<function-style-cast>' : cannot convert from 'UINT' to 'CString'

    I got this error while I'm moving the VC++ 6 project to Visual Studio 2005 project. My code is like the following void DumpProperty(LPCTSTR pValue); When I call this function by passing the UINT data type, it causes error. UINT tmp; DumpProperty(CString(tmp)); // Error error C2440: '<function-style-cast>' : cannot convert from 'UINT' to 'CString' No constructor could take the source type, or constructor overload resolution was ambiguous The CString class should have a constructure to convert from 'UINT' to 'CString', this code can be compiled successfully on VC++ 6 Thanks Perhaps CString tmp1; UINT tmp2; DumpProperty(tmp); tmp2 = _tstoi(tmp1); may ...Show All

  • .NET Development Sending MS Word document without using outlook.

    Hi, We are looking for a way to send styled word document without using outlook. When u create a new mail in outlook word is used. In our project we have some standard word documents that can be used as mail. Only we don't want to use the outlook accounts / program of users but the System.Net.Mail mail system of .NET 2.0 Hi, hopefully this snippet will do: System.Net.Mail. MailMessage message = new System.Net.Mail. MailMessage ( "me@my.com" , "you@your.com" , "Word attachment" , "I'm sending you my document!" ); message.Attachments.Add( new System.Net.Mail. Attachment ( "c:\\word.doc" )); System.Net.Mail. SmtpClient smtp = ne ...Show All

  • Visual C# Get UTF-8 Chinese chratcers

    Hi... I want to display a chinese character on windows form. I am using UTF8 coding standard (I have UTF8 byte values of a chineses charcter. e.g. 31A0 ). I want to decode these byte values & i want to diplay the the respective Chinese charcter on windows form. Is there any method to do this in C#... Thanks in Adavance.... Regards, Vinay.p ...Show All

  • Visual Studio How to create a component designer type designer?

    I'm looking for help or preferably an example in creating something that pretty much does the same thing as the Componet Designer. Ideally I would like a developer to pick my object type from the add new item class, which would create <classname>.cs/vb and <classname>.designer.cs/vb files. My user control would be created to use as the design surface, and my designer would have control over the <classname>.designer.cs/vb file using CodeDom to generate the partial class implementation. I am working on an IRootDesigner implementation right now, but I suspect that that will not be completely sufficient and I keep getting hopelessly lost looking at things like TypeCodeDomSerializer,etc. Any help is appreciated. Darre ...Show All

  • Smart Device Development Background Key Press Listener

    Hi again, I just wrote this, and it dissapeared, so I'll write it again and hoepfully it won't turn into a double thread. I basically want to my program sitting in the background doing it's own thing, or just idling about, and be able to press a key and have this key jump to a function (or perform some action) in my background program. I've looked at RegisterHotKey, but from what I understand, this just puts a message into the message stack. I would rather jump to a function without having to contanstly check the stack. Even something that triggers when the message stack is added to is fine. I basically want a Java type ActionListener. Anyone have any ideas or direction It'd be VERY appreciated... I'm ripping my hair out over ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. build problems (in fact, cant build at all)

    Hello, i need your help badly... Started to have some interests in mechcommander2 source codes about 5 days ago. Downloaded and installed all files necessary ;Mechcommander 2 shared source code,  Xna, Framework, etc... Then i try to build the code...How do i do i searched and finally found something:in visual express, there is a dos command...doesnt work. But, acessed with the shortcut in the start menu, it can be opened. Doing what is told in the webcasts, i type '' C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe C:\MechCommander2 Source\BuildProj\mechcommander2.proj It doesnt work. Why Cause (i think) DOS takes C:\Mechcommander as a command Then, i rename the folder, deleting the space between m ...Show All

  • SQL Server Execute As error

    I have a stored procedure that needs to run with elevated privliges, so I tried setting it to run as one of the db owners. When a regular user tries to execute the SP, I get the error Cannot execute as the database principal because the principal "joejoe" does not exist, this type of principal cannot be impersonated, or you do not have permission. What do I need to set up so a user can be impersonated If I try to impersonate dbo, I get the error, Cannot execute as the database principal because the principal \"dbo\" does not exist, this type of principal cannot be impersonated, or you do not have permission. ...Show All

  • .NET Development Microsoft.XMLHTTP failing to uncompress a file

    Hi, I'm attempting to use the XMLHTTP object to fetch a compressed file then load it into an XML object. On a client PC the file is always remaining uncompressed and hence failing to do the load. Anyone ever seen this before He is my code: var messageFile = new ActiveXObject("Microsoft.XMLDOM"); messageFile.async = false; messageFile.preserveWhiteSpace = true; var httpRequest = new ActiveXObject("Microsoft.XMLHTTP"); httpRequest.open('GET', server.value + '/logonMsgFile.zhtml', false); httpRequest.send(''); messageFile.load(httpRequest.responseBody); if (messageFile.documentElement == null) alert('failed to load message file'); Thanks, Mike ...Show All

  • Windows Forms UNC/URL path from OpenDialogForm

    Hi I'm using the OpenFileDialog control in VS .net 2003 to allow users to select file paths and save them into a grid and add a description. Now this works fine for local and network files which can be resolved to a UNC path. My problem is that when trying save the path of a file located on the web with a URL path it downloads the file locally to the users temporary folder and points to that rather then the source path. example: select file at google.co.uk/documents/programming/OFDCode.vb Click Open File is downloaded to temporary folder The .FileName property updated to C:\Documents and Settings\%USER%\Local Settings\Temporary Internet Files\Content.IE5\GHGJGZUP\OFDCode.vb I need the .FileName property to return th ...Show All

  • Visual Basic deployment of vb.net windows application problem

    hi all how life is going in these days I using vb.net and access i use the com component in my project of vb (like msflexgrid,mshflexgrid) i deploy project windows application using setup wizard what i am required in user machine 1)framework 2)internet exploer 6.0 for com what is required please help when i load it on user machine then they shows jit compilers error thanks in advance hi sir Jit Debugging failed with the following error :0x800405a6 Please check the documentation topic 'JUST-IN-TIME Debugging error ' for more information i read it form msdn in which show no user log on but in user machine i log on.i tick in deploy source code also i installed all .net vs 2003 then i show ...Show All

  • Visual Studio 2008 (Pre-release) Data Binding: How to bind a group of Radio Buttons to a value/collection?

    Are there any properties that represent the selected state of a group of Radio Buttons Seems that Radio Buttons are very different controls from others in that cannot represent any value in and of themselves, they must be combined with others. Thus one typically wants to bind the entire group to a single value and map the selected radio button in some way to represent a value. In the most simple case 2 radio buttons representing to a collection of {true,false}. Is this the kind of situation where MultiBindings might be applied Thanks NIK I need to bind to a business object, well outside of code behind, but this gives me some of the picture. However, how/where are s: and p: declared I tried ...Show All

  • Software Development for Windows Vista why is my application getting elevated?

    Hi, Strangely, even though i don't include "requiredAdministrater" in manifest file, it gets elevated. The executable file name doesn't contain any of setup, install or any of those words that vista uses for heuristic detection. Where else should I check to prevent elevation I'm using visual studio 2005 sp1. Thanks in advance. Found the answer here.. I changed versioning resource field. and it works fine http://technet2.microsoft.com/WindowsVista/en/library/00d04415-2b2f-422c-b70e-b18ff918c2811033.mspx mfr=true Installer Detection only applies to: 1. 32 bit executables 2. Applications without a requestedExecutionLevel 3. Interactive processes running as a Standard User with LUA enabled Before a 32 ...Show All

©2008 Software Development Network